diff --git a/modules/local/samtools_replaceheader.nf b/modules/local/samtools_replaceheader.nf index 0a027c8..09ac4fc 100644 --- a/modules/local/samtools_replaceheader.nf +++ b/modules/local/samtools_replaceheader.nf @@ -12,8 +12,8 @@ process SAMTOOLS_REHEADER { path(header) output: - tuple val(meta), path("${prefix}.${suffix}"), optional:true, emit: bam - tuple val(meta), path("${prefix}.${suffix}"), optional:true, emit: cram + tuple val(meta), path("${prefix}.bam") , optional:true, emit: bam + tuple val(meta), path("${prefix}.cram"), optional:true, emit: cram path "versions.yml", emit: versions when: