A Python library and CLI tool for aggregating large genomic datasets into tile-based formats for display at multiple resolutions (used by HiGlass).
clodius/— main packagecli/— Click-based CLI commands (aggregate.py,convert.py)tiles/— tile generation modules per file type (bigwig, cooler, bed, etc.)models/— Pydantic data models
test/— pytest tests mirroring the source layouttest/sample_data/— small sample files used by tests
pip install -e ".[dev]"Run all tests:
pytestRun a specific test:
pytest test/cli_test.py::test_clodius_aggregate_bedgraphLint:
flake8 clodius- Linting: flake8 (configured via
pyproject.toml) - Tests: pytest with coverage (
pytest --cov=clodius) - Build: hatchling
- Main branch:
develop(use this as the base for PRs) - Python packaging:
pyproject.toml(nosetup.py)