RFdiffusion 2
latestScaffold enzyme active sites with atom-level control and ligand-aware protein design.
RFdiffusion 2 is a generative deep learning model for enzyme design that scaffolds protein structures around atomic-level descriptions of active sites. Developed by the Baker Lab and the Institute for Protein Design at the University of Washington, it was published in Nature Methods in January 2026. The model builds on RoseTTAFold All-Atom (RFAA) and uses flow matching to generate protein backbones that embed user-specified catalytic geometries, including ligands and metal cofactors, without requiring pre-specified sequence indices or rotamer enumeration.
Where the original RFdiffusion represented active sites at the residue level and required explicit sequence positions for every catalytic residue, RFdiffusion 2 accepts atom-level descriptions of functional groups (known as theozymes) and infers both the residue identity and side-chain conformation during generation. This eliminates the combinatorial explosion of searching over all possible sequence positions and rotamer states, making it practical to scaffold complex multi-residue active sites that were previously intractable.
On a benchmark of 41 diverse enzyme active sites drawn from the Mechanism and Catalytic Site Atlas (M-CSA), RFdiffusion 2 successfully generates scaffolds for all 41 cases, compared to 16 out of 41 for the original RFdiffusion. In experimental validation across five distinct chemical reactions, active enzymes were identified after screening fewer than 96 designs in every case, with the most active zinc metallohydrolase reaching a catalytic efficiency (k_cat/K_M) of 53,000 M^-1 s^-1.
RFdiffusion 2 is designed primarily for de novo enzyme engineering. Typical applications include:
The tool is not intended for general protein binder design or unconditional protein generation. For those tasks, RFdiffusion and RFdiffusion 3 offer broader design modes.
RFdiffusion 2 is built on the RoseTTAFold All-Atom (RFAA) neural network architecture, which can represent residues in two modes simultaneously: as SE(3) backbone frames (N, Ca, C atoms) for standard residues, or as full heavy-atom coordinate sets for "atomized" residues that require side-chain-level precision. During generation, the model processes this mixed-resolution representation and predicts both backbone coordinates and side-chain conformations for atomized positions.
The RFAA base architecture was retrained with creative motif scaffolding tasks. Training used biomolecular structures from the Protein Data Bank, including proteins, protein-small molecule complexes, protein-metal complexes, and covalently modified proteins. Motifs were resampled on each training step to prevent memorization, and the model converged stably over 17 days on 24 NVIDIA A100 GPUs.
Unlike the original RFdiffusion, which used denoising diffusion probabilistic models (DDPM), RFdiffusion 2 employs flow matching. Flow matching interpolates between a noise sample and a training example along a straight path, training the network to predict the original uncorrupted structure from any point along that path. For the SE(3) components of protein frames (rotations and translations), the method uses Riemannian flow matching via the Frame-Flow formulation, removing the approximations for rotational losses that were present in the first RFdiffusion.
Flow matching proved simpler to train: RFdiffusion 2 required no auxiliary losses and no self-conditioning, both of which were necessary for stable training of the original model.
A central innovation in RFdiffusion 2 is the distinction between indexed and unindexed motif residues:
Guidepost mode is the default and recommended setting for most enzyme design tasks. It avoids the combinatorial search over L!/(L-M)! possible assignments of M motif residues to L sequence positions, allowing the model to discover optimal placements naturally during generation.
ORI (origin) tokens provide control over the spatial positioning of the generated scaffold relative to the active site. An ORI pseudo-atom specifies the approximate desired center of mass of the designed protein. During flow matching, a technique called stochastic centering adds a small random global translation so that noised structures encode only an approximate offset between motif and scaffold, allowing the model to refine the positioning across denoising steps.
ProteinIQ runs the backbone-generation stage. Sequence fitting, side-chain packing, refolding, and pipeline motif RMSD evaluation are separate steps and are not included in this tool's run. Generated backbones can be used as inputs to LigandMPNN for sequence design.
Supply an active-site structure, including ligand HETATM records for ligand-aware design, then choose the scaffold length and number of samples. ProteinIQ runs RFdiffusion 2 online and returns generated designs as downloadable PDB files. The input defines the geometry to preserve; a protein sequence alone is not sufficient.
| Input | Description |
|---|---|
Active site / Motif | PDB file containing the catalytic residues and optionally ligands as HETATM records. Upload a file (.pdb, .ent) or fetch from RCSB by PDB ID. |
The input structure must contain the active site residues to scaffold. For ligand-aware design, small molecules, metal ions, or cofactors should be included as HETATM records in the PDB file. The model reads both the protein residue coordinates and the ligand atoms to generate scaffolds that accommodate the complete active site geometry.
New runs preserve the supplied PDB records, including CONECT bonds and ORI coordinates. If your input needs an ORI token, place it at your intended scaffold center before uploading. ProteinIQ does not choose that center for you; the native model validates its centering requirements.
Inspect chain IDs and residue numbering in the PDB Viewer before setting a custom contig. For example, 30,A10-25,50 requests 30 new residues, the input region A10 through A25, and 50 new residues. That example is valid only when the named region exists in the supplied structure; copying a contig from another protein does not transfer its catalytic geometry.
| Setting | Default | Range | Description |
|---|---|---|---|
Number of samples | 5 | 1-20 | Number of independent scaffold designs to generate. More samples provide structural diversity at the cost of longer computation. |
| Setting | Default | Range | Description |
|---|---|---|---|
N-terminal scaffold | 20 | 0-100 | Number of residues to generate before the motif at the N-terminus. Set to 0 to start directly from the motif. |
C-terminal scaffold | 20 | 0-100 | Number of residues to generate after the motif at the C-terminus. Set to 0 to end at the motif. |
Total scaffold length | 0 (auto) | 0-300 | Target total protein length including motif. When set to a nonzero value, overrides individual N/C-terminal settings. Leave at 0 for automatic sizing. |
| Setting | Default | Range | Description |
|---|---|---|---|
Diffusion steps | 50 | 20-200 | Number of flow matching denoising steps. Higher values may improve structural quality but increase runtime. 50 steps provides a good quality-speed balance. |
Require supplied ORI token | Off | On/Off | When on, requires an ORI HETATM token with coordinates supplied in your PDB. ProteinIQ does not calculate or insert an ORI token. Supplied tokens are always passed to RFdiffusion 2, including when this check is off. The native model may require a token for centering. |
Guidepost mode | On | On/Off | When on, motif positions are treated as flexible guides (unindexed) and the model infers optimal sequence positions. When off, motif positions are fixed at exact sequence indices (indexed). Guidepost mode is recommended for most enzyme design tasks. |
Custom contig | (empty) | Text | Override the auto-generated contig string for advanced control. Format: 20,A1-46,20 where numbers specify scaffold lengths and chain-residue ranges specify preserved motif regions. |
RFdiffusion 2 produces downloadable backbone PDB files for each generated design. The 3D viewer displays each design with the scaffolded protein around the input active site geometry. This run does not produce LigandMPNN-designed sequences or refolded structures.
Design order identifies each primary file's position in the output list; it is not a quality ranking. Supporting downloads retain native .trb metadata, unidealized structures, and other emitted PDB, mmCIF, JSON, text, and log files, together with the inference stdout and stderr logs. A supporting structure is an additional native artifact, not another independently generated design. Files stored before this update retain their original downloads.
RFdiffusion 2 is not a general replacement for the original RFdiffusion. The two models serve different purposes and have different strengths.
| Feature | RFdiffusion | RFdiffusion 2 |
|---|---|---|
| Primary application | Binder design, motif scaffolding, unconditional generation, symmetric oligomers | Enzyme active site scaffolding |
| Active site representation | Residue-level (backbone frames only) | Atom-level (full side-chain coordinates) |
| Training method | DDPM diffusion with self-conditioning | Flow matching without self-conditioning |
| Architecture base | RoseTTAFold | RoseTTAFold All-Atom (RFAA) |
| Ligand handling | No explicit ligand modeling | Ligands as HETATM with RASA conditioning |
| Sequence position inference | Requires pre-specified indices | Can infer indices via guidepost mode |
| AME benchmark (41 active sites) | 16/41 successful | 41/41 successful |
| Design modes | 5 modes (binder, scaffolding, partial diffusion, unconditional, custom) | Enzyme active site scaffolding with optional ligand conditioning |
| Sequence design after backbone generation | Separate ProteinMPNN and structure validation steps | Separate LigandMPNN and structure validation steps |
For general protein design tasks such as binder design, partial diffusion, unconditional generation, or symmetric oligomer assembly, the original RFdiffusion remains the appropriate tool. For all-atom biomolecular interaction design across proteins, DNA, and small molecules, RFdiffusion 3 extends the approach further.
Each output PDB file represents an independent scaffold design that embeds the input active site geometry. Key aspects to evaluate:
The most predictive metric for experimental success is agreement between the designed structure and the independently predicted structure from the designed sequence. Designs where the predicted structure closely recapitulates the catalytic geometry have the highest probability of exhibiting enzymatic activity.
RFdiffusion 2 is specialized for enzyme active site scaffolding. It does not support binder design, unconditional protein generation, or symmetric oligomer assembly. For those tasks, use RFdiffusion or RFdiffusion 3.
Designed enzymes generally exhibit lower catalytic activity than natural enzymes. Theozyme descriptions may not capture all the interactions required for high activity, such as remote residues that contribute to transition-state stabilization through electrostatic preorganization or dynamic effects. The best experimentally validated designs reach k_cat/K_M values in the tens of thousands (M^-1 s^-1), which is orders of magnitude below typical natural enzymes (10^6 to 10^8 M^-1 s^-1).
This run generates backbones rather than complete designed sequences. Sequence design for regions outside the active site requires a separate step, such as LigandMPNN; it is not co-designed with the backbone here.
The model was trained on structures from the Protein Data Bank, which introduces biases toward well-characterized folds and catalytic mechanisms. Novel chemistries or unusual coordination geometries that are underrepresented in the training data may produce lower-quality scaffolds.
Design binders, enzymes and ligand pockets with all-atom flow matching
Generate protein sequences de novo, scaffold fixed motifs, or inpaint selected regions.
All-atom SE(3)-equivariant diffusion for unconditional generation, motif scaffolding, and binder design.
Design all-atom protein binders with controlled target sites, lengths, and interaction parameters.
Generate novel drug-like molecules in protein binding pockets using AI-powered structure-based design.
Generate docking poses, drug-like molecules, and peptides inside protein binding pockets with PocketXMol.
Design proteins from a text description
Design antibody CDRs with Proteo-R1 reasoning, diffusion, and optional framework inpainting.
Design protein structures for de novo scaffolds, binders, motifs, and symmetric oligomers.
Generate de novo protein sequences from plain-text prompts with sampling controls.