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

Constraint contributors
dguo8412
Score proposals by ProteinMPNN perplexity against the configured backbone.
API Reference
Configuration for ProteinMPNN perplexity scoring.
InverseFoldingStructureInput
required
Backbone structure, optional chains_to_redesign, and fixed positions for direct ProteinMPNN scoring.
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, solublenumber
default:"1.0"
Softmax temperature for relaxing optimizer logits before ProteinMPNN scoring.
boolean
default:"True"
Hard one-hot forward pass with soft-probability gradients.
string
default:"cuda"
Device for ProteinMPNN execution, e.g. ‘cuda’ or ‘cuda:0’.
integer
Seed for ProteinMPNN decoding-order sampling. None lets proto-tools choose a fresh seed.
enum
default:"ppl"
Return ProteinMPNN perplexity by default, or raw mean NLL when set to ‘nll’.Options:
nll, pplnumber
default:"1.0"
Pre-scale raw logits before ProteinMPNN; gradients are scaled back by the same factor.
SequenceLogitBiasConfig
Declarative sequence-symbol bias (canonical 20-AA protein) added before ProteinMPNN.
Usage
python