omicverse/omicclaw/gsea-enrichment
Claude Code and agent skill by omicverse/omicclaw
- community
Checking that the SKILL.md file is still in the repository.
Gene set enrichment analysis with correct geneset format handling. Critical guidance for loading pathway databases and running enrichment in OmicVerse.
Install
npx vskill@latest install omicverse/omicclaw/gsea-enrichmentSKILL.md
The same SKILL.md was published earlier as omicverse/omicverse-skills/gsea-enrichment.
GSEA and Pathway Enrichment Analysis
Overview
This skill covers gene set enrichment analysis (GSEA) and pathway enrichment workflows in OmicVerse. It provides critical guidance on the correct data formats and API usage patterns to avoid common errors.
Critical API Reference - Geneset Format
IMPORTANT: Use Dictionary Format, NOT File Path!
The ov.bulk.geneset_enrichment() function requires a dictionary of gene sets, NOT a file path string. You must first load the geneset file using ov.utils.geneset_prepare().
CORRECT usage:
WRONG - DO NOT USE:
File Format Support
| File Extension | Load Method | Notes | |
|---|---|---|---|
.txt | ov.utils.geneset_prepare() | OmicVerse format | |
.gmt | ov.utils.geneset_prepare() | Standard GMT format | |
.json | json.load() then convert | Custom handling needed |
Complete Enrichment Workflow
Common Errors and Solutions
Error: "FileNotFoundError" or "pathways_dict is not a dict"
Cause: Passing file path string instead of dictionary to geneset_enrichment() Solution: First load with ov.utils.geneset_prepare(), then pass the returned dictionary
Error: "Missing file 'genesets/GO_Biological_Process_2021.gmt'"
Cause: Pathway database not downloaded Solution: Run ov.utils.download_pathway_database() first
Error: "No enriched pathways found"
Cause: Gene list doesn't overlap with pathway genes, or organism mismatch Solution:
- Verify gene symbols match (human vs mouse capitalization)
- Check
organismparameter matches your data - Ensure gene list has sufficient genes (>10 recommended)
Pathway Databases Available
After running ov.utils.download_pathway_database():
GO_Biological_Process_2021.txtGO_Molecular_Function_2021.txtGO_Cellular_Component_2021.txtKEGG_2021_Human.txtKEGG_2021_Mouse.txtReactome_2022.txtWikiPathway_2023_Human.txt- And many more...
Best Practices
- Always load genesets first: Never pass file paths directly to
geneset_enrichment() - Check gene format: Ensure gene symbols match (CAPS for human, Title case for mouse)
- Download once: Run
download_pathway_database()once per environment - Specify organism: Always set
organism='Human'ororganism='Mouse' - Use background genes: For more accurate results, provide
backgroundparameter
Examples
- "Run GO enrichment on my DEG results using the correct geneset_prepare workflow"
- "Perform KEGG pathway analysis on upregulated genes with proper dictionary format"
- "Compare GO BP, MF, and KEGG enrichment results using geneset_plot_multi"
References
- Tutorial notebook: `t_deg.ipynb` (enrichment section)
- Pathway download:
ov.utils.download_pathway_database() - Quick reference: `reference.md`
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingsrc/omicverse_skills/skills/gsea-enrichment/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/omicverse/omicclaw/gsea-enrichment)