genotype and allele frequency estimation