From 24ef56348f4ca8900f639d05aa28ec25fda3fbd1 Mon Sep 17 00:00:00 2001
From: Ruben Vorderman <r.h.p.vorderman@lumc.nl>
Date: Tue, 14 Dec 2021 14:52:15 +0100
Subject: [PATCH] Add time minutes parameter

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

diff --git a/macs2.wdl b/macs2.wdl
index cbce18e..983630c 100644
--- a/macs2.wdl
+++ b/macs2.wdl
@@ -29,7 +29,7 @@ task PeakCalling {
         String outDir = "macs2"
         String sampleName
         Boolean nomodel = false
-
+        Int timeMinutes = 600  # Default to 10 hours
         String memory = "8G"
         String dockerImage = "quay.io/biocontainers/macs2:2.1.2--py27r351_0"
     }
@@ -52,6 +52,7 @@ task PeakCalling {
         cpu: 1
         memory: memory
         docker: dockerImage
+        time_minutes: timeMinutes
     }
     parameter_meta {
         inputBams: {description: "The BAM files on which to perform peak calling.", category: "required"}
-- 
GitLab