Skip to main content

essHIC is a python module to compare HiC matrices by computing a metric distance between them

Project description

essHIC


A python package to analyze Hi-C matrices, enhance their specific patterns through spectral filtering and compute metric distances between couples of experiments.


You may find the github repository at https://github.com/stefanofranzini/essHIC


essHIC contains many useful modules to guide users throughout the analysis:

  • essHIC.makehic: enables the user to process raw matrix data and their metadata to merge multiple sources into a single well ordered data repository, split chromosomes and obtain Observed over Expected matrices if needed.

  • essHIC.hic: wrapper class for Hi-C matrices containing metadata along with the matrix of contact probabilities for the chosen experiment. It contains useful tools to normalize and clean the matrix, compute its spectral properties, and process it to obtain its essential component. It also provides plotting functions to obtain high quality pictures with minimal knowledge of the matplotlib library.

  • essHIC.ess: tool to compute a dataset-wide distance matrix between all couples of experiments using the essential metric distance.

  • essHIC.dist: a useful explorative tool to analyze distance matrices. It allows to perform hierarchical and spectral clustering on the dataset, to compute the ROC curves according to the cell-types provided in the metadata, and to perform multiscaling dimensional reduction (MDS). It also contains plotting tools to visualize the results of all mentioned analyses.

More information is available on the package wiki.


INSTALLING

essHIC is written in python, it has been tested in python2.7. Both the python3 language and the required packages need to be installed. To install the package through the python package manager, copy and paste the snippet below in your terminal:

pip install --upgrade essHIC 

Please notice that you may need to have administrator priviliges in order to be able to install the package. Using this method will take care of the dependencies.

Otherwise, you may simply clone this repository to your computer. To use the package in a python script you will need to link its local path; to do so write the snippet below in your python code:

import sys

sys.path.append('path/to/essHIC')

import essHIC

For essHIC to function correctly you will need to install the required dependencies:

numpy
scipy
sklearn
matplotlib

USAGE

To use essHIC in one of your python scripts import the package with

import essHIC

for more information on how to use essHIC, please refer to the tutorial on the package wiki

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

essHIC-1.44.tar.gz (18.2 kB view hashes)

Uploaded Source

Built Distribution

essHIC-1.44-py2-none-any.whl (18.6 kB view hashes)

Uploaded Python 2

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