Dear all,
the very basic question: I have genotyped SNVs and for each 0/1 variant I want to extract the depth of coverage and the read counts of both alleles. How to do it "in a universal manner", in other words - for any genotyped vcf, no mater how it is formatted? In our VCF files there is AO field in FORMAT column with contains minor allele count - that's fine, but I can not find this field in the official specifications of vcf 4.2...DP field contains information about the overall read depth, but I'd like to know the number of read supporting the variant.
I know that there are a lot of parsers =) but I need it in a "raw" format for a basic script
what is the "alternative allele depth" , what is that field AO ? what is a "universal manner" ?
changed the question. I also have no idea what AO field is - our "format" column has it, it is not described in vcf specification so I guess it is not good to use it. In a universal manner - I want my script for extraction of allele read counts to work on any VCF, no matter how it is formatted (but I assume that genotyping step was performed).
AO apparently is the alternative allele count provided by FreeBayes =)