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:
fromer 2011-01-11 18:48:48 +00:00
parent c2dd956888
commit 48052907a6
1 changed files with 3 additions and 0 deletions

View File

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