From bce833ff10291b28742ef02679f9d65a6032e543 Mon Sep 17 00:00:00 2001
From: DavyCats <davycats.dc@gmail.com>
Date: Thu, 12 Apr 2018 13:16:46 +0200
Subject: [PATCH] threads should be cpu

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

diff --git a/bwa.wdl b/bwa.wdl
index 53c38f0..0a8b37f 100644
--- a/bwa.wdl
+++ b/bwa.wdl
@@ -22,7 +22,7 @@ task BwaMem {
         File bamFile = outputPath
     }
     runtime{
-        threads: if defined(threads) then threads else 1
+        cpu: if defined(threads) then threads else 1
         memory: if defined(memory) then memory else 8
     }
 }
diff --git a/star.wdl b/star.wdl
index ddbf5d5..9e01477 100644
--- a/star.wdl
+++ b/star.wdl
@@ -39,7 +39,7 @@ task Star {
     }
 
     runtime {
-        threads: select_first([runThreadN, 1])
+        cpu: select_first([runThreadN, 1])
         memory: select_first([memory, 10])
     }
 }
\ No newline at end of file
diff --git a/stringtie.wdl b/stringtie.wdl
index 6031d79..5fdcd6d 100644
--- a/stringtie.wdl
+++ b/stringtie.wdl
@@ -28,6 +28,6 @@ task Stringtie {
     }
 
     runtime {
-        threads: select_first([threads, 1])
+        cpu: select_first([threads, 1])
     }
 }
\ No newline at end of file
-- 
GitLab