MethylTree: High-resolution, noninvasive single-cell lineage tracing based on DNA methylation EPImutations
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).
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
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.
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.
More detailed information for the explanation of MethylTree input and output can be found at here.
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).