diff --git a/java/src/org/broadinstitute/sting/playground/gatk/walkers/variants/VECHomopolymer.java b/java/src/org/broadinstitute/sting/playground/gatk/walkers/variants/VECHomopolymer.java index 230cf8677..72f363149 100755 --- a/java/src/org/broadinstitute/sting/playground/gatk/walkers/variants/VECHomopolymer.java +++ b/java/src/org/broadinstitute/sting/playground/gatk/walkers/variants/VECHomopolymer.java @@ -111,7 +111,7 @@ public class VECHomopolymer implements VariantExclusionCriterion { exclude = checkOne || checkTwo || checkThree || checkFour; } - public boolean isExcludable() { - return exclude; + public double inclusionProbability() { + return exclude ? 0.0 : 1.0; } } \ No newline at end of file diff --git a/java/src/org/broadinstitute/sting/playground/gatk/walkers/variants/VECOnOffGenotypeRatio.java b/java/src/org/broadinstitute/sting/playground/gatk/walkers/variants/VECOnOffGenotypeRatio.java index 5d87a68e5..153e7dc3b 100755 --- a/java/src/org/broadinstitute/sting/playground/gatk/walkers/variants/VECOnOffGenotypeRatio.java +++ b/java/src/org/broadinstitute/sting/playground/gatk/walkers/variants/VECOnOffGenotypeRatio.java @@ -64,12 +64,12 @@ public class VECOnOffGenotypeRatio implements VariantExclusionCriterion { // ext exclude = ratio < threshold; } - public boolean useZeroQualityReads() { return false; } - - public boolean isExcludable() { - return exclude; + public double inclusionProbability() { + return exclude ? 0.0 : 1.0; } + public boolean useZeroQualityReads() { return false; } + public String getStudyHeader() { return "OnOffGenotype("+threshold+")\tOnRatio"; }