Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Go Kegg Enrichment

ASecurity

\"Performs GO (Gene Ontology) and KEGG pathway enrichment analysis on\\

33 stars
0 votes
0 copies
1 views
Added 9/5/2026
datapythongobashexpressapidatabasesecurityperformancedocumentation

Works with

cliapi

Security Analysis

A96/100
mediumInstalls packages at runtime which could introduce malicious dependencies

Scanned 9/5/2026

Install to Claude Code

$npx -y skills add dvcrn/openclaw-skills-marketplace --skill go-kegg-enrichment --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Go Kegg Enrichment?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Go Kegg Enrichment
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dvcrn-go-kegg-enrichment/badge)](https://www.skillsdirectory.com/skills/dvcrn-go-kegg-enrichment)

More formats (shields.io, HTML) on the badges page.

Download with Pro
Files
SKILL.md
---
name: go-kegg-enrichment
description: "\"Performs GO (Gene Ontology) and KEGG pathway enrichment analysis on\\"
---

# GO/KEGG Enrichment Analysis

Automated pipeline for Gene Ontology and KEGG pathway enrichment analysis with result interpretation and visualization.

## Features

- **GO Enrichment**: Biological Process (BP), Molecular Function (MF), Cellular Component (CC)
- **KEGG Pathway**: Pathway enrichment with organism-specific mapping
- **Multiple ID Support**: Gene symbols, Entrez IDs, Ensembl IDs, RefSeq
- **Statistical Methods**: Hypergeometric test, Fisher's exact test, GSEA support
- **Visualizations**: Bar plots, dot plots, enrichment maps, cnet plots
- **Result Interpretation**: Automatic biological significance summary

## Supported Organisms

| Common Name | Scientific Name | KEGG Code | OrgDB Package |
|-------------|-----------------|-----------|---------------|
| Human | Homo sapiens | hsa | org.Hs.eg.db |
| Mouse | Mus musculus | mmu | org.Mm.eg.db |
| Rat | Rattus norvegicus | rno | org.Rn.eg.db |
| Zebrafish | Danio rerio | dre | org.Dr.eg.db |
| Fly | Drosophila melanogaster | dme | org.Dm.eg.db |
| Yeast | Saccharomyces cerevisiae | sce | org.Sc.sgd.db |

## Usage

### Basic Usage

```python
# Run enrichment analysis with gene list
python scripts/main.py --genes gene_list.txt --organism human --output results/
```

### Parameters

| Parameter | Description | Default | Required |
|-----------|-------------|---------|----------|
| `--genes` | Path to gene list file (one gene per line) | - | Yes |
| `--organism` | Organism code (human/mouse/rat/zebrafish/fly/yeast) | human | No |
| `--id-type` | Gene ID type (symbol/entrez/ensembl/refseq) | symbol | No |
| `--background` | Background gene list file | all genes | No |
| `--pvalue-cutoff` | P-value cutoff for significance | 0.05 | No |
| `--qvalue-cutoff` | Adjusted p-value (q-value) cutoff | 0.2 | No |
| `--analysis` | Analysis type (go/kegg/all) | all | No |
| `--output` | Output directory | ./enrichment_results | No |
| `--format` | Output format (csv/tsv/excel/all) | all | No |

### Advanced Usage

```python
# GO enrichment only with specific ontology
python scripts/main.py \
    --genes deg_upregulated.txt \
    --organism mouse \
    --analysis go \
    --go-ontologies BP,MF \
    --pvalue-cutoff 0.01 \
    --output go_results/

# KEGG enrichment with custom background
python scripts/main.py \
    --genes treatment_genes.txt \
    --background all_expressed_genes.txt \
    --organism human \
    --analysis kegg \
    --qvalue-cutoff 0.05 \
    --output kegg_results/
```

## Input Format

### Gene List File
```
TP53
BRCA1
EGFR
MYC
KRAS
PTEN
```

### With Expression Values (for GSEA)
```
gene,log2FoldChange
TP53,2.5
BRCA1,-1.8
EGFR,3.2
```

## Output Files

```
output/
├── go_enrichment/
│   ├── GO_BP_results.csv       # Biological Process results
│   ├── GO_MF_results.csv       # Molecular Function results
│   ├── GO_CC_results.csv       # Cellular Component results
│   ├── GO_BP_barplot.pdf       # Visualization
│   ├── GO_MF_dotplot.pdf
│   └── GO_summary.txt          # Interpretation summary
├── kegg_enrichment/
│   ├── KEGG_results.csv        # Pathway results
│   ├── KEGG_barplot.pdf
│   ├── KEGG_dotplot.pdf
│   └── KEGG_pathview/          # Pathway diagrams
└── combined_report.html        # Interactive report
```

## Result Interpretation

The tool automatically generates biological interpretation including:

1. **Top Enriched Terms**: Significant GO terms/pathways ranked by enrichment ratio
2. **Functional Themes**: Clustered biological themes from enriched terms
3. **Key Genes**: Core genes driving enrichment in significant terms
4. **Network Relationships**: Gene-term relationship visualization
5. **Clinical Relevance**: Disease associations (for human genes)

## Technical Difficulty: **HIGH**

⚠️ **AI自主验收状态**: 需人工检查

This skill requires:
- R/Bioconductor environment with clusterProfiler
- Multiple annotation databases (org.*.eg.db)
- KEGG REST API access
- Complex visualization dependencies

## Dependencies

### Required R Packages
```r
install.packages(c("BiocManager", "ggplot2", "dplyr", "readr"))
BiocManager::install(c(
    "clusterProfiler", 
    "org.Hs.eg.db", "org.Mm.eg.db", "org.Rn.eg.db",
    "enrichplot", "pathview", "DOSE"
))
```

### Python Dependencies
```bash
pip install pandas numpy matplotlib seaborn rpy2
```

## Example Workflow

1. **Prepare Input**: Create gene list from DEG analysis
2. **Run Analysis**: Execute main.py with appropriate parameters
3. **Review Results**: Check generated CSV files and visualizations
4. **Interpret**: Read auto-generated summary for biological insights

## References

See `references/` for:
- clusterProfiler documentation
- KEGG API guide
- Statistical methods explanation
- Visualization examples

## Limitations

- Requires internet connection for KEGG database queries
- Large gene lists (>5000) may require increased memory
- Some pathways may not be available for all organisms
- KEGG API has rate limits (max 3 requests/second)

## Risk Assessment

| Risk Indicator | Assessment | Level |
|----------------|------------|-------|
| Code Execution | Python/R scripts executed locally | Medium |
| Network Access | No external API calls | Low |
| File System Access | Read input files, write output files | Medium |
| Instruction Tampering | Standard prompt guidelines | Low |
| Data Exposure | Output files saved to workspace | Low |

## Security Checklist

- [ ] No hardcoded credentials or API keys
- [ ] No unauthorized file system access (../)
- [ ] Output does not expose sensitive information
- [ ] Prompt injection protections in place
- [ ] Input file paths validated (no ../ traversal)
- [ ] Output directory restricted to workspace
- [ ] Script execution in sandboxed environment
- [ ] Error messages sanitized (no stack traces exposed)
- [ ] Dependencies audited
## Prerequisites

```bash
# Python dependencies
pip install -r requirements.txt
```

## Evaluation Criteria

### Success Metrics
- [ ] Successfully executes main functionality
- [ ] Output meets quality standards
- [ ] Handles edge cases gracefully
- [ ] Performance is acceptable

### Test Cases
1. **Basic Functionality**: Standard input → Expected output
2. **Edge Case**: Invalid input → Graceful error handling
3. **Performance**: Large dataset → Acceptable processing time

## Lifecycle Status

- **Current Stage**: Draft
- **Next Review Date**: 2026-03-06
- **Known Issues**: None
- **Planned Improvements**: 
  - Performance optimization
  - Additional feature support

Attribution

dvcrndvcrn
View sourceMore from dvcrn →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Rank Tracker

This skill helps you track, analyze, and report on keyword ranking positions over time. It monitors both traditional SERP rankings and AI/GEO visibility to provide comprehensive search performance insights.

1821 votes

Youtube Competitor Analyzer

Find and analyze YouTube competitor channels using YouTube Data API v3. Discover competitors through keyword search, category matching, content similarity, and related channel discovery. Compare metrics, content strategies, and market positioning. Use when users want to (1) Find competitors for their YouTube channel, (2) Analyze competitor performance metrics, (3) Compare their channel against competitors, (4) Identify content gaps and opportunities, (5) Benchmark against similar creators, (6...

31 votes

Twitter Algorithm Optimizer

Analyze and optimize tweets for maximum reach using Twitter's open-source algorithm insights. Rewrite and edit user tweets to improve engagement and visibility based on how the recommendation system ranks content.

742580 votes

Weather Fetcher

Instructions for fetching current weather temperature data for Karachi, Pakistan from wttr.in API

662880 votes

Weather

Get current weather and forecasts (no API key required).

484900 votes
View all in data →