diff --git a/src/nf_modules/samtools/main.nf b/src/nf_modules/samtools/main.nf index f1ff8dc81cde4118b237133559ab1343e5511623..7e2efd4f44933ab1d0b0c9612a6400ea35c80173 100644 --- a/src/nf_modules/samtools/main.nf +++ b/src/nf_modules/samtools/main.nf @@ -30,7 +30,7 @@ process filter_bam_mapped { tuple val(file_id), path("*_mapped.bam"), emit: bam script: """ -samtools view -@ ${task.cpus} -F 4 -hb ${bam} -L ${bed} > ${file_id}_mapped.bam +samtools view -@ ${task.cpus} -F 4 -hb ${bam} > ${file_id}_mapped.bam """ }