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

Installation

pip install blockify

The earliest recommended version of blockify is 0.2.1.

Usage

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.

Development

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

git clone https://github.com/arnavm/blockify.git
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.

Disclaimer

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.

Source Distribution

blockify-0.2.2.tar.gz (804.5 kB view details)

Uploaded Source

Built Distribution

blockify-0.2.2-py3-none-any.whl (20.4 kB view details)

Uploaded Python 3

File details

Details for the file blockify-0.2.2.tar.gz.

File metadata

  • Download URL: blockify-0.2.2.tar.gz
  • Upload date:
  • Size: 804.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0.post20200518 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3

File hashes

Hashes for blockify-0.2.2.tar.gz
Algorithm Hash digest
SHA256 e0519a6927c85c52f1be0cc473d5443bc36709f213f2bd992fec0a573fb5aec9
MD5 1fc4f834e78ad8a76ff438e68d81510c
BLAKE2b-256 8f21d6c384a00782fe8c07b0df53b6d85fb5d4963e93b892bc654ecb600e0fe9

See more details on using hashes here.

File details

Details for the file blockify-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: blockify-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 20.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0.post20200518 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3

File hashes

Hashes for blockify-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0d7eed868e500bfba850c8e037daa878ae513a0a4f5d70d8d0fb618df5a9b7ed
MD5 080c144460b3a6c12e0959dc91c85f53
BLAKE2b-256 97c261d9a58260f483ce1e5f3481c35a2eff32c32697f71c998c4887a3ad4dfe

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page