This Python package implements the results of my article on stochastic gene expression with multistate promoters. It aims at efficiently computing the analytical stationary distribution for a large class of refractory promoters, as well as performing exact stochastic simulations in both standard (SSA) and hybrid (PDMP) formalisms.
The tests folder contains a basic demo script showing what the multistate
package does along with various examples.
The package depends on the following standard scientific libraries: numpy
, scipy
, mpmath
.