mims-harvard avatar

Tooluniverse Gene Enrichment

Runs GO, KEGG, and Reactome pathway enrichment on gene lists via gseapy or clusterProfiler. Built to solve the two big headaches in enrichment analysis: the canonical notebooks always use pre-computed results that you can't reproduce exactly (because the DEG filter or library snapshot was slightly different), and top hits constantly tie at the same adjusted p-value with no obvious winner. Ships three CLI scripts that handle tie-breaking deterministically, track candidate term ranks through simplify operations, and screen multiple conditions at once. The compute-first philosophy is solid: it immediately checks for executed notebooks and pre-computed CSVs before re-running anything, which saves you from chasing phantom discrepancies when the published answer is already sitting in the data folder.

skills.sh installs
390
GitHub stars
1.8K
last updated
Aug 21, 2026

Install

$ npx -y skills add mims-harvard/tooluniverse --skill tooluniverse-gene-enrichment --agent claude-code

Installs into .claude/skills of the current project.

Files

COMPUTE, DON'T DESCRIBE

When analysis requires computation (statistics, data processing, scoring, enrichment), write and run Python code via Bash. Don't describe what you would do — execute it and report actual results. Use ToolUniverse tools to retrieve data, then Python (pandas, scipy, statsmodels, matplotlib) to analyze it.

Gene Enrichment and Pathway Analysis

RULE ZERO — Check for pre-computed results FIRST

Before following any instruction below, scan the data folder for:

  • *_executed.ipynb → read with tu run read_executed_notebook '{"data_folder":"<path>","search":"<keyword>"}' and cite its cell outputs as the authoritative answer
  • Pre-computed enrichment files (CSV/TSV named *enrich*, *go*, *kegg*, *reactome*, *ego*, *_simplified.csv) → read directly
  • Canonical analysis scripts (analysis.R, run_*.py, find_*.R, *.Rmd) → execute as-is and read the output

Only follow this skill's re-analysis recipe below if none of the above exist. Re-running enrichment from raw DEG lists produces different numbers than the published answer due to subtle filter differences upstream, and is much slower.


PRIMARY SCRIPTS — use these FIRST

Sponsors

Details

Repository
github.com/mims-harvard/tooluniverse
Categories
Frontend Development, CLI & Terminal
First seen
Jun 3, 2026

More from mims-harvard/tooluniverse

All 68
1gocallum avatarmcp-server-skillsgocallum/nextjs16-agent-skillsPattern for building MCP servers in Next.js with mcp-handler, shared Zod schemas, and reusable server actions.387skills.sh installs
2levnikolaevich avatarln-742-precommit-setuplevnikolaevich/claude-code-skillsConfigures Husky, lint-staged, commitlint, and Python pre-commit hooks. Use when adding Git hook automation to a project.385skills.sh installs
3davila7 avatartheme-factorydavila7/claude-code-templatesToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fo384skills.sh installs
4secondsky avatarwoocommerce-backend-devsecondsky/claude-skillsAdd or modify WooCommerce backend PHP code following project conventions. Use when creating new classes, methods, hooks, or modifying existing backend code in W379skills.sh installs
5levnikolaevich avatarln-646-project-structure-auditorlevnikolaevich/claude-code-skillsAudits physical architecture structure: modules, domains, layer layout, junk drawers, and framework placement. Use for structure drift.376skills.sh installs
6grasmash avatardrupal-at-your-fingertipsgrasmash/drupal-claude-skillsComprehensive Drupal patterns from "Drupal at Your Fingertips" by Selwyn Polit. Covers 50+ topics including services, hooks, forms, entities, caching, testing, 375skills.sh installs