functional-enrichment

Run GO and KEGG enrichment from genomic regions or gene lists with HOMER and R plots.

12|3|Updated Nov 4, 2025
One-click install
npx skills add https://github.com/BIsnake2001/ChromSkills --skill functional-enrichment
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: functional-enrichment
Source: https://github.com/BIsnake2001/ChromSkills/tree/main/11_toolBased.functional-enrichment
Command: npx skills add https://github.com/BIsnake2001/ChromSkills --skill functional-enrichment

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Perform GO and KEGG functional enrichment using HOMER from genomic regions (BED/narrowPeak/broadPeak) or gene lists, and produce R-based visualizations to aid interpretation.

Core Features & Use Cases

  • Map regions to genes using HOMER annotatePeaks.pl
  • Run GO enrichment with findGO.pl and -go options
  • Run KEGG enrichment with -kegg and related options
  • Generate tidy result tables and R plots (barplot/dotplot) for quick visualization
  • Provide QC checks for genome version, chromosome naming, and input formats
  • Support gene-list workflows and direct-from-BED enrichment for streamlined analyses

Quick Start

Provide your region or gene list inputs and run the enrichment workflow to generate GO/KEGG results and accompanying plots.

Frequently Asked Questions about functional-enrichment

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

FAQPage Schema
How do I run GO and KEGG functional enrichment from BED files?

GO and KEGG functional enrichment from BED files is performed by mapping genomic regions to genes using HOMER, then calculating enrichment to produce result tables and R visualization plots. It accepts BED, narrowPeak, or broadPeak region formats.

What is the best way to visualize HOMER enrichment results in R?

The best way to visualize HOMER enrichment results in R is to use ggplot2 to generate barplots and dotplots. This approach takes the tidy enrichment output from HOMER and creates quick visual summaries for biological interpretation.

Can I use HOMER for functional enrichment directly from a plain gene list?

Yes, you can use HOMER for functional enrichment directly from a plain gene list. The workflow supports direct gene-list inputs to run GO and KEGG enrichment, bypassing the need for prior genomic region annotation.

Do I need to install HOMER before running GO and KEGG enrichment?

Yes, you need to install and configure HOMER before running GO and KEGG enrichment. The workflow relies on HOMER's annotatePeaks.pl and findGO.pl scripts to map genomic regions and calculate the enrichment results.

How do I handle chromosome naming and genome version checks for HOMER enrichment?

To handle chromosome naming and genome version checks for HOMER enrichment, the workflow includes built-in QC checks. These validate your input formats and genome version parameters before running the annotation and enrichment steps.

When should I not use HOMER for genomic region enrichment?

You should not use HOMER for genomic region enrichment if your input data lacks a compatible genome version for annotation, or if you cannot meet the requirement to install and configure the HOMER software environment locally.