Skip to content
Snippets Groups Projects
Commit f0b59be2 authored by Ruben Vorderman's avatar Ruben Vorderman
Browse files

use output compression level 1 for cutadapt

parent 91f5503e
No related branches found
No related tags found
No related merge requests found
...@@ -60,10 +60,11 @@ task Cutadapt { ...@@ -60,10 +60,11 @@ task Cutadapt {
Boolean? zeroCap Boolean? zeroCap
Boolean? noZeroCap Boolean? noZeroCap
String? reportPath String? reportPath
Int compressionLevel = 1 # This only affects outputs with the .gz suffix.
Int cores = 1 Int cores = 1
Int memory = 16 # FIXME: Insane memory. Double-check if needed. Int memory = 16 # FIXME: Insane memory. Double-check if needed.
String dockerImage = "quay.io/biocontainers/cutadapt:2.3--py36h14c3975_0" String dockerImage = "quay.io/biocontainers/cutadapt:2.4--py37h14c3975_0"
} }
String read2outputArg = if (defined(read2output)) String read2outputArg = if (defined(read2output))
...@@ -95,6 +96,7 @@ task Cutadapt { ...@@ -95,6 +96,7 @@ task Cutadapt {
~{read2outputArg} ~{read2outputArg}
cutadapt \ cutadapt \
~{"--cores=" + cores} \ ~{"--cores=" + cores} \
~{"--compression-level " + compressionLevel} \
~{true="-a" false="" defined(adapterForward)} ~{sep=" -a " adapterForward} \ ~{true="-a" false="" defined(adapterForward)} ~{sep=" -a " adapterForward} \
~{true="-A" false="" defined(adapterReverse)} ~{sep=" -A " adapterReverse} \ ~{true="-A" false="" defined(adapterReverse)} ~{sep=" -A " adapterReverse} \
~{true="-g" false="" defined(front)} ~{sep=" -g " front} \ ~{true="-g" false="" defined(front)} ~{sep=" -g " front} \
......
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