add prefix

This commit is contained in:
SusiJo 2022-05-24 14:20:19 +02:00
parent 5db94ea0ee
commit 749edce069

View file

@ -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