Design sequences for a backbone, then check one refolds to it

For a protein backbone you have (or a stored model), sample sequences for it, then ask the cheapest honest question about one of them: if a structure engine folds that sequence, does it come back to the backbone it was designed for?

Ask: "Using rnafold, take the stored model for UniProt P69905, sample 4 sequences for its backbone, fold the first one with ESMFold, and compare the result with the backbone."

The assistant calls submit_design with the accession (the model is fetched on the server, so no coordinates pass through the conversation), reads the sequences with get_analysis, folds the first with fold and engine set to esmfold, waits with wait_for_job, and calls compare_structures with the fold as the subject and the same accession as the reference.

This is a live run, not generated. examples/design_check.json holds numbers measured through the remote endpoint on 2026-11-20. It cannot be regenerated from the free tools, so the numbers are copied, and the test suite checks this page against that file.

What came back

The design (protein_mpnn, 4 sequences, temperature 0.1, seed 3) took 5.2 seconds on the CPU. The first sequence is 51.4% identical to the backbone's own sequence.

Each refold was compared with the backbone by compare_structures (superposition on the aligned residues):

Sequence folded with ESMFoldIdentity to the backbone's sequenceRMSD to the backboneAligned
design d151.4%0.49 A142 of 142
the backbone's own sequence (control)100%0.34 A142 of 142
d1 shuffled, same letters in random order (control)17.2%15.01 A134 of 142, alignment ambiguous

How to read it

  • The design refolds to the backbone, about as close as the native sequence does (0.49 A against 0.34 A). That is one engine agreeing that this sequence adopts this fold.
  • The shuffled control shows the check can fail. The same letters in a scrambled order land 15 A away, with an ambiguous alignment. A check that passed everything would be worthless; this one does not.
  • What it does not show. This is the easy case: a natural backbone from a well-known fold family, and a sequence half-way to its native one, which ESMFold has very likely seen relatives of. A refold that matches says an engine believes the sequence adopts the fold. It says nothing about whether the protein is stable, expresses, binds or does anything, and a scrambled sequence failing does not mean a subtly poor design would. A harder test is a sampling temperature that drifts far from native, a backbone with no natural relatives, and a second engine: fold the same sequence with others and compare, because two engines can disagree.
  • Nothing here is ranked or scored. identity_to_input in the design result is the model agreeing with the input sequence, not a measure of quality, and the RMSD is a distance, not a verdict.

Tools used

submit_design, get_analysis, fold, wait_for_job, compare_structures.

Last changed 2026-11-20