Exercises — How sequencers read DNA

Pen and paper. Most of these are the kind of reasoning you will do when a run comes back wrong, or when you are deciding what to order before one.

Part 1 — Clustering

E1. Which molecules can be sequenced?

For each molecule, say whether it will produce an Illumina read, and why:

  1. P5 — insert — P7
  2. P5 — insert — P5
  3. P5 — insert (no second adapter)
  4. P5 — i5 — Read 1 site — insert — Read 2 site — i7 — P7, with a 900 bp insert
  5. P5 — i5 — Read 1 site — Read 2 site — i7 — P7, with no insert at all

Clustering needs the molecule to reach from one kind of lawn oligo to the other. Then ask separately whether the thing that clusters is useful.

  1. Yes — the normal case.
  2. No. It can hybridise to the surface, but both ends need the same lawn oligo, so it cannot form a bridge. Nothing is amplified.
  3. No. One end is not attached to anything; it washes away.
  4. It will cluster, but inefficiently: long molecules bridge poorly and are out-competed by short ones, so a library with a wide size distribution sequences its short end.
  5. Yes, and this is the problem — an adapter dimer clusters better than anything else in the tube and returns reads that are pure adapter.

E2. A library that clusters too well

Your library has a main peak at 400 bp and a small 130 bp shoulder, and you load it at the concentration the kit recommends. The run returns 40% of reads as adapter.

  1. Why is the adapter fraction of the reads so much larger than the adapter fraction of the library?
  2. Would loading less library help?
  1. Clustering favours short molecules: they diffuse faster and bridge more easily. A small molar fraction of dimers takes a much larger share of the clusters. And since quantifying by mass counts a 130 bp dimer as much less material than a 400 bp insert, the dimer’s molar share is higher than the trace suggests.
  2. No. Loading less reduces the cluster count but not the proportion of dimers. The fix is to remove the dimers — a size selection — or to prevent them at ligation.

Part 2 — Reads and indexes

E3. Where does each read start?

You are designing a construct that carries, from the P5 end: a 16 nt cell barcode, then a 12 nt UMI, then the cDNA insert, then the usual Read 2 site and i7.

  1. Which read reports the barcode and UMI, and how many cycles does it need?
  2. Where does the sample index sit, and which read reports it?
  3. Write the read structure in cycles-per-read notation if you want 90 bases of cDNA and 10 nt sample indexes.

Read 1 starts at the Read 1 primer site and runs towards the insert. Whatever sits between that site and the insert is read first.

  1. Read 1, and it needs at least 28 cycles (16 + 12). Running fewer truncates the UMI; running more reads into the cDNA, which is harmless but wasteful.
  2. In the adapters, between the Read 2 site and P7 (i7) and between P5 and the Read 1 site (i5). They are reported by the index reads, not by Read 1 or Read 2.
  3. 28 / 10 / 10 / 90.

E4. The run that came back empty

A collaborator’s run returns almost everything in Undetermined. The reads themselves look fine: good quality, the expected insert. Their libraries worked on a MiSeq last year; this run was on a NextSeq.

  1. What is the most likely cause?
  2. How would you confirm it without re-sequencing?
  3. How do you avoid it next time?

What differs between those two instruments in how one of the two index reads is performed?

  1. The i5 index orientation. The MiSeq reads i5 on the forward strand; the NextSeq reads its reverse complement. The sample sheet carried the old orientation, so no sample matched.
  2. Look at the index sequences in the Undetermined reads. If they are the reverse complements of the expected i5 with the i7 correct, that is the answer. The data can simply be demultiplexed again with a corrected sample sheet — no re-sequencing needed.
  3. Generate the sample sheet from the instrument’s own documentation each time, and check the first few Undetermined index sequences as soon as a run finishes.

E5. Index hopping and when to care

You are pooling 12 libraries. Eight are bulk RNA-seq for differential expression; four are rare-variant panels looking for mutations at 0.5% allele frequency.

  1. Which are harmed by a 1% index-hopping rate, and why?
  2. What do you change?
  1. The variant panels. A 1% leakage between samples is noise far below the biological signal in an expression experiment, but it is the same order as the variant frequency you are trying to detect — a real mutation in one sample appears as a fake low-frequency mutation in every other.
  2. Unique dual indexes, so a hopped molecule carries an index pair belonging to no sample and can be discarded. Clean up free adapter thoroughly, and consider not pooling the panels with anything else. UMIs or duplex consensus help separately, against PCR and sequencing error rather than hopping.

Part 3 — Platform choice

E6. Pick the platform

For each, name a platform and the property that decides it:

  1. Counting transcripts in 10,000 single cells
  2. Determining which exons are in the same transcript, across a 9 kb mRNA
  3. Finding which cytosines are methylated, without any conversion chemistry
  4. Closing the gap in a bacterial assembly across a 40 kb repeat
  5. Genotyping 3000 samples at 24 known sites, as cheaply as possible
  1. Illumina (or MGI/AVITI). The read only needs to identify a gene; what matters is cost per read and barcode accuracy.
  2. PacBio HiFi. You need the whole molecule in one read, with accuracy good enough to assign exons — read length and accuracy together.
  3. PacBio or Nanopore. Both read the native molecule and detect modifications from polymerase kinetics or current signal.
  4. Nanopore ultra-long. Only read length matters here; the assembly consensus fixes accuracy.
  5. Illumina amplicon sequencing, massively multiplexed. The deciding property is cost per sample, not per base — and the design problem becomes index capacity and base diversity.

E7. The same sample, two preps

You have 2 µg of human DNA from a frozen tissue. You plan both an Illumina PCR-free library and a PacBio HiFi library.

  1. Which handling steps matter for one and not the other?
  2. Why is a nick in the DNA a minor problem for one and fatal for the other?
  1. For PacBio: how you thawed, pipetted and extracted the DNA sets your read length, so wide bore tips, no vortexing and gentle extraction matter. Size selection is essential, because short fragments load preferentially. For Illumina you are going to shear it deliberately anyway, so molecular weight hardly matters — what matters is having enough intact, ligatable ends and no inhibitors.
  2. On Illumina a nick falls inside one of millions of short fragments and is repaired during end repair. On PacBio the insert is one long circle read by one polymerase: a nick stops that polymerase, so the read ends there and you lose exactly the length you paid for.

Part 4 — Reading a run

E8. Quality falls along the read

Every Illumina run shows per-base quality decreasing with cycle number.

  1. What causes it?
  2. Does it affect Read 1 and Read 2 equally?
  3. Can a better library fix it?
  1. Phasing and pre-phasing: in each cluster a few molecules fall a base behind or run a base ahead, because dye removal and block removal are not perfect. The signal becomes a mixture that grows with every cycle.
  2. No — Read 2 is usually worse. The cluster has been through the whole of Read 1, the index reads and the turnaround chemistry before Read 2 starts, so it has degraded further.
  3. Not directly. It is instrument chemistry. What a library can do is avoid making it worse: diverse first bases, sensible cluster density, no dimers.

E9. Interpreting a poly-G tail

Reads from a NextSeq run end in long stretches of G. The same library on a MiSeq does not show them.

How many colours does each instrument use, and what does “no signal” mean on each?

Two-colour chemistry encodes G as “no signal in either channel”. When a cluster stops giving signal — because the molecule was shorter than the read and the template has run out, or the cluster died — the basecaller reads that absence as G. The MiSeq uses four colours, so “no signal” is just a failed base rather than a confident G.

It is a sign that your inserts are shorter than your read length. The library is the cause; the G’s are the symptom.

Self-check

  1. Why must the two ends of a library molecule be different?
  2. What is read first: Read 1, or the index reads?
  3. What does “28 / 10 / 10 / 90” describe?
  4. Why does read quality fall with cycle number?
  5. Why can PacBio and Nanopore detect base modifications when Illumina cannot?
  6. What is the library-side fix for index hopping?
  1. The molecule must bridge from a P5 lawn oligo to a P7 one. Same ends cannot bridge, so they never cluster.
  2. Read 1, then Index 1 (i7), then Index 2 (i5), then Read 2.
  3. A run’s cycles per read: Read 1 = 28, Index 1 = 10, Index 2 = 10, Read 2 = 90.
  4. Phasing and pre-phasing — molecules within a cluster losing step with each other.
  5. They read a native molecule and sense it physically: polymerase timing, or current through a pore. Illumina reads a copy, and copying discards the modification unless chemistry has first turned it into a base change.
  6. Unique dual indexes, plus removing free adapter.

Going further

  • Take a protocol from NGS 101 that uses a custom sequencing primer, and work out why the standard one would not do.
  • Find your facility’s run-setup form and fill it in for a library you would like to make. Every field it asks for is a design decision from these two decks.