mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 11:08:17 +00:00
separate gvcf and vcf in output channels (#1371)
* separate gvcf and vcf in output channels * regex not working, just using prefix now
This commit is contained in:
parent
0816df1e8b
commit
c450b08a75
1 changed files with 3 additions and 3 deletions
|
@ -17,8 +17,8 @@ process DEEPVARIANT {
|
||||||
path(fai)
|
path(fai)
|
||||||
|
|
||||||
output:
|
output:
|
||||||
tuple val(meta), path("*.vcf.gz") , emit: vcf
|
tuple val(meta), path("${prefix}.vcf.gz") , emit: vcf
|
||||||
tuple val(meta), path("*g.vcf.gz"), emit: gvcf
|
tuple val(meta), path("${prefix}.g.vcf.gz"), emit: gvcf
|
||||||
path "versions.yml" , emit: versions
|
path "versions.yml" , emit: versions
|
||||||
|
|
||||||
when:
|
when:
|
||||||
|
@ -26,7 +26,7 @@ process DEEPVARIANT {
|
||||||
|
|
||||||
script:
|
script:
|
||||||
def args = task.ext.args ?: ''
|
def args = task.ext.args ?: ''
|
||||||
def prefix = task.ext.prefix ?: "${meta.id}"
|
prefix = task.ext.prefix ?: "${meta.id}"
|
||||||
def regions = intervals ? "--regions ${intervals}" : ""
|
def regions = intervals ? "--regions ${intervals}" : ""
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in a new issue