RFpeptides Binder Design
Design cyclic peptide binders with RFdiffusion backbones, iterative sequence design and physics-based filtering.
Table of contents
- Overview
- Install
- Inputs
- Key parameters
- Acceptance criteria
- Composite score
- Expect steep attrition
- Automation
- Full protocol
Overview
Five stages, each feeding the next:
- Backbone generation — RFpeptides (RFdiffusion All-Atom) generates cyclic backbones against the target, optionally focused on hotspot residues
- Iterative sequence design — four rounds of ProteinMPNN (CA-only) followed by Rosetta FastRelax with
PeptideCyclizeMover - DL validation — AfCycDesign re-predicts each design to give iPAE and pLDDT
- Physics filtering — Rosetta interface metrics: ddG, SAP, CMS
- Clustering and selection — RMSD-based clustering, ranked by a composite score
Install
cpskill install binder_design_rfpeptides
This installs rfpeptides_mcp, proteinmpnn_mcp, rosetta_kic_mcp and afcycdesign_mcp.
claude
> /binder-design-rfpeptides
Inputs
| Input | Example | Notes |
|---|---|---|
| Target PDB | examples/binder_mdm2/4HFZ_MDM2.pdb |
Cleaned structure, waters and heteroatoms removed |
| Target chain | A |
|
| Hotspot residues | 54, 56, 58, 61, 67, 96, 99, 100 |
Optional; focuses the binder on an epitope |
| Peptide length | 8–16 |
|
| Number of designs | 200–500 |
Attrition is steep — see below |
Per-target configurations for the bundled examples are in each examples/binder_*/rfpeptides_config.md.
Key parameters
ProteinMPNN (CA-only) — RFdiffusion backbones have no side chains, so the CA-only model is required:
model = "v_48_020"
temperature = 0.0001
omit_AAs = "C"
chains = "A"
Rosetta FastRelax — four rounds, each with PeptideCyclizeMover applied before and after interface minimisation so the head-to-tail bond stays closed.
Acceptance criteria
| Metric | Threshold | Meaning |
|---|---|---|
| ddG | < −30 REU | Interface binding energy |
| SAP | < 35 | Aggregation propensity |
| CMS | > 300 Ų | Contact molecular surface |
| iPAE | < 0.30 | Interface confidence |
| pLDDT | > 0.70 | Per-residue confidence |
ddG is in Rosetta Energy Units, not kcal/mol. REU is not a calibrated physical free energy and must not be equated with an experimental ΔG without a target-specific calibration against measured affinities.
Target-specific iPAE thresholds
The RFpeptides paper (Nat Chem Biol 2025) raises the threshold for flat surfaces, where most designs fail confidence filtering regardless of quality:
| Target | Strict | Relaxed | Surface type |
|---|---|---|---|
| MCL1 | 0.20 | 0.30 | Concave pocket |
| MDM2 | 0.20 | 0.30 | Concave pocket |
| GABARAP | 0.13 | 0.30 | Shallow groove |
| RbtA | 0.30 | 0.40 | Flat β-helix surface |
Two distinct uses of RMSD
These are not interchangeable and must not be reported as one gate:
- Clustering RMSD — pairwise backbone RMSD between designs, used only to group survivors into structural clusters in stage 5
- Reprediction-fidelity RMSD — Cα-RMSD of a re-prediction against its own design model
Stage 3 does not emit the second, so do not cite a reprediction-fidelity gate unless the per-candidate values were actually produced.
Composite score
0.30 * ddG_norm + 0.25 * iPAE_norm + 0.20 * pLDDT_norm + 0.15 * CMS_norm + 0.10 * SAP_norm
Each metric is min–max normalised across the candidate set before the weighted sum.
Expect steep attrition
Across a 500-design run per target, joint pass rates are low single digits, and the funnel is usually dominated by one gate. In a 198-design MCL1 panel, 194 failures were decided by iPAE before any physics metric was consulted. Plan the backbone count accordingly, and read every distribution against the population it describes — a pre-filter distribution with gate lines drawn over it is not an accepted set.
Automation
For large runs the protocol is scripted end to end with parallel CPU/GPU workers and checkpoint resume:
python workflow-skills/scripts/rfpeptides/run_pipeline.py --help
Reporting helpers:
# Stage-by-stage funnel plus the candidate-level record
python workflow-skills/scripts/rfpeptides/attrition_report.py <prod_pipeline_dir>
# Nine-panel figure set
python workflow-skills/scripts/rfpeptides/rfpeptides_viz.py <results_dir> [--merged]
Full protocol
The complete skill, with every tool call and its arguments, is in workflow-skills/binder_design_rfpeptides.md.