Extracting VCF information to use in LiftOver
1
0
Entering edit mode
6.8 years ago
cookersjs ▴ 30

Good day,

I am interested in using UCSC's LiftOver tool to convert from GRCh37 to 38. Since VCF's only have the single position in the file, is there any reason I couldn't use the position as both the start and end values?

The reason i'm interested in LiftOver particularly, is that they have the file that can be used from the command-line and it's a simple executable.

I briefly looked at NCBI's Remap (no command-line tool?), and Crossmap (don't want to have python as a dependency).

Any suggestions are welcome!

Thanks

VCF LiftOver • 2.1k views
ADD COMMENT
3
Entering edit mode
6.8 years ago

Since VCF's only have the single position in the file, is there any reason I couldn't use the position as both the start and end values?

UCSC uses a semi-open (0-based) interval (Cheat Sheet For One-Based Vs Zero-Based Coordinate Systems) using the same start/end (1 based) means you're trying to submit a deletion = 0 bases.

Try to submit:

(variant.chrom):(variant.start-1)-(variant.start)

or use something like LiftoverVcf https://broadinstitute.github.io/picard/command-line-overview.html#LiftoverVcf

ADD COMMENT
0
Entering edit mode

Thanks very much, I'll make sure to do that!

ADD REPLY

Login before adding your answer.

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