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

# optional, linux-64 only: adds a `methscope-cuda` binary with the CUDA
# backend for `upscale-train`. Everything else — upscale, classify,
# deconv — is pure C and needs no GPU, so most users can skip this.
conda install -c zhou-lab -c conda-forge methscope-cuda

# or build from source (bundles YAME)
git clone --recurse-submodules https://github.com/zhou-lab/methscope-cli
cd methscope-cli && make          # add CUDA=1 for the training backend

# 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.