Viltering VCF file with Exonic variants via Python
2
0
Entering edit mode
9.1 years ago

Hello All,

I have a VCF file and I want to filter the file with exonic variants only and through out the intronic ones. I have done it using a python script but it still not doing it so and the run takes a long time to do so. Is there a faster way to do this?

Thanks

next-gen • 3.1k views
ADD COMMENT
2
Entering edit mode

So you are just trying to identify exonic variants? Try using Annovar or KGGSeq

ADD REPLY
0
Entering edit mode

Hi Sam, I could do that but instead I want to filter out only variants that are with an exonic region I don't want them annotated for the time being just get a new resulted vcf file that is filtered with exonic variants and that's why I used python to do so.

Thanks

ADD REPLY
1
Entering edit mode

Well, once you have them annotated, you can just get the coordinates of those snps that you want and use any programme you like to filter them from the vcf file. It will be much faster and simpler, no point in reinventing the wheel unless you are trying to develop a new programme

ADD REPLY
2
Entering edit mode
9.1 years ago

Just use bedtools intersect and provide it with your VCF file and a BED file containing the exons (I'm not entirely sure this would work with a GFF file, since it might then give you anything overlapping a gene).

ADD COMMENT
2
Entering edit mode
9.1 years ago

Try VCFMiner from Mayo, latest releases of DNAstar software suite have also some tools to play with VCFs, try R packages, perhaps

ADD COMMENT

Login before adding your answer.

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