diff --git a/samtools.wdl b/samtools.wdl index ecff136925c9640cd196883a870549296379788f..5bb6d09da2a5ce0484ab776475bdb09e0a7fa2d6 100644 --- a/samtools.wdl +++ b/samtools.wdl @@ -122,7 +122,7 @@ task view { String? preCommand File inFile File? referenceFasta - String? outputFileName + String outputFileName Boolean? outputBam Boolean? uncompressedBamOutput Int? includeFilter @@ -144,4 +144,8 @@ task view { ${"--threads " + threads - 1} \ ${inFile} } + + output { + File outputFile = outputFileName + } }