pride-fetch
БесплатноЗапускает вложенные скриптыНе проверенQuery metadata and download data from the PRIDE Archive, EMBL-EBI's proteomics identifications database, via the PRIDE Archive REST API v3. Works with…
от ClawBio★ 1 197 звёзд на GitHubОб этом скилле
🦖 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
" - "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-defor differential expression, orproteomics-clockfor 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.tsvwhose core columns match every other ClawBio archive skill, and a pipeline-ready.sdrf.tsvalready 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
- Project metadata: title, organisms, instruments, diseases, keywords, DOI.
- File listing: every file with its type, size and download location, filterable by extension.
- Download: project files, optionally filtered by extension.
- Search: keyword search across PRIDE projects.
- Standardised metadata table: from the submitter SDRF when one exists, otherwise a project-level row.
- Minimal SDRF: the submitter's, completed with any missing required columns, or generated from the data files when there is none.
- 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
- Resolve the input: an accession goes to
metadata; a phrase tosearch. - Fetch: PRIDE REST API v3, paginating the file list.
- Classify: identify acquisitions (
.raw,.mzML,.d,.wiff) versus search results, FASTA and documentation. - 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.
- Report: write
report.md,result.json,tables/metadata.tsv,<accession>.sdrf.tsvand the reproducibility bundle into--output. - Offer, do not act:
download-scriptwrites 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
# 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 PXD0842
Установить pride-fetch в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл pride-fetch?
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.
Как установить скилл pride-fetch?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл pride-fetch запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic