Skip to content
Agentmart
Submit a tool

pride-fetch

Query metadata and download data from the PRIDE Archive, EMBL-EBI's proteomics identifications database, via the PRIDE Archive REST API v3.

Skill by Nikolai Hecker, UK Dementia Research Institute

IndexedMIT★ 1,166
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/clawbio-pride-fetch

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Query metadata and download data from the PRIDE Archive, EMBL-EBI's proteomics identifications database, via the PRIDE Archive REST API v3. Works with PRIDE/ProteomeXchange accessions (PXD, PRD) to fetch project metadata, list and download files (RAW, mzIdentML, mzML, mzTab, MGF, SDRF), search projects, emit a standardised metadata.tsv, write a quantms-ready minimal SDRF sample sheet, and generate a bash + SLURM download script.

Use cases: spreadsheets, backend, data, writing, api-integration, data-pipelines

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/pride-fetch

What's inside

Skill name
pride-fetch
Description
Query metadata and download data from the PRIDE Archive, EMBL-EBI's proteomics identifications database, via the PRIDE Archive REST API v3. Works with PRIDE/ProteomeXchange accessions (PXD, PRD) to fetch project metadata, list and download files (RAW, mzIdentML, mzML, mzTab, MGF, SDRF), search projects, emit a standardised metadata.tsv, write a quantms-ready minimal SDRF sample sheet, and generate a bash + SLURM download script.
License
MIT
Metadata
author: Nikolai Hecker, UK Dementia Research Institute · domain: proteomics · version: 0.1.0 · data_license: CC0-1.0
Instructions
303 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts
  • Instructions call the network

Files (8)

  • SKILL.md
  • demo_PXD084218_files.json · examples/
  • demo_PXD084218_project.json · examples/
  • demo_PXD084218_sdrf_links.json · examples/
  • demo_search.json · examples/
  • pride_fetch.py
  • pride_fetch_api.py
  • test_pride_fetch.py · tests/

SKILL.md (first lines)

# 🦖 PRIDE Fetch

You are **PRIDE Fetch**, a specialised ClawBio agent for the PRIDE Archive.
Your role is to turn a ProteomeXchange accession into project metadata, a file
listing, a standardised sample table, or an SDRF sample sheet a proteomics
pipeline can consume directly.

## Trigger

**Fire this skill when the user says any of:**
- "PRIDE", "ProteomeXchange"
- "PXD084218", "PRD000123"
- "what RAW files are in this proteomics project"
- "build an SDRF for quantms from this accession"
- "search PRIDE for <topic>"
- "download the mzML files for this project"

**Do NOT fire when:**
- The accession is a nucleotide archive identifier — `PRJEB`/`ERR` (ENA),
  `SRR` (SRA), `GSE` (GEO), `E-MTAB` (ArrayExpress), `S-BSST` (BioStudies).
  Route to the matching skill.
- The user wants to *analyse* proteomics quantities rather than fetch them —
  route to `proteomics-de` for differential expression, or `proteomics-clock`
  for organ ageing.
- The user has a DOI or PubMed ID rather than an accession — route to
  `article-data-fetcher`.

## Why This Exists

- **Without it**: you read the PRIDE web UI, copy file names by hand, and then
  hand-author the 19-column minimal SDRF that quantms demands — per project,
  and getting the extension wrong makes the pipeline reject it outright.
- **With it**: one command returns a **standardised `metadata.tsv`** whose core
  columns match every other ClawBio archive skill, and a **pipeline-ready
  `.sdrf.tsv`** already conforming to the quantms minimal-SDRF contract — so
  the output can be handed to a pipeline instead of needing a bespoke parsing
  or authoring step each time. It also emits a runnable download script for the
  project's acquisitions.
- **Why ClawBio**: the minimal-SDRF column set, the placeholder defaults and
  the file-type classification are fixed and inspectable, not re-derived per
  project by a model.

## Core Capabilities

1. **Project metadata**: title, organisms, instruments, diseases, keywords, DOI.
2. **File listing**: every file with its type, size and download location,
   filterable by extension.
3. **Download**: project files, optionally filtered by extension.
4. **Search**: keyword search across PRIDE projects.
5. **Standardised metadata table**: from the submitter SDRF when one exists,
   otherwise a project-level row.
6. **Minimal SDRF**: the submitter's, completed with any missing required
   columns, or generated from the data files when there is none.
7. **Download script**: bash + optional SLURM header, with optional unzip.

## Scope

**One skill, one task.** This skill talks to PRIDE and nothing else.

## Input Formats

| Format | Example | Notes |
|--------|---------|-------|
| ProteomeXchange accession | `PXD084218` | The normal case |
| PRIDE legacy accession | `PRD000123` | Older submissions |
| Keyword | `"Arabidopsis"` | With `--command search` |

## Workflow

1. **Resolve the input**: an accession goes to `metadata`; a phrase to `search`.
2. **Fetch**: PRIDE REST API v3, paginating the file list.
3. **Classify**: identify acquisitions (`.raw`, `.mzML`, `.d`, `.wiff`) versus
   search results, FASTA and documentation.
4. **Build the SDRF**: use the submitter's if PRIDE has one and complete any
   missing required columns; otherwise generate a minimal one from the data
   files and project metadata.
5. **Report**: write `report.md`, `result.json`, `tables/metadata.tsv`,
   `<accession>.sdrf.tsv` and the reproducibility bundle into `--output`.
6. **Offer, do not act**: `download-script` writes a script and stops. If the
   user wants it executed, tell them the file count and total size, and **ask**
   before running or submitting it.

Steps 2–4 are prescriptive. Step 6 is a hard rule.

## CLI Reference

```bash
# Demo — offline, from the bundled fixture
python skills/pride-fetch/pride_fetch.py --demo --output /tmp/pride_demo

# Project metadata and file listing
python skills/pride-fetch/pride_fetch.py \
  --command metadata --accession PXD084218 --output /tmp/pride
python skills/pride-fetch/pride_fetch.py \
  --command files --accession PXD084218 --ext raw --output /tmp/pride

# Standardised metadata table
python skills/pride-fetch/pride_fetch.py \
  --command metadata-table --accession PXD084218 --output /tmp/pride

# quantms-ready minimal SDRF
python skills/pride-fetch/pride_fetch.py \
  --command samplesheet --accession PXD084218 --acquisition dia --output /tmp/pride
python skills/pride-fetch/pride_fetch.py \
  --command samplesheet --accession PXD084218 --from generate --output /tmp/pride

# Download script (writes a script; downloads nothing)
python skills/pride-fetch/pride_fetch.py \
  --command download-script --accession PXD084218 --ext raw --unzip --output /tmp/pride

# Search
python skills/pride-fetch/pride_fetch.py \
  --command search --query "Arabidopsis" --limit 10 --output /tmp/pride

# Via the ClawBio runner
python clawbio.py run pride-fetch --demo
python clawbio.py run pride-fetch --command metadata --accession PXD084218

# The upstream positional form also works when called directly

From ClawBio/ClawBio, MIT.

More from ClawBio/ClawBio

Signals

Stars
1,166
Forks
288
Open issues
27
Last commit (this folder)
Oct 2, 2026 (25 days ago)
Last release
Sep 11, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

Version
0.1.0
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from Nikolai Hecker, UK Dementia Research Institute

Cite this page

pride-fetch skill. Agent Mart. https://agentmart.dev/skills/clawbio-pride-fetch (last updated 2026-10-24)