A hom genotype can always be considered phased
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@4972 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
c2dd956888
commit
48052907a6
|
|
@ -199,6 +199,9 @@ public class GenotypePhasingEvaluator extends VariantEvaluator {
|
|||
}
|
||||
|
||||
public boolean genotypesArePhasedAboveThreshold(Genotype gt) {
|
||||
if (gt.isHom()) // Can always consider a hom site to be phased to its predecessor, since its successor will only be phased to it if it's hom or "truly" phased
|
||||
return true;
|
||||
|
||||
if (!gt.isPhased())
|
||||
return false;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue