How can I revert back the Ensembl vep annotated positions to vcf positions?
1
2
Entering edit mode
3.6 years ago
DareDevil ★ 4.3k

Sample VCF positions:

CHROM   POS     ID  REF  ALT
chr1    939570   .  T   TCCCTGGAGGACC
chr1    3411794  .  T   C
chr1    1043223  .  CCT C
chr1    22511093 .  CTT CT
chr1    24454031 .  CT  CTT

VEP annotted positions

Positions            Allele
1:939570-939570      CCCTGGAGGACC
1:3411794-3411794        C
1:1043223-1043225        -
1:22511093-22511095      -
1:22511093-22511095      T
1:24454031-24454032      -
1:24454031-24454032      TT

I wanted to revert back VEP positions to VCF positions to remap certain parameters in the VCF file.

Any help appreciated!!!

ensembl VEP VCF • 1.1k views
ADD COMMENT
0
Entering edit mode

Hello,

can you please describe what your goal is? The Position in the vcf file describes the starting position of the variant, the VEP Position describes the start and end position of the variant. If you transfer this range into your vcf, this is no valid vcf anymore.

fin swimmer

ADD REPLY
1
Entering edit mode
3.6 years ago
Emily 24k

Just get your output in VCF. If using the offline tool, use --vcf. If using the online tool, use the Export options. The VEP annotation will appear as CSQ in the INFO field. If offline, it will also keep all the other stuff from your original VCF.

ADD COMMENT

Login before adding your answer.

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