> ## 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.

# Protein-Protein ipSAE

> Score protein-protein interface confidence with ipSAE (Dunbrack 2025), folding the binder (first input) with the target chain(s) and scoring the binder-target interface.

![Protein-Protein ipSAE](https://proto-bio.github.io/proto-assets/images/constraint/protein-protein-ipsae/hero.png)

> [!NOTE]
>
> **License:** This constraint can use multiple tools, each under its own license. See the **Tools Used** tab and each tool's page for license details.

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

[  ![](https://proto-bio.github.io/proto-assets/images/tool/esmfold2/carousel.png)  ![](https://proto-bio.github.io/proto-assets/images/tool/alphafold3/carousel.png)  ![](https://proto-bio.github.io/proto-assets/images/tool/boltz2/carousel.png)  ![](https://proto-bio.github.io/proto-assets/images/tool/chai1/carousel.png)Structure Prediction · 9 tools](https://proto.evodesign.org/docs/tools/structure-prediction/overview)[  ![](https://proto-bio.github.io/proto-assets/images/tool/ipsae/social.png)](https://proto.evodesign.org/docs/tools/structure-scoring/ipsae.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/ipsae_constraint.py#L568)

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)[![](https://avatars.githubusercontent.com/u/46211285?v=4\&s=64)dguo8412](https://github.com/dguo8412)
Score protein-protein interface confidence with ipSAE.

For each candidate:

1. Fold the first input (binder) and every other input (one target chain each)
   as one complex with the configured predictor, PAE matrix enabled.
2. Run `ipsae-scoring` with the binder chain against the target chains.
3. Read both ipSAE directions per target from the tool's `asym` rows, take the
   `ipsae_direction` value, and keep the best target chain.
4. Score: 0.0 (best) when ipSAE >= `desired_ipsae`, 1.0 (worst) when 0.

**Supported tools**: ESMFold2 (`auto`), AlphaFold3, Boltz2, Chai1, Protenix,
OpenDDE, AlphaFold2 multimer; `include_pae_matrix` is enabled automatically.

## API Reference

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

Config for the protein-protein ipSAE interface constraint.

Folds the binder (first input) with the target chain(s) (every other input),
with the PAE matrix enabled, and scores the binder-target interface with ipSAE
(Dunbrack 2025). ipSAE is asymmetric: `binder_to_target` aligns on each binder
residue and averages over target residues whose PAE is below `pae_cutoff`
(the IPSAE `asym` row binder, target); `target_to_binder` is the reverse.
`max` is the ipsae-scoring tool's headline value; `min` requires both
directions to be confident. With several target chains the best-scoring target
is used. The value in `[0, 1]` (higher = better) is compared against
`desired_ipsae` to produce a cost in `[0, 1]` (lower = better).

**desired\_ipsae** `number` (default: 0.5)

Target binder-target ipSAE in (0,1]. Score is 0 when achieved.

**ipsae\_direction** `enum` (default: max)

ipSAE direction to score: max/min of both, binder\_to\_target, or target\_to\_binder.

Options: `max`, `min`, `binder_to_target`, `target_to_binder`

**pae\_cutoff** `number` (default: 10.0)

PAE threshold (Angstrom) for ipSAE interface residue detection.

**distance\_cutoff** `number` (default: 10.0)

CA-CA distance cutoff (Angstrom) for ipSAE contact detection.

**structure\_tool** `enum` (default: auto)

Complex predictor that emits a per-residue PAE matrix; auto uses esmfold2.

Options: `auto`, `esmfold2`, `alphafold3`, `boltz2`, `chai1`, `protenix`, `mol1`, `opendde`, `opendde_v2`, `alphafold2`

**esmfold\_config** `ESMFoldConfig`

Configuration for ESMFold structure prediction.

**esmfold2\_config** `ESMFold2Config`

Configuration for ESMFold2 structure prediction.

**alphafold3\_config** `AlphaFold3Config`

Configuration for AlphaFold3 structure prediction.

**boltz2\_config** `Boltz2Config`

Configuration for Boltz2 structure prediction.

**chai1\_config** `Chai1Config`

Configuration for Chai1 structure prediction.

**protenix\_config** `ProtenixConfig`

Configuration for Protenix structure prediction.

**mol1\_config** `Mol1Config`

Configuration for Mol-1 structure prediction.

**opendde\_config** `OpenDDEConfig`

Configuration for OpenDDE structure prediction.

**opendde\_v2\_config** `OpenDDEV2Config`

Configuration for OpenDDE-v2 structure prediction.

**rf3\_config** `RF3Config`

Configuration for RF3 structure prediction.

**alphafold2\_config** `AlphaFold2Config`

Configuration for the general AlphaFold2 multimer structure predictor.

**alphafold2\_binder\_config** `AlphaFold2BinderStructureConfig`

Configuration for the AF2 binder-design backend.

**alphafold2\_hallucination\_config** `AlphaFold2DesignStructureConfig`

Configuration for the AF2 single-chain hallucination backend.

**alphafold2\_fixbb\_config** `AlphaFold2FixBBStructureConfig`

Configuration for the AF2 fixed-backbone design backend.

ReturnsConstraintOutput

Per-proposal score in `[0, 1]` (lower is better)
with `ipsae` / `ipsae_direction` / `ipsae_binder_to_target` /
`ipsae_target_to_binder` / `desired_ipsae` / `binder_chain` /
`target_chains` / `ipsae_target_chain` / `structure_tool` /
`pdb_output` metadata and the predicted Structure on slot 0.

## Usage

Scoring a designed binder against a fixed target with Boltz-2:

```python python icon="python" theme={null}
>>> from proto_language.core import Constraint, Segment
>>> binder = Segment(length=80, sequence_type="protein")
>>> target = Segment(length=90, sequence_type="protein")
>>> ipsae = Constraint(
...     inputs=[binder, target],
...     function=protein_protein_ipsae_constraint,
...     function_config={"structure_tool": "boltz2", "ipsae_direction": "min"},
... )
```

## Metadata

| Property | Value |
| - | - |
| Key | `protein-protein-ipsae` |
| Function | `protein_protein_ipsae_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.