Skip to main content
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

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file multitfa-0.1.2.tar.gz.

File metadata

  • Download URL: multitfa-0.1.2.tar.gz
  • Upload date:
  • Size: 9.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7

File hashes

Hashes for multitfa-0.1.2.tar.gz
Algorithm Hash digest
SHA256 2b99fd7f3c0f9a0401e96cbfd857e00a41ce62a83a4426492e9bbd81cbc750ee
MD5 2b8bba5044717516259b2359ff47296a
BLAKE2b-256 c35f0981d66e9bc7b2828b90fcc24879447d639ab9abf8c773af03f529565b76

See more details on using hashes here.

File details

Details for the file multitfa-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: multitfa-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 9.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7

File hashes

Hashes for multitfa-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1641d3e79fe60d0ea07a33d2a0d0f44304b6a35dbb157a8e994a02e9e19abc09
MD5 296a3d576fe655f28f469ab0a54bb8da
BLAKE2b-256 fae3811a5c0994dd30633c7e6b0bf8fc2fb0b615825f6fd63c2734dfcacb3763

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 files

0.1.1

2 files

0.1.0

2 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