Skip to content
leomorelliPublic

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

3 watching

Forks

Repository files navigation

HiCONA - Hi-C Organization Network Analysis

Motivation

Any genomic contact map can be seen as an adjacency matrix, and thus a natural representation for a graph. Despite this fact, contact maps are hardly ever analyzed as graphs. Probably the main reasons for this is the difficulty in handling these huge sparse matrices.

HiCONA is a Python package whose aim is to provide the tools to perform network analysis on genomic contact maps. HiCONA provides functionalities for I/O, graph creation and manipulation, plotting and overall a customizable interface which can be used with the provided methods or user-defined ones.

Requirements

The software has been tested on MacOS and Linux latest operating systems.

  • python (>=3)
    
  • cooler(0.10.3)
    
  • polars (1.24.9)
    
  • pyarrow (19.0.1)
    
  • bioframe (0.7.2)
    
  • seaborn (0.13.2)
    
  • coolbox (0.4.0)
    
  • graph-tool (2.92)
    

Installation

HiCONA requires Python ≥3.10 and is supported on Linux and macOS only. This is due to the required dependency graph-tool. For the same reason, installation through conda-forge is recommended (the usage of mamba instead of conda is strongly advised for faster dependency solving).

conda create -n hicona_env
conda activate hicona_env
conda install -c conda-forge hicona

Installation through pip is also possible, though an available installation of graph-tool in the environment is required.

pip install hicona

Installation from source (mainly for development purposes) is possible using the provided environment.yaml file.

git clone git@github.com:leomorelli/HiCONA.git hicona
cd hicona
conda env create -f environment.yaml
conda activate hicona_env

Documentation

API documentation can be found here.

Citing

Reference to the publication will be available soon. For the time being, if you find this package useful, please cite the preprint available on biorxiv.

Article code

Notebooks used for data analyses present in the paper are available here

Contributing

Contributing guidelines will be available soon.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages