Skip to content

Latest commit

 

History

History
70 lines (40 loc) · 2.33 KB

description.rst

File metadata and controls

70 lines (40 loc) · 2.33 KB

pyMaBoSS

MaBoSS logo

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.