Exploring ESMFold2 for Nanobody Complexes

    Five known nanobody-antigen complexes, predicted from sequence alone. We examine the interfaces ESMFold2 recovered, the variation across seeds, and what the difficult cases reveal.

    Evidence type
    Crane model exploration
    Published
    August 2026
    A small violet single-domain nanobody faces a larger pale protein partner across an open gap.
    Crane Field NotesConceptual Field Note: two sequences pose a structural question. The illustration introduces the exploration; the plots and structural overlays below show the study's results.

    Two sequences, one structural question

    How much can ESMFold2 recover about the way a nanobody and its antigen fit together, starting from their sequences? We explored that question on five complexes with known experimental structures. The references let us inspect the predicted interfaces and measure where the model succeeded or missed.

    At Crane Bioworks, our contribution was to run the model on this selected panel, compare its predictions with the references, and assemble the structures and scores into an inspectable report. We wanted to see what the model recovered and where a closer look changed the interpretation.

    Known complexes
    5
    Structure predictions
    15
    High-quality interfaces, highest-ipTM selection
    3 / 5

    What ESMFold2 brings to complex prediction

    ESMFold2 was developed by the Biohub AI Research team, with contributions from the former EvolutionaryScale team. We thank the authors for making the model and code available. The paper by Candido et al. (2026) and the Hugging Face model card describe the model and its broader antibody-complex benchmarks.

    ESMFold2 combines representations from the ESMC-6B protein language model with a diffusion-based structure module. The language model supplies information learned from protein sequences; the structure module produces atomic coordinates. It supports protein-complex prediction with optional multiple sequence alignment (MSA) input.

    We explored the single-sequence mode of ESMFold2. Each input contained a VHH nanobody sequence and an antigen sequence, without an MSA, template, or structural hints. The learned sequence information is still present. The authors report that inference-time compute affects accuracy, especially for antibody-antigen complexes. Our three-seed study explores one configuration; it does not measure the model's performance ceiling.

    A five-complex sequence-only experiment

    We used five VHH nanobody-antigen complexes, with three random seeds per target and 15 predictions in total. Each prediction was scored against its experimental reference with DockQ 2.1.3, which measures interface agreement. All five pairs are known binders. This tests recovery of their binding poses; it does not test whether the model can distinguish binders from non-binders or predict affinity, specificity, function, or developability. We performed no additional binding experiments.

    DockQ's conventional quality bands start at 0.23 for acceptable, 0.49 for medium, and 0.80 for high. We also inspected contact recovery and pose displacement, because a benchmark label alone does not tell us whether a structure answers the biological question.

    The entries postdate the model card's reported training cutoff. The selection record and the limits of that date split are set out with the data below.

    Three interfaces recovered at high quality

    The highest-ipTM predictions recovered high-quality interfaces for Cofilin-1, Neuronal pentraxin-2, and Oncostatin-M. The other two targets show why it is useful to inspect the individual structures: one was acceptable by DockQ despite a large pose displacement, and one was incorrect. Each row shows the seed with the highest ipTM, the model's confidence in the inter-chain arrangement. This selection does not use the experimental reference.

    PDBAntigenDepositedReleasedSelected seed / DockQipTMQuality
    9H1FCofilin-12024-10-092025-03-19Seed 0: 0.9160.88High
    9LADNeuronal pentraxin-22025-01-022025-12-10Seed 1: 0.8660.89High
    9VWOOncostatin-M2025-07-172026-07-22Seed 2: 0.8230.78High
    9UO0Spike glycoprotein2025-04-242026-04-29Seed 1: 0.2770.55Acceptable
    9E7OGametocyte surface protein P2302024-11-032025-07-30Seed 2: 0.0060.11Incorrect

    Across all 15 runs, 9 clear DockQ 0.23. The overlays below use best-DockQ examples to inspect structural agreement. Those are retrospective selections using the known reference.

    Per-target DockQ strip plot for the three observed seeds. Open diamonds mark the seed selected by highest ipTM. Four targets have similar scores across seeds; 9VWO ranges from incorrect to high quality.
    Figure 1. The three seeds per target, plotted against the DockQ quality bands. Four targets have similar scores across the three observed seeds. 9VWO spans from 0.028 to 0.823, with one high-quality result and two incorrect results.

    Different seeds can tell different stories

    9VWO, the Oncostatin-M complex, gave two incorrect predictions and one high-quality result. Seeds 0 and 1 scored about DockQ 0.03, with almost no native contacts recovered. Seed 2 reached DockQ 0.823. Looking at only one of these predictions could have given a very different impression of the model on this target.

    The highest-ipTM seed was also the most accurate: 0.78 for the correct seed against 0.17 and 0.15 for the two failures. These three observations show seed sensitivity, but do not estimate a success probability or establish how many seeds another target needs.

    Two separate sketches of the same protein partners, with the smaller violet nanobody in a different orientation in each.

    Conceptual illustration

    Same partners, different poses

    Different seeds can propose different arrangements of the same two partners. These sketches illustrate that question; the plot above shows the observed results.

    Two kinds of difficult result

    9E7O, gametocyte surface protein P230. All three predictions were incorrect. The complex-wide mean pLDDT, a local confidence measure, stayed around 72, while ipTM was only 0.09 to 0.11. That average does not establish confidence or accuracy for either individual chain. We did not assess their folds separately.

    9UO0, the MERS-CoV spike receptor-binding domain. The three predictions straddled the acceptable boundary, at DockQ 0.22 to 0.29. The highest-ipTM seed reached DockQ 0.277 but retained a large pose displacement, with ligand RMSD 18.6 Å. The benchmark category needs that structural context.

    Its best-DockQ seed keeps 66% of the native contacts, yet has ligand RMSD 20.6 Å. Partial contact recovery can coexist with a large pose error. The antigen structure also differs from the deposited reference, complicating the comparison. These results do not establish an accurate epitope assignment or atomic binding pose, and an incorrect prediction does not mean the known pair cannot bind.

    Inspecting the predicted interfaces

    The overlays make the structural differences easier to inspect. Each deposited nanobody is superposed onto the prediction through the antigen. This sequence-matched C-alpha fit is illustrative and differs from DockQ's backbone alignment.

    On 9H1F, the amber reference and violet prediction nearly overlap. On 9E7O, they occupy different faces of the antigen. The fit and centroid-offset details are in the supporting analyses below.

    Report view of 9H1F at DockQ 0.923. The violet predicted nanobody and the amber deposited nanobody occupy the same position against the grey antigen, with the amber almost entirely hidden underneath the violet.
    Report view of 9E7O at DockQ 0.067. The violet predicted nanobody sits on one side of the grey antigen while the faint amber deposited nanobody sits on a different face entirely, roughly 17 Å away.
    Figure 2. Selected retrospective examples, using the best-DockQ seed for each target rather than the highest-ipTM selection in the results table. Left, 9H1F at DockQ 0.923: prediction and deposited structure closely overlap. Right, 9E7O at DockQ 0.067: they do not. Violet is the prediction, grey is the antigen, faint amber is the deposited nanobody after antigen superposition.

    What confidence adds to the structural picture

    Can confidence help identify the more accurate predictions? ipTM already measures inter-chain confidence. We also computed ipSAE from the saved predicted aligned error (PAE) matrices. It retains inter-chain residue pairs below a PAE cutoff and adjusts length normalization; those pairs need not be physical contacts. See Dunbrack's ipSAE method.

    Both metrics separate the seven high-quality runs from the other eight on this panel. ipTM tracks DockQ at Pearson r = 0.98, with rank correlation 0.84; ipSAE reaches Pearson r = 0.97 and rank correlation 0.87. Their different scales and these small correlation differences do not establish that either metric performs better.

    The 15 runs are 5 targets sampled 3 times each, not 15 independent complexes. Both thresholds were chosen by examining this panel and evaluated on the same data. The table describes those observations; it is not a validated operating rule or an estimate of prospective performance.

    GateRuns acceptedDockQ ≥ 0.23DockQ ≥ 0.80Ligand RMSD > 10 Å
    ipTM ≥ 0.58871
    ipSAE ≥ 0.27770

    The cutoffs disagree on one run: 9UO0 seed 1 has ipTM 0.547 and ipSAE 0.126, with ligand RMSD 18.6 Å. Excluding it leaves only high-quality runs, but also loses a target: the ipSAE rule accepts three of the five targets, compared with four for ipTM. This is a difference between the chosen cutoffs, not evidence that ipSAE uniquely detects the error.

    In this panel, confidence helps organise the predictions for inspection. The disagreement is useful because it brings us back to the structure: an acceptable DockQ score can still accompany a displaced pose. The threshold sweep is included below for readers who want to examine how the accepted subset changes.

    Two scatter plots of the same 15 runs. Left, ipTM against DockQ with a 0.5 threshold. Right, ipSAE against DockQ with a 0.2 threshold. The circled 9UO0 seed sits above the ipTM threshold and below the ipSAE one.
    Figure 3. The same 15 runs under both confidence metrics. The circled run, 9UO0 seed 1, is the only one the two disagree about: it clears the ipTM threshold and falls below the ipSAE one, with ligand RMSD 18.6 Å. Both thresholds are retrospective.

    What this exploration leaves open

    ESMFold2 recovered three high-quality interfaces from sequence alone in this selected panel. There is no paired MSA-conditioned arm, so this study cannot measure what an MSA would change. It also does not establish a speed or cost advantage and cannot establish an antibody-specific advantage for single-sequence prediction.

    We tested VHH nanobodies only, no Fab or scFv. There was no head-to-head against other co-folding models. A broader comparison would need matched targets and evaluation conditions, with additional antibody formats assessed on their own evidence.

    The next study should also evaluate confidence rules on targets separate from those used to choose them, with the required pose quality specified in advance. That would test whether the patterns seen here transfer beyond these five complexes.

    Explore ESMFold2 on your research question

    At Crane, we help turn a structural question into a model study you can inspect. For a nanobody project, that can mean a report comparing predicted poses across seeds, confidence readouts, and agreement with any available experimental references, with the limits documented alongside the results.

    If you are exploring where ESMFold2 could help your research, bring the question and the evidence you already have. We can discuss a focused study through the Crane Protein Intelligence Platform.

    Discuss an ESMFold2 study

    Inspect the data and scoring setup

    The per-run JSON contains all 15 predictions' structural and confidence scores, normalization counts, and target dates. The DockQ scoring archive contains the predictions, five prepared references, chain-selection metadata, hashes, and a CPU-only verification script. It reproduces the published structural metrics without rerunning model inference. The settings below describe our study, not the authors' full benchmark protocol.

    The archive does not reproduce ipSAE. It includes all 15 recorded output tables, but not the saved PAE arrays or exact scoring implementation. The JSON field interface_residues preserves n0res: the partner-chain residue count used for normalization at the alignment residue and direction that maximize ipSAE. It is not a total interface or residue-pair count.

    Five runs have zero ipSAE because no inter-chain residue pair passes the PAE cutoff: the two incorrect 9VWO seeds and all three 9E7O seeds. This is not proof that no physical interface exists. Zero ipSAE does not by itself make pDockQ or pDockQ2 undefined; those metrics have their own contact definitions and are outside this comparison.

    Download the per-run data (JSON)

    Download the structures and DockQ scoring archive (ZIP)

    ModelESMFold2 (ESMC-6B embeddings), open weights at huggingface.co/biohub/ESMFold2, revision 623490563d9e25221074976b586a303a4a1cc301
    ConditioningSingle sequence. No MSA, no template, no structural hints.
    SamplingSeeds 0, 1, 2. num_loops 3, num_sampling_steps 50, msa_column_mask_rate 0.0.
    ScoringDockQ 2.1.3 from PyPI, against the deposited structure, with fixed chain mapping AB:AB. A is the VHH and B the antigen. DockQ's ligand RMSD refers to the protein partner in this two-chain task.
    ipSAE conventionDunbrack ipSAE, d0res normalization, maximum of the two chain directions. Recorded output uses PAE cutoff 10 Å and distance cutoff 15 Å; the distance cutoff describes contact summaries and does not restrict the ipSAE calculation.
    Chain preparationReferences normalised to chain A (VHH) and chain B (antigen). Numeric author chain ids remapped, since 9UO0 uses chain 3 and DockQ raises on those.
    Overlay superpositionMatched by sequence alignment, not residue number. ESMFold2 renumbers from 1 while deposited structures keep author numbering, so number-matching silently finds zero pairs.
    Panel selectionSelected five-complex VHH panel. Filters, dates, and selection limits are documented below.

    How the reference complexes were selected

    An RCSB query for full-text "nanobody", released after 2024-06, exactly two protein entities, and resolution better than 2.6 Å returned 91 hits. Filtering for one VHH-sized chain and one antigen chain, single copy each, left 20. The documented selection then took the most recent entries, with one entry per antigen family to limit repeated representation of the same antigen.

    The archived script contains an explicit five-entry list consistent with that ordering after grouping Spike entries together. The screened 20-entry list is also included. We found no dated preregistration or record of selection blinded to prediction outcomes, so this remains a selected exploratory panel.

    Deposition runs 2024-10-09 to 2025-07-17; public release runs 2025-03-19 to 2026-07-22. These dates follow the model card's reported September 2021 training cutoff. That date split does not prove the model has not seen close homologues: we have not audited the training corpus or distillation data, and ran no sequence or structural similarity check against the training set.

    Our earlier workflow control, the lysozyme-binding VHH 1MEL, was deposited in 1996. It is excluded from this date-held-out panel.

    Supporting analyses

    Overlay alignment and offsets

    These arithmetic all-atom centroid offsets describe four best-DockQ overlays after antigen alignment. They are not mass-weighted and use the same coordinates as DockQ, so they offer another view of the structural comparison rather than independent validation.

    TargetOffset after fitDockQ
    9H1F1.5 Å0.923
    9LAD1.7 Å0.889
    9VWO2.4 Å0.823
    9E7O17.2 Å0.067

    9UO0 is excluded because the antigen fit has RMSD 13.4 Å. With that much disagreement in the alignment frame, a single nanobody centroid offset would obscure the structural differences.

    Threshold sweep

    Selecting the highest-ipTM seed and applying a 0.5 cutoff accepted four targets at DockQ ≥ 0.23 and abstained on one. Only 3 of 4 accepted targets reached DockQ ≥ 0.80. At run level, the sweep below counts false accepts against the acceptable boundary, DockQ 0.23. A stricter structural endpoint changes that assessment.

    GateRuns acceptedDockQ ≥ 0.23False accepts
    ipTM ≥ 0.31091
    ipTM ≥ 0.5880
    ipTM ≥ 0.8660

    Lowering the cutoff to 0.3 adds two runs, including one below DockQ 0.23. Raising it to 0.8 retains six high-quality runs. These subsets show the trade between coverage and required structural quality within this panel.

    Scatter plot of ipTM against DockQ for all 15 runs. Violet clears DockQ 0.23 and amber falls below it. The retrospective ipTM 0.50 threshold accepts one result with substantial remaining pose error.
    Figure 4. All 15 runs. The eight runs at or above ipTM 0.50 also clear DockQ 0.23. That does not make every accepted pose accurate: the accepted 9UO0 seed has ligand RMSD 18.6 Å. One other 9UO0 seed clears DockQ 0.23 but falls below the confidence threshold.

    References

    1. Candido, S. et al. (2026). Language Modeling Materializes a World Model of Protein Biology. bioRxiv preprint, 10.64898/2026.06.03.729735. The ESMFold2 paper. biorxiv.org/content/10.64898/2026.06.03.729735
    2. Biohub. Model code, weights, and documentation. github.com/Biohub/esm and ESMFold2 Hugging Face model card
    3. Basu, S. & Wallner, B. (2016). DockQ: A Quality Measure for Protein-Protein Docking Models. PLoS ONE 11(8): e0161879. doi.org/10.1371/journal.pone.0161879
    4. Deposited reference structures, all from the RCSB Protein Data Bank: 9H1F, 9LAD, 9VWO, 9UO0, 9E7O.