Skip to main content

Python library for normalizing and analyzing HiC and 5C data

Project description

.. image::
:alt: Latest Documentation

.. image::
:alt: Latest Build

This repository contains code for the hifive package, a set of tools for
handling HiC and 5C data. This includes managing data from mapped reads, either
in bam, mat, or raw formats. All stages use hdf5 dictionaries for fast access
and minimal memory and storage usage.

This package includes methods for normalizing data from either HiC or 5C
experiments at the fragment-end, or fragment level resolution, respectively.
Once normalized, data can be used for plotting, binning, or other statistical
tests within the package very quickly.

This package makes extensive use of the h5py and numpy packages. In addition, if
mpi4py is installed, several methods are compatible with parallelization,
including HiC normalization and heatmap generation.

Documentation can be found `here <>`_.

The HiFive binary requires Python 2.7. However, the library can be used by Python 2.6 and 2.7.

Installing HiFive

The easiest way to get HiFive is using pip::

> pip install hifive

HiFive can also be obtained from `github <>`_ using the following command::

> git clone
or alternatively, download a snapshot of the repository using the following commands::

> wget
> tar -xf hifive_v1.0.tar

HiFive depends on a few packages and has several others that extend its functionality.

Required Packages
* `Scipy <>`_
* `Numpy <>`_
* `Cython <>`_
* `h5py <>`_

Recommended Packages
* `Pysam <>`_
* `Pyx <>`_
* `PIL <>`_
* `mpi4py <>`_
* `mlpy <>`_

To install HiFive, simply enter the directory that the repository was cloned or downloaded to and use the following command::

> python install

If you wish to install HiFive in a location other than the default, you can use the prefix option::

> python install --prefix=/your/desired/path

.. _installing_docs:

Installing Documentation

In order to build HiFive's documentation locally, you need to execute the following command::

> cd doc
> make html

This will create the documentation suitable for viewing with a web browser. In order to create a pdf version of the documentation, simply run the following::

> cd doc
> make latexpdf

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 hifive, version 1.4.0
Filename, size File type Python version Upload date Hashes
Filename, size hifive-1.4.0-cp27-none-macosx_10_10_intel.whl (1.0 MB) File type Wheel Python version 2.7 Upload date Hashes View hashes
Filename, size hifive-1.4.0.tar.gz (1.2 MB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page