Changing Genome Coordinates For Vcf
2
3
Entering edit mode
13.0 years ago
Jts ★ 1.4k

I have a VCF file which uses hg18/NCBI36 coordinates. I would like to convert the coordinates to GRCh37 to compare the variants with a more recent data set. Is there a tool to perform this conversion? One way to do it would be to convert the variants to BED then use UCSC liftOver. Before writing this myself, I thought I should check if someone else has solved this problem first.

vcf • 8.0k views
ADD COMMENT
3
Entering edit mode
13.0 years ago
Adam ★ 1.0k

GATK provides a tool for this:

http://www.broadinstitute.org/gsa/wiki/index.php/LiftOverVCF.pl

ADD COMMENT
0
Entering edit mode
13.0 years ago

you will find several posts on this matter if you just search BioStar for "hg18 hg19" for instance.

UCSC liftOver and Ensembl Assembly Converter are the most suggested options.

ADD COMMENT
0
Entering edit mode

Hi Jorge, thanks for the pointer but I am specifically looking for a tool to convert a VCF file. I believe that liftover/ensembl require BED or GFF input. It is not a difficult conversion but it would be nice if a standard tool existed to do this.

ADD REPLY
0
Entering edit mode

oh, I see. unfortunately I don't know of such tool that would translate coordinates from a VCF file directly, so I guess you'll have to extract them yourself and then upgrade them using any of the mentioned tools. for the coordinates extraction theres a post on seqanswers describing some awk and sed scripting that may be helpful: http://seqanswers.com/forums/showthread.php?t=9132

ADD REPLY

Login before adding your answer.

Traffic: 3115 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