This is a test version of Biostars. For the public version, visit https://www.biostars.org.
retrieving from ExAC in VCF format

Hello! Is it possible to retrieve information about variants of a single gene from the ExAC Browser in VCF format? I can only see the option to "Export table to CSV".

exac vcf

2 answers

You can use tabix and query directly from the FTP:

tabix -h ftp://ftp.broadinstitute.org/pub/ExAC_release/current/ExAC.r0.3.1.sites.vep.vcf.gz 2:39967768-39967768 > exported.vcf

Hello, is it possible to generate vcf files with tabix and exclude the 7601 samples deriving from the TCGA cohort in ExAC?

I now have a VCF file and I would like to keep only the non-Finn European (NFE). I don't have a list of samples to keep, but I think this can be done by "INFO FIELD FILTERING" with VCFtools. In fact, I read lines like this: "##INFO=<id=an_nfe ..="" which="" are="" what="" i="" need.="" please="" let="" me="" know.="" thanks<="" p="">

Apologies, but maybe I have done some confusion above: I have looked at your link, but I'm afraid this is not very helpful for what I have to do. Basically I must keep only one subpopulation in my VCF file and in the info fields I have information about the populations. Now suppose I only want to keep one population in my vcf file (non Finn Europeans, NFE): is there an easy way to remove all the rest and keep only non finn europeans (maybe with vcftools)?

I use the following command to annotate vcf files: table_annovar.pl example/ex2.vcf humandb/ -buildver hg19 -out myanno -remove -protocol refGene,cytoBand,exac03,avsnp147,dbnsfp30a -operation g,r,f,f,f -nastring . -vcfinput

but unfortunately I see the COSMIC and CLINVAR annotations are missing. How can I include them? Please let me know. Thanks

Log in to answer this question.