diff --git a/protected/java/src/org/broadinstitute/sting/gatk/walkers/haplotypecaller/GenotypingEngine.java b/protected/java/src/org/broadinstitute/sting/gatk/walkers/haplotypecaller/GenotypingEngine.java index 400de6485..cc9d94b1b 100644 --- a/protected/java/src/org/broadinstitute/sting/gatk/walkers/haplotypecaller/GenotypingEngine.java +++ b/protected/java/src/org/broadinstitute/sting/gatk/walkers/haplotypecaller/GenotypingEngine.java @@ -631,6 +631,10 @@ public class GenotypingEngine { if( eventToTest.getKey().equals(new Event(null)) ) continue; + // only try to disambiguate for alleles that have had haplotypes previously assigned above + if( eventToTest.getValue().isEmpty() ) + continue; + final Haplotype artificialHaplotype = eventToTest.getValue().get(0); if( isSubSetOf(artificialHaplotype.getEventMap(), h.getEventMap(), true) ) { matchingEvent = eventToTest.getKey();