Skip to main content

A python and jupyter API for the MaBoSS software

Project description

pyMaBoSS

pyMaBoSS is a python API for the MaBoSS software. It can be used inside the Colomoto docker. The API is loaded by running the following line in Python:

import maboss

Once loaded, it allows you to quickly load a MaBoSS model:

sim = maboss.load("metastasis.bnd", "metastasis.cfg")

And then to simulate the model and plot the simulation results:

res = sim.run()
res.plot_piechart()
Simulation result

Installation instructions

pyMaBoSS can be installed either via Conda, PyPi or GitHub.

Installation with Conda

This is the recommended option, as it also allows the simple installation of all the dependencies.

conda -c colomoto install pymaboss

This will install the library, which will already be ready to use.

Installation with PyPi

This is not the recommended option as it cannot yet package the MaBoSS binaries, but if you already have then install you can just install pyMaBoSS using

pip install maboss

To download the MaBoSS binaries, if you have conda and if you are using linux or macosx, you can run :

python -m maboss-setup

Otherwise, you can download them using the following links, for Linux, MacOSX or Windows. Once downloaded, you need to extract them and make them accessible by putting them in a folder configured in your PATH.

Installation with GitHub

Finally, you can also install pyMaBoSS directly from the official GitHub repository :

git clone https://github.com/colomoto/pyMaBoSS

cd pyMaBoSS

python setup.py install

Note that this also comes without the MaBoSS binaries, so to install them you’ll have to follow the steps described above.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

maboss-0.8.6.tar.gz (49.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page