Quality control and design · NGS library preparation
Johan Henriksson
You cannot see a library
A library is a few microlitres of clear liquid. Whether it is good is decided by three questions, each answered by a different measurement:
How much, and how many molecules? Qubit, qPCR
What size, and what else is in there? fragment analyser trace
Does it do what you think? a test run, PhiX, demultiplexing
This unit covers how to clean up, how to measure, how to pool and load, and how to read a trace. It ends with three habits that save samples: double-sided selection, diagnostic qPCR, and analytical aliquots.
Four ways to clean up
Every step ends with a clean-up: it removes enzyme, salt, free adapter or primer
Beads are the default because they scale, need no spin and can select a size: the same beads set the insert size in fragmentation, and are used here to clean up
Columns are fixed and simple; gels are exact but lose most of the sample
SPRI beads
Paramagnetic beads coated with carboxyl groups, in PEG and salt: PEG crowds the DNA out of solution onto the bead — the same crowding that speeds a ligation (PEG crowding) DeAngelis et al. 1995, doi:10.1093/nar/23.22.4742
Wash with ethanol (which keeps DNA stuck), dry briefly, elute in low-salt buffer
Over-drying cracks the bead pellet and DNA elutes poorly
The ratio sets the cut-off
Ratio = volume of bead suspension to volume of sample
More beads means more PEG, which pulls shorter fragments onto the beads
The cut-off is a curve, not a step: fragments near it are partly lost Rohland and Reich 2012, doi:10.1101/gr.128124.111
Worked: choose a bead volume
100 µL sample, you want to remove everything shorter than about 150 bp.
Read the curve: about 1.0× keeps fragments above roughly 150 bp, so add 100 µL of beads
To also remove fragments below about 300 bp, use 0.8×: 80 µL of beads
Calculate from the final sample volume: if you add water to raise a small sample to 50 µL, the ratio refers to the 50 µL
The cut-off values above come from the schematic curve, not a rule: check them against a ladder
Bead lots differ. Run a ladder through your own bead lot once and write the cut-offs on the tube rack.
Double-sided selection
First addition removes the long fragments; second addition captures the window
Worked: 100 µL sample. Add 60 µL (0.6×), keep the 160 µL supernatant, add 20 µL more beads (total 80 µL, 0.8× of the original volume), keep the beads
Used before sequencing to tighten insert size and drop adapter dimers Meyer and Kircher 2010, doi:10.1101/pdb.prot5448
Columns, precipitation, gels
Silica columns: DNA binds to silica in a chaotropic salt (one that strips the ordered water around the DNA, such as guanidinium) and ethanol, is washed, then eluted. Fast, but a fixed lower limit (about 50–100 bp, product-dependent) and the elution volume is not small.
Alcohol precipitation: salt plus ethanol or isopropanol, spin hard. Short pieces and low concentrations are lost, so add a carrier (glycogen, linear acrylamide) for small samples (carrier nucleic acid).
Gel extraction: the only way to pick any window precisely, and to separate similar sizes. It loses much of the DNA and adds an agarose or dye contaminant, so use it where size accuracy matters.
Choose by what must be removed, what size you want to keep, and how little DNA you have.
Three measurements
None of them replaces the others
The sequencer needs a count of molecules with both adapters, and only qPCR delivers that
A fragment analyser tells you whether the sample is the right shape, not how much of it there is
Absorbance and Qubit
NanoDrop (absorbance at 260 nm): counts every nucleic acid and free nucleotide, and is blind below a few ng/µL. Use it for stock DNA, not libraries.
Qubit (fluorescent dye): the dye fluoresces when it binds double-stranded DNA, so it measures mass of dsDNA, with good sensitivity to about 0.1 ng/µL.
It counts any double-stranded DNA of any length: adapter dimers, fragments without adapters, one-sided products. For a library, it is a rough upper bound on what you could load.
qPCR: count what can amplify
Primers to P5 and P7 amplify only molecules that have both ends, which are the ones that cluster (the anatomy of that molecule) Buehler et al. 2010, doi:10.1016/j.ymeth.2010.01.004
Run a dilution series of a standard of known concentration; read your sample off its line
Cq is the cycle at which a sample’s signal crosses the detection threshold: the more amplifiable molecules you started with, the earlier it is crossed
A tenfold dilution should shift Cq by about 3.3 cycles; a different slope means the PCR is not 100% efficient
Why Qubit and qPCR disagree
A library with a high Qubit value and a low qPCR value is mostly unusable DNA
Over-amplified libraries are the opposite trap: Qubit looks fine, qPCR undercounts because heteroduplex products do not prime (see traces below)
Worked: ng/µL to nM
A double-stranded base pair weighs about 660 g/mol, so a library of mean length L bp weighs 660 × L g/mol.
Use the length of the whole molecule: the insert plus both adapters. For full-length adapters that is about 120 bp more than the insert (check your kit).
Example. 4.0 ng/µL, 300 bp insert: L = 420, so 4.0 × 10^6 / (660 × 420) = 14.4 nM.
Take the average size of the library region from the trace, not the position of the tallest point
Leave out an adapter-dimer peak if you will remove it, and include it if you will not
Qubit mass with a trace length gives an estimate; qPCR gives the molecules directly
Pooling to equal molarity
Same mass does not mean same molecules: a 300 bp library has twice the molecules of a 600 bp library per nanogram
Pool by moles, so that every sample gets the reads you intended
If samples need different depths, weigh the moles by the target depth
Worked: a three-library pool
Library
ng/µL
bp
nM
A
3.0
450
3.0×10^6 / 297,000 = 10.1
B
8.0
600
8.0×10^6 / 396,000 = 20.2
C
1.5
300
1.5×10^6 / 198,000 = 7.6
1 nM is 1 fmol/µL. For 20 fmol of each: A 20/10.1 = 2.0 µL, B 20/20.2 = 1.0 µL, C 20/7.6 = 2.6 µL. The pool holds 60 fmol in 5.6 µL: 10.7 nM.
Pipetting below about 2 µL is inaccurate: dilute B first (for example 1 in 4) and take 4 µL.
Denature and load
Worked dilution: to make 20 µL of 2 nM from the 10.7 nM pool, take 2 × 20 / 10.7 = 3.7 µL and add 16.3 µL of buffer
The loading concentration is instrument and kit specific: use the number in the instrument guide; patterned flow cells and non-patterned ones differ
Too little library wastes the run; too much merges clusters on non-patterned flow cells
PhiX
PhiX is a small phage genome with balanced base composition, sold by the instrument maker.
It serves as a control: its reads give an error rate and a phasing estimate that do not depend on your library
Typical spike: about 1% for diverse libraries, and more (often 5% or higher, up to tens of percent) for low diversity; take the figure from the instrument guide
PhiX reads are discarded at demultiplexing. Check the fraction that aligns to PhiX: if it is far from what you added, the quantification of your library was off.
A clean trace
Two markers fix the size scale; the library should be one peak between them
The peak should sit where your design predicts: insert plus adapters
Width tells you the size distribution: a narrow peak means the shearing or size selection worked
Adapter dimers
A narrow peak at about 120-140 bp: adapters ligated with no insert
They clustered better than your library, so even a minor peak takes a large share of reads Head et al. 2014, doi:10.2144/000114133
Fix: a further clean-up at 0.8-0.9×, or a gel; prevent next time by less adapter or more input (matching adapter to insert) or by ends that cannot join (end chemistry)
Over-amplification
A high-size shoulder or second hump after the main peak
Primers ran out, so the library strands annealed through the shared adapter regions and ran as larger, partly single-stranded products
Consequences: PCR duplicates, skewed GC bias, and low qPCR counts Aird et al. 2011, doi:10.1186/gb-2011-12-2-r18; amplification without PCR avoids it Kozarewa et al. 2009, doi:10.1038/nmeth.1311
Fix: fewer cycles; or two cycles in fresh primer mix to convert the heteroduplexes (cycles, bias and duplicates)
Other traces
Too short: insert shorter than the read, so reads run through the insert into the adapter
Too long or wide: the short end clusters better and dominates the data
No peak: fragmentation failed or the input was degraded: stop here
Trick 1: diagnostic qPCR
Problem: the right PCR cycle number depends on the input, which you do not know
Trick: pre-amplify a few cycles, take a small aliquot into a qPCR with a dye, and stop the main PCR at about one third of maximum signal