Hi,
I need to analyse SNPs based on Allele frequency(AF) and not the AF1. The vcf file I obtained by using samtools excludes the INFO for AC.
##FORMAT=<ID=DV,Number=1,Type=Integer,Description="# high-quality non-reference bases">
##FORMAT=<ID=SP,Number=1,Type=Integer,Description="Phred-scaled strand bias P-value">
##FORMAT=<ID=PL,Number=G,Type=Integer,Description="List of Phred-scaled genotype likelihoods">
#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT A.sorted.bam
Y55.chr10 5 . N C 24.0 . DP=15;VDB=8.264144e-07;AF1=1;AC1=2;DP4=0,0,15,0;MQ=12;FQ=-72 GT:PL:GQ 1/1:57,45,0:66
Y55.chr10 6 . N C 23.0 . DP=16;VDB=6.101920e-07;AF1=1;AC1=2;DP4=0,0,16,0;MQ=11;FQ=-75 GT:PL:GQ 1/1:56,48,0:68
Y55.chr10 7 . N A 22.0 . DP=16;VDB=6.101920e-07;AF1=1;AC1=2;DP4=0,0,16,0;MQ=11;FQ=-72 GT:PL:GQ 1/1:55,45,0:64
Is there any way I can obtain the allele frequency in my vcf? Any other variant calling tool that would provide me with the AF?
Thank you,
Parimala
Estimating AF from DP4 in a VCF file
you should go http://gatoravi.github.io/work/2016/05/07/mpileup_AF.html