Skip to content
Snippets Groups Projects
Unverified Commit 9f34d846 authored by Laurent Modolo's avatar Laurent Modolo
Browse files

samtools: fix catched bams names

parent a8e8560a
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,7 @@ process filter_bam_mapped {
tuple val(file_id), path(bam)
output:
tuple val(file_id), path("*_filtered.bam"), emit: bam
tuple val(file_id), path("*_mapped.bam"), emit: bam
script:
"""
samtools view -@ ${task.cpus} -F 4 -hb ${bam} -L ${bed} > ${file_id}_mapped.bam
......@@ -43,7 +43,7 @@ process filter_bam_unmapped {
tuple val(file_id), path(bam)
output:
tuple val(file_id), path("*_filtered.bam"), emit: bam
tuple val(file_id), path("*_unmapped.bam"), emit: bam
script:
"""
samtools view -@ ${task.cpus} -f 4 -hb ${bam} > ${file_id}_unmapped.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