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
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
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.
Also, The following script works well for this purpose.
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Here is the canonical version of the script: https://github.com/Ensembl/ensembl-variation/blob/master/scripts/misc/gvf2vcf.pl
This has moved - it is now at: https://github.com/Ensembl/ensembl-variation/blob/main/scripts/misc/release/gvf2vcf.pl.
thanks, just what i was looking for.