mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 02:58:17 +00:00
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>
This commit is contained in:
parent
72adfbff72
commit
29568f72ca
1 changed files with 5 additions and 3 deletions
|
@ -19,12 +19,14 @@ process STRINGTIE_MERGE {
|
||||||
task.ext.when == null || task.ext.when
|
task.ext.when == null || task.ext.when
|
||||||
|
|
||||||
script:
|
script:
|
||||||
def args = task.ext.args ?: ''
|
def args = task.ext.args ?: ''
|
||||||
|
def reference = annotation_gtf ? "-G $annotation_gtf" : ""
|
||||||
"""
|
"""
|
||||||
stringtie \\
|
stringtie \\
|
||||||
--merge $stringtie_gtf \\
|
--merge $stringtie_gtf \\
|
||||||
-G $annotation_gtf \\
|
$reference \\
|
||||||
-o stringtie.merged.gtf
|
-o stringtie.merged.gtf \\
|
||||||
|
$args
|
||||||
|
|
||||||
cat <<-END_VERSIONS > versions.yml
|
cat <<-END_VERSIONS > versions.yml
|
||||||
"${task.process}":
|
"${task.process}":
|
||||||
|
|
Loading…
Reference in a new issue