
License: LigandMPNN 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.

- Designing enzymes with specific active site geometries
- Optimizing binding pockets around ligands
- Creating sequences for cofactor-dependent proteins
- Redesigning protein-ligand interfaces
API Reference
Configuration object for LigandMPNNGenerator.This class defines configuration parameters for the LigandMPNN generator, which
uses the LigandMPNN inverse folding model to design protein sequences conditioned
on a given 3D backbone structure and ligand context.LigandMPNN extends ProteinMPNN to be aware of non-protein atoms (ligands, cofactors,
metal ions), making it particularly effective for:
- Enzyme active site design
- Binding pocket optimization
- Cofactor-dependent protein design
Structure(s) with optional chains_to_redesign and fixed_positions constraints.
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.
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 | ligandmpnn |
| Class | LigandMPNNGenerator |
| Category | inverse_folding |
| Input Type | structure |
| Uses GPU | True |
| Supported Sequence Types | protein |
| Allows Empty Start | False |