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 details)

Uploaded Source

File details

Details for the file maboss-0.8.6.tar.gz.

File metadata

  • Download URL: maboss-0.8.6.tar.gz
  • Upload date:
  • Size: 49.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for maboss-0.8.6.tar.gz
Algorithm Hash digest
SHA256 0ec9acb4341b732335f13fbda0250ea96641571d41224c8d3ae20b0018f8bd5b
MD5 ec116918d9a0b61cf6380f8e08ce029f
BLAKE2b-256 726068a68faac26c8a44ad9d17587d5cf8f302f78de4a153ff4ea271f600267b

See more details on using hashes here.

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