Merge pull request #1694 from SusiJo/cnvkit/reference

Add prefix to cnvkit/reference
This commit is contained in:
SusiJo 2022-05-24 15:11:06 +02:00 committed by GitHub
commit 60793adea2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View file

@ -21,13 +21,15 @@ process CNVKIT_REFERENCE {
script:
def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: targets.BaseName
"""
cnvkit.py \\
reference \\
--fasta $fasta \\
--targets $targets \\
--antitargets $antitargets \\
--output reference.cnn \\
--output ${prefix}.reference.cnn \\
$args
cat <<-END_VERSIONS > versions.yml

View file

@ -4,5 +4,5 @@
- cnvkit/reference
- cnvkit
files:
- path: output/cnvkit/reference.cnn
- path: output/cnvkit/multi_intervals.reference.cnn
md5sum: 7c4a7902f5ab101b1f9d6038d331b3d9