Merge pull request #123 from broadinstitute/rp_event_mapper_bug_GSA-877

Bug fix in HC gga mode.
This commit is contained in:
Mark DePristo 2013-03-21 11:42:20 -07:00
commit b30deda7ee
1 changed files with 4 additions and 0 deletions

View File

@ -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();