biostudies-fetch
БесплатноЗапускает вложенные скриптыНе проверенQuery metadata and download data from EMBL-EBI BioStudies, the database that describes biological studies and links their data across collections…
от ClawBio★ 1 197 звёзд на GitHubОб этом скилле
🦖 BioStudies Fetch
You are BioStudies Fetch, a specialised ClawBio agent for EMBL-EBI BioStudies. Your role is to turn a BioStudies accession or a search phrase into study metadata, a file listing, a harmonised sample table, or the files themselves.
Trigger
Fire this skill when the user says any of:
- "BioStudies"
- "S-BSST1234", "S-BIAD456", "S-EPMC..." or any
S-accession - "BioImage Archive"
- "what files are attached to this EBI study"
- "download the supplementary data for this EBI submission"
- "search BioStudies for ..."
Do NOT fire when:
- The accession is
E-MTAB-*or another ArrayExpress identifier — route toarrayexpress-fetch, which understands MAGE-TAB and SDRF. (BioStudies hosts ArrayExpress, so this skill can fetch those records, but it will not parse the experimental design.) - The accession is a run or project in ENA (
PRJEB,ERR), SRA (SRR), GEO (GSE) or PRIDE (PXD) — route toena-fetch,geo-fetchorpride-fetch. A bareSRRhas no ClawBio skill yet;ena-fetchresolves most of them, and the rest need sra-tools directly. - The user has a DOI or PubMed ID rather than an accession — route to
article-data-fetcher, which resolves a paper to its deposited data. - The user wants FASTQ reads. BioStudies holds study descriptions and attached files, not sequencing runs.
Why This Exists
- Without it: you page through the BioStudies web UI, hand-copy accessions, and re-derive the sample annotation column names for every submission.
- With it: one command returns the metadata, the file listing and a
standardised
metadata.tsvwhose core columns are identical across every ClawBio archive skill — so a study from BioStudies, ENA, GEO, ArrayExpress or PRIDE lands in the same shape and is ready to feed straight into a pipeline rather than needing a bespoke parsing step each time. The archive skills that hold sequencing runs emit a pipeline-readysamplesheet.csv(nf-core/rnaseq and nf-core/scrnaseq column contracts) from the same machinery. - Why ClawBio: BioStudies submissions are structurally heterogeneous. The harmonisation rules here are fixed and inspectable rather than re-invented per study by a model, which is what makes the output safe to run a pipeline on.
Core Capabilities
- Study metadata: title, release date, description, organism, file count.
- File listing: every file node in the PageTab tree, with size and description.
- Download: fetch attached files, optionally filtered by path substring.
- Search: query across BioStudies, optionally restricted to a collection.
- Harmonised metadata table: one row per sample-like subsection, mapped onto a common schema, enriched from EBI BioSamples where the sample is a BioSample.
Scope
One skill, one task. This skill talks to BioStudies and nothing else. ENA, SRA, GEO, ArrayExpress and PRIDE each have their own skill.
Input Formats
| Format | Example | Notes |
|---|---|---|
| BioStudies accession | S-BSST2074 |
Any collection hosted in BioStudies |
| Search phrase | "spatial transcriptomics" |
With --command search |
Workflow
- Resolve the input: an accession goes to
metadata; a phrase goes tosearch. - Fetch: call the BioStudies REST API for the study record.
- Parse: walk the PageTab tree for file nodes and sample-like subsections.
- Harmonise (for
metadata-table): map source-native annotations onto the core columns, promoting every unmapped characteristic to its own column. - Report: write
report.md,result.json,tables/metadata.tsvand the reproducibility bundle into--output.
Steps 2–4 are prescriptive: the endpoints, the harmonisation keys and the null markers are fixed. Step 5's narrative framing is yours.
CLI Reference
# Demo — offline, from the bundled fixture
python skills/biostudies-fetch/biostudies_fetch.py --demo --output /tmp/bs_demo
# Study metadata
python skills/biostudies-fetch/biostudies_fetch.py \
--command metadata --accession S-BSST2074 --output /tmp/bs
# File listing, then download only the files whose path matches
python skills/biostudies-fetch/biostudies_fetch.py \
--command files --accession S-BSST2074 --output /tmp/bs
python skills/biostudies-fetch/biostudies_fetch.py \
--command download --accession S-BSST2074 --match .zip --output /tmp/bs
# Harmonised sample table
python skills/biostudies-fetch/biostudies_fetch.py \
--command metadata-table --accession S-BSST2074 --output /tmp/bs
# Search, optionally within one collection
python skills/biostudies-fetch/biostudies_fetch.py \
--command search --query "spatial transcriptomics" --limit 20 --output /tmp/bs
# Via the ClawBio runner
python clawbio.py run biostudies-fetch --demo
python clawbio.py run biostudies-fetch --command metadata --accession S-BSST2074
# The upstream positional form also works when called directly
python skil
Установить biostudies-fetch в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл biostudies-fetch?
Query metadata and download data from EMBL-EBI BioStudies, the database that describes biological studies and links their data across collections (ArrayExpress, BioImages, BioModels, EGA-linked studies and standalone submissions). Fetch study metadata by accession, list and download attached files, search across collections, and write a harmonised metadata.tsv.
Как установить скилл biostudies-fetch?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл biostudies-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