MToolBox icon indicating copy to clipboard operation
MToolBox copied to clipboard

.fastq files stay uncompressed for a long time if input is bam

Open dwuab opened this issue 5 years ago • 2 comments

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.

dwuab avatar Mar 20 '19 08:03 dwuab

Hi,

thanks for this remark, this is a possible improvement for the next update.

Domenico

domenico-simone avatar Mar 20 '19 10:03 domenico-simone

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.

dwuab avatar Mar 20 '19 14:03 dwuab