Skip to main content

Fast and optimal genome segmentation with Bayesian blocks

Project description

Build Status Documentation Status

Fast, mathematically optimal genome segmentation with Bayesian blocks


pip install blockify

The earliest recommended version of blockify is 0.2.1.


Blockify is available as both a Python library and a command line executable.

To use in Python:

from blockify import annotation
from blockify import segmentation
from blockify import normalization
from blockify import downsampling

To use from the command line: blockify -h

For more details, please see the documentation.


To actively develop blockify, clone from GitHub and switch to the development branch:

git clone
cd blockify
git checkout dev

Unit tests are available from the top-level directory:

python -m unittest tests.test_basic

Two batteries of tests are provided: tests.test_basic and tests.test_advanced. For routine development, the basic set of tests should be sufficient. The advanced suite takes much more time and fetches several large datasets. It is best used when making major changes to the code.


Not to be confused with the similarly-named Spotify plugin.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for blockify, version 0.2.2
Filename, size File type Python version Upload date Hashes
Filename, size blockify-0.2.2-py3-none-any.whl (20.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size blockify-0.2.2.tar.gz (804.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page