De novo and known TF motif enrichment in ChIP-seq/ATAC-seq peaks via HOMER. findMotifsGenome.pl finds over-represented patterns vs background; annotatePeaks.pl assigns context (TSS distance, gene, repeat). Use after MACS3 to identify enriched TFs, annotate peaks with nearest genes, and validate ChIP-seq via the target motif.
SkillScore100Maintained
Automatic
◆Research pack
Last verified 8/24/2026
What it changes
Passed 20 of 20 test cases with the skill, and 14 of 20 without it.
Without skill68%
With skill100%
Checks it passed that the model alone missed
The bash script iterates over sample files using a loop.
The findMotifsGenome.pl command specifies -p 8 for multithreading.
The Python script uses matplotlib pie chart syntax to display feature distribution.
and 6 more in the full report
7 fixed15 passed either way0 still failing0 broke
Pass-rate lift
+32 pp
Tokens
+361%
Agent turns
0%
Response time
-21%
Model gemini-3.6-flashMeasured 8/24/2026v1 · latest is v222 of 22 cases passed with skill · 20 comparable
Tokens, turns and time describe resource use, not a dollar price.
This benchmark measured an earlier version of the skill.
See it in action
One of 5 test cases the skill fixed. Same model, same prompt, with and without the skill.
1 of 5
Prompt
I just installed HOMER via conda, but running `findMotifsGenome.pl peaks.bed hg38 out/` fails because reference genome sequences are missing. What utility command provided by HOMER downloads and configures reference genomes like hg38 or mm10?
What was checked, without and with the skill
Checked
Without skill
With skill
The response specifies using installGenome.pl to download the required reference genome.
Missed
Passed
case-10 · gemini-3.6-flash · 8/24/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md655 linessingle file
HOMER — Motif Analysis and Peak Annotation
Overview
HOMER (Hypergeometric Optimization of Motif EnRichment) is a suite of Perl/C++ tools for analyzing genomic regulatory elements. Its two primary commands are findMotifsGenome.pl, which performs de novo motif discovery and known motif enrichment against JASPAR/HOMER databases, and annotatePeaks.pl, which maps each peak to the nearest gene, distance to TSS, and genomic feature class (promoter, intron, intergenic, repeat). HOMER takes BED-format peak files from MACS3 or similar peak callers and a reference genome assembly as input, and outputs HTML/text reports ranking enriched motifs by p-value and fold enrichment over a matched background.
When to Use
Identifying which transcription factors are bound in a ChIP-seq peak set by enriching their known motifs from JASPAR or the HOMER motif library
Discovering novel sequence motifs de novo in open chromatin regions from ATAC-seq without prior knowledge of the binding TF
Comparing motif landscapes between two conditions (e.g., treated vs. untreated peak sets) by running HOMER with one set as target and the other as background
Annotating genomic peaks with nearest genes and distance to TSS for downstream functional analysis or integration with DESeq2 results
Validating ChIP-seq experiment quality: a successful pull-down should show the target TF's canonical motif as the top hit
Use macs3-peak-calling first to generate the peak BED files that serve as input to HOMER
Use jaspar-database to cross-reference HOMER-discovered motifs with JASPAR IDs and additional TF metadata
Use MEME-CHIP (web or local) when you need a more probabilistic ZOOPS/TCM model or the MEME Suite ecosystem
Use AME (part of MEME Suite) as a faster alternative for known motif scanning without de novo discovery
Prerequisites
Software: HOMER (Perl + compiled binaries), conda or manual install
Genomes: must download genome sequence via installGenome.pl after HOMER install
Input: BED file of peaks (at minimum: chr, start, end columns); ideally summit-centered peaks from MACS3
Check before installing: The tool may already be available in the current environment (e.g., inside a pixi / conda env). Run command -v findMotifsGenome.pl first and skip the install commands below if it returns a path. When running inside a pixi project, invoke the tool via pixi run findMotifsGenome.pl rather than bare findMotifsGenome.pl.