From 84f1235c44abf723c9f15f5e471891fbed98b5b9 Mon Sep 17 00:00:00 2001 From: Ruben Vorderman <r.h.p.vorderman@lumc.nl> Date: Fri, 19 Jun 2020 13:17:39 +0200 Subject: [PATCH] Do not use unnecessary threads --- bwa.wdl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bwa.wdl b/bwa.wdl index 3dd7883..2cf637d 100644 --- a/bwa.wdl +++ b/bwa.wdl @@ -132,7 +132,9 @@ task Kit { } runtime { - cpu: threads + 1 # One thread for bwa-postalt + samtools. + # One extra thread for bwa-postalt + samtools is not needed. + # These only use 5-10% of compute power and not always simultaneously. + cpu: threads memory: memory time_minutes: timeMinutes docker: dockerImage -- GitLab