diff --git a/samtools.wdl b/samtools.wdl index 743fce0c..ac2e868a 100644 --- a/samtools.wdl +++ b/samtools.wdl @@ -296,9 +296,10 @@ task Flagstat { command { set -e mkdir -p "$(dirname ~{outputPath})" + samtools flagstat \ - --threads ~{threads - 1} - ~{inputBam} > ~{outputPath} + --threads ~{threads - 1} \ + ~{inputBam} > ~{outputPath} } output {