uniprot

Fetch protein sequences and annotations from the UniProt REST API.

151|20|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/adaptyvbio/protein-design-skills --skill uniprot
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: uniprot
Source: https://github.com/adaptyvbio/protein-design-skills/tree/main/skills/uniprot
Command: npx skills add https://github.com/adaptyvbio/protein-design-skills --skill uniprot

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables researchers and developers to quickly retrieve protein sequences and functional annotations from UniProt, streamlining data lookup and cross-referencing related resources.

Core Features & Use Cases

  • Sequence retrieval: Fetch amino acid sequences by UniProt accession.
  • Annotation extraction: Retrieve functional descriptions, domains, and variant information.
  • Cross-references: Access associated PDB structures and related entries to inform design or analysis.
  • Use Case: When you need the sequence of a protein by accession P00533 and want its domain boundaries and 3D structure references for design work.
  • The skill can be used in pipelines to populate local databases or to drive design queries.

Quick Start

Use curl or Python requests to fetch data from the UniProt REST API, for example: curl "https://rest.uniprot.org/uniprotkb/P00533.fasta" and/or curl "https://rest.uniprot.org/uniprotkb/P00533.json"

Frequently Asked Questions about uniprot

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fetch a protein sequence from UniProt using an accession number?

To fetch a protein sequence, query the UniProt REST API endpoint with your accession number, such as requesting the fasta format for a specific entry. This retrieves the exact amino acid sequence needed for your analysis.

Can I retrieve protein domain boundaries and functional annotations from UniProt?

Yes, you can retrieve protein domain boundaries and functional annotations by requesting the JSON format from the UniProt REST API. This provides functional descriptions, domain details, and variant information for the target protein.

How do I find PDB structures related to a specific UniProt entry?

You can find related PDB structures by extracting cross-references from the UniProt JSON response. The API provides associated PDB structure references to support integrated protein design and analysis workflows.

Do I need external dependencies or libraries to access the UniProt REST API?

No external dependencies are required to access the UniProt REST API. You can use standard HTTP requests via curl or Python to fetch sequences and annotations directly without installing additional libraries.

What is the best way to populate a local database with protein annotations from UniProt?

The best way to populate a local database is to script automated HTTP requests to the UniProt REST API. You can pipeline these requests to fetch sequences and annotations systematically for local storage.

Can I use curl to query UniProt for protein sequences and annotations?

Yes, you can use curl to query UniProt by requesting endpoints like the uniprotkb database in fasta or json format. This returns the protein sequence and its functional annotations directly in your terminal.