MethScope

cli latest

Ultra-fast analysis of sparse DNA methylomes via MRMP (Most Recurrent Methylation Pattern) encoding — cell-type annotation, deconvolution, and genome-wide CpG upscaling.

Install — the binary, and what it can fetch

Every model is one self-contained bundle carrying its own MRMP feature definition (and labels), so a query .cg runs directly — no separate annotation files.

# conda — installs the `methscope` binary
conda install -c zhou-lab -c conda-forge methscope

# or build from source (bundles YAME)
git clone --recurse-submodules https://github.com/zhou-lab/methscope-cli
cd methscope-cli && make

# install yame to fetch prebuilt model and test data
conda install -c zhou-lab -c conda-forge yame

Fetching data & models — digest-checked, container-safe

Data and models are fetched with yame fetch; each workflow below opens by fetching just the file it needs into the working directory (yame fetch -c, digest-checked). It never prompts, so it is safe inside a container build.

Atomic downloads. Downloads land on a .part sibling and are renamed only once the bytes verify, so an interrupted yame fetch can never leave a short file that later reads as a valid model. Fetching now lives in yame, so keep it on PATH alongside the conda env that provided libxgboost.