Terminal
Terminal/Skill
Fetches AlphaFold predicted protein structures by UniProt ID and reports confidence scores, domain boundaries and disorder.
By Google
Works with
npx skills add google-deepmind/science-skills --skill alphafold-database-fetch-and-analyzeuv: Read the uv skill and follow its Setup instructions to ensure
uv is installed and on PATH.Downloads AlphaFold predicted structures (mmCIF) and Predicted Aligned Error (PAE) matrices from the AlphaFold Database for a given UniProt ID, then performs automated heuristic analysis on structural confidence (pLDDT), intrinsically disordered regions, rigid domain boundaries, and inter-domain flexibility.
Do NOT use when:
1. Fetch Structure Files
Downloads the .cif structure file, _predicted_aligned_error.json, and API
metadata JSON (-metadata.json) for a UniProt ID. Handles fragment fallback for
very large proteins.
Examples:
uv run scripts/fetch_structure.py P00520 -o /path/to/output/
uv run scripts/fetch_structure.py P04637 -o /path/to/custom_results/
Always specify -o with an absolute path or a path relative to the user's
project root, never a path relative to the skill directory.
2. Analyze pLDDT Confidence
Reads pLDDT confidence metrics from a saved AFDB metadata JSON file (produced by
fetch_structure.py) and prints a heuristic confidence assessment (structured,
disordered, mixed).
Example:
uv run scripts/analyze_plddt.py ./data/AF-P00520-F1-metadata.json
3. Analyze PAE / Domain Boundaries
Reads a downloaded PAE JSON file and detects rigid domain boundaries using a sliding-window PAE heuristic.
Example:
uv run scripts/analyze_pae.py ./data/AF-P00520-F1-predicted_aligned_error_v6.json
The script prints analysis to stdout. Read it carefully and synthesize the results for the user:
[!] WARNING lines. If the script reports that no canonical entry was
found and an isoform was used, or if the protein is very large (>2700 AAs),
you MUST prominently relay this warning to the user. Do not omit this
warning.