Make stringtie/merge arguments configurable (#2049)

Added $args to command line and made using a reference annotation optional.

Co-authored-by: Simon Pearce <24893913+SPPearce@users.noreply.github.com>
master
Benedetto Polimeni 2 years ago committed by GitHub
parent 72adfbff72
commit 29568f72ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -19,12 +19,14 @@ process STRINGTIE_MERGE {
task.ext.when == null || task.ext.when
script:
def args = task.ext.args ?: ''
def args = task.ext.args ?: ''
def reference = annotation_gtf ? "-G $annotation_gtf" : ""
"""
stringtie \\
--merge $stringtie_gtf \\
-G $annotation_gtf \\
-o stringtie.merged.gtf
$reference \\
-o stringtie.merged.gtf \\
$args
cat <<-END_VERSIONS > versions.yml
"${task.process}":

Loading…
Cancel
Save