Skip to content
Snippets Groups Projects
Commit cb929160 authored by Boom's avatar Boom
Browse files

Add -k option to minimap2 mapping

Based on minimap2 recommendations, the -k tag should be set to 14 for aligning directRNA Nanopore data
parent 6af3ca35
No related branches found
No related tags found
No related merge requests found
......@@ -77,6 +77,7 @@ task Mapping {
String outputPrefix
String presetOption
Boolean outputSAM = false
Int kmerSize = 15
Int? maxFragmentLength
Int? maxIntronLength
......@@ -101,6 +102,7 @@ task Mapping {
~{true="-a" false="" outputSAM} \
~{"-G " + maxIntronLength} \
~{"-F " + maxFragmentLength} \
~{"-k " + kmerSize} \
~{true="-X" false="" skipSelfAndDualMappings} \
~{"-N " + retainMaxSecondaryAlignments} \
~{"-A " + matchingScore} \
......@@ -132,6 +134,7 @@ task Mapping {
outputSAM: "Output in the SAM format."
maxFragmentLength: "Max fragment length (effective with -xsr or in the fragment mode)."
maxIntronLength: "Max intron length (effective with -xsplice; changing -r)."
kmerSize: "K-mer size (no larger than 28)."
skipSelfAndDualMappings: "Skip self and dual mappings (for the all-vs-all mode)."
retainMaxSecondaryAlignments: "Retain at most INT secondary alignments."
matchingScore: "Matching score."
......
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