From 3babebedf6db9fae8afcd0b4c97ecd12930eaec9 Mon Sep 17 00:00:00 2001 From: Ruben Vorderman <r.h.p.vorderman@lumc.nl> Date: Mon, 12 Mar 2018 15:22:02 +0100 Subject: [PATCH] require memory and threads --- spades.wdl | 8 ++++---- unicycler.wdl | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/spades.wdl b/spades.wdl index 408ea08..49c095c 100644 --- a/spades.wdl +++ b/spades.wdl @@ -22,8 +22,8 @@ task spades { Boolean? disableGzipOutput Boolean? disableRepeatResolution File? dataset - Int? threads = 1 - Int? memoryGb = 4 + Int threads + Int memoryGb File? tmpDir String? k Float? covCutoff @@ -73,7 +73,7 @@ task spades { File log = outputDir + "/spades.log" } runtime { - cpu: select_first([threads]) - memory: select_first([memoryGb]) + cpu: threads + memory: memoryGb } } \ No newline at end of file diff --git a/unicycler.wdl b/unicycler.wdl index e9da297..ff3d2b5 100644 --- a/unicycler.wdl +++ b/unicycler.wdl @@ -4,13 +4,13 @@ task unicycler { File short2 File? unpaired File? long - String out + String out, Int? verbosity Int? minFastaLength Int? keep Boolean? vcf - Int? threads = 1 - Int? memory = 4 + Int threads + Int memory String? mode Float? minBridgeQual Int? linearSeqs @@ -90,7 +90,7 @@ task unicycler { } runtime { - cpu: select_first([threads]) - memory: select_first([memory]) + cpu: threads + memory: memory } } \ No newline at end of file -- GitLab