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

add stringtie merge

parent 753c2381
No related branches found
No related tags found
1 merge request!83add stringtie merge
......@@ -37,3 +37,42 @@ task Stringtie {
cpu: threads
}
}
task Merge {
input {
String? preCommand
Array[File]+ gtfFiles
String outputGtfPath
File? guideGtf
Int? minimumLength
Float? minimumCoverage
Float? minimumFPKM
Float? minimumTPM
Float? minimumIsoformFraction
Boolean keepMergedTranscriptsWithRetainedIntrons = false
String? label
}
command {
set -e
mkdir -p $(dirname ~{outputGtfPath})
~{preCommand}
stringtie --merge \
-o ~{outputGtfPath}
~{"-G " + guideGtf} \
~{"-m " + minimumLength } \
~{"-c " + minimumCoverage} \
~{"-F " + minimumFPKM} \
~{"-T " + minimumTPM} \
~{"-f " + minimumIsoformFraction} \
~{true="-i" false="" keepMergedTranscriptsWithRetainedIntrons} \
~{"-l " + label} \
~{sep=" " gtfFiles}
}
output {
File mergedGtfFile = outputGtfPath
}
}
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