Skip to main content

Python framework for building and analysing protein allocation models

Project description

PAModelpy - Protein Allocation Model reconstruction in Python

What is PAModelpy?

Models of metabolism are powerful tools to explore the metabolic potential of microorganism. Powerful tools have been created to support Python-based analysis of genome-scale models. These models, however, cannot capture all metabolic phenotypes and the simulation results have high flux variability. Adding protein to each reaction increases the simulation fidelity. The PAModelpy package is designed to integrate protein constraints and protein sectors as described by Alter et al. (2021) to metabolic models. It is the Python implementation of the PAM MATLAB framework to create GECKO like ME models.

The PAModelpy package builds upon the community-wide used COBRApy. We have extended this package with the following features:

  • protein-reaction associations
  • infrastructure to include isozymes and promiscuous enzymes
  • protein sectors
  • specialized objects to build protein allocation models
  • the possibility to perform a computational efficient sensitivity analysis

Installation

IMPORTANT: PAModelpy is only compatible with Python >= 3.9 and <=3.11

PAModelpy is a PiPy package which allows for easy installation with pip:

pip install PAModelpy

Note that the package has been tested with the Gurobi solver. In order for Gurobi to work properly, please install gurobipy with a version matching your license.

For example for the version used for the development of PAModelpy:

pip install gurobipy==9.5.2

Code structure:

  • EnzymeSectors: The objects which are used to store the data of the different enzyme sectors which are added to the genome-scale model
  • PAModel: Proteome Allocation (PA) model class. This class builds on to the cobra.core.Model class from the COBRApy toolbox with functions to build enzyme sectors, to add enzyme kinetics parameters and in the future to perform a sensitivity analysis on the enzyme variables.
  • Enzyme: Different classes which relate enzymes to the model with enzyme constraints and variables.
  • CatalyticEvent: A class which serves as an interface between reactions and enzyme. This allows for easy lookup of Protein-Reaction assocations.
  • PAMValidator: Functions to validate the model predictions with physiology data and giving a graphical overview. The script uses data for E.coli (found in ./Data/Ecoli_physiology) by default.

Dependencies

The dependencies of the PAModelpy package can be found in src/pyproject.toml. Because of the version of numpy used, the PAModelpy is only compatible with Python >= 3.9 and <=3.11.

License

Copyright institute of Applied Microbiology, RWTH Aachen University, Aachen, Germany (2023)

PAModelpy is released under both the GPL and LGPL licenses version 2 or later. You may choose which license you choose to use the software under.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License or the GNU Lesser General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

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

pamodelpy-0.0.5.2.tar.gz (63.3 kB view details)

Uploaded Source

Built Distribution

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

pamodelpy-0.0.5.2-py3-none-any.whl (69.3 kB view details)

Uploaded Python 3

File details

Details for the file pamodelpy-0.0.5.2.tar.gz.

File metadata

  • Download URL: pamodelpy-0.0.5.2.tar.gz
  • Upload date:
  • Size: 63.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for pamodelpy-0.0.5.2.tar.gz
Algorithm Hash digest
SHA256 bc846dbcdc399915a5f395ad94254a307ff3c911d80bbbea224a697119877fe5
MD5 f4990bc3eaff8b8222d830fd8bff9eaf
BLAKE2b-256 50b8f4fb1873d25f59b836dd6743083ec815eaf97908855eded14e6db2b9cb7c

See more details on using hashes here.

File details

Details for the file pamodelpy-0.0.5.2-py3-none-any.whl.

File metadata

  • Download URL: pamodelpy-0.0.5.2-py3-none-any.whl
  • Upload date:
  • Size: 69.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for pamodelpy-0.0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 310d72251e63a660d81119f33049ee6bdd4f1da4d3e9990bb0b930325caf3f70
MD5 7c4322880aa940abc0d31039ef6252a0
BLAKE2b-256 84e643abdd163c4d45bb34db86fb649e3561bca900216394918aa2333647f24c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page