Skip to content
Snippets Groups Projects
Commit 4dd0e85d authored by cagaser's avatar cagaser
Browse files

add UMItools separator

parent f2772fd0
No related branches found
No related tags found
No related merge requests found
......@@ -70,6 +70,7 @@ task Dedup {
input {
File inputBam
File inputBamIndex
String umiSeparator = "_"
String outputBamPath
String? statsPrefix
Boolean paired = true
......@@ -89,6 +90,7 @@ task Dedup {
--stdin ~{inputBam} \
--stdout ~{outputBamPath} \
~{"--output-stats " + statsPrefix} \
--umi-separator=~{umiSeparator} \
~{true="--paired" false="" paired}
samtools index ~{outputBamPath} ~{outputBamIndex}
}
......@@ -111,6 +113,7 @@ task Dedup {
inputBamIndex: {description: "The index for the ipnut BAM file.", cateogry: "required"}
outputBamPath: {description: "The location to write the output BAM file to.", category: "required"}
statsPrefix: {description: "The prefix for the stats files.", category: "advanced"}
umiSeparator: {description: "Seperator for UMI sequence, default with '_'", category: "advanced"}
paired: {description: "Whether or not the data is paired.", category: "common"}
memory: {description: "The amount of memory required for the task.", category: "advanced"}
dockerImage: {description: "The docker image used for this task. Changing this may result in errors which the developers may choose not to address.",
......
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