genotype tidying