checkGenotypeFile function

Check genotype file