I am new to genomics, and have a question about what allele frequency in a vcf exactly refers to. I have a bam file that represents sequencing done on one patient, and I want to understand the composition of SNPs (i.e. if the reference is A, and the SNP is G, are 40% of the reads calling G, or 90%) is this what allele frequency is describing? Or is it saying that in a population, if the allele frequency is .1, 10% of the population had the alternate allele? I promise I have tried googling this, but have not yet gotten an answer that completely makes sense.