From 4f383528ea23e39b6f1a92a0c307518427b96109 Mon Sep 17 00:00:00 2001
From: Ruben Vorderman <r.h.p.vorderman@lumc.nl>
Date: Mon, 29 Jan 2018 15:52:33 +0100
Subject: [PATCH] add mkdir statement

---
 cutadapt.wdl | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cutadapt.wdl b/cutadapt.wdl
index afa1b29..4a94961 100644
--- a/cutadapt.wdl
+++ b/cutadapt.wdl
@@ -57,6 +57,7 @@ task cutadapt {
 
     command {
         set -e -o pipefail
+        mkdir -p $(dirname ${read1output})
         ${preCommand}
         cutadapt \
         ${"--cores=" + cores} \
-- 
GitLab