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.42.tar.gz (18.1 kB view details)

Uploaded Source

Built Distribution

essHIC-1.42-py2-none-any.whl (18.6 kB view details)

Uploaded Python 2

File details

Details for the file essHIC-1.42.tar.gz.

File metadata

  • Download URL: essHIC-1.42.tar.gz
  • Upload date:
  • Size: 18.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.51.0 CPython/3.8.2

File hashes

Hashes for essHIC-1.42.tar.gz
Algorithm Hash digest
SHA256 3f9da58fc1d4631e7c1de19ffede3082a1a0f845da8c4c74fe060f341fa600e3
MD5 fcc2adc46026c9a8d49a39d0a844f735
BLAKE2b-256 e7923a2978f825c6b227015d669a841b9b5fd2df5c8c4deaeb96e57166b39fd5

See more details on using hashes here.

File details

Details for the file essHIC-1.42-py2-none-any.whl.

File metadata

  • Download URL: essHIC-1.42-py2-none-any.whl
  • Upload date:
  • Size: 18.6 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.51.0 CPython/3.8.2

File hashes

Hashes for essHIC-1.42-py2-none-any.whl
Algorithm Hash digest
SHA256 987658cb1966fff7deb8ff59ab1e25b03e514d40d5113c34de76f888c2c5af64
MD5 8f4b272f46a815d849246cd6dbe6eed2
BLAKE2b-256 b2345d5ad1c98a69b84a18a5fd727d0f4333985aa0bc95b87cabd7c1c73467d6

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