Skip to content
Snippets Groups Projects
Commit 5310007d authored by cagaser's avatar cagaser
Browse files

umiSeparator made optional

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