Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to convert a vcf.gz file directly into a vcf.bgz file?

I don't want to unzip the vcf.gz file first because it's a big file and my laptop doesn't have space for it. I tried doing:

gunzip -c file.vcf.gz > bgzip -c > file.vcf.bgz

But it didn't work. Thoughts?

like image 824
claudiadast Avatar asked Nov 18 '25 07:11

claudiadast


1 Answers

try

gunzip -c file.vcf.gz | bgzip  > file.vcf.bgz
like image 198
Pierre Avatar answered Nov 21 '25 09:11

Pierre



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!