Output AO using bcftools
1
0
Entering edit mode
8.0 years ago
L. A. Liggett ▴ 120

I calling variants from sorted bam files using samtools mpileup and then bcftools call -cv input > output.vcf. But in the resulting variant file there is no data reported for alternate allele frequency or AO. Is there a way to get bcftools to output AO?

sequencing alignment • 1.9k views
ADD COMMENT
1
Entering edit mode
8.0 years ago

you're looking for

bcftools plugin fill-AN-AC

although the plugins' installation is not documented in the manual. you'll have to make sure that you compile the plugins along with the bcftools executable, and set the environment variable BCFTOOLS_PLUGINS appropriately.

ADD COMMENT

Login before adding your answer.

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