pathway-go-enrichment

Perform GO enrichment analysis on gene lists using gseapy with FDR correction.

3|Updated Apr 3, 2026
One-click install
npx skills add https://github.com/chenyhvvvv/STAT-agent --skill pathway-go-enrichment
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pathway-go-enrichment
Source: https://github.com/chenyhvvvv/STAT-agent/tree/main/stat_agent/skills/pathway-GO-enrichment
Command: npx skills add https://github.com/chenyhvvvv/STAT-agent --skill pathway-go-enrichment

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

GO enrichment analysis identifies enriched Gene Ontology terms for a given gene list, enabling functional interpretation of gene sets.

Core Features & Use Cases

  • Input flexibility: reads from adata.uns['go_genes'] or a user-provided list.
  • GO aspect options: GO_Biological_Process_2023 (default) with organism-wide mappings for human or mouse.
  • Output: stores enriched terms and statistics in adata.uns['go_results'] for downstream exploration.
  • Real-world use: interpret a candidate gene list from a spatial transcriptomics experiment to understand biological processes driving observed patterns.

Quick Start

Provide a gene list in adata.uns['go_genes'] and run the GO enrichment on the GO Biological Process 2023 library to obtain significant terms.

Frequently Asked Questions about pathway-go-enrichment

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

FAQPage Schema
How do I perform GO enrichment analysis on a gene list from spatial transcriptomics data?

GO enrichment analysis on spatial transcriptomics data uses gseapy to compute Fisher's exact test and Benjamini-Hochberg FDR correction on a provided gene list. You need to store your gene list in adata.uns['go_genes'] and specify the species as either 'human' or 'mouse'.

What GO library is used for identifying enriched biological processes?

The GO enrichment analysis uses the GO_Biological_Process_2023 library by default to identify enriched Gene Ontology terms. This library provides organism-wide mappings for human or mouse species to functionally interpret your gene sets.

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

Yes, this GO enrichment workflow supports cross-species analysis for both human and mouse spatial transcriptomics data. You simply select the appropriate species ('human' or 'mouse') when running the analysis to ensure correct organism-wide mappings are applied.

Where are the enriched GO terms and statistics stored after running the analysis?

The enriched GO terms and their corresponding statistics are stored in adata.uns['go_results'] for downstream exploration. This output format allows researchers to easily access and interpret the significant biological processes driving observed spatial patterns.

Does this Fisher's exact test enrichment method work with multi-slice spatial transcriptomics experiments?

Yes, this GO enrichment analysis applies to spatial transcriptomics workflows involving both single-slice and multi-slice experiments. It interprets candidate gene lists from these experiments to understand the biological processes driving observed spatial patterns.