A tumour carries mutations that arose during life on top of the ones a person inherited. Learn how they are found with a tumour and a matched normal, what their patterns reveal, and how gains and losses of DNA are read from the same reads.
In Calling germline variants: from BAM to VCF you found the variants a person inherited, the ones present in every cell of their body. A tumour adds a second layer on top: changes that arose in one cell during life and were passed to all of its descendants. This lesson shows how those changes are found, how to read what they say about the tumour's history, and how gains and losses of whole stretches of chromosome are measured from the same reads.
Tumour and normal
A somatic mutation is one that arose after conception, in a body cell; it is not inherited and is not passed to children. A germline variant was inherited and is in every cell. A tumour sample carries both. A person has millions of germline differences from the reference; a tumour may add only a few thousand somatic ones.
The standard design therefore sequences two samples from the same patient: the tumour, and a matched normal, usually blood or nearby healthy tissue. A variant present in both is germline. A variant present in the tumour but absent from the normal, at a position where the normal has good coverage, is a candidate somatic mutation. Without the normal, a caller has to guess which variants are inherited from population databases, and rare germline variants are easily mistaken for somatic ones.
Purity, clones and the variant allele fraction
The number that matters most when reading a somatic call is the variant allele fraction (VAF): the share of reads at a position that carry the variant. In the germline lesson, a heterozygous variant sat near 0.5 and a homozygous one near 1. Tumours rarely look so tidy, for three reasons.
- Purity. A piece of tumour is never only cancer cells. It also holds immune cells, blood vessels and supporting tissue, all with a normal genome. The share of cells that are cancer cells is the purity. If purity is 60%, then 40% of the DNA comes from normal cells and dilutes every somatic mutation.
- Subclones. A tumour keeps evolving as it grows. A mutation from the first cancer cell is in every cancer cell, and is called clonal. A mutation that arose later is only in one branch of the tumour, a subclone, and so is present in a smaller share of cells.
- Copy number. If the region around a mutation has been gained or lost, the expected fraction changes again, because the mutated and unmutated copies are no longer one each.
So a VAF of 0.15 does not by itself mean a poor call. In a tumour of modest purity, or for a mutation in a subclone, low fractions are expected. They also make calling harder: a mutation seen in 15% of reads at 40× depth is supported by only about six reads, close to the level where sequencing errors start to look similar.
Worked example · what fraction to expect
same tumour, mutation in half of the cancer cells → 0.6 × 0.5 × ½ = 0.15
at 40× depth: 0.30 × 40 = 12 supporting reads; 0.15 × 40 = 6
Step by step. Each cell has two copies of the region. In a cancer cell carrying a heterozygous mutation, one copy of the two is mutated, so ½ of that cell's DNA at this position is mutant. Only 60% of cells are cancer cells, so the expected fraction is 0.6 × ½ = 0.3. If only half of the cancer cells carry the mutation, multiply by 0.5 again: 0.15. With 40 reads at the position, these fractions mean about 12 and 6 reads showing the variant.
What the answer means. Reverse the arithmetic and VAFs become evidence about the tumour. If most clonal mutations sit near 0.3, the purity is probably about 60%. A second, lower cluster of fractions points to a subclone.
Calling somatic mutations
A somatic caller compares the tumour and normal reads at every position and asks whether the tumour shows a variant that the normal does not. The most widely used is Mutect2, part of GATK, the toolkit you met for germline calling. It is run on the two BAM files together, after the same alignment, duplicate marking and base quality steps as in the germline lesson.
conda create -n somatic -c conda-forge -c bioconda gatk4 samtools
conda activate somatic
gatk Mutect2 -R ref/genome.fa \
-I aligned/tumour.bam -I aligned/normal.bam \
-normal NORMAL_SAMPLE \
--germline-resource resources/af-only-gnomad.vcf.gz \
--panel-of-normals resources/pon.vcf.gz \
-O calls/somatic.unfiltered.vcf.gz
gatk FilterMutectCalls -R ref/genome.fa \
-V calls/somatic.unfiltered.vcf.gz \
-O calls/somatic.filtered.vcf.gzWhat this does
-Iis given twice, once for each BAM file.-normalnames which one is the normal, using the sample name stored in the BAM file's read group (the SM tag), not the file name. A mismatch here is one of the most common reasons for a failed run.--germline-resourceis a VCF of population allele frequencies, usually from gnomAD, the Genome Aggregation Database. A variant that is common in the population is probably germline, even if the normal sample happened to have few reads there.--panel-of-normalsis a VCF built by running Mutect2 on many normal samples sequenced the same way. Sites that look variant in normals are artefacts of the method, such as hard-to-map regions or recurrent sequencing errors, and calls at those sites are marked.FilterMutectCallsapplies Mutect2's statistical filters. Every variant stays in the file, but only those that pass have PASS in the FILTER column; the others carry the name of the filter they failed.
Reference files must match the genome build of your alignments. The GATK resource bundle provides gnomAD and panel-of-normals files for the main human builds.
Some artefacts are specific to tumour samples. Tissue fixed in formalin, the usual way pathology samples are stored, damages DNA and creates false C>T changes at low fractions, so treat low-fraction C>T calls from such samples with care.
Drivers and passengers
Most somatic mutations do nothing for the tumour. They are passengers, carried along because they happened to be in the cell that grew. A few are drivers: they change a gene in a way that helps the cell grow or survive, such as an activating change in an oncogene like KRAS or BRAF, or a damaging change in a tumour suppressor like TP53. Annotation with a tool such as VEP, as in Variants: what a change in sequence does, and how it is annotated, tells you what each mutation does to a protein. Curated lists such as the COSMIC Cancer Gene Census, and statistical tests for genes mutated more often than chance across many tumours, help decide which changes are likely drivers.
Mutational signatures
Each process that damages DNA leaves its own pattern. Tobacco smoke, ultraviolet light, a faulty repair pathway and the slow chemistry of ageing each favour certain base changes in certain sequence contexts. Reading these patterns, called mutational signatures, can tell you which processes were at work in a tumour, sometimes years before it was found.
Ninety-six contexts
For single-base substitutions, every change is first written from the pyrimidine (C or T) of the base pair. A G>T on one strand is the same event as a C>A on the other strand, so there are six classes: C>A, C>G, C>T, T>A, T>C and T>G. Each is then split by the base just before and just after it, four choices each, giving 6 × 4 × 4 = 96 trinucleotide contexts. A tumour's mutations become a vector of 96 counts, its mutational profile.
def sbs96(left, ref, alt, right):
comp = str.maketrans("ACGT", "TGCA")
if ref in "AG":
left, right = right.translate(comp), left.translate(comp)
ref, alt = ref.translate(comp), alt.translate(comp)
return f"{left}[{ref}>{alt}]{right}"
print(sbs96("A", "G", "T", "C"))
print(sbs96("T", "C", "T", "G"))What this does
- The function takes one substitution with its neighbours on the reference strand: the base before, the reference base, the new base and the base after.
- If the reference base is a purine (A or G), it switches to the other strand: each base is replaced by its complement, and the two neighbours swap places, because the other strand is read in the opposite direction.
- The first example, a G>T with A before and C after, becomes C>A with G before and T after. The second, a C>T followed by G, is already written from a C and stays as it is. A C followed by G is a CpG site, the context discussed below.
Counting this label for every mutation gives the 96-count profile. Python tools such as SigProfilerMatrixGenerator build the profile directly from VCF files, and tools such as SigProfilerAssignment then explain the profile as a mixture of known signatures.
Some signatures worth knowing
The Catalogue of Somatic Mutations in Cancer, COSMIC, keeps the reference set of signatures, named SBS (single-base substitution) followed by a number.
| Signature | Main pattern | Process |
|---|---|---|
| SBS1 | C>T at CpG sites | Slow loss of the amino group from methylated cytosine; builds up with age, like a clock |
| SBS2, SBS13 | C>T and C>G after a T (TpC) | APOBEC enzymes, part of the defence against viruses, acting on the cell's own DNA |
| SBS3 | Flat, spread over all 96 contexts | Faulty homologous recombination repair, for example with BRCA1 or BRCA2 loss |
| SBS4 | Mostly C>A | Tobacco smoking |
| SBS7a, SBS7b | C>T at neighbouring pyrimidines | Ultraviolet light, as in melanoma |
How to read this table
Each row is one signature from the COSMIC set. The middle column gives the change that dominates its profile, and the last the process it has been linked to. Not every signature has a known cause; COSMIC lists many with "unknown aetiology". A signature can matter in the clinic: a strong SBS3 pattern suggests that the tumour cannot repair DNA breaks properly, which is linked to response to drugs called PARP inhibitors. Signatures also exist for double-base substitutions (DBS) and small insertions and deletions (ID); ultraviolet light, for example, also leaves CC>TT double changes.
Signature analysis needs enough mutations. An exome with 40 mutations cannot be split reliably into five signatures, because 40 counts spread over 96 contexts leave most contexts empty. Whole genomes, with thousands of mutations, are where signatures are most informative.
Copy number from read depth
Tumours often gain or lose whole chromosome arms, or amplify short regions many times. A copy number alteration (CNA) changes how many copies of a region a cell carries. Two signals in the same BAM files reveal them.
- Read depth. The genome is split into windows, called bins, and reads are counted in each. Dividing tumour depth by normal depth, after correcting for differences in total reads and for GC content, gives a ratio that rises over gains and falls over losses. It is usually shown as log2 ratio: 0 for no change, about +0.58 for three copies against two, and −1 for one copy against two, in a pure tumour.
- B-allele frequency (BAF). At sites where the person is heterozygous in the germline, the two alleles sit at about 0.5 in the normal. If the tumour loses one copy, the remaining allele dominates and the BAF moves towards 0 and 1. This also reveals copy-neutral loss of heterozygosity, where one copy is lost and the other duplicated: depth is unchanged, but the BAF splits.
Purity enters again here. Normal cells in the sample pull every ratio back towards 0, so a one-copy loss in a 60% pure tumour does not give −1. Tools such as CNVkit (for targeted and exome data), and ASCAT, FACETS or Sequenza (which fit purity and ploidy together), estimate copy number while accounting for this.
Worked example · a loss in an impure tumour
log2(1.4 ÷ 2) = log2(0.7) ≈ −0.51 (a pure tumour would give −1)
a gain to 3 copies: 0.6 × 3 + 0.4 × 2 = 2.6 → log2(1.3) ≈ +0.38
Step by step. Average the copies over all cells in the sample. Sixty per cent of cells have one copy and forty per cent have two, so the sample has 0.6 + 0.8 = 1.4 copies on average. Against a normal of 2, the ratio is 0.7, and log2 of 0.7 is about −0.51. For a gain, 1.8 + 0.8 = 2.6 copies, a ratio of 1.3, and log2 of 1.3 is about +0.38.
What the answer means. The same loss looks half as large because of the normal cells. Reading log2 ratios without knowing the purity can make a clonal loss look subclonal. The figures also assume an average ploidy of two; in tumours that doubled their whole genome the baseline moves, which is why purity and ploidy are fitted together.
Tumour mutational burden
Tumour mutational burden (TMB) is the number of somatic mutations per million bases sequenced. Suppose an exome test covering 35 million bases finds 450 somatic coding mutations: 450 ÷ 35 ≈ 12.9 mutations per megabase. Tumours with many mutations make more abnormal proteins that the immune system can recognise, and a high TMB is used as one marker for response to immune checkpoint drugs. In the United States, a threshold of 10 mutations per megabase on one approved test was used for one such approval. TMB depends heavily on the panel, the filters and whether germline variants were removed properly, so numbers from different pipelines are not directly comparable.
Where to find cancer genomes
Large projects have made thousands of tumour genomes public. The Cancer Genome Atlas (TCGA) profiled over 11,000 tumours across 33 cancer types, with DNA, RNA, methylation and clinical data. The International Cancer Genome Consortium (ICGC) and its pan-cancer analysis of whole genomes (PCAWG) added whole-genome data. cBioPortal lets you explore these data in a browser: pick a gene, and see how often and how it is mutated or copied in each cancer type. Raw reads are controlled access, to protect patients; summary tables are open.
Go deeper: tumour-only calling
Many clinical samples come without a matched normal. Callers can still run in tumour-only mode, but they lose the most direct way to remove germline variants. They then rely on population databases such as gnomAD and on a panel of normals, which remove common germline variants well but miss rare ones; each person carries many variants found in almost no one else.
In practice, tumour-only results include more false somatic calls, and TMB from tumour-only data needs extra care.
The original MuTect method is described by Cibulskis et al. (2013, Nature Biotechnology); Mutect2 extends it to insertions and deletions and is documented by the GATK team. Mutational signatures were first extracted across many cancers by Alexandrov et al. (2013, Nature), and the current reference set comes from Alexandrov et al. (2020, Nature), part of the PCAWG project. The TCGA pan-cancer analyses were published as a collection in Cell in 2018. When you report somatic calls, give the caller and version, the reference build, the panel of normals and germline resource used, and the filters applied, because each changes which mutations appear.
Common mistakes
- Treating every variant in a tumour-only VCF as somatic. Many will be rare germline variants.
- Reading a low VAF as a false call without considering purity and subclones.
- Comparing log2 ratios or TMB between samples of very different purity, or from different pipelines, as if they were on one scale.
- Assigning signatures to a sample with only a few dozen mutations.
Key point
A tumour sample is a mixture: normal and cancer cells, and several cancer clones. Every somatic measure, from the allele fraction of one mutation to the copy number of a chromosome arm, has to be read with that mixture in mind.
Further reading · Module 5COSMIC Mutational Signatures: the reference catalogue, with a page for each signature and its proposed cause. · cBioPortal: explore mutations and copy number across public cancer studies. · All reading for this course
Check your understanding
1. A tumour sample is 50% cancer cells. What VAF do you expect for a clonal heterozygous mutation in a region with two copies in every cell?
2. Why is a matched normal sample sequenced alongside the tumour?
3. Mutational signature SBS4, dominated by C>A changes, is linked to which process?