
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.
enum
default:"proteinmpnn"
ProteinMPNN weights: ‘proteinmpnn’ (general), ‘abmpnn’ (antibody), or ‘soluble’ (soluble proteins).Options:
proteinmpnn, abmpnn, solublearray
Structure(s) with optional chains_to_redesign and fixed_positions constraints.
string
When sampling a multi-chain structure, write only this chain’s sequence to the target segment.
number
default:"0.1"
Randomness of sampling (0-1). Near 0 is deterministic; near 1 is proportional to model probs.
array
Single-letter amino-acid codes to forbid in the designed sequence (e.g. ‘C’ to avoid disulfides).
integer
default:"1"
Number of sequences to process simultaneously on GPU
string
default:"cuda"
GPU device for inference (e.g. ‘cuda’ or ‘cuda:0’).
boolean
default:"False"
Whether to print status messages during execution.
Usage
python