CpGtools
CpGtools is a Python package for analyzing DNA methylation data generated from Illumina Infinium arrays and sequencing-based methylation assays. It provides tools for data preprocessing, quality control, imputation, epigenetic clock estimation, deconvolution, and downstream analysis.
Features
- Read and preprocess DNA methylation matrices
- Missing-value imputation
- DNA methylation age estimation (epigenetic clocks)
- Cell-type deconvolution
- Differential methylation analysis
- Data visualization
Installation
Install the latest stable release from PyPI:
pip install cpgtools
Or install the latest development version from GitHub:
pip install git+https://github.com/liguowang/cpgtools.git
(Optional) Create a virtual environment
Using a virtual environment is recommended but not required.
python3 -m venv cpgtools-env
source cpgtools-env/bin/activate
Upgrade
pip install --upgrade cpgtools
Uninstall
pip uninstall -y cpgtools
Documentation
Documentation is available at:
https://cpgtools.readthedocs.io/
Source Code
https://github.com/liguowang/cpgtools
License
CpGtools is distributed under the MIT License.
Citation
If you use CpGtools in your research, please cite:
Wei T, Nie J, Larson NB, Ye Z, Eckel-Passow JE, Robertson KD, Kocher J-P, Wang L. CpGtools: a python package for DNA methylation analysis. Bioinformatics. 2021;37(11):1598–1599. DOI: https://doi.org/10.1093/bioinformatics/btz916 PMID: 31808791
Metadata
Release files for cpgtools 3.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cpgtools-3.0.2.tar.gz | 45.1 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cpgtools-3.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 74.2 MB
Release files / cpgtools-3.0.2.tar.gz
| Download URL | cpgtools-3.0.2.tar.gz |
|---|---|
| Size | 45.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
734910e964296c6a59a17a23771c47e981857f816ce19cd2f0e36b344922db02
|
|
BLAKE2b-256 checksum How to use checksums |
471347148c6caa8602cd59ff058844e4aa4c5cf712fe00fc77ef7a055cc3eead
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.11
|
Release files / cpgtools-3.0.2-py3-none-any.whl
| Download URL | cpgtools-3.0.2-py3-none-any.whl |
|---|---|
| Size | 29.1 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
deb2c4c27ef0be2150e2d66142798568733340e687f23e12e61b0440db7e3e6b
|
|
BLAKE2b-256 checksum How to use checksums |
fe805531473b9e26360feda025e19db1cf2b6684d700a5e094cfb0ff0a7aa955
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.11
|