Vcf file to vcf.gz
1
0
Entering edit mode
3.3 years ago

Dear All,

I have vcf file with me and I want to convert this vcf file to vcf.gz format. Please help me regarding this. I am not aware of scripts so it would be good if anyone can tell me the stepwise procedure to convert my vcf file to vcf.gz type. Thanks in advance!

Regards
Shiwali

VCF • 4.9k views
ADD COMMENT
2
Entering edit mode
3.3 years ago

htslib: https://github.com/samtools/htslib

bgzip file.vcf

bcftools: https://github.com/samtools/bcftools

bcftools view -O z -o file.vcf.gz file.vcf
ADD COMMENT

Login before adding your answer.

Traffic: 3222 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6