diff --git a/biopet.wdl b/biopet.wdl index 129d597a3d7f1296f7a99698f3fcc8931d36e069..f2ca0a02aab35d6b60b9630bbe3b637117543759 100644 --- a/biopet.wdl +++ b/biopet.wdl @@ -85,7 +85,7 @@ task BaseCounter { File bam File refFlat String outputDir - String? prefix + String prefix command { set -e -o pipefail @@ -95,7 +95,7 @@ task BaseCounter { -b ${bam} \ -r ${refFlat} \ -o ${outputDir} \ - ${"-p" + prefix} + -p ${prefix} } output { diff --git a/htseq.wdl b/htseq.wdl index bce09a824301d7e58e33db9f9b8dd39275d615a8..b740b4f0a0fb90c70eac43baa8d9688e9422327c 100644 --- a/htseq.wdl +++ b/htseq.wdl @@ -1,13 +1,12 @@ task HTSeqCount { + String? preCommand Array[File] alignmentFiles File gffFile - + String outputTable String? format String? order String? stranded - String? preCommand - command { set -e -o pipefail ${preCommand} @@ -16,10 +15,11 @@ task HTSeqCount { -r ${default="pos" order} \ -s ${default="no" stranded} \ ${sep=" " alignmentFiles} \ - ${gffFile} + ${gffFile} \ + > ${outputTable} } output { - File counts = stdout() + File counts = outputTable } } \ No newline at end of file diff --git a/stringtie.wdl b/stringtie.wdl index a057e193be7f5bb1b1a4b38b1d6e46fc0c4aca80..e8c74d71e671bfebe9ad5e641311f79e809d2b58 100644 --- a/stringtie.wdl +++ b/stringtie.wdl @@ -3,6 +3,7 @@ task Stringtie { File alignedReads File? referenceGFF Int? threads + String assembledTranscripts command { set -e -o pipefail @@ -10,11 +11,12 @@ task Stringtie { stringtie \ ${"-p " + threads} \ ${"-G " + referenceGFF} \ - ${alignedReads} + ${alignedReads} \ + > ${assembledTranscripts} } output { - File assembledTranscripts = stdout() + File assembledTranscripts = assembledTranscripts } runtime {