This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Convert GVF to VCF

Hi all.

Does any know of a script or code that can convert a GVF file to VCF? There is a reference to a link https://code.google.com/p/gvf2vcf/ but it is not accessible anymore.

Any help will be appreciated.

Thanks

vcf

3 answers

Found a perl script here that should do it (scroll to bottom for usage instructions)

thanks, just what i was looking for.

Try installing gvcftools. I got it to work recently.

zcat tmp.gvcf.gz  | break_blocks --region-file clinvar.bed --exclude-off-target --ref  ucsc.hg19.fa | bcftools view -O z >  tmp.vcf.gz

Also, bcftools is starting to support it.

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

I was looking to convert GVF file into VCF not a gVCF file (genome VCF file). Any idea?

Also, The following script works well for this purpose.

https://github.com/Test-Blu/GVF2VCF_Convertor_TestBlu

Log in to answer this question.