From 26ee393b40ca25d92a470101996e3212fb1cfff9 Mon Sep 17 00:00:00 2001 From: ffinfo <pjrvanthof@gmail.com> Date: Thu, 13 Sep 2018 11:49:09 +0200 Subject: [PATCH] WIP --- samtools.wdl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/samtools.wdl b/samtools.wdl index 0d43015..ab2c84e 100644 --- a/samtools.wdl +++ b/samtools.wdl @@ -36,10 +36,9 @@ task Index { } output { - File index = select_first(flatten([[bamIndexPath], glob(sub(basename(bamFile), "\.bam$", "") + "*.bai")])) IndexedBamFile outputBam = object { file: bamFile, - index: index + index: select_first(flatten([[bamIndexPath], glob(sub(basename(bamFile), "\.bam$", "") + "*.bai")])) } } } -- GitLab