RFD4-Proteina
Co-design structure and sequence with RFD4-Proteina: protein binders, antibody/VHH CDRs, motif scaffolds, partial-diffusion refinement and inverse folding in one model.
Model details
- Job type
- RFD4_PROTEINA
- Task
- Binder design
- Price
- 45 credits per design
- Workload
- A fixed number of designs; time scales with the count.
- Behavior and limits
- `task` selects the mode and which fields apply. Outputs are full-atom complexes with sequences, so no separate inverse-folding step is needed; `task=spec` runs an RFD4 YAML condition spec verbatim.
- Hotspot input
- params.hotspots, author numbered
- Source
- Baker Lab and NVIDIA, RosettaCommons · github.com/RosettaCommons/RFD4-Proteina
- Paper
- Corley, Didi, Kazman, Brent et al., Biomolecular design through latent reasoning with RFD4-Proteina. preprint 2026.
Example
phi jobs submit RFD4_PROTEINA \
--input target_cif=@target.cif \
--input target_chain_id=A \
--input framework_cif=@framework.cif \
--param task=binder \
--param num_designs=1 \
--param hotspots=A150,A154,A156 \
--param binder_length_min=70 \
--wait --out outParameters
| Name | Type | Default | Description |
|---|---|---|---|
| taskessential | stringone of binder, antibody, motif_scaffold, partial_diffusion, inverse_folding, unconditional, spec | "binder" | Design task: binder (de novo protein binder), antibody (CDR design onto a VHH/Fv framework), motif_scaffold (scaffold a contig from an input structure), partial_diffusion (refine an input structure), inverse_folding (resample sequence on a fixed backbone), unconditional (a de novo monomer of binder_length_min..max residues, no input), or spec (run an RFD4 YAML condition spec verbatim). |
| num_designsessential | integer | 1 | Designs per input example (RFD4 num_replicates). A spec task multiplies this by the number of design keys in the file. |
| hotspotsessential | list of string | Target hotspot residues (max 12), author numbering, e.g. ['A56', 'A115:CG,SD']. A bare residue selects its sidechain heavy atoms. | |
| binder_length_minessential | integer | 70 | Minimum designed binder length. |
| binder_length_maxessential | integer | 100 | Maximum designed binder length. |
| design_loopsessential | string | null | null | CDR loops to design with length ranges, e.g. 'H1:7,H2:6,H3:5-13'. Unset designs every CDR at its framework length -2..+2 (H3: -3..+5). |
| thinkingessential | string | nullone of low, medium, high | null | Trunk recycling budget (RFD4 'thinking level'): low, medium or high. Higher raises pass rates and roughly halves throughput. Unset uses medium; the schedule shape follows the task. |
| refoldessential | boolean | true | Refold every design with the selected oracle and report RFD4's refolding metrics and pass criterion. False computes inline design metrics only. |
| backbone_temperature_k | number | 16 | Backbone TSR temperature control (tsr_k; RFD4 default 16). Higher is colder. |
| compile | boolean | null | null | torch.compile the trunk. Unset compiles only when the job generates 16 or more designs; the warm-up costs minutes. |
| conditions | object | null | null | Advanced: RFD4 'conditions' mapping merged over the generated defaults, e.g. {'C_SEC': {'HELIX': [{'select': "sel('*/LINK')"}]}}. |
| contig | string | null | null | RFD4 contig over the input structure (author numbering), e.g. 'A1-50, LINK:10-30, /0, BINDER:60-90'. Required for motif_scaffold. |
| deterministic_ode | boolean | false | Deterministic ODE sampling with no mid-trajectory noise injection. |
| fix_motif_sequence | boolean | true | Fix the identity of every preserved contig residue (C_SEQ). |
| gpu | string | nullone of a100, t4, a100_80gb, h100, a100_or_h100, a100_80gb_or_h100, a100_preferred, h100_preferred | null | Per-job GPU class override. |
| hydra_overrides | list of string | Advanced: RFD4 Hydra 'key=value' overrides forwarded verbatim (generation.*, search.*, metrics_tags, recycle_strategy, nn.*). | |
| keep_conditions | boolean | true | Reuse the conditions saved in an RFD4-generated input CIF (hotspots, fixed regions). False treats the input as a plain structure. |
| metrics_tags | list of string | null | null | Advanced: replace the task's computed RFD4 metrics_tags list. |
| num_steps | integer | 60 | Flow-matching integration steps. |
| oracle | stringone of af3, of3 | "of3" | Refolding oracle weights: of3 (OpenFold3 ported weights, the default) or af3 (AlphaFold 3 weights, when mounted). Used only when refold is true. |
| partial_fraction | number | 0.3 | Fraction of the trajectory to rerun from the noised input (RFD4 partial_trajectory_fraction_steps). 0.3 stays close to the input; larger drifts. |
| recycle_strategy | string | nullone of low/flat, low/midpeak, low/front_loaded, medium/flat, medium/midpeak, medium/front_loaded, high/flat, high/midpeak, high/front_loaded | null | Advanced: exact RFD4 recycle preset '<low|medium|high>/<flat|midpeak|front_loaded>'. Overrides the task's shape; must agree with `thinking` when both are set. |
| rfd4_batch_size | integer | 1 | Designs generated in parallel on the GPU (RFD4 batch_size). |
| sample_hotspot_patches | boolean | null | null | Resample a fresh 2-3 atom hotspot patch around the given hotspots for every design (RFD4 SampleNearbyHotspots; needs at least one hotspot as the seed). Unset: on for antibody when hotspots are given, off otherwise. |
| save_pdb | boolean | false | Also emit PDB alongside CIF outputs. |
| seed | integer | null | null | Random seed; unset samples a fresh seed. |
| sequence_temperature_k | number | 4 | Sequence/sidechain latent TSR temperature control (tsr_k; RFD4 default 4). Higher is colder. |
| target_conditioning | stringone of internal_backbone, fixed_backbone, fixed_all_atom | "internal_backbone" | How the target is given to the model: internal_backbone keeps the target backbone's internal geometry and sequence while its pose stays free (RFD4's PPI recommendation); fixed_backbone pins backbone coordinates; fixed_all_atom pins every target atom. |
| unindex_motif | boolean | false | Let the model place the preserved segments anywhere along the chain (C_IDX false, one index group). |
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| target_cif_gcs_uriessential | string | null | null | gs:// URI to the target CIF. |
| target_chain_idessential | string | "A" | Auth chain ID(s) of the target in the structure. A single chain ('A') or a comma-separated list ('V,W') for a multi-chain target. Omit when target_crop names the chains. |
| framework_cif_gcs_uriessential | string | null | null | gs:// URI to the framework CIF. |
| design_spec_yamlessential | string | null | null | Inline single-file design spec with no external file references. Sugar for a one-file design_spec_files bundle. |
| design_set | object | null | null | Start from one Phi design instead of an uploaded structure: {'design_ids': ['<uuid>']} naming a generated structure in this project. The new structure is recorded as its child. |
| design_spec_entry | string | null | null | Relative path (within the bundle) of the YAML to run with `boltzgen run`. Defaults to the sole top-level *.yaml when unambiguous. |
| design_spec_files | list of SpecFile | null | null | Design-spec bundle: the entry YAML plus every file it references (scaffold YAMLs, target/framework structures), each tagged with its relative path. Provide a design spec via this, design_spec_gcs_prefix, or design_spec_yaml. |
| design_spec_gcs_prefix | string | null | null | gs:// prefix whose objects already mirror the design-spec bundle tree (alternative to design_spec_files for large/reused frameworks). Use with design_spec_entry. |
| framework_cif | string | null | null | Antibody framework (VHH or Fv) as base64-encoded CIF. Provide one of framework_cif, framework_cif_gcs_uri, framework_pdb, framework_pdb_gcs_uri. |
| framework_heavy_chain_id | string | "H" | Heavy-chain ID in the framework structure. |
| framework_light_chain_id | string | null | null | Light-chain ID in the framework structure; omit for a VHH. |
| framework_pdb | string | null | null | Antibody framework as base64-encoded PDB (converted to CIF). |
| framework_pdb_gcs_uri | string | null | null | gs:// URI to the framework PDB. |
| structure_binder_chain_id | string | null | null | Binder chain in an uploaded starting structure. Required for motif_scaffold, partial_diffusion and inverse_folding unless design_set supplies the chain roles. |
| structure_cif | string | null | null | Starting structure for motif_scaffold, partial_diffusion or inverse_folding as base64-encoded CIF. Provide one of structure_cif, structure_cif_gcs_uri, structure_pdb, structure_pdb_gcs_uri, or design_set. |
| structure_cif_gcs_uri | string | null | null | gs:// URI to the starting CIF. |
| structure_pdb | string | null | null | Starting structure as base64-encoded PDB (converted to CIF). |
| structure_pdb_gcs_uri | string | null | null | gs:// URI to the starting PDB. |
| structure_target_chain_ids | list of string | null | null | Target chains in an uploaded starting structure. Required with structure_binder_chain_id; an empty list is a monomer. |
| target_cif | string | null | null | Target structure as base64-encoded CIF (preferred). Falls back to target_cif_gcs_uri, then target_pdb / target_pdb_gcs_uri. |
| target_crop | string | null | null | Target crop range(s) in unambiguous 'Chain:Start-End' format ('A7:17-209'), comma-separated per chain for multi-chain targets. Legacy forms such as 'V14-107,W14-107' remain accepted. Omit to use the full target chain(s). |
| target_pdb | string | null | null | Target structure as base64-encoded PDB (CIF is auto-converted). |
| target_pdb_gcs_uri | string | null | null | gs:// URI to the target PDB. |
From the live API schema and phi-api's model catalog, 2026-11-23.