This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Variant annotation using VEP

Hi, I want to extract the columns of zygosity, variant supporting reads, reads frequencies and variant coverage from VEP. Please, anyone, tell me how to extract that? Thanks in advance

wes

1 answer

You should get most (probably all) of your answers from the VEP help page: https://asia.ensembl.org/info/docs/tools/vep/script/vep_options.html

Sorry I didn't get these things from the given page. Please explain once if you can.

Can please someone tell me how to get variant supporting reads from VCF file?

Thank you for your answer but it didnt relate to my question. I am asking about how to get variant supporting reads from VCF file?

Sorry I didnt get the number of variant supporting reads from the link. Do you have any other alternative to this?

See I think you are not understanding my point. I am asking for variant reads only, if it is present in vcf file or annotated file or I have to use any tool, please let me know. I dont have any other file to use for calculation of variant reads. Please let me know if I can get variant supporting reads from freebayes or any other variant calling pipeline.

If you need only the count of variant supporting reads, how did bcftools query not help you? If you want the count of every read on a variant site irrespective of the allele, extract the FORMAT/DP field using bcftools query. If you are only interested in the alternate allele (the variant with respect to the reference sequence), extract the AD field and get the alt. How did bcftools query not help you?

If you need the actual reads, you need the alignment file.

You can also use SnpSift extract to extract any VCF field: http://pcingola.github.io/SnpEff/ss_extractfields/.

Please go through the examples as they are self explainatory. As long as you know which field you need (check the metadata of the VCF file), you should be good to go.

Log in to answer this question.