biostudies-fetch
Query metadata and download data from EMBL-EBI BioStudies, the database that describes biological studies and links their data across collections…
Skill by Nikolai Hecker, UK Dementia Research Institute
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-biostudies-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.
About
Use cases: backend, data, writing, api-integration, data-pipelines
Reviews
Write a reviewNo 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/biostudies-fetch
What's inside
- Skill name
biostudies-fetch- Description
- 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.
- License
- MIT
- Metadata
- author: Nikolai Hecker, UK Dementia Research Institute · domain: genomics · version: 0.1.0 · data_license: CC0-1.0
- Instructions
- 324 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
- Instructions call the network
Files (6)
- SKILL.md
- biostudies_fetch.py
- biostudies_fetch_api.py
- demo_S-BSST2074.json · examples/
- demo_search.json · examples/
- test_biostudies_fetch.py · tests/
SKILL.md (first lines)
# 🦖 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 to `arrayexpress-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 to `ena-fetch`, `geo-fetch` or `pride-fetch`. A bare `SRR` has no ClawBio skill yet; `ena-fetch` resolves 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.tsv`** whose 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-ready `samplesheet.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 1. **Study metadata**: title, release date, description, organism, file count. 2. **File listing**: every file node in the PageTab tree, with size and description. 3. **Download**: fetch attached files, optionally filtered by path substring. 4. **Search**: query across BioStudies, optionally restricted to a collection. 5. **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 1. **Resolve the input**: an accession goes to `metadata`; a phrase goes to `search`. 2. **Fetch**: call the BioStudies REST API for the study record. 3. **Parse**: walk the PageTab tree for file nodes and sample-like subsections. 4. **Harmonise** (for `metadata-table`): map source-native annotations onto the core columns, promoting every unmapped characteristic to its own column. 5. **Report**: write `report.md`, `result.json`, `tables/metadata.tsv` and 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 ```bash # 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 skills/biostudies-fetch/biostudies_fetch.py metadata S-BSST2074 --output /tmp/bs ``` ## Demo ```bash python clawbio.py run biostudies-fetch --demo ```
From ClawBio/ClawBio, MIT.
More from ClawBio/ClawBio
- 0.825score
polars-bio
ClawBio (adapted from K-Dense scientific-agent-skills/polars-bio)
Fast genomic interval operations (overlap, nearest, merge, coverage, cluster, complement, subtract, count-overlaps), multi-format bioinformatics I/O…
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.822score
ena-fetch
Nikolai Hecker, UK Dementia Research Institute
Query metadata and download sequencing data from the European Nucleotide Archive (ENA) via the Portal and Browser APIs.
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.822score
gi-expression
ClawBio + Genomic Intelligence
Predict tissue / cell-type expression (log TPM + TPM) from 9,198–500,000 bp of DNA around a TSS, at least 4,599 bp each side (anything but exactly 9,198 bp…
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.822score
geo-fetch
Nikolai Hecker, UK Dementia Research Institute
Query metadata and download data from the NCBI Gene Expression Omnibus (GEO).
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.822score
ukb-ppp-region-fetch
ClawBio
Fetch a regional slice of plasma pQTL summary statistics from the UK Biobank Pharma Proteomics Project (UKB-PPP; Sun 2023 Nature) for a specific (protein…
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.822score
eqtl-catalogue-region-fetch
ClawBio
Fetch a region of cis-eQTL summary statistics from EBI eQTL Catalogue v7+ via tabix-on-FTP.
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.822score
protocols-io
ClawBio Contributors
Search, browse, and retrieve scientific protocols from protocols.io via REST API.
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.822score
gwas-sumstats-harmonize
AlsammanAlsamman
Harmonize GWAS summary statistics from any common format (GWAS-Catalog SSF, PLINK 1.9/2, REGENIE, METAL, BOLT, SAIGE) to one canonical table (SNP CHR BP EA…
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.822score
prs-applicability-gate
Rinat Rizvanov
Deterministic gate for ONE already-computed polygenic score result and ONE person: returns SUPPORTED (raw score, standardised score and reference percentile…
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.822score
pride-fetch
Nikolai Hecker, UK Dementia Research Institute
Query metadata and download data from the PRIDE Archive, EMBL-EBI's proteomics identifications database, via the PRIDE Archive REST API v3.
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.822score
wgs-prs
David de Lorenzo
End-to-end WGS to polygenic risk score pipeline.
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.822score
arrayexpress-fetch
Nikolai Hecker, UK Dementia Research Institute
Query metadata and download data from ArrayExpress, EMBL-EBI's functional genomics collection, now hosted inside BioStudies.
SkillAFreshness: A★ 1.2KClaude Code +9
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
- Repository
- github.com/ClawBio/ClawBio
- Website
- clawbio.github.io/ClawBio/
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Nikolai Hecker, UK Dementia Research Institute
- 0.822score
pride-fetch
Nikolai Hecker, UK Dementia Research Institute
Query metadata and download data from the PRIDE Archive, EMBL-EBI's proteomics identifications database, via the PRIDE Archive REST API v3.
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.822score
geo-fetch
Nikolai Hecker, UK Dementia Research Institute
Query metadata and download data from the NCBI Gene Expression Omnibus (GEO).
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.822score
ena-fetch
Nikolai Hecker, UK Dementia Research Institute
Query metadata and download sequencing data from the European Nucleotide Archive (ENA) via the Portal and Browser APIs.
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.822score
arrayexpress-fetch
Nikolai Hecker, UK Dementia Research Institute
Query metadata and download data from ArrayExpress, EMBL-EBI's functional genomics collection, now hosted inside BioStudies.
SkillAFreshness: A★ 1.2KClaude Code +9
Cite this page
biostudies-fetch skill. Agent Mart. https://agentmart.dev/skills/clawbio-biostudies-fetch (last updated 2026-10-24)