File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ dependencies:
2222 - bioconda::pmdtools=0.60
2323 - conda-forge::r-rmarkdown=1.10
2424 - conda-forge::libiconv=1.15
25+ - conda-forge::pigz=2.3.4
2526 - bioconda::sequencetools=1.2.2
2627 - bioconda::preseq=2.0.3
2728 - bioconda::fastp=0.19.4
Original file line number Diff line number Diff line change @@ -721,7 +721,7 @@ process samtools_filter {
721721 prefix= " $bam " - ~/ (\. bam)? /
722722 rm_type = " ${ params.bam_unmapped_keep_type} " == ' bam' ? ' bam' : ' fastq.gz'
723723 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" : ' '
724+ fq_convert = " ${ params.bam_unmapped_to_fastq} " ? " samtools fastq -tn ${ prefix} .unmapped.bam | pigz -p ${ task.cpus } > ${ prefix} .unmapped.fq.gz" : ' '
725725
726726
727727 if (" ${ params.bam_separate_unmapped} " ){
You can’t perform that action at this time.
0 commit comments