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

# ProteinMPNN Homooligomer

> ProteinMPNN design with one shared sequence tied across homo-oligomer protomers

![ProteinMPNN Homooligomer](https://proto-bio.github.io/proto-assets/images/generator/proteinmpnn-homooligomer/hero.png)

> [!NOTE]
>
> **License:** ProteinMPNN is open source and free for academic and commercial use under an MIT license. Please refer to [the license](https://github.com/dauparas/ProteinMPNN/blob/main/LICENSE) for full terms.

This generator 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/proteinmpnn/social.png)

&#x20;Go to Tool Page

[Open](https://proto.evodesign.org/docs/tools/inverse-folding/proteinmpnn.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/generator/proteinmpnn_generator.py#L510)

@articledauparas2022proteinmpnn

```bibtex theme={null}
@article{dauparas2022proteinmpnn,
  title={Robust deep learning--based protein sequence design using ProteinMPNN},
  author={Dauparas, Justas and Anishchenko, Ivan and Bennett, Nathaniel and Bai, Hua and Ragotte, Robert J and Milles, Lukas F and Wicky, Basile IM and Courber, Alexis and de Haas, Rob J and Bethel, Neville and others},
  journal={Science},
  volume={378},
  number={6615},
  pages={49--56},
  year={2022},
  publisher={American Association for the Advancement of Science},
  doi={10.1126/science.add2187}
}
```

&#x20;Copy citation

Generator contributors[![](https://avatars.githubusercontent.com/u/46211285?v=4\&s=64)dguo8412](https://github.com/dguo8412)[![](https://avatars.githubusercontent.com/u/21143637?v=4\&s=64)bviggiano](https://github.com/bviggiano)[![](https://avatars.githubusercontent.com/u/61667248?v=4\&s=64)adititm](https://github.com/adititm)
ProteinMPNN generator that ties all redesigned chains to one protomer sequence.

With `structure_source="proposal_structure"` every protein chain of each proposal's
attached structure (e.g. an `rfdiffusion-mpnn-homooligomer` assembly) is a protomer.

## API Reference

ConfigProteinMPNNHomooligomerGeneratorConfig[ Source](https://github.com/evo-design/proto-language/blob/1a97e675c7e5e4ae0e92be91b1bb7b49f1331104/proto_language/generator/proteinmpnn_generator.py#L229)

Configuration object for ProteinMPNNHomooligomerGenerator.

Same fields as `ProteinMPNNGeneratorConfig`. The redesigned chains of each structure are
protomers (at least two, equal length) tied to one shared sequence, so their
`fixed_positions` must be identical; mismatches fail at config time.

**structure\_source** `enum` (default: configured\_structure\_inputs)

Design on configured structure\_inputs or on each proposal's attached structure.

Options: `configured_structure_inputs`, `proposal_structure`

**proposal\_fixed\_positions** `array`

Segment positions (1-indexed) whose residue in the proposal's structure is kept.

**model\_choice** `enum` (default: proteinmpnn)

Weights: proteinmpnn (=v\_48\_020), v\_48\_\{002,010,030} noise variants, abmpnn, soluble.

Options: `proteinmpnn`, `v_48_002`, `v_48_010`, `v_48_030`, `abmpnn`, `soluble`

**structure\_inputs** `array`

Structure(s) with optional chains\_to\_redesign and fixed\_positions constraints.

**output\_chain\_id** `string`

When sampling a multi-chain structure, write only this chain's sequence to the target segment.

**temperature** `number` (default: 0.1)

Randomness of sampling (0-1). Near 0 is deterministic; near 1 is proportional to model probs.

**excluded\_amino\_acids** `array`

Single-letter amino-acid codes to forbid in the designed sequence (e.g. 'C' to avoid disulfides).

**batch\_size** `integer` (default: 1)

Number of sequences to process simultaneously on GPU

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

GPU device for inference (e.g. 'cuda' or 'cuda:0').

**verbose** `boolean` (default: False)

Whether to print status messages during execution.

## Usage

```python python icon="python" theme={null}
>>> config = ProteinMPNNHomooligomerGeneratorConfig(
...     structure_inputs={"structure": "/path/to/dimer.pdb", "chains_to_redesign": ["A", "B"]},
... )
>>> gen = ProteinMPNNHomooligomerGenerator(config)
>>> gen.assign(Segment(length=100, sequence_type="protein"))
>>> gen.sample()  # Each proposal is the shared protomer sequence, e.g. "MKV.../MKV..."
```

## Metadata

| Property | Value |
| - | - |
| Key | `proteinmpnn-homooligomer` |
| Class | `ProteinMPNNHomooligomerGenerator` |
| Category | `inverse_folding` |
| Input Type | `structure` |
| Uses GPU | `True` |
| Supported Sequence Types | `protein` |
| Allows Empty Start | `False` |


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