Skip to content
Snippets Groups Projects
Commit b55ccc78 authored by Cats's avatar Cats
Browse files

Merge branch 'develop' into vcfStats

parents 964c89f1 33e9f85f
No related branches found
No related tags found
1 merge request!49add output to VcfStats
......@@ -61,10 +61,12 @@ task Cutadapt {
String? reportPath
}
String read2outputArg = if (defined(read2output)) then "mkdir -p $(dirname " + read2output + ")" else ""
command {
set -e -o pipefail
~{"mkdir -p $(dirname " + read1output + ")"}
~{"mkdir -p $(dirname " + read2output + ")"}
~{read2outputArg}
~{"mkdir -p $(dirname " + reportPath + ")"}
~{preCommand}
cutadapt \
......
......@@ -21,10 +21,10 @@ task Fastqc {
}
# Chops of the .gz extension if present.
String name = sub(seqFile, "\\.gz$","")
String name = sub(seqFile, "\.gz$","")
# This regex chops of the extension and replaces it with _fastqc for the reportdir.
# Just as fastqc does it.
String reportDir = outdirPath + "/" + sub(basename(name), "\\.[^\\.]*$", "_fastqc")
String reportDir = outdirPath + "/" + sub(basename(name), "\.[^\.]*$", "_fastqc")
command {
set -e -o pipefail
......
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