Automatic classification of variable stars in catalogs with missing data