Fixed bug where variants to phase were not being selected properly.
This commit is contained in:
parent
58eed20b83
commit
5521919cc9
|
|
@ -234,8 +234,7 @@ public class PhaseByTransmission extends RodWalker<Integer, Integer> {
|
|||
finalGenotypes.add(father);
|
||||
finalGenotypes.add(child);
|
||||
|
||||
if (mother.isCalled() && !father.isCalled() && !child.isCalled()) {
|
||||
} else {
|
||||
if (mother.isCalled() && father.isCalled() && child.isCalled()) {
|
||||
ArrayList<Genotype> possibleMotherGenotypes = createAllThreeGenotypes(ref, alt, mother);
|
||||
ArrayList<Genotype> possibleFatherGenotypes = createAllThreeGenotypes(ref, alt, father);
|
||||
ArrayList<Genotype> possibleChildGenotypes = createAllThreeGenotypes(ref, alt, child);
|
||||
|
|
|
|||
Loading…
Reference in New Issue