
License: ProteinMPNN is open source and free for academic and commercial use under an MIT license. Please refer to the 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.

- Redesigning existing proteins while maintaining fold
- Designing sequences for computationally generated backbones
- Creating sequence diversity for experimental screening
- Stabilizing protein structures through sequence optimization
API Reference
Configuration object for ProteinMPNNGenerator.This class defines configuration parameters for the ProteinMPNN generator, which
uses the ProteinMPNN inverse folding model to design protein sequences conditioned
on a given 3D backbone structure.ProteinMPNN is a message-passing neural network that predicts amino acid sequences
likely to fold into a specified protein backbone structure. It excels at redesigning
existing proteins while maintaining structural compatibility.
ProteinMPNN weights: ‘proteinmpnn’ (general), ‘abmpnn’ (antibody), or ‘soluble’ (soluble proteins).Options:
proteinmpnn, abmpnn, solubleStructure(s) with optional chains_to_redesign and fixed_positions constraints.
When sampling a multi-chain structure, write only this chain’s sequence to the target segment.
Randomness of sampling (0-1). Near 0 is deterministic; near 1 is proportional to model probs.
Single-letter amino-acid codes to forbid in the designed sequence (e.g. ‘C’ to avoid disulfides).
Number of sequences to process simultaneously on GPU
GPU device for inference (e.g. ‘cuda’ or ‘cuda:0’).
Whether to print status messages during execution.
Usage
python
Metadata
| Property | Value |
|---|---|
| Key | proteinmpnn |
| Class | ProteinMPNNGenerator |
| Category | inverse_folding |
| Input Type | structure |
| Uses GPU | True |
| Supported Sequence Types | protein |
| Allows Empty Start | False |