
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
array
Structure(s) with optional chains_to_redesign and fixed_positions constraints.
enum
default:"ligand_mpnn"
LigandMPNN implementation: Foundry-backed ligand_mpnn or original LigandMPNN.Options:
ligand_mpnn, originalnumber
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.
boolean
default:"False"
Whether LigandMPNN conditions on fixed-residue sidechain atoms.
number
default:"8.0"
Ligand-residue distance cutoff (Å) used by LigandMPNN.
string
Optional explicit LigandMPNN checkpoint path.
integer
Optional seed passed directly to the LigandMPNN tool; None uses Proto’s derived seed stream.
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