Coarse-Grained Modeling of Protein Folding
AIMS models each amino acid of a protein as a single bead and uses an AI agent to run experiments.
An egg white turns solid in a hot pan because its proteins unfold and tangle together. A protein is a chain of amino acids that folds into a compact shape, and the order of the amino acids decides whether it does. Much of that deciding is done by which amino acids avoid water, so AIMS models each amino acid as a single bead, and an AI agent sets up the experiments. A student asks a plain-language question, and the agent heats a folded chain until it opens, follows whether a fold keeps its structure, or builds a model of a real protein from its structure in the Protein Data Bank, and posts the measured data in the chat as a live chart. In the window below, two chains of 72 residues start as random coils at 300 K. Press Play and watch one of them curl up.
Two 72-residue chains at 300 K. The orange beads are hydrophobic, the pale ones polar. Within a minute or two of Play one chain curls up; the other stays open.
Why Trade Atoms for Beads?
Few molecules of a gas are spheres, yet physicists model gases with hard spheres, because what decides how a gas behaves is that its molecules take up room and bounce off one another. Keeping only those features makes the cause of the behavior easy to see. A chain of beads does the same for a protein. What makes a chain collapse is that it is connected and that some of its residues avoid water: those residues gather on the inside, and the chain folds around them. One bead per residue stands in for all of the residue’s atoms and keeps the chain, its spacing, and the attraction between residues of each kind, so whatever shape the chain takes comes from those features alone. Modeling a molecule this way is called coarse-grained modeling, a standard approach to soft matter in research, which keeps the degrees of freedom that decide the behavior and drops the rest. It also makes the simulation fast enough for a browser. A small protein and the water around it come to thousands of atoms, and it takes microseconds to fold, far longer than a browser can follow one atom at a time, while the phase-change and heat-conduction articles on this site, whose crystals need only a few hundred atoms, simulate every atom. Each bead in these labs is one residue, with the mass of an average amino acid and the 3.8 Å spacing of a protein backbone. Chemistry below the size of a bead, a hydrogen bond for example, is outside the model, and the labs leave out the water. Because the units are real, the thermometer in the lab reads kelvin, though, as the sections below show, the model’s melting points run some tens of degrees high. Companion articles apply the same approach to liquid crystals, the glass transition of a polymer, and soap micelles.
Running Experiments by Asking
AIMS is an AI-native environment. Building a chain, stepping its temperature, measuring its size and its contacts, and plotting them are the agent’s work. A student asks “does this sequence fold?”, and the agent recognizes the intent, configures the lab, runs the experiment, and posts a live chart of the results in the conversation.
Go to AIMS and open the list of examples, with the lightbulb button on the toolbar or the Examples item in the main menu (☰). Open one of the two examples below from the list (Biology), open the chat, and type the prompts.
Be patient. Every picosecond is computed in your browser. A ramp of eight or nine temperature steps takes several minutes, the villin ramp somewhat more.
Folding — A Sequence That Folds and One That Does Not
- Denaturing — “Heat the two chains from 300 K to 475 K in steps of 25 K, holding about 150 ps at each step, and chart the radius of gyration of each against temperature.”
- Does the fold hold? — “Hold the folded chain at 300 K for 400 ps and measure its conformational stability: how far it drifts from its starting structure and how many of its contacts it keeps.”
A real fold — A Protein That Folds and Holds
- Stability — “Hold the villin chain at 300 K for 400 ps and measure its conformational stability.”
- Unfolding — “Heat it from 300 K to 500 K in steps of 25 K, holding about 200 ps at each step, and chart the RMSD and the native contacts against temperature.”
- Refolding — “Cool it back down the same way and see whether it refolds.”
- Another protein — “Build a Gō model of Trp-cage, PDB 1L2Y, and put it in the lab.”
A Chain That Folds and One That Does Not
The simplest model of folding is the HP model of Lau and Dill, with two kinds of bead: hydrophobic beads, which attract one another because they would rather hide from water, and polar beads, which do not. Dill argued in 1990 that this hydrophobic effect is the dominant force in protein folding. The backbone of each chain in this lab has a bending stiffness fitted to a protein’s Cα trace, far softer than a hydrocarbon chain’s. Two chains of 72 residues share the box, each pinned at its middle bead so the two cannot drift into each other; unpinned, two such chains could stick to each other instead of folding, a simple picture of the aggregation behind amyloid diseases. One is half hydrophobic, with its hydrophobic residues in blocks of four, so a stretch of the chain can bury together into a core; the other has one hydrophobic residue in four, each alone among polar residues, so there is nothing for the chain to fold around. A sequence is both a composition and an order, and the two chains differ in both.
Press Play at 300 K and the first chain curls up, its orange beads clustered in the middle and the pale ones facing outward, a crude version of what every globular protein does. The second stays an open coil. The radius of gyration, the average distance of the beads from the chain’s center, tells the two apart in numbers: 11.9 Å for the folded chain against 25.9 Å for the coil. Heated in steps of 25 K, the folded chain holds together and then opens: 12.6 Å at 325 K, 13.6 at 350 K, 17.0 at 375 K, and 21.9 at 400 K. It is halfway open near 380 K, the denaturing temperature of the model in this run; a single chain opens by chance within a 150 ps hold, so repeat runs differ, and near the opening a chain can close up again for a while, as this one did at 425 K. Real proteins unfold a few tens of degrees above room temperature, which is why an egg white turns solid in a pan. A real protein is only barely stable: its folded state wins by about five to fifteen kilocalories per mole, the small difference between a large energy gained from its contacts and a large entropy lost by fixing its chain, and heat tips the balance because the entropy counts for more the hotter it gets. This chain opens about 40 K above where a typical small protein unfolds, and over a wider range of temperature. A chain whose beads simply add up their contacts melts far less sharply than a real protein, which gets its sharpness from effects the beads leave out, such as the water that has to leave a contact before it closes. So the beads must bind strongly enough to keep the chain folded at room temperature, and that pushes the midpoint up. The coil wanders between 20 and 27 Å with no step of its own. With its few hydrophobic beads scattered, it has no fold to lose. Each radius fluctuates by an ångström or two at any temperature, so the trend matters more than any one point. Cool the box and the first chain refolds, though not always into the same shape.
A sequence is a hypothesis about folding, and the box tests it. A student can type any string of H and P into the Build Chain dialog, or ask the agent to build one, and run the same ramp.
Does the Fold Hold?
A real protein holds one arrangement of its chain, every residue in its place, and vibrates about it. Ask the agent whether the folded chain holds its structure and it takes the chain’s arrangement at 300 K as a reference and follows two numbers for 400 ps: the RMSD after the best rigid superposition, how far the beads have moved from the reference once the chain’s rotation and drift are taken out, and Q, the fraction of native contacts, the share of the bead pairs in contact in the reference that are still in contact, the folding coordinate of Best, Hummer and Eaton. For the folded HP chain the RMSD climbs to about 10 Å and Q falls to about 0.2: a molten globule. The chain stays a ball with its hydrophobic beads inside, but the beads keep sliding past one another, and within about a hundred picoseconds most of the original contacts have been swapped for others. With only two kinds of bead, any hydrophobic bead can take any other’s place at no cost, so hundreds of packings of the same core share one energy and the chain wanders among them. The hydrophobic effect explains collapse; it takes more than two letters to pick out one structure.
A Protein That Folds and Holds
To show a chain that does hold one structure, AIMS builds a model with the answer written in. The A Protein That Folds and Holds example takes the crystal structure of the villin headpiece, a 35-residue protein that folds in microseconds, and places one bead per residue where the structure puts that residue, hydrophobic residues orange and polar ones pale blue. The rules are those of a Gō model, named after Nobuhiro Gō and given its modern form by Clementi, Nymeyer and Onuchic: only the pairs of residues that touch in the real structure attract one another, each at the distance the structure gives it; every other pair repels; and the bends and twists of the backbone rest at their native values, so the three helices of villin are written into the model rather than held by hydrogen bonds, which beads do not have. A student can build the same model of any small protein by asking the agent for it with a PDB id.
A Gō model of the villin headpiece at 300 K: three helices that vibrate about their places, an end now and then fraying and snapping back.
Held at 300 K for 400 ps, this chain keeps about 80 percent of its native contacts, and its RMSD from the crystal structure wanders between 1.6 and 6.8 Å, 3.3 on average: a folded protein that breathes. Heated in steps of 25 K, it loses half of its native contacts near 370 K in this run (between about 370 and 410 K across runs), and its RMSD reaches about 10 Å by 475 K. It does not come apart all at once, as small real proteins do: Q slides from about 0.8 at 300 K to 0.56 at 350 K and 0.33 at 450 K, a melt spread over more than 100 K where real villin takes about 40. That is the same weakness as the HP chain’s, and it sets the temperature: each contact is worth about 0.75 kilocalories per mole, about the weakest that keeps the chain folded at room temperature, and with a melt this broad its midpoint cannot also sit at the real protein’s 340 K. Cooled again, it refolded in each of the runs we examined, ending at 300 K with 73 to 85 percent of its contacts, about where it started. Each run differs, and a cooled chain can end short of its starting fold. Real denatured proteins can also refold, which is Anfinsen’s result.
The model makes refolding easy, since the only attractions it has are the native ones. A chain of 35 residues has far too many shapes to find its fold in microseconds by trying them one at a time, a puzzle known as Levinthal’s paradox. In the Gō model every native contact lowers the energy and nothing else does, so the energy slopes downhill toward the native structure from every direction, the folding funnel of Wolynes, Onuchic and their colleagues, and the chain finds its fold without a random search. Real proteins are thought to come close to this, because evolution has weeded out most of the contacts that would compete with the native ones, what Bryngelson and Wolynes called the principle of minimal frustration. The two-letter chain is the opposite case: its many packings share one energy, so its funnel has a flat bottom. Because the native structure is built in, the model shows how a chain reaches a known structure and does not predict the structure from the sequence; that is a separate problem, which programs such as AlphaFold now handle accurately for many proteins by learning from known structures. The lesson the two examples make together is that the hydrophobic effect explains why a chain collapses, and specific contacts explain why it folds to one structure.
What the Simulations Produced
The simulations were given the forces among beads and, for villin, the contacts of its crystal structure. Everything below came out of them:
- Folding by sequence — a chain with its hydrophobic residues in blocks collapses into a globule less than half the size of a chain with few, scattered ones, and it opens near 380 K in the published run.
- A molten globule — the folded two-letter chain keeps its core but swaps about four in five of its contacts within a hundred picoseconds, drifting about 10 Å from its own earlier structure.
- A fold that holds — the Gō model of villin keeps about four in five of its native contacts at 300 K, unfolds on heating over a far wider range of temperature than the real protein does, and refolds on cooling.
Conclusion
This article uses protein folding to illustrate a new way to learn science: students converse with an AI agent that turns a plain-language question into a molecular dynamics experiment and hands back measured data. The collapse of a chain around its hydrophobic residues, the difference between a compact chain and a folded one, the unfolding and refolding of a model of a real protein, and even where the model falls short, a melt far broader than a real protein’s, become something students measure for themselves in a browser. By pairing physically grounded coarse-grained simulations with an AI that can set them up and run them, AIMS turns a student’s curiosity into a genuine scientific investigation of the molecules of life.
← Back to AIMS