From 73b240ec1346cc07956adef4d7f2986872078690 Mon Sep 17 00:00:00 2001
From: Ruben Vorderman <r.h.p.vorderman@lumc.nl>
Date: Wed, 20 Jun 2018 10:38:26 +0200
Subject: [PATCH] change memory params

---
 biopet.wdl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/biopet.wdl b/biopet.wdl
index 1f04df3..c1bf0d6 100644
--- a/biopet.wdl
+++ b/biopet.wdl
@@ -313,7 +313,7 @@ task ValidateFastq {
 
     Float? memory
     Float? memoryMultiplier
-    Int mem = ceil(select_first([memory, 4.0]))
+    Int mem = ceil(select_first([memory, 2.0]))
 
     String toolCommand = if defined(toolJar)
     then "java -Xmx" + mem + "G -jar " + toolJar
@@ -330,7 +330,7 @@ task ValidateFastq {
         File stderr = stderr()
     }
     runtime {
-        memory: ceil(mem * select_first([memoryMultiplier, 2.0]))
+        memory: ceil(mem * select_first([memoryMultiplier, 1.5]))
     }
 }
 
-- 
GitLab