Skip to main content
GNU General Public License 3.0 Black Contributor Covenant Version 1.4 Documentation Status

Maud is a work-in-progress application that fits Bayesian statistical models of metabolic networks using Python and Stan.

Maud aims to take into account allosteric effects, ensure that the laws of thermodynamics are obeyed and to synthesise information from both steady state experiments and the existing literature.

Install

First create a fresh Python virtual environment and then activate it:

python -m venv .venv --prompt=maud
source .venv/bin/activate

To install Maud and its python dependencies to your new virtual environment, run this command:

pip install maud-metabolic-models

Cmdstanpy depends on cmdstan, which in turn requires a c++ toolchain. Fortunately, cmdstanpy comes with commands that can install these for you. On windows the necessary dependencies can be installed with the following powershell commands:

python -m cmdstanpy.install_cxx_toolchain
python -m cmdstanpy.install_cmdstan --compiler

On macos or Linux, you must install the c++ requirements manually (see [here](https://cmdstanpy.readthedocs.io/en/v0.9.67/installation.html#install-cmdstan)) for instuctions. Cmdstan can then be installed using this shell command:

install_cmdstan

Usage

To run the simple linear model, use the following command:

maud sample

This will compile the Stan program at src/maud/inference_model.stan, then run the resulting binary file using the data at src/maud/data/example_inputs/linear, storing the results in a folder whose name starts with model_output_linear.

The sample command can be configured in a few ways - to check out all the options try running

maud sample --help

Release files for maud-metabolic-models 0.5.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for maud-metabolic-models 0.5.1.1
File Size Uploaded
maud-metabolic-models-0.5.1.1.tar.gz 77.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for maud-metabolic-models 0.5.1.1
File Interpreter ABI Platform
maud_metabolic_models-0.5.1.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size:166.6 kB

Release files / maud-metabolic-models-0.5.1.1.tar.gz

Download URL maud-metabolic-models-0.5.1.1.tar.gz
Size 77.3 kB
Tags Source
SHA-256 checksum
How to use checksums
57a2555aa9967ea3be2c1049f66e0661774a0b95dc391d890d58c8ce53ca7ec9
BLAKE2b-256 checksum
How to use checksums
773feff91810c13398714da8bc0a4c21b293cfa206973eddf42716472d874293
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.4

Release files / maud_metabolic_models-0.5.1.1-py2.py3-none-any.whl

Download URL maud_metabolic_models-0.5.1.1-py2.py3-none-any.whl
Size 89.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
2655112bb1d4eee0998abac6db83910bc8c929324129ff2b6ec8670710fd152c
BLAKE2b-256 checksum
How to use checksums
8be144e4cd6a8c370053879d3c88441f6c6e17964d6618c218919b6ede10910e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.4

Release history Release notifications | RSS feed

This release

0.5.1.1 This release

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page