Skip to main content

Multivariate thermodynamics-based metabolic flux analysis in Python.

Project description

Current PyPI Version Supported Python Versions Apache Software License Version 2.0 Code of Conduct GitHub Actions Codecov Code Style Black Documentation Status

We present multiTFA, a multivariate thermodynamics-based metabolic flux analysis package for Python. The framework takes advantage of the reactions’ Gibbs free energy covariance matrix to tightly constrain metabolic models using thermodynamic constraints. It represents an improvement over a previous thermodynamic metabolic flux analysis (tMFA) method described in [1].

This implementation requires a COBRA model as input, as well as additional compartment conditions and metabolite concentrations. It allows user to perform various thermodynamic analyses on COBRA models, such as thermodynamic metabolic flux analysis, variability analysis, or flux sampling. Please see below for further details.

Install

To install multitfa from PyPI is as simple as: (We recommend using a virtual environment).

pip install multitfa

To install from source,

git clone https://github.com/biosustain/multitfa.git
cd multitfa
pip install .

We highly recommend the installing CPLEX. Although we support GUROBI solver, we noticed that it is slower and often stuck when solving quadratic constraint problems.

Please note, Installation takes upto 3 GB. This is to accomodate equilibrator-api database files.

Install Requirements

Installation requires

  • cobra

  • depinfo

  • optlang<1.4.6

  • numpy

  • scipy

  • pandas

  • equilibrator-api==0.3.2b7

  • component-contribution==0.3.2b4

  • equilibrator-cache==0.3.2b2

Usage

The documentation is available online at readthedocs.

Cite us

If you use multitfa in a scientific publication, please cite doi:10.1101/2020.12.01.407387.

References

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

multitfa-0.1.2.tar.gz (9.3 MB view hashes)

Uploaded Source

Built Distribution

multitfa-0.1.2-py3-none-any.whl (9.3 MB view hashes)

Uploaded Python 3

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