mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 11:08:17 +00:00
add prefix
This commit is contained in:
parent
5db94ea0ee
commit
749edce069
1 changed files with 2 additions and 1 deletions
|
@ -21,6 +21,7 @@ process CNVKIT_REFERENCE {
|
|||
|
||||
script:
|
||||
def args = task.ext.args ?: ''
|
||||
def prefix = task.ext.prefix ?: "${meta.id}"
|
||||
|
||||
"""
|
||||
cnvkit.py \\
|
||||
|
@ -28,7 +29,7 @@ process CNVKIT_REFERENCE {
|
|||
--fasta $fasta \\
|
||||
--targets $targets \\
|
||||
--antitargets $antitargets \\
|
||||
--output reference.cnn \\
|
||||
--output ${prefix}.reference.cnn \\
|
||||
$args
|
||||
|
||||
cat <<-END_VERSIONS > versions.yml
|
||||
|
|
Loading…
Reference in a new issue