Alphafold

From omar-A-hassan/medsci-agent · View interactive version

Alphafold is an AI agent skill from the GitHub repository omar-A-hassan/medsci-agent. AlphaFold DB for predicted protein structures and pLDDT confidence scores

How to use this skill

Skill file

AlphaFold Database

Overview

AlphaFold DB (by DeepMind and EMBL-EBI) provides predicted 3D structures for over 200M proteins. Structures are predicted by AlphaFold2 and stored with per-residue confidence scores (pLDDT).

API Access

import requests

# Fetch prediction for a UniProt accession
uniprot_id = "P04637"
r = requests.get(f"https://alphafold.ebi.ac.uk/api/prediction/{uniprot_id}")
prediction = r.json()[0]

# Get model URLs
cif_url = prediction["cifUrl"]        # mmCIF format
pdb_url = prediction["pdbUrl"]        # PDB format
pae_url = prediction["paeImageUrl"]   # PAE plot image

Download Structure

# Direct download
pdb_url = f"https://alphafold.ebi.ac.uk/files/AF-{uniprot_id}-F1-model_v4.pdb"
cif_url = f"https://alphafold.ebi.ac.uk/files/AF-{uniprot_id}-F1-model_v4.cif"
pae_url = f"https://alphafold.ebi.ac.uk/files/AF-{uniprot_id}-F1-predicted_aligned_error_v4.json"

pLDDT Confidence Score

Predicted Aligned Error (PAE)

Key Details

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.