Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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от 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-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

# 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
Полный SKILL.md на GitHub

Установить pride-fetch в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

examples/demo_PXD084218_files.jsonexamples/demo_PXD084218_project.jsonexamples/demo_PXD084218_sdrf_links.jsonexamples/demo_search.jsonpride_fetch.pypride_fetch_api.py

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 запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить pride-fetch с