alterlab-alphafold-db — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited alterlab-alphafold-db (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
AlphaFold DB is a public repository of AI-predicted 3D protein structures for over 200 million proteins, maintained by DeepMind and EMBL-EBI. Access structure predictions with confidence metrics, download coordinate files, retrieve bulk datasets, and integrate predictions into computational workflows.
This skill should be used when working with AI-predicted protein structures in scenarios such as:
Worked, copy-paste Python recipes for every capability below live in references/code_examples.md. Load it when you need runnable code; the summaries here give the routing and the key decisions.
Three entry points, in order of preference:
Bio.PDB.alphafold_db.get_predictions(accession),download_cif_for(...), get_structural_models_for(...) — simplest path.
GET https://alphafold.ebi.ac.uk/api/prediction/{uniprot_id};the AlphaFold ID is response[0]['entryId'].
use the UniProt ID-mapping job API (get_uniprot_ids helper in code_examples.md §1; valid db names at https://rest.uniprot.org/configure/idmapping/fields).
The /prediction response carries version-stamped file URLs — use those, don't hand-build a `_v{N}` suffix. The DB version advances (currently v6) and old _v4 file URLs now 404:
cifUrl / pdbUrl / bcifUrl — atomic coordinates (mmCIF / PDB / binary CIF).plddtDocUrl — per-residue pLDDT scores (0-100).paeDocUrl — PAE matrix.Download recipe (resolve URLs from the API, write bytes) in code_examples.md §2.
plddtDocUrl, read confidence['confidenceScore'] (keys:residueNumber, confidenceScore, confidenceCategory); thresholds in "Confidence Interpretation Guidelines" below.
paeDocUrl. The endpoint returns a single-element JSON array ofone object, so index [0] before the key (pae[0]['predicted_aligned_error']). Visualization recipe in code_examples.md §3.
For proteome-scale work, pull from gs://public-datasets-deepmind-alphafold-v4/ with gsutil, or query bigquery-public-data.deepmind_alphafold.metadata to filter by organism/confidence. The species-download helper validates the taxonomy ID and uses list-form subprocess.run (never shell=True). See code_examples.md §4 and references/api_reference.md (Google Cloud / BigQuery).
Parse mmCIF with Bio.PDB.MMCIFParser; pLDDT is stored in the B-factor column (residue['CA'].get_bfactor()). Contact-map and B-factor extraction recipes in code_examples.md §5.
Loop accessions → predictions → confidence stats → summary DataFrame. Full example in code_examples.md §6.
uv pip install biopython requests # core: structure access + API
uv pip install numpy matplotlib pandas scipy # analysis + PAE plots
uv pip install google-cloud-bigquery gsutil # optional: bulk GCP access3D-Beacons alternative: AlphaFold is also reachable via the 3D-Beacons federated API (https://www.ebi.ac.uk/pdbe/pdbe-kb/3dbeacons/api/uniprot/summary/{id}.json), filtering structures where provider == 'AlphaFold DB'. Recipe in code_examples.md (3D-Beacons section).
UniProt Accession: Primary identifier for proteins (e.g., "P00520"). Required for querying AlphaFold DB.
AlphaFold ID: Internal identifier format: AF-[UniProt accession]-F[fragment number] (e.g., "AF-P00520-F1").
pLDDT (predicted Local Distance Difference Test): Per-residue confidence metric (0-100). Higher values indicate more confident predictions.
PAE (Predicted Aligned Error): Matrix indicating confidence in relative positions between residue pairs. Low values (<5 Å) suggest confident relative positioning.
Database Version: The REST API currently serves v6 (the response reports latestVersion / allVersions); the bulk GCS/BigQuery datasets lag at v4. File URLs include a version suffix (e.g., model_v6.cif) — read them from the prediction response rather than hardcoding the suffix.
Fragment Number: Large proteins may be split into fragments. Fragment number appears in AlphaFold ID (e.g., F1, F2).
pLDDT Thresholds:
PAE Guidelines:
Worked, copy-paste Python recipes for every Core Capability: prediction retrieval (Biopython / REST / UniProt mapping), file downloads, pLDDT + PAE analysis, GCP/BigQuery bulk access, mmCIF parsing, batch processing, and the 3D-Beacons alternative.
Load this when you need runnable code.
Comprehensive API documentation covering:
Consult this reference for detailed API information, bulk download strategies, or when working with large-scale datasets.
latestVersion); bulk GCS/BigQuery datasets lag at v4/prediction response — never hardcode the _v{N} suffix_v4 file URLs now 404; superseded versions are removed from /filesscripts/query_alphafold.py — runnable helper for the AlphaFold REST API (no key):
python scripts/query_alphafold.py prediction P00520
python scripts/query_alphafold.py confidence P00520 --summary
python scripts/query_alphafold.py download P00520 --fmt cif -o ./structures~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.