diff --git a/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/tools/ExtractAlignedFastq.scala b/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/tools/ExtractAlignedFastq.scala index c232f9ca03beff7393bc8d3bb0bdaeac8e0217ce..c8c21224698edec40ece25c51213d3805e95bf5d 100644 --- a/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/tools/ExtractAlignedFastq.scala +++ b/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/tools/ExtractAlignedFastq.scala @@ -162,7 +162,8 @@ object ExtractAlignedFastq extends ToolCommand { inputFastq2: File = null, outputFastq1: File = null, outputFastq2: File = null, - minMapQ: Int = 0) extends AbstractArgs + minMapQ: Int = 0, + commonSuffixLength: Int = 0) extends AbstractArgs class OptParser extends AbstractOptParser { @@ -199,6 +200,9 @@ object ExtractAlignedFastq extends ToolCommand { opt[Int]('Q', "min_mapq") optional() action { (x, c) => c.copy(minMapQ = x) } text "Minimum MAPQ of reads in target region to remove (default: 0)" + opt[Int]('s', "read_suffix_length") optional() action { (x, c) => + c.copy(commonSuffixLength = x) } text "Length of common suffix from each read pair (default: 0)" + note( """ |This tool creates FASTQ file(s) containing reads mapped to the given alignment intervals.