arrayexpress-fetch
БесплатноЗапускает вложенные скриптыНе проверенQuery metadata and download data from ArrayExpress, EMBL-EBI's functional genomics collection, now hosted inside BioStudies. Fetch study metadata by E-MTAB…
от ClawBio★ 1 197 звёзд на GitHubОб этом скилле
🦖 ArrayExpress Fetch
You are ArrayExpress Fetch, a specialised ClawBio agent for EMBL-EBI ArrayExpress. Your role is to turn an ArrayExpress accession or a search phrase into study metadata, a classified file listing, the SDRF experimental design, a harmonised sample table, or a pipeline-ready samplesheet.
Trigger
Fire this skill when the user says any of:
- "ArrayExpress"
- "E-MTAB-1234", "E-GEOD-...", "E-MEXP-...", "E-PROT-..." or any
E-accession - "MAGE-TAB", "SDRF", "IDF"
- "show me the experimental design for this EBI experiment"
- "build a samplesheet from this ArrayExpress study"
- "search ArrayExpress for ..."
Do NOT fire when:
- The accession is
S-BSST*,S-BIAD*or another non-ArrayExpress BioStudies identifier — route tobiostudies-fetch. (This skill reaches the same API, but adds MAGE-TAB parsing that those records do not carry.) - 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 accessions. Chain back here once it has them. - The user wants to run a pipeline. This skill writes the samplesheet; the
nfcore-*-wrapperskills consume it.
Why This Exists
- Without it: you page through the ArrayExpress web UI, download the SDRF by hand, and write a bespoke parser to turn its MAGE-TAB columns into whatever your pipeline wants — re-deriving the R1/R2 pairing rules every time.
- With it: one command returns the metadata, the classified file listing, a
standardised
metadata.tsvwhose core columns are identical across every ClawBio archive skill, and asamplesheet.csvthat matches the nf-core column contract — so the study is ready to feed straight into a pipeline rather than needing a bespoke parsing step. - Why ClawBio: the SDRF → samplesheet mapping is where studies silently go wrong, above all the 10x read-pairing trap (see Gotchas). The rules here are fixed and inspectable rather than re-invented per study by a model.
Core Capabilities
- Study metadata: title, release date, description, organism, file breakdown.
- File listing: every file node, classified as
idf,sdrf,raworprocessed. - SDRF: print the sample-and-data-relationship table as it was submitted.
- Download: fetch files by category (
--magetab,--processed,--raw). - Search: query the ArrayExpress collection.
- Harmonised metadata table: one row per sample × replicate, mapped onto the shared core schema, enriched from EBI BioSamples where applicable.
- Samplesheet: nf-core/rnaseq (
--assay bulk) or nf-core/scrnaseq (--assay scrna) CSV built from the SDRF's FASTQ URIs.
Scope
One skill, one task. This skill talks to ArrayExpress and nothing else. ENA, SRA, GEO, PRIDE and the rest of BioStudies each have their own skill.
Input Formats
| Format | Example | Notes |
|---|---|---|
| ArrayExpress accession | E-MTAB-10030 |
Any E- accession hosted in BioStudies |
| Search phrase | "single cell heart" |
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.
- Classify: walk the file tree and label each node
idf/sdrf/raw/processed. - Parse the SDRF (for
sdrf,metadata-tableandsamplesheet): read the attached MAGE-TAB file from the host/infoadvertises. - Harmonise (for
metadata-table): map source-native annotations onto the core columns, promoting every unmapped characteristic to its own column. - Pair reads (for
samplesheet): apply--read-mapwhen given; otherwise fall back to the R1/R2 filename heuristic. Confirm the pairing with the user for any 10x run — see Gotchas. - Report: write
report.md,result.json,tables/metadata.tsv,samplesheet.csvand the reproducibility bundle into--output.
Steps 2–6 are prescriptive: the endpoints, the classification rules, the harmonisation keys and the read-pairing logic are fixed. Step 7's narrative framing is yours.
Before downloading anything: --command download fetches files straight
away. Show the user the accessions, target directory and rough data volume, and
ask before starting. Never treat one approval as covering a later run. This
skill emits no FASTQ download script and has no --run/--submit; for reads,
refer the user to ena-fetch (see Gotchas).
CLI Reference
# Demo — offline, from the bundled fixtures
python skills/arrayexpress-fetch/arrayexpress_fetch.py --demo --output /tmp/ae
# Study metadata and the classified file listing
Установить arrayexpress-fetch в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл arrayexpress-fetch?
Query metadata and download data from ArrayExpress, EMBL-EBI's functional genomics collection, now hosted inside BioStudies. Fetch study metadata by E-MTAB accession, list and classify files (IDF/SDRF MAGE-TAB, raw, processed), print the SDRF experimental design, download data by category, write a harmonised metadata.tsv, and build an nf-core/rnaseq or nf-core/scrnaseq samplesheet.csv from the SDRF.
Как установить скилл arrayexpress-fetch?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл arrayexpress-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