From c7498d84aa5eee826b7ee18f86b089a3cb3ef5b3 Mon Sep 17 00:00:00 2001
From: Ruben Vorderman <r.h.p.vorderman@lumc.nl>
Date: Tue, 4 Jun 2019 13:38:58 +0200
Subject: [PATCH] simplify further

---
 picard.wdl | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

diff --git a/picard.wdl b/picard.wdl
index e88172f..f1c4a58 100644
--- a/picard.wdl
+++ b/picard.wdl
@@ -204,11 +204,9 @@ task GatherBamFiles {
     }
 
     output {
-        IndexedBamFile outputBam = object {
-          file: outputBamPath,
-          index: sub(outputBamPath, ".bam$", ".bai"),
-          md5: outputBamPath + ".md5"
-        }
+        File outputBam = outputBamPath
+        File outputBamIndex = sub(outputBamPath, ".bam$", ".bai")
+        File outputBamMd5 = outputBamPath + ".md5"
     }
 
     runtime {
@@ -429,10 +427,8 @@ task SortVcf {
     }
 
     output {
-        IndexedVcfFile outputVcf = object {
-          file: outputVcfPath,
-          index: outputVcfPath + ".tbi"
-        }
+        File outputVcf = outputVcfPath
+        File outputVcfIndex = outputVcfPath + ".tbi"
     }
 
     runtime {
-- 
GitLab