Merge pull request #123 from broadinstitute/rp_event_mapper_bug_GSA-877
Bug fix in HC gga mode.
This commit is contained in:
commit
b30deda7ee
|
|
@ -631,6 +631,10 @@ public class GenotypingEngine {
|
||||||
if( eventToTest.getKey().equals(new Event(null)) )
|
if( eventToTest.getKey().equals(new Event(null)) )
|
||||||
continue;
|
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);
|
final Haplotype artificialHaplotype = eventToTest.getValue().get(0);
|
||||||
if( isSubSetOf(artificialHaplotype.getEventMap(), h.getEventMap(), true) ) {
|
if( isSubSetOf(artificialHaplotype.getEventMap(), h.getEventMap(), true) ) {
|
||||||
matchingEvent = eventToTest.getKey();
|
matchingEvent = eventToTest.getKey();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue