mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2025-01-03 04:52:09 -05:00
Merge pull request #1694 from SusiJo/cnvkit/reference
Add prefix to cnvkit/reference
This commit is contained in:
commit
60793adea2
2 changed files with 4 additions and 2 deletions
|
@ -21,13 +21,15 @@ process CNVKIT_REFERENCE {
|
||||||
|
|
||||||
script:
|
script:
|
||||||
def args = task.ext.args ?: ''
|
def args = task.ext.args ?: ''
|
||||||
|
def prefix = task.ext.prefix ?: targets.BaseName
|
||||||
|
|
||||||
"""
|
"""
|
||||||
cnvkit.py \\
|
cnvkit.py \\
|
||||||
reference \\
|
reference \\
|
||||||
--fasta $fasta \\
|
--fasta $fasta \\
|
||||||
--targets $targets \\
|
--targets $targets \\
|
||||||
--antitargets $antitargets \\
|
--antitargets $antitargets \\
|
||||||
--output reference.cnn \\
|
--output ${prefix}.reference.cnn \\
|
||||||
$args
|
$args
|
||||||
|
|
||||||
cat <<-END_VERSIONS > versions.yml
|
cat <<-END_VERSIONS > versions.yml
|
||||||
|
|
|
@ -4,5 +4,5 @@
|
||||||
- cnvkit/reference
|
- cnvkit/reference
|
||||||
- cnvkit
|
- cnvkit
|
||||||
files:
|
files:
|
||||||
- path: output/cnvkit/reference.cnn
|
- path: output/cnvkit/multi_intervals.reference.cnn
|
||||||
md5sum: 7c4a7902f5ab101b1f9d6038d331b3d9
|
md5sum: 7c4a7902f5ab101b1f9d6038d331b3d9
|
||||||
|
|
Loading…
Reference in a new issue