genomics-epigenomics
БесплатноБез исполняемых скриптовНе проверенLoad when summarising a peak file (BED / narrowPeak) from ATAC-seq / ChIP-seq / CUT&Tag — peak count, width distribution, per-chromosome counts, score…
от mdbabumiamssm★ 36 звёзд на GitHubОб этом скилле
genomics-epigenomics
When to use
The user has a peak file (BED, narrowPeak, or broadPeak) from
ATAC-seq, ChIP-seq, or CUT&Tag and wants peak summary statistics:
total peak count, median / mean width, per-chromosome distribution,
optional score column statistics. The script consumes peak files —
it does NOT call peaks from BAM. --method (macs2 / macs3 /
homer / genrich) and --assay (chip-seq / atac-seq /
cut-tag) are recorded as metadata only.
For single-cell ATAC processing use scatac-preprocessing.
Inputs & Outputs
| Input | Format | Required |
|---|---|---|
| Peaks | .bed (3-col or 6-col) or .narrowPeak (10-col); broadPeak (9-col) loads as BED6 with cols 7-9 dropped |
yes (unless --demo) |
| Assay metadata | --assay {chip-seq,atac-seq,cut-tag} (default chip-seq) |
no |
| Caller metadata | --method {macs2,macs3,homer,genrich} (default macs2) |
no |
| Output | Path | Notes |
|---|---|---|
| Peaks summary | tables/peaks_summary.csv |
per-peak start/end/width/score |
| Per-chromosome | tables/peaks_per_chromosome.csv |
peaks count per chromosome |
| Report | report.md + result.json |
always; result.json["data"]["peaks_per_chrom"] mirrors the table |
Flow
- Load peak file (
--input <peaks.bed|narrowPeak>) or generate a demo atoutput_dir/demo_peaks.narrowPeak(genomics_epigenomics.py:211). - Parse coordinates; compute per-peak width.
- Aggregate per-chromosome counts; per-
--assayexpected-width range is added to the report (genomics_epigenomics.py:172-178). - Write
tables/peaks_summary.csv(genomics_epigenomics.py:352) +tables/peaks_per_chromosome.csv(:360) +report.md+result.json(:366).
Gotchas
- No peak caller is invoked. This skill summarises an existing BED/narrowPeak file — it does NOT run MACS / Genrich. Run them upstream and feed the output here.
--methodis metadata-only;--assaychanges the report.--methodis recorded inresult.jsononly.--assaycontrols the per-assay expected-peak-width range injected into the summary (genomics_epigenomics.py:172-178) —chip-seqreports 200-2000 bp,atac-seq150-500 bp,cut-tag150-300 bp. Peak parsing itself is identical across assays.--inputREQUIRED unless--demo.genomics_epigenomics.py:334raisesValueError("--input required when not using --demo"); non-existent paths raiseFileNotFoundErrorat:337.- 3-column BED has no score column. Without a score (col 5 in BED6 / narrowPeak), the summary statistics for "score" are NaN. Pre-convert to narrowPeak or BED6 for score-aware stats. Note: broadPeak's "signalValue" (col 7) and qValue (col 9) are NOT read — the parser only handles up to BED6 plus the narrowPeak 10-col extension.
- Coordinate convention is 0-based half-open (BED). Width =
end - start. If your input uses 1-based closed coordinates, widths are off-by-one. - Demo BED has 500 fixed-pattern peaks. Useful for orchestrator smoke tests; not biologically meaningful.
Key CLI
# Demo
python omicsclaw.py run genomics-epigenomics --demo --output /tmp/epi_demo
# Real ATAC-seq peaks
python omicsclaw.py run genomics-epigenomics \
--input sample_peaks.narrowPeak --output results/ \
--assay atac-seq --method macs3
See also
references/parameters.md— every CLI flagreferences/methodology.md— peak-file format conventions, score interpretationreferences/output_contract.md—tables/peaks_summary.csv+ per-chromosome- Adjacent skills:
scatac-preprocessing(parallel — single-cell ATAC),genomics-alignment(upstream — BAMs feed peak callers),genomics-qc(upstream — FASTQ QC before alignment),bulkrna-de(parallel — bulk RNA-seq differential expression)
Установить genomics-epigenomics в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл genomics-epigenomics?
Load when summarising a peak file (BED / narrowPeak) from ATAC-seq / ChIP-seq / CUT&Tag — peak count, width distribution, per-chromosome counts, score statistics. Skip when calling peaks from BAM (run MACS / Genrich externally first) or when working with single-cell ATAC (use `scatac-preprocessing`).
Как установить скилл genomics-epigenomics?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл genomics-epigenomics запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic