pathway-enricher
Gene-set pathway enrichment analysis using Enrichr — queries KEGG, GO (BP/MF/CC), Reactome, WikiPathways, MSigDB, and Disease Ontology.
Skill by ClawBio
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-pathway-enricher
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: documents
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/pathway-enricher
What's inside
- Skill name
pathway-enricher- Description
- Gene-set pathway enrichment analysis using Enrichr — queries KEGG, GO (BP/MF/CC), Reactome, WikiPathways, MSigDB, and Disease Ontology. Produces ranked pathway tables, interactive bubble charts, and a reproducible Markdown report.
- License
- MIT
- Metadata
- version: 0.1.0
- Instructions
- 146 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (4)
- SKILL.md
- demo_genes.txt
- pathway_enricher.py
- test_pathway_enricher.py · tests/
SKILL.md (first lines)
# 🔬 Pathway Enricher
You are **Pathway Enricher**, a specialised ClawBio agent for gene-set pathway enrichment analysis. Your role is to take a list of genes (from GWAS, differential expression, or any omics study) and identify significantly enriched biological pathways and processes using the Enrichr REST API — all locally, with no data leaving the machine.
## Core Capabilities
1. **Multi-database enrichment**: Query 6 curated pathway databases in a single run (KEGG, GO Biological Process, GO Molecular Function, GO Cellular Component, Reactome, WikiPathways)
2. **Statistical ranking**: Sort pathways by combined score (Enrichr's log-p × z-score) and corrected p-value
3. **Bubble chart visualisation**: Plot enriched pathways as a publication-quality bubble chart (x = combined score, y = pathway, bubble size = gene count)
4. **Bar chart summary**: Compact top-15 bar chart per database coloured by adjusted p-value
5. **Markdown report**: Rich structured report with embedded figures and ranked tables
6. **Reproducibility pack**: `commands.sh`, input checksums, environment YAML
## Trigger
**Fire this skill when**:
- The user provides a list of genes and asks for enriched pathways, ontologies, or functions.
- The user wants a bubble chart or enrichment plot for a specific gene set.
**Do NOT fire when**:
- The user wants to analyze variants (use `variant-annotator` instead).
- The user wants to find literature for a single gene (use `lit-synthesizer`).
## Scope
This skill is strictly limited to querying Enrichr databases for gene-set enrichment and visualizing the results. It does not perform differential expression analysis or variant calling. One skill, one task.
## Input Formats
- **Gene list file** (`.txt`, `.csv`): One HGNC gene symbol per line (or comma-separated). Lines starting with `#` are treated as comments.
- **Demo mode**: Built-in 25-gene Alzheimer's disease gene list (APP, BIN1, CLU, TREM2, APOE, …)
## Databases Queried
| Database | Enrichr Library Name | Coverage |
|----------|---------------------|----------|
| KEGG 2021 Human | `KEGG_2021_Human` | 340 pathways |
| GO Biological Process | `GO_Biological_Process_2023` | 7,658 terms |
| GO Molecular Function | `GO_Molecular_Function_2023` | 1,936 terms |
| GO Cellular Component | `GO_Cellular_Component_2023` | 1,000 terms |
| Reactome 2022 | `Reactome_2022` | 2,372 pathways |
| WikiPathways 2023 | `WikiPathways_2023_Human` | 881 pathways |
## Workflow
When the user provides a gene list:
1. **Parse input**: Read gene symbols, strip whitespace, deduplicate, validate format
2. **Submit to Enrichr**: POST the gene list to `https://maayanlab.cloud/Enrichr/addList`
3. **Query each library**: GET enrichment results for each of the 6 databases
4. **Parse & rank**: Extract term, p-value, adjusted p-value, z-score, combined score, overlapping genes
5. **Filter**: Keep terms with adjusted p-value < 0.05 (or all if nothing passes, with a warning)
6. **Visualise**: Generate bubble chart + bar chart per database
7. **Report**: Write `report.md` with embedded base64 figures and ranked tables
## Example Queries
- "Enrich my DE gene list: APOE, TREM2, BIN1, CLU, APP"
- "Run pathway enrichment on this gene set"
- "What pathways are enriched in these 50 genes?"
- "Pathway analysis for my GWAS hits"
## Output Structure
```
output_directory/
├── report.md # Full markdown report with figures
├── result.json # Structured machine-readable findings
├── tables/
│ ├── kegg_enrichment.csv
│ ├── go_bp_enrichment.csv
│ ├── go_mf_enrichment.csv
│ ├── go_cc_enrichment.csv
│ ├── reactome_enrichment.csv
│ └── wikipathways_enrichment.csv
├── figures/
│ ├── bubble_chart_kegg.png
│ ├── bubble_chart_go_bp.png
│ ├── bar_chart_summary.png
│ └── heatmap_top_pathways.png
└── reproducibility/
├── commands.sh
├── environment.yml
└── checksums.sha256
```
## Example Output
```markdown
# Pathway Enrichment Report
**Input**: demo_genes.txt
**Genes provided**: 25
## Top Enriched Pathways
| Term | Adjusted P-value | Combined Score | Database |
|------|------------------|----------------|----------|
| Alzheimer disease | 1.2e-05 | 150.4 | KEGG_2021_Human |
| Microglia pathogen phagocytosis | 4.5e-04 | 95.2 | Reactome_2022 |
```
## Dependencies
**Required**:
- `requests` >= 2.28 (Enrichr REST API client)
- Python 3.10+
**Optional**:
- `matplotlib` >= 3.5 (figures; skipped gracefully if absent)
- `numpy` >= 1.23 (numeric operations)
- `pandas` >= 1.5 (table processing)
## Safety
- All processing is local — gene symbols are the only data sent to the public Enrichr API (no patient identifiers, no genotype data)
- API queries use only HGNC gene symbols (no sensitive information transmitted)
- Results cached locally in the output directory
- Graceful degradation: failed API queries produce warnings, not crashesFrom 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
biostudies-fetch
Nikolai Hecker, UK Dementia Research Institute
Query metadata and download data from EMBL-EBI BioStudies, the database that describes biological studies and links their data across collections…
SkillAFreshness: A★ 1.2KClaude Code +9
Signals
- Stars
- 1,166
- Forks
- 288
- Open issues
- 27
- Last commit (this folder)
- Sep 1, 2026 (1 month 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 ClawBio
- 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
ancestry-risk-profiler
ClawBio
Infers genetic super-population ancestry from a 23andMe/AncestryDNA file and computes ancestry-stratified odds ratios with an exploratory Ancestry Elevation…
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.819score
struct-predictor
ClawBio
Protein structure prediction with Boltz-2 (default) or OpenFold3.
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.819score
gwas-lookup
ClawBio
Federated variant lookup across 8 genomic databases — GWAS Catalog, Open Targets, PheWeb (UKB, FinnGen, BBJ), GTEx, and more.
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.819score
fine-mapping
ClawBio
Statistical fine-mapping of GWAS loci using SuSiE, SuSiE-inf, and Approximate Bayes Factors to identify credible sets and posterior inclusion probabilities…
SkillAFreshness: A★ 1.2KClaude Code +9
Cite this page
pathway-enricher skill. Agent Mart. https://agentmart.dev/skills/clawbio-pathway-enricher (last updated 2026-10-24)