/** * Is the most likely genotype homozygous? * * @return */ public boolean isHomozygous() { parseFields(); // Lazy parse if (genotype != null) { // Any genotype is different? => not homozygous for (int i = 1; i < genotype.length; i++) if (genotype[i] != genotype[i - 1]) return false; return true; // Homozygous } return vcfEntry.isBiAllelic(); }