MToolBox
MToolBox copied to clipboard
.fastq files stay uncompressed for a long time if input is bam
I don't think this is a bug, but the default behavior could be problematic. If the input files are of .bam format, .bam files will be converted into .fastq files, uncompressed (according to bam_input() in MToolBox.sh). The uncompressed files will be compressed only after all .bam files have been converted (according to fastq_input() in MToolBox.sh). So during the time of conversion, there will be lots of uncompressed .fastq files in the output directory, occupying ridiculous amounts of space if you have lots of input samples. I think .fastq files should be compressed right after they were created.
Hi,
thanks for this remark, this is a possible improvement for the next update.
Domenico
Hi,
thanks for this remark, this is a possible improvement for the next update.
Domenico
Thanks for your reply! I also noticed that in the final results, there are uncompressed .sam and .fastq files. Would be great if those are compressed as soon as they are generated.