double-strand break repair choice in editing
Once an editing tool snaps both strands of the DNA helix at a chosen site, the editor's own job is essentially done. What happens next — and therefore what your edit actually is — is decided by which of the cell's two main repair pathways grabs the broken ends. So a great deal of genome editing comes down to this fork in the road, and to nudging the cell toward the branch you want.
The first, faster pathway is non-homologous end joining (NHEJ): the cell simply pulls the two broken ends back together and glues them, with no reference copy to check against. This is quick but error-prone, often chewing off or adding a few bases at the join, leaving a small insertion or deletion (an 'indel'). If that break sat inside a gene, the indel usually shifts the reading frame and wrecks the gene — which is exactly how you make a clean knockout. The second pathway, homology-directed repair (HDR), is slower and fussier: it uses an intact matching DNA sequence as a template and copies from it, restoring the original — or, if you have slipped the cell a designer template, installing the precise change you wanted. NHEJ tends to break things; HDR can build the thing you specified.
Knowing the fork explains both the convenience and the frustration of editing. Knockouts are easy because NHEJ is always on and reliably disabling. Precise edits are hard because HDR is mostly active only in dividing cells during a narrow window of the cell cycle, and even then NHEJ usually wins the race. Much of modern editing technique is about tilting this competition — timing the cut, suppressing NHEJ, flooding in template — or about sidestepping the break entirely with base or prime editing.
Cut a gene and let NHEJ act: you usually get a frame-shifting indel and a dead gene (a knockout). Cut the same gene but supply a matching template: HDR can paste in your exact desired sequence instead.
Same cut, two repair roads: sloppy gluing breaks; templated copying builds.
It is a misconception that the experimenter chooses the repair pathway directly. The cell chooses, biased by cell type and cell-cycle phase; the experimenter can only nudge the odds, which is why precise edits remain inefficient.