Skip to content

Clodius is a tool for breaking up large data sets into smaller tiles that can subsequently be displayed using an appropriate viewer.

License

Notifications You must be signed in to change notification settings

higlass/clodius

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c686398 · Feb 22, 2025
Feb 22, 2025
Feb 22, 2025
Apr 23, 2016
Nov 13, 2019
Feb 27, 2018
Mar 9, 2023
Mar 9, 2023
Feb 22, 2025
Feb 7, 2017
Mar 9, 2023
Aug 25, 2020
Feb 22, 2025
Mar 9, 2023
Mar 9, 2023
Apr 22, 2016
Mar 9, 2023
May 30, 2022
Feb 22, 2025

Repository files navigation

Clodius

Python Build Status Docs

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.

Demo

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

The output files can then be displayed using higlass-manage. For more information about viewing these types of files take a look at the higlass docs.

More examples are available.

File Types

Development

The recommended way to develop clodius is to use a conda environment and install clodius with develop mode:

pip install -e ".[dev]"

Testing

The unit tests for clodius can be run using pytest:

pytest

Individual unit tests can be specified by indicating the file and function they are defined in:

pytest test/cli_test.py:test_clodius_aggregate_bedgraph

About

Clodius is a tool for breaking up large data sets into smaller tiles that can subsequently be displayed using an appropriate viewer.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published