Displaying large amounts of data often requires first turning it into not-so-large amounts of data. Clodius is a program and library designed to aggregate large datasets to make them easy to display at different resolutions.
Install the clodius package:
pip install clodius
And use it aggregate a bigWig file:
curl https://raw.githubusercontent.com/hms-dbmi/clodius/develop/test/sample_data/geneAnnotationsExonsUnions.short.bed \ > /tmp/sample.short.bed clodius aggregate bedfile /tmp/sample.short.bed
More examples are available.
- Non-genomic Rasters
- Genomic Data
The recommended way to develop
clodius is to use a conda environment and
clodius with develop mode:
pip install -e .
The unit tests for clodius can be run using pytest:
Individual unit tests can be specified by indicating the file and function they are defined in: