Skip to content
Snippets Groups Projects
Commit ca019697 authored by JB's avatar JB
Browse files

Add the option for --MD tag to minimap2

parent adcd0063
No related branches found
No related tags found
No related merge requests found
...@@ -86,6 +86,7 @@ task Mapping { ...@@ -86,6 +86,7 @@ task Mapping {
Int? mismatchPenalty Int? mismatchPenalty
String? howToFindGTAG String? howToFindGTAG
Boolean? secondaryAlignment Boolean? secondaryAlignment
Boolean? addMDtagToSAM
Int cores = 4 Int cores = 4
Int memory = 7 Int memory = 7
...@@ -106,6 +107,7 @@ task Mapping { ...@@ -106,6 +107,7 @@ task Mapping {
~{"-B " + mismatchPenalty} \ ~{"-B " + mismatchPenalty} \
~{"-u " + howToFindGTAG} \ ~{"-u " + howToFindGTAG} \
--secondary=~{true="yes" false="no" secondaryAlignment} \ --secondary=~{true="yes" false="no" secondaryAlignment} \
~{true="--MD" false="" addMDtagToSAM} \
~{"-o " + outputPrefix} \ ~{"-o " + outputPrefix} \
~{"-t " + cores} \ ~{"-t " + cores} \
~{referenceFile} \ ~{referenceFile} \
...@@ -136,6 +138,7 @@ task Mapping { ...@@ -136,6 +138,7 @@ task Mapping {
mismatchPenalty: "Mismatch penalty." mismatchPenalty: "Mismatch penalty."
howToFindGTAG: "How to find GT-AG. f:transcript strand, b:both strands, n:don't match GT-AG." howToFindGTAG: "How to find GT-AG. f:transcript strand, b:both strands, n:don't match GT-AG."
secondaryAlignment: "Whether to output secondary alignments." secondaryAlignment: "Whether to output secondary alignments."
addMDtagToSAM: "Adds a MD tag to the SAM output file."
outputAlignmentFile: "Mapping and alignment between collections of DNA sequences file." outputAlignmentFile: "Mapping and alignment between collections of DNA sequences file."
} }
......
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