Skip to content

Alphafold

Runs protein structure prediction from MSA (A3M) alignments and returns ranked PDB models. Supports single-chain (monomer) presets and deterministic seeding per sequence. TEST and MOCK modes are available for quick checks or offline examples.
Preview

Usage

Use after generating MSAs with an MSA search node. Provide the A3M alignments, choose the Alphafold model preset, optionally disable specific model indices, and run to obtain ranked PDB structures. Typical workflow: MSA Search -> Alphafold -> downstream analysis or visualization.

Inputs

FieldRequiredTypeDescriptionExample
a3mTrueMSADictionary of MSA results in A3M format, keyed by sequence ID. Each value is the A3M text for that sequence.{'seq1': '>query/1-100\\nACDEFG...\\n>hit1\\nAC-EFG...', 'seq2': '>query/1-85\\nMKTA...\\n>hit1\\nMK-A...'}
search_templatesTrueBOOLEANWhether to search for structural templates prior to prediction.True
model_presetTrueSTRINGAlphafold model preset to use. Options: monomer, monomer_ptm, monomer_casp14, multimer. Multimer is currently not supported.monomer_ptm
models_to_relaxTrueSTRINGControls relaxation of predicted models. Options: NONE, BEST, ALL. Relaxation is not supported yet; must be NONE.NONE
enable_gpu_relaxTrueBOOLEANWhether to run relaxation on GPU or CPU (effective only if relaxation were supported).True
skip_modelsTrueSTRINGComma-separated indices of Alphafold models to skip (1-5). Cannot skip all five. Example: "3,5".2,5
seedTrueINTBase random seed. If multiple sequences are processed, each sequence uses seed + index to ensure reproducibility.42
modeTrueSTRINGExecution mode. MOCK uses bundled example outputs, PROD runs full prediction, TEST reduces compute by limiting models and disabling templates.PROD

Outputs

FieldTypeDescriptionExample
folding.pdbPDBDictionary of ranked PDB structures keyed by '_'. Each value is PDB file content as text.{'seq1_rank_1': 'HEADER ...\\nATOM ...\\nEND', 'seq1_rank_2': 'HEADER ...\\nATOM ...\\nEND'}

Important Notes

  • Unsupported features: Multimer preset and relaxation (models_to_relax other than NONE) are not supported and will raise errors.
  • Skip models validation: Indices must be in [1,5] and you cannot skip all five models.
  • TEST mode behavior: Forces skipping models 2-5 and disables template search to speed up runs.
  • Input consistency: The A3M dictionary keys define sequence IDs; internal processing requires consistent IDs across generated features.
  • Seeding: For multiple sequences, the node increments the base seed per sequence (seed + sequence_index) for reproducibility.
  • MOCK mode: Returns predefined example results for demonstration without running prediction.

Troubleshooting

  • Error: Multimer model not supported: Set model_preset to a monomer option (e.g., monomer or monomer_ptm).
  • Error: Relaxation not supported: Set models_to_relax to NONE.
  • Error: Invalid skip_models: Ensure values are comma-separated integers within 1-5 and do not include all five indices.
  • No or mismatched outputs: Verify that input A3M keys are correct and correspond to intended sequence IDs; ensure A3M content is valid.
  • Unexpected TEST results: Remember TEST mode restricts to a single model and disables templates; switch to PROD for full predictions.
  • Empty or low-quality structures: Check MSA quality and coverage. Re-run MSA search with appropriate databases before predicting.