Skip to content
Snippets Groups Projects
Commit 28c8e585 authored by bow's avatar bow
Browse files

Expose read suffix length argument to command line

parent b9ad17e8
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment