Installation
Requirements
Python ≥ 3.9
NumPy ≥ 1.22
SciPy
From PyPI
pip install simGL
From source (development)
git clone https://github.com/RacimoLab/simGL.git
cd simGL
pip install -e .
The -e flag installs the package in editable mode, so any changes to the
source files are reflected immediately without reinstalling. To install without
editable mode (e.g. to test an installed release), use pip install ..
Running the tests
The test suite uses msprime to generate coalescent simulations. Install it alongside the test dependencies:
pip install msprime pytest pytest-cov
Then run from the repository root:
python -m pytest tests/