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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file essHIC-1.44.tar.gz
.
File metadata
- Download URL: essHIC-1.44.tar.gz
- Upload date:
- Size: 18.2 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | decdc5527e2bd4700ed7e7a7917d53d1e351c6be0e44c3975251a6541510d9a6 |
|
MD5 | ba1e987492252616e0ac83d9cde3d0d3 |
|
BLAKE2b-256 | 266515f6e7a051314725561df2facdeeaf9b24b97731b9aa4de2aea91d6c395b |
File details
Details for the file essHIC-1.44-py2-none-any.whl
.
File metadata
- Download URL: essHIC-1.44-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f64f035d03a553143f005c3358641a89d05206554a18e456e2c4e1a98d5b143 |
|
MD5 | b588a214a119833410b4df1b630dc7fd |
|
BLAKE2b-256 | 93537d89b2042da42a2fb96e8d71c31e541e07ca85cd44b25c5a35900940b6b4 |