mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 02:58:17 +00:00
feat: add original input as optional output channel (#1147)
This commit is contained in:
parent
a9dd46f010
commit
37c5cb495d
1 changed files with 7 additions and 4 deletions
|
@ -11,10 +11,13 @@ process SAMTOOLS_INDEX {
|
|||
tuple val(meta), path(input)
|
||||
|
||||
output:
|
||||
tuple val(meta), path("*.bai") , optional:true, emit: bai
|
||||
tuple val(meta), path("*.crai"), optional:true, emit: crai
|
||||
tuple val(meta), path("*.csi") , optional:true, emit: csi
|
||||
path "versions.yml" , emit: versions
|
||||
tuple val(meta), path("*.bam" , includeInputs:true), path("*.bai") , optional:true, emit: bam_bai
|
||||
tuple val(meta), path("*.bai") , optional:true, emit: bai
|
||||
tuple val(meta), path("*.bam" , includeInputs:true), path("*.csi") , optional:true, emit: bam_csi
|
||||
tuple val(meta), path("*.csi") , optional:true, emit: csi
|
||||
tuple val(meta), path("*.cram", includeInputs:true), path("*.crai"), optional:true, emit: cram_crai
|
||||
tuple val(meta), path("*.crai") , optional:true, emit: crai
|
||||
path "versions.yml" , emit: versions
|
||||
|
||||
script:
|
||||
def args = task.ext.args ?: ''
|
||||
|
|
Loading…
Reference in a new issue