Searches and downloads microarray and RNA-seq datasets from NCBI GEO by accession (GSE, GSM, GPL, GDS). Retrieves SOFT, MINiML, and series matrix files for differential-expression analysis.
The Gene Expression Omnibus (GEO) is NCBI's public repository for high-throughput gene expression and functional genomics data. It holds hundreds of thousands of studies (Series) and millions of samples from both array-based and sequence-based experiments. For current totals see the GEO browser at https://www.ncbi.nlm.nih.gov/geo/.
Use this skill when searching for gene expression datasets, retrieving experimental data, downloading raw and processed files, querying expression profiles, or integrating GEO data into computational analysis workflows.
| Scenario | Use Instead |
|---|---|
| Raw FASTQ reads by SRA/ENA run accession | alterlab-ena |
| Reference normal-tissue expression (median TPM, eQTLs) | alterlab-gtex |
| Harmonized single-cell expression across studies (CELLxGENE Census) | alterlab-cellxgene |
| Running differential expression on a count matrix you already have | alterlab-pydeseq2 |
| Tumor mutations / copy number in cancer cohorts | alterlab-cbioportal |
Hand-off rule. When the request matches a row above, open your answer by naming that skill by its exact id (for example alterlab-ena) and saying in one line why it fits better, then stop applying this skill's procedure. Name it even when you also need to ask for missing input. If only part of the request is out of scope, name the skill for that part and do only the in-scope part. A brief general pointer is fine; the named skill does the work.
Bio.Entrez) → see references/searching.md.GEOparse.get_GEO(geo="GSE...", destdir="./data") → see references/geoparse_usage.md.gse.pivot_samples('VALUE') (genes × samples).references/expression_analysis.md.For bulk downloads, skip GEOparse and pull files directly over FTP → see references/data_access.md.
GEO organizes data hierarchically using different accession types:
GSE123456).
Largest organizational unit. Holds experimental design, samples, study info.GSM987654). Linked to platforms and series.GPL570,
Affymetrix Human Genome U133 Plus 2.0 Array). Shared across experiments.GDS5678)
processed for differential analysis. Ideal for quick comparative analyses, but
the curated GDS set is legacy and no longer growing — most recent studies exist
only as GSE Series, so prefer GSE for new work.references/geoparse_usage.mdBio.Entrez) — metadata searching and batch queries across
gds, geoprofiles. Always set Entrez.email. → references/searching.mdreferences/data_access.mdhttps://www.ncbi.nlm.nih.gov/geo/geo2r/?acc=GSExxxxx; generates reproducible
R scripts. Useful for exploratory analysis before downloading.No install step: run Python through uv run, which resolves the packages for that run
(this skill's tools allow uv, not a bare python):
uv run --python ">=3.11" --with GEOparse python get_series.py # GEOparse (pulls pandas, numpy)
uv run --python ">=3.11" --with GEOparse --with biopython --with scipy --with statsmodels python analysis.py
# add --with scikit-learn / --with matplotlib / --with seaborn as the script needs them
Configure NCBI E-utilities access. No key or account is needed: NCBI asks every client to identify itself with a contact email, and an optional API key only raises the rate limit from 3 to 10 requests/second:
import os
from Bio import Entrez
Entrez.email = "[email protected]" # contact email NCBI asks for (no account)
Entrez.api_key = os.environ.get("NCBI_API_KEY") # optional; None = keyless, 3 req/s
time.sleep(0.34) (no key) or time.sleep(0.1) (with key).wget -r for whole
directories).destdir; subsequent calls reuse them.Entrez.email with Biopython.references/searching.md — E-utilities search (datasets, profiles, advanced
queries, search→summary→fetch workflow, batch metadata).references/geoparse_usage.md — GEOparse install/usage, expression matrices,
supplementary files, sample filtering, caching.references/data_access.md — direct FTP access (ftplib, wget, curl) and the
accession-to-path rule.references/expression_analysis.md — QC/preprocessing, differential expression,
correlation/clustering, batch processing, cross-study meta-analysis.references/geo_reference.md — in-depth technical reference: E-utilities API
endpoints, SOFT/MINiML format docs, FTP directory structure, normalization
pipelines, platform quirks, and error-handling troubleshooting.scripts/query_geo.py — runnable helper for GEO DataSets via NCBI E-utilities (no key; NCBI_API_KEY lifts the rate limit). Has a PEP 723 inline-dependency header, so uv run installs requests automatically:
uv run scripts/query_geo.py search "breast cancer AND Homo sapiens[ORGN]" --retmax 5
uv run scripts/query_geo.py summary 200000001,200000002
evals/evals.json (opens in a new tab)references/data_access.md (opens in a new tab)references/expression_analysis.md (opens in a new tab)references/geo_reference.md (opens in a new tab)references/geoparse_usage.md (opens in a new tab)references/searching.md (opens in a new tab)scripts/query_geo.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Not loaded · from alterlab-writing-tools
Claude Code won't load this skill
It ships in alterlab-writing-tools at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
Generated from the plugin's indexed repository (alterlab-ieu/alterlab-academic-skills) — no native marketplace selected
npx claudepluginhub p/alterlab-ieu-alterlab-writing-tools2 plugins in one repository ship this exact skill · first indexed Nov 9, 2026
241 skills in this plugin
/alterlab-abm-mesaBuilds agent-based models of social systems with Mesa 3 — the current AgentSet API (model.agents.shuffle_do('step'), auto-assigned unique_id, mandatory super().__init__(rng=...)), cell spaces (mesa.discrete_space OrthogonalMooreGrid / classic mesa.space grids), the DataCollector, batch_run parameter sweeps, and SolaraViz — for emergence, segregation, diffusion, opinion dynamics, and cooperation models. It uses the Mesa 3.x API (the old mesa.time schedulers like RandomActivation are removed) and treats the model as a generative theory to be validated, not just run. Use when the request mentions an agent-based model, Mesa, simulating interacting agents, or emergent macro behavior from micro rules. For discrete-event (queueing/process) simulation prefer alterlab-simpy; for reinforcement learning prefer alterlab-stable-baselines3. Part of the AlterLab Academic Skills suite./alterlab-academic-careerPrepares academic career documents and professional-development materials for faculty and researchers. Use when drafting academic CVs, research statements, teaching philosophies, diversity statements, faculty-position cover letters, tenure dossiers, promotion narratives, academic portfolios, or mentorship statements, and when planning conference-networking strategy, building academic web presence, setting up ORCID profiles, or understanding impact metrics. Part of the AlterLab Academic Skills suite.Other plugins' skills for the same job