Agent skill · Databases

interpro-database

Query InterPro REST API for protein domain architecture, family classification, and member-DB integration. Search entries, retrieve a protein's domains, list family members, get taxonomic distribution, link to PDB. Unifies Pfam, PANTHER, PIRSF, PRINTS, PROSITE, SMART, CDD, NCBIfam. Use uniprot-protein-database for sequences; pdb-database for 3D structures.

BioTender-maxgithub.com/BioTender-maxGitHub ↗
claude-codeNOASSERTION
Install
npx skills add BioTender-max/awesome-bio-agent-skills --skill interpro-database --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 30 KB
Bundled scripts: none
Path: skills/sciagent/interpro-database/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 135
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

Review
written from the skill's own SKILL.md · Aug 5, 2026

What it does

Retrieves and cross-links protein domain architecture, family classifications, taxonomy distributions, and structure data via the InterPro REST API. It supports searching entries, retrieving per-protein domain maps, listing proteins containing an InterPro entry, obtaining taxonomy summaries, and linking to PDB structures. It also includes utilities to fetch FASTA sequences for proteins in a given InterPro entry.

How it works

The skill provides concrete Python code blocks that:

  • Define a base function interpro_get to perform GET requests to the InterPro API and parse JSON.
  • Use entry/search endpoints to fetch InterPro entries by keyword or by accession, returning and printing metadata like accession, type, and name.
  • Retrieve protein domain architectures for UniProt accessions from /entry/interpro/protein/uniprot/{acc}/, including per-entry nested protein locations and counts.
  • Compare domain sets between two proteins by calling the domain-architecture function and computing set intersections and differences.
  • List proteins containing a given InterPro entry via /protein/{db}/entry/interpro/{IPR}/, with an option to restrict to reviewed entries.
  • Paginate all proteins for a family by repeatedly following the next link, collecting results.
  • Get taxonomic distributions via /taxonomy/uniprot/entry/interpro/{IPR}/, and print top taxa with rank and names.
  • Retrieve PDB structures linked to an InterPro entry via /structure/pdb/entry/interpro/{IPR}/, printing accession, resolution, and experiment type.
  • Download FASTA sequences for proteins in a family by first collecting protein entries and then streaming FASTA from UniProt for the collected accessions.

When to use it

  • When you need to identify all domains and families in a protein by UniProt accession (domain architecture)
  • When you want to search for proteins containing a particular domain or family
  • When you need taxonomic distribution for organisms encoding a given domain or family
  • When you want to link a domain to experimental 3D structures in PDB
  • When you want to discover InterPro entries by keyword or by accession
  • When you need to retrieve UniProt sequences or to download domain-aligned sequences or build HMM profiles

What it can touch

  • InterPro REST API endpoints at https://www.ebi.ac.uk/interpro/api
  • Uniprot REST API endpoint https://rest.uniprot.org/uniprotkb/stream
  • Local Python dependencies: requests, time, pandas (in examples), and standard JSON handling as shown in the code blocks

Caveats

  • The Quick Start and code blocks depend on internet access and the InterPro API being available; there are notes about potential timeouts for large queries and the use of next cursors for pagination.
  • The examples include a note that certain endpoints may time out for very large protein families; the code demonstrates iteration using the next URL and time.sleep between requests where applicable.
  • The license is shown as CC-BY-4.0 in the skill metadata; no explicit license text is included in the snippet beyond that.
From the SKILL.md

# InterPro Database ## Overview InterPro is the EBI's integrated protein family, domain, and functional site database. It consolidates signatures from 13 member databases (Pfam, PANTHER, PIRSF, PRINTS, PROSITE, SMART, CDD, NCBIfam, and others) into unified InterPro entries, each describing a homologous superfamily, domain, family, repeat, or conserved site. The REST API at `https://www.ebi.ac.uk/interpro/api/` is free and requires no authentication. ## When to Use - Identifying all domains and families present in a protein by UniProt accession (domain architecture) - Searching for proteins that contain a specific domain or belong to a specific family - Finding the taxonomic distribution of organisms that encode a given domain or family - Cross-linking a domain to experimental 3D structures in the PDB - Checking which source databases (Pfam, PANTHER, SMART, etc.) cover an InterPro entry - Discovering InterPro entries by keyword (e.g., "kinase domain") when you do not yet know the accession - For protein sequence retrieval, functional annotations (GO, pathways, active sites), and ID mapping use `uniprot-protein-database` - For downloading domain-aligned sequences or building HMM prof

What's inside
Steps it walks through
  1. Overview
  2. When to Use
  3. Prerequisites
  4. Quick Start
  5. Core API
  6. Query 1: Entry Search
  7. Query 2: Protein Domain Architecture
  8. Query 3: Entry Proteins
  9. Query 4: Entry Taxonomy
  10. Query 5: Structure Integration
  11. Query 6: Domain Sequence Retrieval
  12. Key Concepts
  13. InterPro Entry Types
  14. Member Database Hierarchy
Commands it runs
pip install requests pandas matplotlib
More from awesome-bio-agent-skills
All skills →
About this skill
What does the interpro-database skill do?

Query InterPro REST API for protein domain architecture, family classification, and member-DB integration. Search entries, retrieve a protein's domains, list family members, get taxonomic distribution, link to PDB. Unifies Pfam, PANTHER, PIRSF, PRINTS, PROSITE, SMART, CDD, NCBIfam. Use uniprot-protein-database for sequences; pdb-database for 3D structures.

How do I install it?

Run `npx skills add BioTender-max/awesome-bio-agent-skills --skill interpro-database --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From BioTender-max/awesome-bio-agent-skills, a repository with 135 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going