Skip to content
Snippets Groups Projects
Commit 9b7c5ff9 authored by ffinfo's avatar ffinfo
Browse files

iFixed R2 arg

parent 3f54ab63
No related branches found
No related tags found
1 merge request!47Fix fastqc and cutadapt for use with WDL 1.0
...@@ -61,10 +61,12 @@ task Cutadapt { ...@@ -61,10 +61,12 @@ task Cutadapt {
String? reportPath String? reportPath
} }
String read2outputarg = if (defined(read2output)) then "mkdir -p $(dirname " + read2output + ")" else ""
command { command {
set -e -o pipefail set -e -o pipefail
~{"mkdir -p $(dirname " + read1output + ")"} ~{"mkdir -p $(dirname " + read1output + ")"}
~{"mkdir -p $(dirname " + read2output + ")"} ~{read2outputarg}
~{"mkdir -p $(dirname " + reportPath + ")"} ~{"mkdir -p $(dirname " + reportPath + ")"}
~{preCommand} ~{preCommand}
cutadapt \ cutadapt \
......
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