Skip to content

Commit f22f927

Browse files
committed
Make chimeric read filter optional
1 parent df19552 commit f22f927

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/org/broadinstitute/cga/tools/gatk/walkers/cancer/mutect/MuTect.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,7 @@ private LocusReadPile filterReads(final ReferenceContext ref, final ReadBackedPi
791791

792792
// is this a discordant read pair?
793793
// TODO: add option to disable this filter
794-
if(read.getMateReferenceIndex() != read.getReferenceIndex()) {
794+
if(MTAC.EXCLUDE_CHIMERIC_READS && read.getMateReferenceIndex() != read.getReferenceIndex()) {
795795
continue;
796796
}
797797

src/org/broadinstitute/cga/tools/gatk/walkers/cancer/mutect/MuTectArgumentCollection.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,9 @@ public class MuTectArgumentCollection {
130130
@Argument(fullName = "heavily_clipped_read_fraction", required = false, doc = "if this fraction or more of the bases in a read are soft/hard clipped, do not use this read for mutation calling")
131131
public float HEAVILY_CLIPPED_READ_FRACTION = 0.30f;
132132

133+
@Argument(fullName = "exclude_chimeric_reads", required = false, doc = "exclude chimeric reads from processing")
134+
public boolean EXCLUDE_CHIMERIC_READS = false;
135+
133136
@Argument(fullName = "fraction_mapq0_threshold", required = false, doc = "threshold for determining if there is relatedness between the alt and ref allele read piles")
134137
public float FRACTION_MAPQ0_THRESHOLD = 0.5f;
135138

0 commit comments

Comments
 (0)