alphafold-db
AlphaFold DB Structure Retrieval
Overview
This skill retrieves AlphaFold protein structure predictions from the EBI AlphaFold
Database and exports the accompanying confidence metadata. It addresses the single
biggest fragility in naive AlphaFold download scripts: the model version number is
not stable. The AlphaFold DB retrains models periodically and increments the
version suffix (model_v6 → model_v7, …), so any script that builds the URL as
AF-{ACCESSION}-F1-model_v6.pdb will silently start returning 404s.
Instead, this skill calls GET /api/prediction/{accession} and takes the pdbUrl
field straight from the response — the server always points at the current valid
model. The same response also carries per-protein confidence metrics (global pLDDT
and the residue fractions in each confidence band) which are free and can be used
to filter low-quality models before downloading anything.
The skill also handles the second half of the AlphaFold workflow: selecting the best model from a multi-sample prediction and converting it to PDB format.