From cc9f145f4c1a5089723478ab09b312dd768d5285 Mon Sep 17 00:00:00 2001
From: DavyCats <davycats.dc@gmail.com>
Date: Wed, 11 Apr 2018 13:20:27 +0200
Subject: [PATCH] small adjustments regarding runtime

---
 star.wdl      | 2 +-
 stringtie.wdl | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/star.wdl b/star.wdl
index 8b9f435..46d401c 100644
--- a/star.wdl
+++ b/star.wdl
@@ -13,7 +13,7 @@ task Star {
     String? twopassMode
     Array[String]? outSAMattrRGline
 
-    Float? memory
+    Int? memory
 
     #TODO needs to be extended for all possible output extensions
     Map[String, String] samOutputNames = {"BAM SortedByCoordinate": "sortedByCoord.out.bam"}
diff --git a/stringtie.wdl b/stringtie.wdl
index a938b14..6031d79 100644
--- a/stringtie.wdl
+++ b/stringtie.wdl
@@ -28,6 +28,6 @@ task Stringtie {
     }
 
     runtime {
-        threads: select_first([threads])
+        threads: select_first([threads, 1])
     }
 }
\ No newline at end of file
-- 
GitLab