From 822e68d987b80781e14685283b8081b7a2e49d37 Mon Sep 17 00:00:00 2001
From: Ruben Vorderman <r.h.p.vorderman@lumc.nl>
Date: Tue, 30 Jun 2020 15:35:15 +0200
Subject: [PATCH] increase time for gatherbam

---
 picard.wdl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/picard.wdl b/picard.wdl
index d778e17..8962c4b 100644
--- a/picard.wdl
+++ b/picard.wdl
@@ -368,7 +368,8 @@ task GatherBamFiles {
         Int javaXmxMb = 1024
         Int compressionLevel = 1
         Boolean createMd5File = false
-        Int timeMinutes = 1 + ceil(size(inputBams, "G") * 0.5)
+        # One minute per input gigabyte.
+        Int timeMinutes = 1 + ceil(size(inputBams, "G") * 1)
         String dockerImage = "quay.io/biocontainers/picard:2.20.5--0"
     }
 
-- 
GitLab