> ## Documentation Index
> Fetch the complete documentation index at: https://proto.evodesign.org/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# ESMFold2 Distogram iPTM Proxy

> Interface confidence of a binder-target complex read off the ESMFold2 distogram (1 - proxy).

![ESMFold2 Distogram iPTM Proxy](https://proto-bio.github.io/proto-assets/images/constraint/esmfold2-distogram-iptm/hero.png)

> [!NOTE]
>
> **License:** ESMFold2 is open source and free for academic and commercial use under an MIT license and may require explicit attribution when utilized. Please refer to [the license](https://github.com/Biohub/esm/blob/main/LICENSE.md) for full terms.

This constraint is open source. Any third-party models, product names, or trademarks referenced are the property of their respective owners, and Proto is not affiliated with them.

***

&#x20;Tools Used Tools Used  Source Source  Cite Cite

![](https://proto-bio.github.io/proto-assets/images/tool/esmfold2/social.png)

&#x20;Go to Tool Page

[Open](https://proto.evodesign.org/docs/tools/structure-prediction/esmfold2.md)

![Proto](https://mintcdn.com/bio-pro/cMLt8hAqaP9M3LKy/assets/logo/logo-light.svg?fit=max\&auto=format\&n=cMLt8hAqaP9M3LKy\&q=85\&s=f5e5dfd1b8f9b9db3a0be0e2eb01f678)

evo-design/proto-language

&#x20;View source

[Open](https://github.com/evo-design/proto-language/blob/1a97e675c7e5e4ae0e92be91b1bb7b49f1331104/proto_language/constraint/protein_structure/esmfold2_inversion_binder_constraint.py#L534)

@misccandido2026language

```bibtex theme={null}
@misc{candido2026language,
  title={Language Modeling Materializes a World Model of Protein Biology},
  author={Candido, Salvatore and Hayes, Thomas and Derry, Alexander and Rao, Roshan and Lin, Zeming and Verkuil, Robert and Wu, Bryan and Lee, Jin Sub and Bruguera, Elise S. and Keval, Jehan A. and Kopylov, Mykhailo and Pak, John E. and Wu, Wesley and Thomas, Neil and Mataraso, Samson and Hsu, Alvin and Trotman-Grant, Ashton C. and Fatras, Kilian and dos Santos Costa, Allan and Badkundri, Rohil and Ak{\i}n, Halil and Oktay, Deniz and Deaton, Jonathan and Montabana, Elizabeth and Sitwala, Hrishita and Yu, Yue and Wiggert, Marius and Carlin, Dylan Alexander and Goering, Anthony W. and Blazejewski, Tomasz and Sandora, McCullen and Hla, Michael and Jia, Tina Z. and Kloker, Leon H. and Sofroniew, Nicholas J. and Uehara, Masatoshi and Pannu, Jassi and Bachas, Sharrol and Liu, Daniel S. and Sercu, Tom and Rives, Alexander},
  year={2026},
  url={https://biohub.ai/papers/esm_protein.pdf},
  note={Preprint}
}
```

&#x20;Copy citation

Constraint contributors[![](https://avatars.githubusercontent.com/u/61667248?v=4\&s=64)adititm](https://github.com/adititm)[![](https://avatars.githubusercontent.com/u/21143637?v=4\&s=64)bviggiano](https://github.com/bviggiano)
Score discrete binders by the distogram interface-confidence proxy of their complex.

The proxy averages, over the `binder_length` sharpest binder-target pairs, how confidently
the distogram places the pair within 22 A, mapped to `[0, 1]`. It needs only the
distogram, so it is cheaper than a full structure prediction. Averaging over only
`binder_length` pairs makes shorter binders score higher, so compare designs of one length
and rank alongside a predicted iPTM rather than on the proxy alone. It is meaningful only on
a head reaching well past 22 A, so the config rejects the production checkpoints.

## API Reference

ConfigESMFold2DistogramIptmConfig[ Source](https://github.com/evo-design/proto-language/blob/1a97e675c7e5e4ae0e92be91b1bb7b49f1331104/proto_language/constraint/protein_structure/esmfold2_inversion_binder_constraint.py#L501)

Configuration for the ESMFold2 distogram iPTM proxy constraint.

**target\_sequence** `string` *required*

Fixed target chain in canonical one-letter amino acids.

**model\_checkpoint** `enum` (default: esmfold2-experimental-fast)

ESMFold2 variant; interface terms need an 'experimental' head (52 angstrom range).

Options: `esmfold2`, `esmfold2-fast`, `esmfold2-experimental`, `esmfold2-experimental-fast`, `esmfold2-experimental-cutoff2025`, `esmfold2-experimental-fast-cutoff2025`

**seed** `integer`

Base seed for dropout and mask draws, offset per evaluation; a program seed overrides it.

**device** `string` (default: cuda)

Device used for ESMFold2 inference.

ReturnsConstraintOutput

One per proposal; `score` is `1 - proxy` (lower is better)
and `metadata` carries `distogram_iptm_proxy`.

## Usage

```python python icon="python" theme={null}
>>> from proto_language.core import Sequence
>>> config = ESMFold2DistogramIptmConfig(target_sequence="MKTAYIAKQRQISFVKSHFSRQLEERLGLIEVQ")
>>> out = esmfold2_distogram_iptm_constraint([(Sequence("MKTAYIAKQRQISFVKSHFSRQLE", "protein"),)], config)
>>> 0.0 <= out[0].score <= 1.0  # True
```

## Metadata

| Property | Value |
| - | - |
| Key | `esmfold2-distogram-iptm` |
| Function | `esmfold2_distogram_iptm_constraint` |
| Category | `protein_structure` |
| Mode | `discrete` |
| Uses GPU | `True` |
| Supported Types | `protein` |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.