← back to writing

The Word Game! Directing evolution through language

November 28, 2026 · 11 min read

How turning MILK into SHOP one letter at a time explains sequence space, protein neutrality, and why directed evolution works.

Proteins are linear chains built from a 20-letter alphabet of amino acids. Because each position in a chain of length N can hold any of 20 residues, there are 20N possible sequences. Even for short chains, that number grows faster than physical intuition can track.

18 Residues
~1023
Comparable to the mass of a baseball
37 Residues
~1048
Comparable to the mass of the Earth
59 Residues
~1077
Exceeds the atoms in the observable universe

Most enzymes are 200 to 500 residues long, and almost all random amino acid strings fail to fold into stable, functional structures. Natural selection cannot search that space by guessing at random. It moves one mutation at a time, and every intermediate sequence along the path must remain folded and functional. Any variant that drops below the fitness threshold is eliminated.

In 1970, evolutionary biologist John Maynard Smith framed this constraint as a four-letter English word game. Out of 264 = 456,976 possible four-letter strings, only a small fraction are real English words. Real words represent functional proteins, while gibberish strings represent unfolded sequences. To evolve one word into another, you change one letter per step while keeping every intermediate a valid word. Maynard Smith used WORD to GENE as his example: WORD → WORE → GORE → GONE → GENE.

To map the geometry of this search, theoretical biologist Stuart Kauffman represented sequence space as a hypercube. Each sequence is a node, and each edge connects two sequences separated by a single substitution. For a protein of length N, every node has 19N single-mutation edges. The shortest theoretical path between two sequences is their Hamming distance, which is the number of positions where they differ.

Figure 1: every sequence is a corner, every mutation is an edge. A protein of length N with two choices per position is a cube in N dimensions, so the number of sequences doubles with every position you add. The shortest route between two corners is the Hamming distance, drawn here in magenta. Switch to MILK to SHOP to see what happens when most of the corners are not words.

In practice, the shortest Hamming path is often blocked. Consider turning MILK into SHOP. All four letters differ, so the Hamming distance is 4. If you try to change one letter directly toward the target (MILK → SILK → SHLK → SHOK → SHOP), you hit nonsense at step 2 because SHLK and SHOK are not words. Every direct 4-step route fails. To stay on functional sequences, evolution has to take a 7-step detour through neutral space, such as MILK → MILE → MOLE → MOLT → MOOT → SOOT → SHOT → SHOP.

Interactive Lab 01

The Protein Word Game Playground

Steps Taken
0 Target: SHOP
Hamming Distance
4 to target
Functional Neighbors
0 / 100 moves
Maynard Smith fN
0 fN > 1
f = 0.00
Click any residue tile (1 to 4) to mutate that position Teal matches target
Path History
Viable 1-Step Neighbors (Click to Step)

Why Evolution Works (and Why It Stalls)

In the word game, a sequence can keep evolving as long as it has at least one valid neighbor. Maynard Smith expressed this percolation condition as fN > 1, where N is the number of single-mutation neighbors and f (often written as ν) is protein neutrality, defined as the fraction of single random mutations that leave the protein folded. Because a 300-residue protein has 19 × 300 = 5,700 single-step neighbors, even a modest neutrality value creates a dense web of viable paths.

Still, most random mutations hurt the protein. Across experimental libraries, roughly 40% of mutations are strongly deleterious, about 60% are neutral or weakly deleterious, and fewer than 1% are beneficial. The main bottleneck is thermodynamic stability. Natural proteins are only marginally stable, typically sitting 5 to 15 kcal/mol more stable than their unfolded state. At 25 °C, a shift of just 1.4 kcal/mol changes the folding equilibrium constant by a factor of 10.

That narrow stability margin explains why directed evolution can suddenly stall. A classic example comes from evolving cytochrome P450 BM3, an enzyme that naturally oxidizes long-chain fatty acids, to oxidize propane gas (Fasan et al., 2008). Over successive rounds of mutagenesis (WT → 139-3 → J → 35E11), propane activity climbed steadily. Then evolution hit a wall at variant 35E11. Every new functional mutation had chipped away at the enzyme's stability, dropping its thermal inactivation temperature (T50) from about 55 °C down to 43 °C. At that threshold, almost any additional mutation unfolded the protein.

The fix was straightforward. By introducing two stabilizing mutations to create variant ETS8, the team raised T50 back to 48 °C. That extra stability buffer did not directly increase propane catalysis, yet it restored protein neutrality. With room to absorb more destabilizing active-site mutations, directed evolution resumed and reached P450PMO with over 33,000 total turnovers on propane.

Bloom et al. (2005) showed that under random mutagenesis, the fraction of proteins remaining folded after m substitutions falls off exponentially as Pf(m) = νm. Drummond et al. (2005) then compared this drop-off against homologous recombination, where segments are swapped between two already-functional parent proteins separated by D amino acid differences. Recombination follows Pf(m) = ρm(D − m)/(D − 1), where ρ is recombinational tolerance. In experiments on TEM-1 and PSE-4 beta-lactamases (ρ = 0.79 compared to ν = 0.54), chimeras stayed on a functionally enriched ridge between the two parents instead of dropping off an exponential cliff.

Interactive Lab 02

Stability Margin and Recombination Ridge Simulator

Random: Pf(m) = νm Recombination: ρm(D−m)/(D−1)
Log Y-axis (10−5 to 1)
Random Survival at m = 30
0.00%
Recombination at m = 30
0.00%
Ridge Advantage
1.0×
0.54
0.79
150
30
Stability Buffer Status Marginal

How Protein Engineers Play the Word Game

In the lab, protein engineers do not have to wait for slow natural mutations. Instead, they choose specific mutagenesis and design methods depending on how much structural information they have and how many variants their assay can screen. Each experimental method corresponds directly to a different way of moving from MILK to SHOP.

Interactive Lab 03

The Engineering Toolkit

Word Game Analogy: Random single-letter typos across MILK

Error-Prone PCR (epPCR)

Using a low-fidelity polymerase like Taq (which lacks proofreading) along with elevated Mn2+ or unbalanced dNTPs introduces random nucleotide substitutions across the entire gene. The number of mutations per clone follows a Poisson distribution, P(x) = e−λλx / x!, so you can tune the average mutation load λ by adjusting reaction conditions.

There is a catch baked into the genetic code. Because a single nucleotide change in a 3-base codon can only reach at most 9 neighboring codons, and several of those code for the same amino acid, epPCR typically accesses only about 6 of the 19 possible amino acid substitutions at any given residue.

Strengths

Requires no prior structural knowledge and can uncover beneficial mutations far from the active site.

Limits

Hard to focus diversity on key residues and cannot sample all 20 amino acids cleanly at one site.

Codon Degeneracy Example
GCU (Ala) 1-base edits → 9 codons
GCC, GCA, GCG Synonymous (Ala)
GUU, GAU, GGU Val, Asp, Gly
UCU, CCU, ACU Ser, Pro, Thr

Result: 3 silent mutations and only 6 reachable amino acids out of 19 possible changes.

Viewed through the word game, rational design and directed evolution solve complementary parts of the same search problem. Rational models and machine learning can jump across empty stretches of sequence space to land on a new functional island, while directed evolution and recombination explore the local neighborhood and climb peaks that physics-based scoring functions still miss. Together, they turn an impossibly large 20N alphabet into an engineering space we can navigate on purpose.

References

  1. Maynard Smith, J. (1970). Natural selection and the concept of a protein space. Nature, 225, 563-564.
  2. Bloom, J. D., Silberg, J. J., Wilke, C. O., Drummond, D. A., Adami, C., and Arnold, F. H. (2005). Thermodynamic prediction of protein neutrality. PNAS, 102(3), 606-611.
  3. Drummond, D. A., Silberg, J. J., Meyer, M. M., Wilke, C. O., and Arnold, F. H. (2005). On the conservative nature of intragenic recombination. PNAS, 102(15), 5380-5385.
  4. Fasan, R., Meharenna, Y. T., Snow, C. D., Poulos, T. L., and Arnold, F. H. (2008). Evolutionary history of a specialized P450 propane monooxygenase. Journal of Molecular Biology, 383(5), 1069-1080.
  5. Voigt, C. A., Martinez, C., Wang, Z. G., Mayo, S. L., and Arnold, F. H. (2002). Protein building blocks preserved by recombination. Nature Structural Biology, 9(7), 553-558.
  6. Kille, S., Acevedo-Rocha, C. G., Parra, L. P., Zhang, Z. G., Opperman, D. J., Reetz, M. T., and Acevedo, J. P. (2013). Reducing codon redundancy and screening effort of combinatorial protein libraries created by saturation mutagenesis. ACS Synthetic Biology, 2(2), 83-92.
  7. Blomberg, R., Kries, H., Pinkas, D. M., Mittl, P. R. E., Grütter, M. G., Privett, H. K., Mayo, S. L., and Hilvert, D. (2013). Precision is essential for efficient catalysis in an evolved Kemp eliminase. Nature, 503, 418-421.

← back to writing