pathway-enricher
БесплатноЗапускает вложенные скриптыНе проверенGene-set pathway enrichment analysis using Enrichr — queries KEGG, GO (BP/MF/CC), Reactome and WikiPathways. Produces ranked pathway tables, bubble charts…
от ClawBio★ 1 197 звёзд на GitHubОб этом скилле
🔬 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 public Enrichr REST API. The gene symbols are sent to Enrichr; nothing else leaves the machine.
Core Capabilities
- Multi-database enrichment: Query 6 curated pathway databases in a single run (KEGG, GO Biological Process, GO Molecular Function, GO Cellular Component, Reactome, WikiPathways)
- Statistical ranking: Sort pathways by combined score (Enrichr's log-p × z-score) and corrected p-value
- Bubble chart visualisation: Plot enriched pathways as a publication-quality bubble chart (x = combined score, y = pathway, bubble size = gene count)
- Bar chart summary: Compact top-8 bar chart per database coloured by adjusted p-value
- Markdown report: Rich structured report with embedded figures and ranked tables
- Reproducibility pack:
commands.sh,result.jsonchecksum, 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-annotatorinstead). - 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 | Terms |
|---|---|---|
| KEGG 2021 Human | KEGG_2021_Human |
320 |
| GO Biological Process | GO_Biological_Process_2023 |
5,407 |
| GO Molecular Function | GO_Molecular_Function_2023 |
1,147 |
| GO Cellular Component | GO_Cellular_Component_2023 |
474 |
| Reactome 2022 | Reactome_2022 |
1,818 |
| WikiPathways 2023 Human | WikiPathway_2023_Human |
801 |
Term counts are Enrichr's numTerms from GET /Enrichr/datasetStatistics, read 2026-11-26.
Newer libraries exist (e.g. KEGG_2026, GO_Biological_Process_2026,
Reactome_Pathways_2024, WikiPathways_2024_Human); these pins are not the latest.
Workflow
When the user provides a gene list:
- Parse input: Read gene symbols, strip whitespace, deduplicate, validate format
- Submit to Enrichr: POST the gene list to
https://maayanlab.cloud/Enrichr/addList - Query each library: GET enrichment results for each of the 6 databases
- Parse & rank: Extract term, p-value, adjusted p-value, z-score, combined score, overlapping genes
- Filter: Keep terms with adjusted p-value < 0.05 (or all if nothing passes, with a warning)
- Visualise: Generate bubble chart + bar chart per database
- Report: Write
report.mdwith linked figures and ranked tables. A library whose query failed is marked Query failed in the report and listed inresult.jsonunderfailed_databases; if every library fails the run exits 1
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
# 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.12+
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
Установить pathway-enricher в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл pathway-enricher?
Gene-set pathway enrichment analysis using Enrichr — queries KEGG, GO (BP/MF/CC), Reactome and WikiPathways. Produces ranked pathway tables, bubble charts, and a reproducible Markdown report.
Как установить скилл pathway-enricher?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл pathway-enricher запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic