Dyno Phi
ContentsModelsShow

ProteinMPNN

Design sequences for a backbone, or score existing sequences against one.

Model details

Job type
PROTEINMPNN
Task
Sequence design
Price
1 credit per 32 backbones
Automatic routing
ProteinMPNN designs sequences for the backbone. ProteinMPNN scores each supplied sequence against the backbone.
Behavior and limits
Takes its structure under `pdb`/`pdb_gcs_uri`, not `target_pdb`.
Source
Baker Lab · github.com/dauparas/ProteinMPNN
Paper
Dauparas et al., Robust deep learning-based protein sequence design using ProteinMPNN. Science 2022. doi:10.1126/science.add2187

Example

phi jobs submit PROTEINMPNN \
  --input pdb=@structure.pdb \
  --input binder_chain_id=A \
  --input target_chain_id=A \
  --param mode=design \
  --param num_seq_per_target=4 \
  --param sampling_temp=0.0001 \
  --param preset=rfd_ca_vanilla \
  --wait --out out

Parameters

NameTypeDefaultDescription
modeessentialstringone of design, score, probs"design"'design' samples num_seq_per_target sequences per backbone. 'score' returns the ProteinMPNN score (global NLL) for each caller-supplied inputs.sequences entry on the backbone; num_seq_per_target/sampling_temp are ignored. 'probs' returns, per residue, the model's 21-letter distribution given the backbone and every other residue (leave-one-out), with the log-probability of the residue present (fit) and 1 - entropy/ln 21 (certainty), as per_residue.json; num_seq_per_target is the number of decoding orders averaged (1 is enough), pdb_path_chains selects the chains scored (default all), one optional inputs.sequences entry replaces the backbone's own sequence, and sampling_temp, omit_AAs, fixed_positions and tied_positions are ignored.
num_seq_per_targetessentialinteger4Sequences to generate per input backbone (ProteinMPNN --num_seq_per_target).
sampling_tempessentialnumber0.0001Sampling temperature; higher (0.1-0.3) is more diverse, lower is near-deterministic.
presetessentialstring | nullone of rfd_ca_vanilla, rfd_soluble, rfd_vanillanullConfig preset selecting default ProteinMPNN params; any explicitly set field overrides the preset.
omit_AAsessentialstring"C"Amino acids to exclude from the design.
backbone_noisenumber0Gaussian noise (Angstrom) added to backbone coordinates.
batch_sizeinteger1Sequences sampled per ProteinMPNN forward pass (--batch_size).
bias_AA_per_residueobject | nullnullPer-residue amino-acid bias added to the sampling logits: {chain: [[[1-based_positions], {AA: bias}], ...]}, the same position-list shape as omit_AAs_per_position with an {AA: bias} map in place of the omit string (positive favours, negative disfavours). Multi-chain use requires pdb_path_chains; a single extracted chain works without it.
ca_onlybooleanfalseSequence a CA-only backbone with the CA checkpoint. Requires model_name v_48_020; unset model_name selects it.
fixed_positionsstring | object | nullnullResidues to fix. Accepts comma-separated shorthand (e.g. 'V,W1,W2') or {chain: [1-based_positions]}; an empty list means fully designable.
gpustring | nullone of a100, t4, a100_80gb, h100, a100_or_h100, a100_80gb_or_h100, a100_preferred, h100_preferrednullPer-job GPU class override.
model_namestringone of v_48_020, v_48_020_soluble"v_48_020_soluble"ProteinMPNN weight file stem. v_48_020_soluble is the soluble checkpoint; v_48_020 is the vanilla full-backbone checkpoint. CA-only sequencing is ca_only, which loads the CA checkpoint.
omit_AAs_per_positionobject | nullnullAmino acids to ban at specific positions, distinct from the global omit_AAs. Accepts ProteinMPNN's native shape {chain: [[[1-based_positions], 'AAsToOmit'], ...]}. Multi-chain use requires pdb_path_chains; a single extracted chain works without it.
pdb_path_chainsstring | nullnullChains selected from the full complex for target-aware design. Include the binder and every fixed target chain. Leave unset with inputs.designed_chain_ids, which derives it.
tied_positionsobject | list of object | nullnullPositions that decode to the same amino acid. Accepts {chain: [1-based_positions]}, which ties each chain's nth position together and therefore requires the same positions on every chain, or an explicit list of tie groups such as [{'A': [1], 'B': [1]}] for per-position chain sets. Multi-chain tying requires pdb_path_chains.

Inputs

NameTypeDefaultDescription
pdb_gcs_uriessentialstring | nullnullgs:// URI to the backbone PDB. Provide this or pdb.
binder_chain_idessentialstring"A"Chain ID of the binder to design.
target_chain_idessentialstring"A"Chain ID of the (fixed) target.
sequencesessentiallist of ProteinMPNNScoreSequence | nullnullCaller sequences scored against the backbone (params.mode='score'; one entry in params.mode='probs', scored residue by residue in place of the backbone's own sequence). Each {name, sequence}; names must be unique. Omit for design mode.
designed_chain_idslist of string | nullnullChains that are all designable (general non-binder design, one or more chains). When set, the binder/target split does not apply and fixed_positions is optional; pdb_path_chains defaults to these chains plus any genuinely-fixed target chains, and must select exactly those when you set it yourself. Mutually exclusive with binder_chain_id / target_chain_id.
pdbstring | nullnullBackbone structure as base64-encoded PDB. Provide this or pdb_gcs_uri.

From the live API schema and phi-api's model catalog, 2026-11-23.