diff --git a/java/src/org/broadinstitute/sting/playground/gatk/walkers/ReadBackedPhasingWalker.java b/java/src/org/broadinstitute/sting/playground/gatk/walkers/ReadBackedPhasingWalker.java index a3569e475..132c762c0 100755 --- a/java/src/org/broadinstitute/sting/playground/gatk/walkers/ReadBackedPhasingWalker.java +++ b/java/src/org/broadinstitute/sting/playground/gatk/walkers/ReadBackedPhasingWalker.java @@ -49,11 +49,11 @@ import static org.broadinstitute.sting.utils.vcf.VCFUtils.getVCFHeadersFromRods; /** - * Walks along all loci, caching a user-defined window of VariantContext sites, and then finishes phasing them when they go out of range (using downstream reads). - * Use '-BTI variant' to only stop at positions in the VCF file bound to 'variant'. + * Walks along all variant ROD loci, caching a user-defined window of VariantContext sites, and then finishes phasing them when they go out of range (using upstream and downstream reads). */ @Allows(value = {DataSource.READS, DataSource.REFERENCE}) @Requires(value = {DataSource.READS, DataSource.REFERENCE}, referenceMetaData = @RMD(name = "variant", type = ReferenceOrderedDatum.class)) +@By(DataSource.READS) @ReadFilters( {ZeroMappingQualityReadFilter.class} ) // Filter out all reads with zero mapping quality @@ -340,7 +340,7 @@ public class ReadBackedPhasingWalker extends RodWalker allReads = convertReadBasesAtPositionToReads(allPositions); - logger.debug("Number of reads at sites: " + allReads.size()); + logger.debug("Number of TOTAL reads [including those covering only 1 position] at sites: " + allReads.size()); int numUsedReads = 0; // Update the phasing table based on each of the sub-reads for this sample: @@ -400,7 +400,7 @@ public class ReadBackedPhasingWalker extends RodWalker 1 position in the haplotype] = " + numUsedReads); // Marginalize each haplotype to its first 2 positions: sampleHaps = HaplotypeTableCreator.marginalizeTable(sampleHaps); @@ -423,7 +423,7 @@ public class ReadBackedPhasingWalker extends RodWalker