Tools for mechanistic gene network inference from single-cell data
Project description
Harissa
This is a Python package for both simulation and inference of gene regulatory networks from single-cell data. Its name comes from ‘HARtree approximation for Inference along with a Stochastic Simulation Algorithm.’ It was implemented in the context of a mechanistic approach to gene regulatory network inference from single-cell data, based upon an underlying stochastic dynamical model driven by the transcriptional bursting phenomenon.
Main functionalities:
- Network inference interpreted as calibration of a dynamical model;
- Data simulation (typically scRNA-seq) from the same dynamical model.
Other available tools:
- Basic GRN visualization (directed graphs with positive or negative edge weights);
- Binarization of scRNA-seq data (using gene-specific thresholds derived from the calibrated dynamical model).
The current version of Harissa has benefited from improvements introduced within Cardamom, which can be seen as an alternative method for the inference part. The two inference methods remain complementary at this stage and may be merged into the same package in the future. They were both evaluated in a recent benchmark.
Basic usage
from harissa import NetworkModel
model = NetworkModel()
# Inference
model.fit(data)
# Simulation
sim = model.simulate(time)
Tutorial
Please see the notebooks for introductory examples, or the tests folder for basic usage scripts.
Dependencies
The package depends on standard scientific libraries numpy
and scipy
. Optionally, it can load numba
for accelerating the inference procedure (used by default) and the simulation procedure (not used by default). It also depends optionally on matplotlib
and networkx
for network visualization.
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.