Vcf file to vcf.gz
1
0
Entering edit mode
7 months 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

File conversion • 688 views
ADD COMMENT
1
Entering edit mode
7 months 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: 1782 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