alphafold-db
$
npx mdskill add aipoch/medical-research-skills/alphafold-dbRetrieve AlphaFold protein structures and confidence metrics by UniProt ID.
- Fetch 3D structures in mmCIF or PDB formats for specific proteins.
- Access per-residue pLDDT and domain-level PAE reliability scores.
- Query the AlphaFold database using UniProt accession numbers.
- Output downloadable files and structured JSON metadata for pipelines.
SKILL.md
.github/skills/alphafold-dbView on GitHub ↗
--- name: alphafold-db description: Access over 200M protein structures from AlphaFold DB; use when you need to retrieve predicted 3D structures (PDB/mmCIF), confidence metrics (pLDDT/PAE), or protein metadata by UniProt accession. license: MIT author: aipoch --- > **Source**: [https://github.com/aipoch/medical-research-skills](https://github.com/aipoch/medical-research-skills) # AlphaFold Database Skill ## When to Use - You have a UniProt accession (e.g., `P00520`) and need to download its AlphaFold-predicted 3D structure in **mmCIF** or **PDB** format. - You want to assess prediction reliability using **per-residue pLDDT** confidence scores. - You need **PAE (Predicted Aligned Error)** data to support domain-level interpretation or inter-domain confidence checks. - You want to programmatically retrieve AlphaFold DB **metadata** (e.g., model/structure URLs and related fields) for downstream pipelines. - You are building an automated workflow that fetches structures + confidence metrics for many proteins by UniProt ID. ## Key Features - Fetch AlphaFold DB predicted structures by **UniProt accession**. - Download structure files in **mmCIF (default)** or **PDB**. - Retrieve and save **metadata JSON**, including confidence-related fields (e.g., pLDDT) and URL information. - Simple CLI workflow suitable for scripting and batch processing. ## Dependencies - Python `>=3.8` - `requests >=2.25` ## Example Usage Fetch the structure and metadata for a UniProt ID and save them to a directory: ```bash python scripts/fetch_structure.py --uniprot_id P00520 --output_dir ./out --format cif ``` Fetch as PDB instead: ```bash python scripts/fetch_structure.py --uniprot_id P00520 --output_dir ./out --format pdb ``` Expected outputs in `./out`: - `P00520.cif` (or `P00520.pdb`) - `P00520_metadata.json` (includes confidence/URL fields such as pLDDT-related information) ## Implementation Details - **Input identifier**: UniProt accession ID (e.g., `P00520`). - **Formats**: - `--format cif` (default): downloads an mmCIF structure file. - `--format pdb`: downloads a PDB structure file. - **Artifacts written**: - Structure file named `<UNIPROT_ID>.<cif|pdb>`. - Metadata JSON named `<UNIPROT_ID>_metadata.json`, used to store confidence metrics (e.g., pLDDT) and AlphaFold DB URL-related fields. - **API reference**: Endpoint and response details are documented in `references/api_reference.md`.
More from aipoch/medical-research-skills
- 3d-molecule-ray-tracerGenerate photorealistic rendering scripts for PyMOL and UCSF ChimeraX.
- abstract-summarizerTransform lengthy academic papers into concise, structured 250-word abstracts.
- abstract-trimmerPrecision editing tool that reduces abstract word count through intelligent compression techniques, maintaining scientific rigor while meeting strict journal and conference requirements.
- academic-abstract-refinerRefines long medical academic texts into SCI-style unstructured Chinese and English abstracts; use when you need to condense drafts/reports/summaries into bilingual abstracts and generate Summary_Report.md.
- academic-cv-generatorGenerate structured academic CVs from free-form Chinese/English text and export to Word (.docx). Use this skill when you are asked to organize, generate, or optimize an academic CV (e.g., publications/projects/awards) into a consistent, formatted document with uniform-colored section headers and optional bilingual output.
- academic-highlight-generatorGenerates submission-ready Elsevier/SCI Highlights from manuscript text or extracted PDF/DOCX/TXT content. Use when a user needs 3-5 concise, evidence-grounded highlight bullets for a research paper, review, meta-analysis, case report, or bioinformatics manuscript.
- academic-norm-reviewDetects content similarity, verifies standardized citations and abbreviations, and flags potential academic integrity risks; use it before submission, during academic writing QA, or for compliance reviews.
- academic-poster-generatorComplete workflow for generating academic research posters from PDF literature; use when you need to extract paper content from PDFs and produce a LaTeX-based poster (beamerposter/tikzposter/baposter) with mandatory figure generation and a final rendered HTML deliverable.
- acronym-unpackerIntelligent medical abbreviation disambiguation tool that resolves ambiguous acronyms using clinical context, specialty-specific knowledge, and document-level semantic analysis.
- active-comparator-single-soc-faers-safety-comparisonGenerates complete FAERS pharmacovigilance study designs for multi-drug or class-level safety comparison inside one predefined SOC or AE family using active comparators, disproportionality analysis, subgroup characterization, and reviewer-facing evidence control.