Parsing through VCF annotated by Funcotator
1
0
Entering edit mode
4.8 years ago
abbysue ▴ 10

I have a variant set annotated by GATK's Funcotator... creates an extra field in the VCF called "Funcotator" with several annotations separated by pipe characters. I want to get some statistics on % intronic vs exonic and missense/nonsense mutations. Is the easiest way to do this using grep? Or does GATK's SelectVariants work?

GATK vcf funcotator annotated • 2.8k views
ADD COMMENT
1
Entering edit mode
4.6 years ago
jonnsmith ▴ 10

There are a few ways you can do this. I'd recommend grabbing a script that I wrote to turn Functoator VCF annotations into CSVs.

I did this so that I could more easily debug things when I was writing it.

The script is here: createFuncotationCsvFromFuncotatorVcf.sh

That should work for you (though it may not work correctly if the VCF header is very large). If you have more troubles you can post over on the GATK forums or open a question ticket on GitHub.

ADD COMMENT

Login before adding your answer.

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