Filtering large VCFs by allele freqency using bcftools split-vep function
0
2
Entering edit mode
4.4 years ago
tacrolimus ▴ 140

Dear Biostars community,

I have a large VCF file that has been annotated using VEP. The intrinsic filtering function built into VEP whilst effective is very slow across large VCFs from my experience.

I have been playing around with the spli-vep plug-in on bcftools and found it to be much faster, however, I am struggling to get it to work with allele frequency.

The VCF is a standard format v4.1 VCF. I want to pull the alleles out that are <0.01 by MAX_AF. I am running the following script:

bcftools +split-vep vcf_file.vcf -i 'MAX_AF<0.01' -f -A -s worst

when running this I get an error saying 'MAX_AF' not defined in the vcf header but when running

bcftools +split-vep test/split-vep.vcf -l | less

It appears in the list.

Has anyone else used this tool to filter on allele_frequency?

Many thanks

bcftools vep split-vep • 1.8k views
ADD COMMENT
0
Entering edit mode

Do you have a solution?

ADD REPLY
0
Entering edit mode

Afraid not no sorry!

ADD REPLY

Login before adding your answer.

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