We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19871ab commit 8720befCopy full SHA for 8720bef
1 file changed
main.nf
@@ -719,7 +719,7 @@ process samtools_filter {
719
720
script:
721
prefix="$bam" - ~/(\.bam)?/
722
- rm_type = "${params.bam_unmapped_keep_type}" == 'bam' ? 'bam' : 'fastq'
+ rm_type = "${params.bam_unmapped_keep_type}" == 'bam' ? 'bam' : 'fastq.gz'
723
rm_unmapped = "${params.bam_discard_unmapped}" ? "rm *.unmapped.${rm_type}" : ''
724
fq_convert = "${params.bam_unmapped_to_fastq}" ? "samtools fastq -tn ${prefix}.unmapped.bam | gzip > ${prefix}.unmapped.fq.gz" : ''
725
0 commit comments