From 46ea0ef31b4a49abc7859b7371d05770c040b10f Mon Sep 17 00:00:00 2001
From: Ruben Vorderman <r.h.p.vorderman@lumc.nl>
Date: Mon, 6 Jul 2020 10:30:30 +0200
Subject: [PATCH] use less memory on bcftools stats.

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

diff --git a/bcftools.wdl b/bcftools.wdl
index bd79c2c..e1ec305 100644
--- a/bcftools.wdl
+++ b/bcftools.wdl
@@ -86,7 +86,7 @@ task Stats {
 
         Int threads = 0
         Int timeMinutes = 1 + 2* ceil(size(select_all([inputVcf, compareVcf]), "G"))  # TODO: Estimate, 2 minutes per GB, refine later.
-        String memory = "2G"  # TODO: Safe estimate, refine later.  
+        String memory = "256M" 
         String dockerImage = "quay.io/biocontainers/bcftools:1.9--ha228f0b_3"
     }
     
-- 
GitLab