Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compressed output #14

Open
BrianLohman opened this issue Mar 7, 2019 · 1 comment
Open

Compressed output #14

BrianLohman opened this issue Mar 7, 2019 · 1 comment

Comments

@BrianLohman
Copy link

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

@fcgportal
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants