Accepts two-letter calls (AA, AG), separated calls (A/G, A|G) and
single IUPAC codes (A, R, Y, ...). For each marker the most common
allele is the reference, so a dosage counts copies of the other allele:
0 = homozygous for the common allele, 1 = heterozygous, 2 = homozygous
for the other allele. Markers with more than two alleles count every
allele that is not the common one.