diff --git a/CHANGELOG.md b/CHANGELOG.md index e102d9c869ea2ced35c3e0e439c2b5db30ddb0ad..205c1a730b55674be8169a847bae8307d80a6391 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ that users understand how the changes affect the new version. version 1.0.0-dev --------------------------- ++ Fastqsplitter: fix mkdir command to work with biocontainer's busybox mkdir + Cutadapt: simplify interface + Bigger memory multiplier in mutect to take in account bigger vmem usage + Cutadapt: Remove default adapter diff --git a/fastqsplitter.wdl b/fastqsplitter.wdl index 4aea349bf689b65b239cda6189d3edbb37c29bd8..cbbb7f307595c0e4732f82e8ee9f983cb81f944f 100644 --- a/fastqsplitter.wdl +++ b/fastqsplitter.wdl @@ -26,7 +26,7 @@ task Fastqsplitter { input { File inputFastq Array[String]+ outputPaths - String dockerImage = "quay.io/biocontainers/fastqsplitter:1.1.0--py37h516909a_0" + String dockerImage = "quay.io/biocontainers/fastqsplitter:1.1.0--py37h516909a_1" Int? compressionLevel Int? threadsPerFile # fastqplitter utilizes one thread per input file and one or more threads per output file + one thread for the application. @@ -34,15 +34,18 @@ task Fastqsplitter { Int cores = 1 + ceil(0.5 * length(outputPaths)) } - command { + # Busybox mkdir does not accept multiple paths. + command <<< set -e - mkdir -p $(dirname ~{sep=' ' outputPaths}) + for FILE in ~{sep=' ' outputPaths} + do mkdir -p $(dirname $FILE) + done fastqsplitter \ ~{"-c " + compressionLevel} \ ~{"-t " + threadsPerFile} \ -i ~{inputFastq} \ -o ~{sep=' -o ' outputPaths} - } + >>> output { Array[File] chunks = outputPaths