Uniprot sequence feature annotation starter
Skill ma-compbio-lab/SkillFoundry/skills/proteomics/uniprot-sequence-feature-annotation-starter
A framework for discovering, compiling, and validating reusable skills for scientific agents.
npx -y skills add ma-compbio-lab/SkillFoundry --skill uniprot-sequence-feature-annotation-starterAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
1.2 KB, 274 tokens by cl100k_base, as published. Nobody here has run it
UniProt Sequence Feature Annotation Starter
Use this skill to fetch a UniProtKB accession from the official UniProt REST API and summarize its sequence features into compact JSON.
What it does
- Calls
https://rest.uniprot.org/uniprotkb/{accession}.json. - Extracts accession, entry ID, protein name, gene names, organism metadata, sequence length, and annotation score.
- Collapses large feature payloads into stable type counts plus a small set of representative sequence features.
When to use it
- You need a lightweight starter for protein sequence-feature annotation.
- You want a deterministic UniProt-backed summary for downstream proteomics or protein biology workflows.
Example
python3 skills/proteomics/uniprot-sequence-feature-annotation-starter/scripts/fetch_uniprot_sequence_feature_summary.py \
--accession P04637 \
--out scratch/uniprot/p04637_sequence_features.json
Verification
- Skill-local tests:
python3 -m unittest discover -s skills/proteomics/uniprot-sequence-feature-annotation-starter/tests -p 'test_*.py' - Canonical example:
python3 skills/proteomics/uniprot-sequence-feature-annotation-starter/scripts/fetch_uniprot_sequence_feature_summary.py --accession P04637