Skip to content

ShouWenWang-Lab/MethylTree

Repository files navigation

MethylTree: High-resolution, noninvasive single-cell lineage tracing based on DNA methylation EPImutations

Accumulation of EPImutations over cell divisions

MethylTree utilizes frequent yet stable EPImutations on sparse single-cell DNA methylation profiles to build a lineage tree that reflects cell division histories. This approach is highly accurate and does not require genetic manipulation for the cells of interest, thus applicable to human tissues. This is based on our recent manuscript (Chen & Fu et.al., Nature Methods, 2025).

Schematic of MethylTree analysis

Installation

Please setup a conda environment called MethylTree. This is our core environment

conda create -n MethylTree python=3.9 --yes
conda activate MethylTree
pip install methyltree
pip install methscan
pip install jupyterlab
python -m ipykernel install --user --name=MethylTree

MethylTree workflow

MethylTree workflow

Representative results

MethylTree workflow

MethylTree Analysis with preprocessed toy data

The usage of MethylTree is illustrated in the test module test/MethylTree. There, the MethylTree notebook can be executed directly on the test dataset. The test data is a subset of the DARLIN dataset (Li et.al., Cell, 2023). This notebook offers a detailed tutorial of the key functionalities of MethylTree, including lineage tree reconstruction, visualization, result characterization, embedding, clone inference etc. Please use the MethylTree environment.

MethylTree Analysis starting from raw CpG files

Once the raw CpG files for each cell are generated using mapping softwares like Bismark, you can first follow the preprocessing notebook and then the downstream analysis notebook to get the lineage inference results from MethylTree. For more information, please visit our notebook repository that reproduce all analysis in our MethylTree paper. Raw data can be obtained from either figshare or GEO database.

Additional information

More detailed information for the explanation of MethylTree input and output can be found at here.

Updated: MethylTree Analysis with EPI-Clone Datasets

We provide a notebook that applies MethylTree to analyze the transplanted mouse dataset LARRY_mouse1 from the EPI-Clone study. This is based on our recent manuscript (Fu et.al., Quantitative Biology, 2026).