Skip to main content

ProteinMPNN

Designs amino-acid sequences that fold into a backbone you give it.

Model ID proteinmpnn

How it works​

Send up to 32 structures, each with an id and exactly one of pdb or cif text; the structures total at most 8 MB. For each one the model proposes n_seqs sequences at the given temperature (lower is more conservative). Arca serves the v_48_020 model. A typical loop generates backbones, designs sequences with ProteinMPNN, then refolds them to check.

Settings​

settings of POST /submit-job and POST /validate-job with "type": "proteinmpnn". Unknown fields are refused, and an optional field you leave out takes the model's own default. GET /tools/proteinmpnn/schema returns the same fields as JSON Schema.

FieldTypeRequiredLimits
structuresarrayyes1 to 32 items
n_seqsintegerno1 to 64
temperaturenumberno0.01 to 2
seedintegerno0 to 2147483647
  • structures: up to 32 entries {id, pdb | cif}, with exactly one of pdb or cif holding the file's text.
  • n_seqs sequences per structure; temperature (lower is more conservative); seed.

Example request​

Four sequences for ubiquitin's backbone at a low temperature; the PDB file text is read from 1UBQ.pdb. Send it to validate-job for a quote, then to submit-job.

{
"jobName": "ubq-mpnn",
"type": "proteinmpnn",
"settings": {
"structures": [
{
"id": "1ubq",
"pdb": "$pdb"
}
],
"n_seqs": 4,
"temperature": 0.2
}
}

"$pdb" stands for the text of 1UBQ.pdb (https://files.rcsb.org/download/1UBQ.pdb); send the file's contents as the string.

Result files​

Checked against a real result.

  • result.json (JSON): results[] per input structure: its id, the designed sequences and a native_recovery per sequence, plus phase_seconds and gpu_seconds.
  • sequences/*.fasta (FASTA): The same sequences, one file per input structure; each header ends in native_recovery=<value>.

Scores:

  • native_recovery (result.json, results[].native_recovery[]; higher is better): The fraction of positions where the designed residue equals the input structure's own residue, 0-1. Higher means closer to the native sequence, not necessarily a better design.

  • native_recovery (sequences/*.fasta, fasta:native_recovery; higher is better): The same value, in each FASTA header.

  • No structure is returned. Fold the sequences (Boltz-2, ESMFold2) to score them.

Runtime and limits​

A job gets at most 300 seconds of run time unless you send maxRuntimeS (up to 3,600 seconds with added credit); its maximum cost is held at that cap. The free tier allows up to 600 seconds. one backbone, default sequence count is estimated at $0.007421 (about 4 seconds); POST /validate-job quotes your own request for free. See Pricing.

Licence​

MIT for code and weights; commercial use is allowed.

Limits of the model​

The paper reports 52.4% native sequence recovery against 32.9% for Rosetta on native backbones; those are the authors' figures. Designed sequences are proposals: refold and test them.

Original GitHub repository