What is the command to block gzip a vcf file?
If you are exporting to a VCF file with Hail, it will be exported as a block gzipped file as long as the output path has the extension .bgz
. For example:
vds = hc.import_vcf("/my/path/data.vcf.bgz")
vds.export_vcf("/my/path/output_data.vcf.bgz")
If you want to block gzip a VCF file outside of Hail, you can use Tabix.
Perfect, thanks so much!