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.5.tar.gz
.
File metadata
- Download URL: mpbn-3.5.tar.gz
- Upload date:
- Size: 15.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd4f9d92dbc07609764318d973fe11fd27d5eaf4d8c1fdba152e34f3fd05c256 |
|
MD5 | 163c9d6afe4fbcd51f0363a3b5ced64d |
|
BLAKE2b-256 | 06b39b34bf70a4a2bf2247b71e39901e584d384032ae331d3e62999ff234d3af |
File details
Details for the file mpbn-3.5-py3-none-any.whl
.
File metadata
- Download URL: mpbn-3.5-py3-none-any.whl
- Upload date:
- Size: 19.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57a9fd9a8f76fa6b5725aed44425de5b9ee1bfa0a0002dc47d94964ce2df5163 |
|
MD5 | b2fde53e309669ddb8f43cf665a09e8d |
|
BLAKE2b-256 | c7261f4a2eb58075810538eca16744f28314fd6b4b484b33f2215643790a84cf |