Part 4: Genome analysis. Cutting, copying and reading DNA: restriction enzymes, gels, PCR and sequencing
Basic and molecular genetics (5MO104)
About this lecture
So far we have studied genes through phenotypes: round or wrinkled, affected or not. From here on we also read the DNA itself. Four tools make that possible, and together they turn a gene into data you can store, compare and search.
Cut: restriction enzymes recognise short palindromic sites and cut there.
Sort: gel electrophoresis separates DNA fragments by size; a ladder gives the scale.
Copy: cloning in a plasmid vector (briefly), and the polymerase chain reaction (PCR), which copies one stretch of DNA a billion-fold.
Read: Sanger sequencing reads one PCR product; next-generation sequencing reads millions of short pieces at once.
The running example is the sickle-cell allele of HBB from Genetics as information: we detect it in a family with PCR and a restriction enzyme, and then by sequencing. Along the way we work through the by-hand skills step by step: reading a gel against a ladder, building a restriction map, PCR arithmetic, writing primers and reading a Sanger trace.
Book: Hartwell, Genetics: From Genes to Genomes, chapter on digital analysis of DNA.
Cut, sort, copy, read
Tool
What it does
What it gives you
Used for
Restriction enzyme
cuts at a specific 4–8 bp site
fragments of predictable size
mapping, cloning, detecting some mutations
Gel electrophoresis
separates fragments by size
bands; size from a ladder
checking digests and PCR products
Cloning vector
carries a fragment into bacteria, which copy it
many identical copies, kept for later
libraries, protein expression, transgenics
PCR
copies the DNA between two primers
109-fold more of one region
diagnostics, genotyping, sequencing input
Sanger sequencing
reads one PCR product
~800 bases of high-quality sequence
confirming a variant
Next-generation sequencing
reads millions of short fragments
whole genomes, exomes, transcriptomes
finding variants genome-wide
The tools combine: PCR a region, cut it, run it on a gel; or PCR it and sequence it.
Restriction enzymes cut at palindromes
Bacteria make restriction enzymes to cut invading phage DNA; they protect their own DNA by methylating the same sites.
The site is usually a palindrome: the two strands read the same 5’→3’. The enzyme is a dimer and each half cuts one strand.
A staggered cut leaves sticky ends that can pair with any other end cut by the same enzyme.
How often does an enzyme cut?
If the four bases were equally common and random, a given site of n specified bases would occur once every 4n bp.
Enzyme
Site
Expected spacing
Expected in phage λ (48,502 bp)
Actual in λ
EcoRI
GAATTC
46 = 4,096 bp
11.8
5
BamHI
GGATCC
4,096 bp
11.8
5
HindIII
AAGCTT
4,096 bp
11.8
6
DdeI
CTNAG (N = any)
44 = 256 bp
189
104
6-bp cutters (“six-cutters”) give fragments of a few kb; 4-bp cutters give a few hundred bp.
Real DNA is not random, so actual counts differ from the expectation. In the R exercise you count the λ sites yourself.
Gel electrophoresis: sorting fragments by size
DNA has a negative phosphate backbone, so it moves towards the + electrode. The agarose mesh slows long molecules more.
Distance run is roughly linear in log(size) over the gel’s useful range. Use a ladder of known sizes to read off unknown bands.
Higher % agarose resolves short fragments (100–1,000 bp); lower % resolves long ones (1–20 kb).
Reading a gel against a ladder, step by step
The ladder in the figure, measured from the wells:
Ladder band (bp)
Distance (mm)
log10(size)
10,000
10.0
4.00
5,000
20.0
3.70
3,000
27.4
3.48
2,000
33.3
3.30
1,000
43.3
3.00
Unknown band: 30.0 mm.
Bracket the unknown with the two nearest ladder bands: 3,000 bp (27.4 mm) and 2,000 bp (33.3 mm).
How far along? From the 2,000 band: (33.3 − 30.0) / (33.3 − 27.4) = 3.3 / 5.9 = 0.56 of the way.
Interpolate the log, not the size: 3.30 + 0.56 × (3.48 − 3.30) = 3.40.
Back-transform: 103.40 ≈ 2,500 bp.
Check: the answer lies between the two ladder bands, and nearer the one it ran nearer to.
Wrong way: interpolating sizes linearly between 1,000 and 5,000 bp gives about 3,300 bp, 30% too large.
A linear molecule with k sites gives k + 1 fragments; a circular one gives k.
Fragments always sum to the full length: a check on your reading of the gel.
A fragment that survives the double digest unchanged (5,505; 3,530) contains no site for the other enzyme. Fragments that split show where the other sites are.
Building the λ map, step by step
Survivors. BamHI 5,505 and EcoRI 3,530 appear unchanged in the double digest, so each holds no site of the other enzyme.
Splits. EcoRI 21,226 is missing from the double digest; 5,505 + 15,721 = 21,226, so BamHI cuts it 5,505 bp from one end. Both 21,226 and 5,505 must then be the same end of λ.
Repeat for each missing fragment: find the double-digest pieces that sum to it, and place the cut. Check that every single-digest fragment is accounted for.
Cloning vectors (briefly)
A vector is a small DNA molecule that bacteria copy for you. The classic example is the plasmid pUC19 (2,686 bp, circular):
Part
Job
origin of replication
many copies per cell
antibiotic-resistance gene (bla, ampicillin)
only cells with the plasmid survive
multiple cloning site (MCS)
one site each for EcoRI, BamHI, HindIII, PstI, …
lacZα around the MCS
an insert disrupts it: white instead of blue colonies
Cloning in four steps
Cut vector and insert with the same enzyme(s).
Mix; sticky ends pair; ligase seals them.
TransformE. coli; select on ampicillin.
Pick a white colony, grow it, check the insert with a digest and a gel.
Today PCR has replaced cloning for most diagnostic work; cloning is still used to make proteins and transgenic organisms.
PCR: copying one region a billion times
Two primers define the product: one on each strand, 3’ ends pointing towards each other.
Each cycle: denature (~95 °C), anneal primers (~55–65 °C), extend with a heat-stable polymerase (72 °C).
Ingredients: template DNA, two primers, dNTPs, Mg2+, buffer, Taq polymerase.
Why the product has defined ends: the first three cycles
Cycle n
1
2
3
4
5
10
30
duplexes (2n)
2
4
8
16
32
1,024
1.07 × 109
target length (2n − 2n)
0
0
2
8
22
1,004
all but 60
Exponential amplification, efficiency and plateau
Cycles
Ideal copies from 1 template (2n)
At 90% efficiency (1.9n)
10
1,024
613
20
1.0 × 106
3.8 × 105
30
1.1 × 109
2.3 × 108
Real reactions copy a fraction E of the molecules per cycle: N = N0 (1 + E)n.
The reaction plateaus (~1012 copies in 50 µl) when primers and dNTPs run out.
qPCR measures the cycle where the product crosses a threshold (Ct). 10× more template crosses about log(10)/log(1 + E) ≈ 3.3 cycles earlier (at E = 1).
Worked example: PCR arithmetic
How many templates? One haploid human genome is 3.1 × 109 bp × 650 g/mol per bp ÷ 6.0 × 1023 per mol ≈ 3.3 pg. So 10 ng of genomic DNA holds 10,000 pg / 3.3 pg ≈ 3,000 copies of a single-copy gene such as HBB.
How many copies after 30 cycles at E = 0.9?N = 3,000 × 1.930 = 3,000 × 2.3 × 108 ≈ 6.9 × 1011: close to the plateau of about 1012, so 30 cycles is enough.
How many cycles to reach 1011 copies? Solve 3,000 × 1.9n = 1011 with logs:
What does a difference in Ct mean? Two samples cross the threshold 5.0 cycles apart. At E = 1 the earlier one had 25 = 32 times more template; at E = 0.9, 1.95 ≈ 25 times.
Designing primers
Rule of thumb
Why
Length 18–25 nt
long enough to be unique in a 3 × 109 bp genome (418 ≈ 7 × 1010)
GC content 40–60%
stable binding without sticking everywhere
Melting temperature (Tm) ~55–65 °C, the two primers within ~2–5 °C
both bind well at the same annealing temperature
A G or C at the 3’ end, but no run of G/C
the polymerase starts from a firmly paired 3’ end
No complementarity between or within primers, especially at 3’ ends
avoids primer-dimers and hairpins
Unique in the genome (check with Primer-BLAST)
one product, not several
Quick estimate (Wallace rule, for short primers): Tm ≈ 2 °C × (A + T) + 4 °C × (G + C).
Worked example: writing a primer pair
You want to amplify a stretch whose top strand (5’→3’) starts and ends like this (an invented sequence):
5'-AGGTCTGACCAAGTTCAGCAC ········ 260 bp ········ GCCTACGAGTTCAACCTGCA-3'
Forward primer
Reverse primer
Rule
copy the start of the top strand
reverse complement of the end of the top strand
Sequence (5’→3’)
AGGTCTGACCAAGTTCAGCAC
TGCAGGTTGAACTCGTAGGC
Length; G + C
21 nt; 11 (52%)
20 nt; 11 (55%)
Wallace Tm
2 × 10 + 4 × 11 = 64 °C
2 × 9 + 4 × 11 = 62 °C
Product: 21 + 260 + 20 = 301 bp. Both primers end in C, are within 2 °C of each other, and are 40–60% GC.
Common mistake: writing GCCTACGAGTTCAACCTGCA (the top strand itself) as the reverse primer. It would pair with the same strand as the forward primer, both would extend in the same direction, and there would be no exponential product.
Try it: PCR, cycle by cycle
PCR plus a restriction enzyme: genotyping HbS
The sickle-cell change (codon 7 GAG → GTG, c.20A>T) destroys a DdeI site (CTGAG → CTGTG). Amplify 500 bp around it, cut with DdeI, run a gel: AA = HbA/HbA, AS = carrier, SS = sickle-cell disease.
Predicting the bands from the site positions
The 500-bp product has DdeI sites (C^TNAG, cut after the C) at positions 37, 217 and 418. Each cut position becomes a fragment boundary:
Boundaries
Fragments (bp)
HbA allele
0 · 37 · 217 · 418 · 500
37 · 180 · 201 · 82
HbS allele (site at 217 lost)
0 · 37 · 418 · 500
37 · 381 · 82
A person has two alleles, and PCR copies both: the lane is the union of the two allele patterns.
Diagnostic bands: 381 (an HbS allele is present), 201 + 180 (an HbA allele is present).
Control bands: 82 and 37 appear in every genotype and show that the enzyme cut.
Try it: a virtual gel
Sanger sequencing: reading one product
A primer, a polymerase, normal dNTPs and a small amount of four dye-labelled dideoxynucleotides (ddNTPs). A ddNTP lacks the 3’-OH, so the chain stops there.
The result is a set of products ending at every position; capillary electrophoresis sorts them by length, and the dye colour of each gives the base.
Worked example: from products to sequence
A reaction with an 18-nt primer gave these products (in the order they were listed, not by size):
Length (nt)
21
19
23
20
24
22
Last base (dye)
T
G
C
A
A
T
Sort by length. 19 G, 20 A, 21 T, 22 T, 23 C, 24 A. The shortest product ends at the first base after the primer (position 19).
Read the new strand 5’→3’: 5’-GATTCA-3’.
Template strand: complementary and antiparallel: 3’-CTAAGT-5’, which written 5’→3’ is 5’-TGAATC-3’.
The trace you get from the sequencer is the new strand. To report the other strand, reverse-complement it.
Sanger traces at the sickle-cell site
PCR copies both alleles, and the sequencing reaction reads both at once. At a heterozygous site the two dyes share the signal: two peaks of about half height at the same position. Everywhere else the alleles are identical and the peaks are single.
Reading a Sanger trace
What you see
What it means
one clean peak per position
a single sequence: homozygous at that site, or a cloned molecule
two overlapping peaks of about half height at one position
a heterozygous SNP (two alleles in the PCR product)
everything doubles after one point
a heterozygous indel: the two alleles are shifted relative to each other
messy start (first ~30 bases) and fading end (after ~800)
normal limits of the method
An HbA/HbS carrier shows an A and a T peak together at c.20 (forward strand), as on the previous slide.
Why depth matters for a diploid genome. At a heterozygous site each read comes from either chromosome with probability ½. The chance that alln reads show the same allele, so that the site looks homozygous, is 2 × (½)n:
Reads covering the site (n)
4
10
30
P(heterozygote missed)
1/8 = 0.125
0.002
2 × 10−9
The average is not enough: coverage varies by chance, and the sites with few reads are where heterozygotes are missed.
Identifying a read: BLAST in one slide
A read of 200 bases can be traced to its gene and organism by searching all known sequences with BLAST (blastn for DNA). In the hit table, read:
Column
Question it answers
Description, Scientific Name
which sequence, from which organism?
Per. Ident
how many bases of the alignment are identical?
Query Cover
how much of your read is in the alignment?
E value
how many hits this good would you expect by chance in a database this size?
A hit with ~100% identity over the whole read and an E value like 10−90 is the same sequence. Several identical hits may be the gene itself, other entries of the same gene, or vectors that carry a copy of it.
Common mistakes
Mistake
Correct
“A circular plasmid with k sites gives k + 1 fragments.”
Circular: k; linear: k + 1.
Interpolating band sizes linearly between ladder bands.
Interpolate log(size); use the two nearest bands.
Reading the size of an uncut plasmid from its band.
Supercoiled DNA runs faster than its linear size.
Writing the reverse primer as the top-strand sequence.
Reverse primer = reverse complement of the top strand.
“More cycles always give more product.”
The reaction plateaus; end-point PCR is not quantitative.
“PCR copies the whole gene.”
It copies only the stretch between the primers.
Treating a double peak in a trace as noise.
Two clean half-height peaks at one site = a heterozygote.
“30× coverage: every base is read 30 times.”
30 is the average; some bases get far fewer reads.
Summary
Concept
Key fact
Restriction enzyme
cuts at a palindromic site; sticky or blunt ends; a 6-bp site every ~4,096 bp in random DNA
Fragments
linear: k sites → k + 1 fragments; circular: k; sizes sum to the total
Gel
distance ∝ −log(size); interpolate log(size) between the nearest ladder bands; brightness ∝ mass
Restriction map
survivors of a double digest hold no site of the other enzyme; split fragments locate the sites
two primers define the product (from cycle 3 on); N = N0(1 + E)n until a plateau; 3.3 cycles per 10×
Primers
18–25 nt, 40–60% GC, matched Tm, no 3’ complementarity, unique; reverse primer = reverse complement
PCR-RFLP
HbS destroys a DdeI site: 201 + 180 bp (HbA) vs 381 bp (HbS); a carrier shows both
Sanger
ddNTPs stop synthesis; sort by length; read the new strand; a heterozygote gives double peaks
NGS
millions of short reads mapped to a reference; coverage = reads × length / genome; depth to call heterozygotes
Where this leads
Exercise: the by-hand problems use the methods of today’s worked examples (gel, map, PCR, primers, Sanger, coverage); then BLAST a mystery read and look up an enzyme in REBASE.
Exercise in R: read the phage λ genome from a FASTA file, find the EcoRI and BamHI sites with str_locate_all(), and draw your own virtual gel.
Next: Genome annotation. Once a genome is sequenced, where are the genes? ORFs, homology (BLAST), genome browsers.
Genomic variation. Sequencing many people reveals millions of variants, such as the HbS allele, and how their frequencies differ between populations.