Removing min confidence for on/off genotype
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@1473 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
4f7ed69242
commit
f0179109fa
|
|
@ -5,8 +5,6 @@ import org.broadinstitute.sting.gatk.contexts.AlignmentContext;
|
|||
import org.broadinstitute.sting.utils.*;
|
||||
|
||||
public class VECOnOffGenotypeRatio implements VariantExclusionCriterion { // extends RatioFilter {
|
||||
private static final double minGenotypeConfidenceToTest = 5.0; // TODO -- must be replaced with true confidence scoore, right now assumes LOD
|
||||
|
||||
//final private static GenotypeFeatureData.Tail tail = GenotypeFeatureData.Tail.LeftTailed;
|
||||
private boolean exclude;
|
||||
private double threshold = 0.0;
|
||||
|
|
@ -53,8 +51,7 @@ public class VECOnOffGenotypeRatio implements VariantExclusionCriterion { // ext
|
|||
Pair<Integer, Integer> counts = scoreVariant(ref, pileup, variant);
|
||||
int n = counts.first + counts.second;
|
||||
ratio = counts.first.doubleValue() / (double)n;
|
||||
boolean highGenotypeConfidence = variant.getConsensusConfidence() > minGenotypeConfidenceToTest;
|
||||
exclude = ratio < threshold && highGenotypeConfidence;
|
||||
exclude = ratio < threshold;
|
||||
}
|
||||
|
||||
public double inclusionProbability() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue