bazam icon indicating copy to clipboard operation
bazam copied to clipboard

Compressed output

Open BrianLohman opened this issue 5 years ago • 1 comments

Hi,

I am using bazam to convert CRAM to FASTQ and it is working well. However, it would be very helpful if the output was gzip compressed. Would you consider adding this? It would greatly reduced disk space needed while working on AWS.

Thanks

BrianLohman avatar Mar 07 '19 19:03 BrianLohman

You can pileup the interleaved fastq from Bazam into reformat.sh and output separated paired fastq.gz files. It works fine for me.

java -jar build/libs/bazam.jar -bam test.bam | reformat.sh int=t in=stdin.fq out1=out_r1.fastq.gz out2=out_r2.fastq.gz

fcgportal avatar Mar 11 '22 18:03 fcgportal