Counting the number of major and minor alleles
In a multi-sample VCF file, How can we count the number of major and minor alleles for an SNP in all samples? Should we use the "AF" to identify major or minor alleles? Is the number of each allele given in the "AD" under the FORMAT field?
• 1,430 views
•
link
0 answers
No answers yet.
Log in to answer this question.
Can you post an example of the vcf file you're working on?
In a vcf file, you should have the genotype which you can use to filter/count the alleles.
This is an example of my main file (two SNP)