Installation
Requirements
pycmplot requires Python 3.9 or later. The following packages are installed automatically as dependencies:
Package |
Purpose |
|---|---|
|
Data loading and numerical operations |
|
Beta-distribution confidence bands for QQ plots |
|
Plotting backend |
|
Circular (Circos-style) track rendering |
|
Natural-order chromosome sorting (chr1 < chr2 < … < chrX) |
|
Automatic label collision avoidance |
|
hg19 → hg38 coordinate conversion |
|
Image format utilities |
From PyPI (recommended)
pip install pycmplot
From GitHub (development version)
git clone https://github.com/esohkevin/pycmplot.git
cd pycmplot
pip install -e .
If your system Python is externally managed (common on Ubuntu 22.04+):
pip install -e . --break-system-packages
Using a virtual environment
If you cannot or prefer not to install into the system Python, use a virtual environment:
python -m venv ~/envs/pycmplot
source ~/envs/pycmplot/bin/activate
pip install --upgrade pip setuptools wheel
pip install pycmplot
Verify the installation
pycmplot -h
A successful installation prints the full help message with all command-line options.