gsea-enrichment-analysis

Enforce dictionary gene sets for OmicVerse bulk geneset enrichment.

1.2k|145|Updated Mar 22, 2021
One-click install
npx skills add https://github.com/Starlitnightly/omicverse --skill gsea-enrichment-analysis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gsea-enrichment-analysis
Source: https://github.com/Starlitnightly/omicverse/tree/main/.claude/skills/gsea-enrichment
Command: npx skills add https://github.com/Starlitnightly/omicverse --skill gsea-enrichment-analysis

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill guides correct GSEA and pathway enrichment workflows, emphasizing proper data formats and API usage to avoid common errors in OmicVerse.

Core Features & Use Cases

  • Correct Geneset Format: always load gene sets into a dictionary before enrichment.
  • File Format Support: load .txt, .gmt, or convert .json into the required dictionary.
  • Complete Workflow: setup, load gene sets, run enrichment, and visualize results.
  • Common Errors: troubleshooting missing pathways or dictionary vs. string path issues.

Quick Start

Load GO Biological Process gene sets into a dictionary and run enrichment on your DEG list.

Frequently Asked Questions about gsea-enrichment-analysis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run gene set enrichment analysis on my RNA-seq data?

Gene set enrichment analysis identifies biological pathways and functions enriched in your gene list. Load pathway databases (GO, KEGG, Reactome) into a dictionary using ov.utils.geneset_prepare(), then pass it to ov.bulk.geneset_enrichment() with your DEG list. Visualize results to interpret pathway significance.

What format do gene sets need to be in for OmicVerse enrichment?

Gene sets must be loaded as a dictionary, not a file path. OmicVerse accepts .txt, .gmt, or .json files, but ov.utils.geneset_prepare() converts them into the required dictionary format before enrichment analysis.

Why does my pathway enrichment keep failing with a file path error?

The common error occurs when passing a file path directly to geneset_enrichment instead of a dictionary. Always call ov.utils.geneset_prepare() first to load and format your gene sets, then pass the resulting dictionary to the enrichment function.

Can I use this workflow for both human and mouse data?

Yes, this workflow supports both Human and Mouse organisms. Download species-specific pathway databases using ov.utils.download_pathway_database(), ensure gene symbols match your organism, and validate the format before running enrichment.

What pathway databases can I analyze with GSEA enrichment?

This workflow integrates GO (Gene Ontology), KEGG, Reactome, and related pathway databases. Download available databases for your organism, load them as dictionaries, and run enrichment to identify significant biological processes and pathways.