RF Diffusion Potentials Config¶
Builds a configuration object for guiding potentials used during RF Diffusion protein design. It parses a structured string describing one or more potentials, sets global guiding parameters (scale and decay), and defines oligomer contact behavior and optional substrate targeting. The output JSON is intended to be connected to the RF Diffusion node’s potentials_config input.

Usage¶
Use this node when you want to bias RF Diffusion designs with energy-like guiding terms (e.g., radius of gyration, contact potentials, substrate interactions). Provide a semicolon-separated list of potential specifications and set global controls (guide_scale, guide_decay). Connect the resulting potentials_config to the RF Diffusion node to apply these constraints during sampling.
Inputs¶
| Field | Required | Type | Description | Example |
|---|---|---|---|---|
| guiding_potentials | True | STRING | Semicolon-separated potentials. Each potential is a comma-separated list of key:value pairs starting with type: | type:monomer_ROG,weight:1,min_dist:15;type:olig_contacts,weight_intra:1,weight_inter:0.1,r_0:8,d_0:2 |
| guide_scale | True | INT | Global scale (strength) applied to guiding potentials. | 10 |
| guide_decay | True | STRING | Schedule describing how potential strength changes over steps. Options: constant, linear, quadratic, cubic. | constant |
| olig_inter_all | True | BOOLEAN | If true, apply inter-chain contact potential to all off-diagonal chain pairs. | False |
| olig_intra_all | True | BOOLEAN | If true, apply intra-chain contact potential within all chains (on-diagonal). | False |
| olig_custom_contact | True | STRING | Custom chain-pair contacts for oligomer potentials. Comma-separated pairs; '!' denotes repulsive, '&' denotes attractive. | A!B,B&C |
| substrate | True | STRING | Ligand residue name present in the input PDB (HETATM) used by substrate-focused potentials. Leave empty to disable. | LLK |
Outputs¶
| Field | Type | Description | Example |
|---|---|---|---|
| potentials_config | JSON | Configuration dictionary aggregating guiding_potentials list, global scaling/decay, oligomer contact flags/custom contacts, and substrate. Connect to the RF Diffusion node’s potentials_config. | {'guiding_potentials': ['type:monomer_ROG,weight:1,min_dist:15', 'type:olig_contacts,weight_intra:1,weight_inter:0.1,r_0:8,d_0:2'], 'guide_scale': 10, 'guide_decay': 'constant', 'olig_inter_all': False, 'olig_intra_all': False, 'olig_custom_contact': 'A!B,B&C', 'substrate': 'LLK'} |
Important Notes¶
- If guiding_potentials is left empty or parses to no valid entries, it is set to null (disables guiding potentials).
- Potentials must be semicolon-separated; each potential must include type:
and any parameters as key:value pairs separated by commas. - substrate must match an actual ligand residue name in the input PDB; otherwise substrate-based potentials will have no effect.
- olig_custom_contact uses '!' for repulsion and '&' for attraction between chain IDs (e.g., A!B makes A-B repulsive).
- guide_scale controls overall strength; very high values can overly constrain sampling.
- This node only assembles configuration; it does not perform design. Connect its output to the RF Diffusion node’s potentials_config input.
Troubleshooting¶
- Invalid potentials format: Ensure each segment looks like type:monomer_ROG,weight:1,min_dist:15 and segments are separated by semicolons.
- No effect from substrate potentials: Confirm the ligand residue name (e.g., LLK, HEM, ATP) exists in the input PDB as a HETATM and is spelled correctly.
- Unexpected oligomer contacts: Review olig_inter_all/olig_intra_all and any olig_custom_contact entries for unintended global contacts.
- Design collapses or fails to explore: Reduce guide_scale or switch guide_decay from constant to linear/quadratic/cubic.
- Too weak guidance: Increase guide_scale, or add/adjust specific potentials (e.g., interface_ncontacts with tuned r_0 and d_0).