Skip to main content

A package to build metabolic models

Project description

pipeline status coverage report Documentation Status

modelbase

modelbase is a python package to help you build and analyze dynamic mathematical models of biological systems. It has originally been designed for the simulation of metabolic systems, but can be used for virtually any processes, in which some substances get converted into others.

modelbase incorporates an easy construction method to define 'reactions'. A rate law and the stoichiometry need to be specified, and the system of differential equations is assembled automatically.

modelbase allows 'algebraic modules', which are useful to implement rapid equilibrium or quasi steady-state approximations. In the simplest instance, they allow easy incorporation of conserved quantities.

modelbase also allows a simple construction of isotope-specific models. This class contains a constructor method that automatically construct all isotope specific versions of a particular reaction. Very cool - check it out!

Release notes

Versions 1.0 and 0.4.0 introduced changes not compatible with the previous official release 0.2.5. API changes are summarised in this notebook

Version 0.4.5 was the prior stable version

Version 0.2.5 is the official release for the submission of the mansucript "Building mathematical models of biological systems with modelbase, a Python package for semi-automatic ODE assembly and construction of isotope-specific models" to the Journal of Open Research Software.

See changelog.md for details on changes of earlier versions.

Dependencies

  • NumPy
  • Scipy
  • Matplotlib
  • Assimulo
  • Sundials

Installation

pip install modelbase

To enable assimulo support, either conda install the package

conda install -c conda-forge assimulo
# or
conda install -c chria assimulo

or build sundials from source using our installation guide.

License

GPL 3

Documentation

The official documentation is hosted on ReadTheDocs.

Issues and support

If you experience issues using the software please contact us through our issues page.

Contributing to modelbase

All contributions, bug reports, bug fixes, documentation improvements, enhancements and ideas are welcome. See our contribution guide for more information.

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

modelbase-1rc2.tar.gz (71.6 kB view details)

Uploaded Source

Built Distribution

modelbase-1rc2-py3-none-any.whl (108.4 kB view details)

Uploaded Python 3

File details

Details for the file modelbase-1rc2.tar.gz.

File metadata

  • Download URL: modelbase-1rc2.tar.gz
  • Upload date:
  • Size: 71.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for modelbase-1rc2.tar.gz
Algorithm Hash digest
SHA256 1a0fb328e2e7872b53424469714021ac6ab1b6dbbe59f0d84c2dc0d0bf1e732e
MD5 b707decf306fb9889fb4d626565ff729
BLAKE2b-256 50e2d6e4b5bb8eda18f7221f3af4d4f295ef693f37fbafe88e68574e7e39c29f

See more details on using hashes here.

File details

Details for the file modelbase-1rc2-py3-none-any.whl.

File metadata

  • Download URL: modelbase-1rc2-py3-none-any.whl
  • Upload date:
  • Size: 108.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for modelbase-1rc2-py3-none-any.whl
Algorithm Hash digest
SHA256 bcdb6efd242320440e75f30a82747f2f181d3020e68d307c1e4065630455289f
MD5 a46ddee45bc3896cc2b809b03ba3a58b
BLAKE2b-256 8fd240322f8fadd03242ef88584d035f00809e33de919278cac1ba705fcbc488

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