When thinking about somatic variants and the allele frequencies of those variants it is important to consider the purity and heterogeneity (aka clonality) of the samples being sequenced. In cancer genome sequencing it is rare that a tumor sample is 100% pure (no normal cells) and is composed of identical tumor cells each containing the same mutations. Tumors change over time and a single tumor may contain multiple 'sub-clones'. Until we are sequencing DNA of individual cells we need to remember that we are sampling from a population of entities that are not guaranteed to be identical.
For the following discussion:
Variant allele frequency = read count supporting mutant base / total read count at that position
For heterozygous somatic variants we can expect a tumor variant allele frequency of 50% and a normal variant allele frequency of 0%. Of course there will always be some variability due to some of the technical artifacts already discussed (random sequencing errors, etc.).
Imagine you are identifying somatic variants in tumor DNA by comparison to normal DNA. The simplest case is where the tumor sample is pure (contains 0 contaminating normal cells) and is perfectly homogenous (all tumor cells contain exactly the same set of mutations). In this case, we should see a tumor variant allele frequency close to 50%.
Effect of poor tumor purity:
If the tumor sample contains contaminating normal cells, this will reduce the observed tumor variant allele frequency. Similarly, if the 'normal' sample was adjacent to the tumor it may contain some tumor cells and the observed normal variant allele frequency may be higher than 0%. Even if blood is used to obtain constitutive DNA for identifying somatic variation, it may still contain circulating tumor cells or cell free DNA that came from tumor cells.
Effect of complex tumor heterogeneity:
Even if a tumor is 'pure' with no contaminating normal cells/DNA we may still see somatic variants that have a tumor variant allele frequency of less than 50%. For example, imagine our tumor consists of a founder clone and a sub-clone derived from it. Perhaps the sub-clone comprises 40% of the cells in the overall tumor mass that we extracted and sequenced. In this case somatic variants that exist only in the sub-clone will have a substantially reduced tumor variant allele frequency.
When both purity and heterogeneity are in play, interpreting tumor variant allele frequencies just gets more and more complicated ...