genotype

fun genotype(sample: String): List<Int>
fun genotype(sampleIndex: Int): List<Int>

Function to get the genotype of a sample. The returned list of integers are the allele indices for each ploidy. Allele index 0 is the reference allele, and the rest are the alternate alleles. If the genotype is missing, the value will be -1.