RFantibody
Designs antibody and nanobody loops against a target: RFdiffusion, then ProteinMPNN, then RoseTTAFold2 filtering.
Model ID rfantibody
How it works
A job runs the whole pipeline: backbone design, sequence design, then RoseTTAFold2 scoring. It is slow and always a queued job. Send target_pdb and framework_pdb together, or neither: empty settings run the built-in influenza haemagglutinin and nanobody example. hotspots lists target residues to engage (letters, digits and commas) and loops the loops to design, in the form H1:7,H2:6,H3:5-13.
Settings
settings of POST /submit-job and POST /validate-job with "type": "rfantibody". Unknown fields are refused, and an optional field you leave out takes the model's own default. GET /tools/rfantibody/schema returns the same fields as JSON Schema.
| Field | Type | Required | Limits |
|---|---|---|---|
target_pdb | string | no | up to 3,000,000 characters |
framework_pdb | string | no | up to 3,000,000 characters |
hotspots | string | no | up to 200 characters |
loops | string | no | up to 200 characters |
n_designs | integer | no | 1 to 10 |
seqs_per_struct | integer | no | 1 to 16 |
rf2_recycles | integer | no | 1 to 10 |
seed_deterministic | boolean | no | see the nested fields |
target_pdbandframework_pdb: the text of two PDB files; give both or neither.hotspots: target residues to engage, letters, digits and commas (for example chain and residue number).loops: the loops to design, in the formH1:7,H2:6,H3:5-13.n_designs,seqs_per_structandrf2_recyclessize the run and its price.
Example request
The built-in example (no files): two designs, four sequences each, ten RoseTTAFold2 recycles. This is the request the catalog prices. Send it to validate-job for a quote, then to submit-job.
{
"jobName": "rfab-example",
"type": "rfantibody",
"settings": {
"n_designs": 2,
"seqs_per_struct": 4,
"rf2_recycles": 10
}
}
Result files
Checked against a real result.
scores.tsv(TSV): One row per designed sequence (n_designsxseqs_per_struct), with RF2's scores of its predicted complex and atagthat names it (samples_design_<n>_dldesign_<m>_best).result.json(JSON):errors(empty when every stage ran),timings(rfdiffusion_s,proteinmpnn_s,rf2_s),gpuandgpu_seconds.
Scores:
-
interaction_pae(scores.tsv,tsv:interaction_pae; lower is better): Mean predicted aligned error between the antibody and the target, in angstroms. Lower means RF2 is surer of the interface. -
pae(scores.tsv,tsv:pae; lower is better): Mean predicted aligned error over the whole complex, in angstroms. -
pred_lddt(scores.tsv,tsv:pred_lddt; higher is better): Mean predicted lDDT of the complex, 0-1. -
target_aligned_antibody_rmsd(scores.tsv,tsv:target_aligned_antibody_rmsd; lower is better): RMSD in angstroms of the antibody after aligning on the target, between the design and RF2's prediction of it. -
No structure files are returned, only the scores. A
framework_aligned_*_rmsdcolumn holdsNaNfor a loop the design does not report (the captured run hasNaNfor L1 to L3): read it as missing, not zero. -
In the captured run (2 designs, 4 sequences each)
interaction_paeran from 5.5 to 18.1, so a few of the sequences were far better than the rest: sort by it before reading anything else.
Runtime and limits
A job gets at most 1,800 seconds of run time unless you send maxRuntimeS (up to 3,600 seconds with added credit); its maximum cost is held at that cap. On the free tier the cap is 600 seconds, shorter than this default, and a maxRuntimeS above it is refused as tier_limit: add credit for longer jobs. the built-in example: 2 designs, 4 sequences, 10 recycles is estimated at $0.373154 (about 413 seconds); POST /validate-job quotes your own request for free. See Pricing.
Licence
MIT for code and weights. One weights file (the TCR weights, on Zenodo) is CC BY 4.0 and requires attribution.
Limits of the model
The Nature paper reports VHH, scFv and antibody binders confirmed by yeast display and cryo-EM; designs from this tool are computational and need experimental testing.