Simple implementation of Most Permissive Boolean networks
Project description
The mpbn
Python module offers a simple implementation of reachability and attractor analysis (minimal trap spaces) in Most Permissive Boolean Networks (doi:10.1038/s41467-020-18112-5). The mpbn
Python module also offers a Most Permissive simulator, which provides trajectory sampling and computes attractor propensities (see paper Variable-Depth Simulation of Most Permissive Boolean Networks for more details).
It is built on the minibn
module from colomoto-jupyter which allows importation of Boolean networks in many formats. See http://colomoto.org/notebook.
Installation
CoLoMoTo Notebook environment
mpbn
is distributed in the CoLoMoTo docker.
Using pip
pip install mpbn
Using conda
conda install -c colomoto -c potassco mpbn
Usage
Command line
- Enumeration of fixed points and attractors:
mpbn -h
- Simulation:
mpbn-sim -h
Python interface
Documentation is available at https://mpbn.readthedocs.io.
Example notebooks:
- https://nbviewer.org/github/bnediction/mpbn/tree/master/examples/
- http://doi.org/10.5281/zenodo.3719097
For the simulation:
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 mpbn-3.4.tar.gz
.
File metadata
- Download URL: mpbn-3.4.tar.gz
- Upload date:
- Size: 14.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e65872226e185e037f56d07876352a6e950b7e0ea22c49eca1ff190838cff57d |
|
MD5 | 61c8c77cde4da3ecfe921160cf157550 |
|
BLAKE2b-256 | a8ac8e4de6f7d0bdc4ad43b8c59e280d3eba725139fa19cb3cf855245828334e |
File details
Details for the file mpbn-3.4-py3-none-any.whl
.
File metadata
- Download URL: mpbn-3.4-py3-none-any.whl
- Upload date:
- Size: 18.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 439c19d2fdccdaaad49c21c33c21094987f24f6026feb1f9b95c7b617cb407a0 |
|
MD5 | 95033fdc44a371024de5257b7cb9edda |
|
BLAKE2b-256 | 9874ff58d845fa29928b04dfc1322ea4c2d38ab3818e7aa0ef99d2df4b3d8e51 |