kycg

Community

Functional analysis of DNA methylation at CpG resolution — set enrichment over a curated knowledgebase compendium.

Installation

To install this package, run one of the following:

Conda
$conda install zhou-lab::kycg

Try This Package Beta

Usage Tracking

2.1.1
2.1.0
2.0.1
2.0.0
0.7
5 / 8 versions selected
Downloads (Last 6 months): 0

Description

kycg is a dependency-light C reimplementation of the knowYourCG R/Bioconductor package, built on YAME's bit-packed CpG formats. It tests a CpG query set against knowledgebases of genomic annotation — chromatin states, CpG islands, repeats, transcription factor binding, tissue signatures — reporting a hypergeometric tail probability in log space, six effect-size coefficients, and a group-stratified Benjamini-Hochberg false discovery rate. Results agree with the R package to floating-point tolerance. With -c it scores a continuous query (a beta value or score per CpG) instead, with a GSEA-style set enrichment score and a pooled permutation null, as knowYourCG's testEnrichmentSEA does.

Its other half is kycg fetch, a browsable catalogue of the knowledgebase compendium for human and mouse whole-genome CpG references and seven Infinium array platforms, with a verified download path: every collection publishes a SHA256SUMS whose digest is compiled into the binary, so a download is checked against a pin the build carries rather than against whatever the server serves. Nothing is downloaded outside that command.

The only runtime dependencies are zlib and libcurl.

About

Summary

Functional analysis of DNA methylation at CpG resolution — set enrichment over a curated knowledgebase compendium.

Last Updated

Oct 26, 2026 at 03:05

License

LicenseRef-CHOP-Academic-BSD-2-Clause

Supported Platforms

linux-64
macOS-arm64