pdb-database
Skill by davila7
Searches the RCSB PDB for 3D protein and nucleic acid structures, downloads coordinate files and retrieves structural metadata. Intended for structural biology and drug discovery work.
Install pdb-database
Built from the published package, never by AI.
git clone --depth 1 https://github.com/davila7/claude-code-templates /tmp/claude-code-templates && mkdir -p ~/.claude/skills && cp -r /tmp/claude-code-templates/cli-tool/components/skills/scientific/pdb-database ~/.claude/skills/pdb-databaseRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/davila7/claude-code-templates /tmp/claude-code-templates && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/claude-code-templates/cli-tool/components/skills/scientific/pdb-database ~/.gemini/antigravity-cli/skills/pdb-databaseAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The PDB Database skill gives an AI assistant access to the RCSB PDB, the worldwide repository for 3D structural data of biological macromolecules. It covers more than 200,000 experimentally determined structures and computed models. The assistant can search by text, sequence, attributes or 3D structure, and fetch entry and polymer entity data through the rcsb-api Python package.
It can also download coordinate files in PDB and mmCIF formats, and BinaryCIF through the ModelServer API. Users can retrieve metadata such as experimental method, resolution and deposition date, and run batch operations over lists of PDB IDs. The source says it is for structural biology, drug discovery, protein engineering and education.
Written from the project's SKILL.md and checked against it.
What it can do
- Text searchFinds PDB entries by protein name, keywords or descriptions.
- Attribute searchQueries structures by properties such as organism, resolution and method.
- Sequence similarity searchFinds structures similar to a given amino acid sequence.
- Structure similarity searchFinds structures with similar 3D geometry to a given entry.
- Entry and entity data retrievalFetches entry-level and polymer entity data by PDB ID using the Data API.
- Coordinate file downloadDownloads PDB, mmCIF and BinaryCIF coordinate files.
- Batch operationsRetrieves titles, resolution and organism for multiple PDB IDs in one loop.
What you need
- Python
- rcsb-api Python package
- BioPython, if parsing downloaded coordinate files
Try asking
- Find human protein structures with resolution better than 2.0 Å
- Download the mmCIF file for PDB entry 4HHB
- Find structures with sequences similar to my protein sequence
Good to know
- The legacy rcsbsearchapi package is deprecated in favor of rcsb-api.
- Rate limiting and troubleshooting details are in the reference file, not in SKILL.md.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: cli-tool/components/skills/scientific/pdb-database/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md9 KB -
references/api_reference.md15 KB
Alternatives to pdb-database
All alternatives →Searches arXiv for scientific papers and preprints, extracts their metadata and abstracts, and downloads PDF or HTML full text. Suited to users who need research papers, literature or specific arXiv IDs.
Downloads AlphaFold predicted structures and PAE matrices for a UniProt ID, then reports pLDDT confidence, domain boundaries and disorder. Built for users who already have a UniProt accession.
Queries the QuickGO and Evidence & Conclusion Ontology REST API to map genes to Gene Ontology terms. Built for researchers doing functional annotation and GO hierarchy exploration.
Connects an AI assistant to Peloton to browse fitness classes, check live and archived schedules, and manage workouts. Built for Peloton users who want to plan rides from their assistant.
Queries NCBI Gene through the E-utilities and Datasets API. It helps researchers search genes by symbol or ID, retrieve gene details, and run batch lookups for annotation and functional analysis.
Prepares and launches nf-core/pacsomatic runs for matched tumor-normal PacBio HiFi data starting from unaligned BAM files. It generates samplesheets and pinned launch artifacts, then runs locally or submits to a scheduler.
Compare with literature-search-arxiv, alphafold-database-fetch-and-analyze or quickgo-database
pdb-database: common questions
Does this skill cover AlphaFold models?
The source says AlphaFold and ModelArchive entries use the AF_ or MA_ prefixes in their IDs. The overview also mentions computed models alongside experimental structures.
Which file formats can it download?
The source lists PDB, mmCIF and BinaryCIF formats. BinaryCIF access uses the ModelServer API.
Which Python package should I use?
The source recommends the rcsb-api package. The older rcsbsearchapi package is marked deprecated.
How do I install pdb-database?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is pdb-database free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is pdb-database safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to pdb-database?
Similar skills: literature-search-arxiv, alphafold-database-fetch-and-analyze, quickgo-database, peloton.
