From 745a362bfb1d8202066194ab2a7ad05d8ecd5d73 Mon Sep 17 00:00:00 2001
From: DavyCats <davycats.dc@gmail.com>
Date: Fri, 26 Oct 2018 12:55:49 +0200
Subject: [PATCH] add notSplitContigs option to ScatterRegions

---
 biopet/biopet.wdl | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/biopet/biopet.wdl b/biopet/biopet.wdl
index 867859e..cd3578b 100644
--- a/biopet/biopet.wdl
+++ b/biopet/biopet.wdl
@@ -236,6 +236,7 @@ task ScatterRegions {
         File? toolJar
         Int? scatterSize
         File? regions
+        Boolean notSplitContigs = false
 
         Int memory = 4
         Float memoryMultiplier = 3.0
@@ -253,7 +254,8 @@ task ScatterRegions {
           -R ~{reference.fasta} \
           -o ~{outputDirPath} \
           ~{"-s " + scatterSize} \
-          ~{"-L " + regions}
+          ~{"-L " + regions} \
+          ~{true="--notSplitContigs" false="" notSplitContigs}
     }
 
     output {
-- 
GitLab