VEP order most severe to least
1
2
Entering edit mode
4.7 years ago
shwethacm ▴ 240

Hi there,

I have a rather large VCF file annotated using VEP, and I am trying to pick the most severe consequence of the variant for each variant in the file. Now I know that VEP automatically arranges the output to be listed as most-severe to least according to this (http://uswest.ensembl.org/info/genome/variation/prediction/predicted_data.html#consequences). However, my VCF doesn't have it in that format (no idea why, but I spot checked, and it doesn't) .

I cannot re-make the VCF using --severe because I didn't create it in the first place. My solution is to write a script to do this manually. But before I do that, I'd be interested if anyone out there has encountered a similar situation and have better suggestions for this.

Thanks for the help!

VEP WGS variant consequence largeVCF • 2.5k views
ADD COMMENT
3
Entering edit mode
4.7 years ago
Ben Moore ★ 2.4k

Hi shwethacm,

I'm afraid that I'm not able to help with any particular suggestions or custom scripts that will help to filter or rearrange your VCF output. However, I wanted to correct a small error in your assumption- the VEP does not necessarily arrange the output from most to least severe for each variant.

Some considerations for your filtering and reordering:

Best wishes

Ben Ensembl Helpdesk

ADD COMMENT
1
Entering edit mode

Thanks Ben!! --pick did what I needed. I ended up doing this:

  1. Filter out variants from my region of interest
  2. Run VEP again like so:

    vep -i {input} -o {output} --cache --merged --pick --pick_order biotype,ccds,rank,canonical --force_overwrite --vcf

My aim is to filter out variants protein coding regions, and most damaging variants . The default --pick order missed a few because of overlapping transcripts, so I ended up reordering the 'pick' criteria to biotype,ccds,rank,canonical . This worked great! Thanks you for the prompt answer!

ADD REPLY

Login before adding your answer.

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