Skip to content
Snippets Groups Projects
Commit ee155ce8 authored by Cats's avatar Cats
Browse files

make outputs write to files and prefix is a must

parent 1c1a9554
No related branches found
No related tags found
1 merge request!4Add quantification tools
......@@ -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 {
......
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
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment