AlphaFold 3 Input Preparation
Use this sub-skill when the task is about constructing or checking AlphaFold 3 fold-input JSON, not about running inference or interpreting outputs.
Route here for
- Creating
alphafold3dialect JSON files withname,modelSeeds,sequences,dialect, andversion. - Validating protein, RNA, DNA, ligand, ion, MSA, template,
userCCD,userCCDPath, andbondedAtomPairsfields. - Converting AlphaFold Server-style fold jobs into AlphaFold 3 inputs and explaining conversion limits.
- Debugging
Input.from_json(...)errors before invoking a prediction run. - Checking path-relative external files such as
unpairedMsaPath,pairedMsaPath,mmcifPath, anduserCCDPath.
Do not handle here
- Runtime database, model, GPU, bucket, or inference flags; route to
../running-predictions/. - Confidence JSON, ranking scores, mmCIF output, or result interpretation; route to
../output-interpretation/. - Lower-level model runner, data pipeline, or Python API integration beyond input parsing; route to
../python-apis/.
Fast workflow
- Draft the input with
dialect: "alphafold3"andversion: 4unless compatibility with an older saved input is required. - Keep one prediction job per AlphaFold 3 JSON file. Use a top-level list only for AlphaFold Server JSON that will be converted.
- Ensure every sequence entity has an uppercase alphabetic
id; use a list of IDs only for identical copies. - Prefer explicit path fields for external content:
unpairedMsaPath,pairedMsaPath,mmcifPath, anduserCCDPath. - Validate before running prediction:
python sub-skills/input-preparation/scripts/validate_fold_input.py fold_input.json
Key references
references/input-json.mdcovers schema recipes, entity fields, conversion constraints, relative paths, and validation rules.references/troubleshooting.mdmaps common parser and preparation failures to fixes.scripts/validate_fold_input.pyprovides a safe local parser check using the installed AlphaFold 3 package.