Skip to content
Snippets Groups Projects
Verified Commit cd23e1e3 authored by Laurent Modolo's avatar Laurent Modolo
Browse files

samtools: modify output name of merge_multi_bam

parent ff5c7a24
No related branches found
No related tags found
No related merge requests found
...@@ -175,11 +175,11 @@ process merge_multi_bam { ...@@ -175,11 +175,11 @@ process merge_multi_bam {
tuple val(file_id), path(bams) tuple val(file_id), path(bams)
output: output:
tuple val(file_id), path("*.bam*"), emit: bam tuple val(file_id), path("*_merged.bam*"), emit: bam
script: script:
""" """
samtools merge ${bams} \ samtools merge ${bams} \
${file_id}.bam ${bams[0].simpleName}_merged.bam
""" """
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment