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

expression counting fixes

parent c078fe7c
No related branches found
No related tags found
1 merge request!15Biowdl 25
...@@ -2,8 +2,9 @@ ...@@ -2,8 +2,9 @@
# This makes searching a lot easier. # This makes searching a lot easier.
task BaseCounter { task BaseCounter {
String? preCommand String? preCommand
String tool_jar #Should this be of type File? String tool_jar
File bam File bam
File bamIndex
File refFlat File refFlat
String outputDir String outputDir
String prefix String prefix
...@@ -14,8 +15,8 @@ task BaseCounter { ...@@ -14,8 +15,8 @@ task BaseCounter {
Int mem = ceil(select_first([memory, 12.0])) Int mem = ceil(select_first([memory, 12.0]))
command { command {
set -e -o pipefail set -e -o pipefail
${preCommand}
mkdir -p ${outputDir} mkdir -p ${outputDir}
${preCommand}
java -Xmx${mem}G -jar ${tool_jar} \ java -Xmx${mem}G -jar ${tool_jar} \
-b ${bam} \ -b ${bam} \
-r ${refFlat} \ -r ${refFlat} \
......
...@@ -11,6 +11,7 @@ task HTSeqCount { ...@@ -11,6 +11,7 @@ task HTSeqCount {
command { command {
set -e -o pipefail set -e -o pipefail
mkdir -p ${sub(outputTable, basename(outputTable), "")}
${preCommand} ${preCommand}
htseq-count \ htseq-count \
-f ${default="bam" format} \ -f ${default="bam" format} \
......
...@@ -10,6 +10,7 @@ task Stringtie { ...@@ -10,6 +10,7 @@ task Stringtie {
command { command {
set -e -o pipefail set -e -o pipefail
mkdir -p ${sub(assembledTranscriptsFile, basename(assembledTranscriptsFile), "")}
${preCommand} ${preCommand}
stringtie \ stringtie \
${"-p " + threads} \ ${"-p " + threads} \
......
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