From 760f89e95596cb55ef2b78c27bb61c85cadedcc2 Mon Sep 17 00:00:00 2001
From: DavyCats <davycats.dc@gmail.com>
Date: Fri, 1 Jul 2022 10:13:48 +0200
Subject: [PATCH] give bcftools sort more time

---
 bcftools.wdl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bcftools.wdl b/bcftools.wdl
index 88d97cd..589cdde 100644
--- a/bcftools.wdl
+++ b/bcftools.wdl
@@ -187,7 +187,7 @@ task Sort {
         String tmpDir = "./sorting-tmp"
 
         String memory = "256M"
-        Int timeMinutes = 1 + ceil(size(inputFile, "G"))
+        Int timeMinutes = 1 + ceil(size(inputFile, "G")) * 5
         String dockerImage = "quay.io/biocontainers/bcftools:1.10.2--h4f4756c_2"
     }
 
-- 
GitLab