From 5227d77f7e95097f5b3e5d66048cdf2bbdc61c67 Mon Sep 17 00:00:00 2001 From: Ash O'Farrell Date: Thu, 14 Sep 2023 06:57:00 -0700 Subject: [PATCH] Add preemptible, shorter version string (#185) --- tasks/species_typing/task_tbp_parser.wdl | 3 ++- tasks/species_typing/task_tbprofiler.wdl | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/tasks/species_typing/task_tbp_parser.wdl b/tasks/species_typing/task_tbp_parser.wdl index f86302275..2f5824979 100644 --- a/tasks/species_typing/task_tbp_parser.wdl +++ b/tasks/species_typing/task_tbp_parser.wdl @@ -50,6 +50,7 @@ task tbp_parser { cpu: cpu disks: "local-disk " + disk_size + " SSD" disk: disk_size + " GB" - maxRetries: 3 + maxRetries: 3 + preemptible: 1 } } \ No newline at end of file diff --git a/tasks/species_typing/task_tbprofiler.wdl b/tasks/species_typing/task_tbprofiler.wdl index a3a881243..7b9cad530 100644 --- a/tasks/species_typing/task_tbprofiler.wdl +++ b/tasks/species_typing/task_tbprofiler.wdl @@ -22,7 +22,7 @@ task tbprofiler { date | tee DATE # Print and save version - tb-profiler version > VERSION && sed -i -e 's/^/TBProfiler version /' VERSION + tb-profiler version > VERSION && sed -i -e 's/TBProfiler version //' VERSION && sed -n -i '$p' VERSION if [ -z "~{read2}" ] ; then INPUT_READS="-1 ~{read1}" @@ -119,6 +119,7 @@ task tbprofiler { cpu: cpu disks: "local-disk " + disk_size + " SSD" disk: disk_size + " GB" - maxRetries: 3 + maxRetries: 3 + preemptible: 1 } } \ No newline at end of file