Skip to content

Commit

Permalink
Add a readgroup flag to minimap2
Browse files Browse the repository at this point in the history
  • Loading branch information
rhpvorderman committed Dec 13, 2024
1 parent 98d9e2c commit 74a5e12
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions minimap2.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ task Mapping {
Int? matchingScore
Int? mismatchPenalty
String? howToFindGTAG
String? readgroup

Int cores = 8
String memory = "24GiB"
Expand All @@ -126,6 +127,7 @@ task Mapping {
~{"-A " + matchingScore} \
~{"-B " + mismatchPenalty} \
~{"-u " + howToFindGTAG} \
~{"-R '" + readgroup}{false="" true="'" defined(readgroup)} \
~{referenceFile} \
~{queryFile} \
| samtools sort \
Expand Down

0 comments on commit 74a5e12

Please sign in to comment.