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.Modelclass 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.
Metadata
Release files for PAModelpy 0.0.5.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pamodelpy-0.0.5.2.tar.gz | 63.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pamodelpy-0.0.5.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 132.7 kB
Release files / pamodelpy-0.0.5.2.tar.gz
| Download URL | pamodelpy-0.0.5.2.tar.gz |
|---|---|
| Size | 63.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bc846dbcdc399915a5f395ad94254a307ff3c911d80bbbea224a697119877fe5
|
|
BLAKE2b-256 checksum How to use checksums |
50b8f4fb1873d25f59b836dd6743083ec815eaf97908855eded14e6db2b9cb7c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|
Release files / pamodelpy-0.0.5.2-py3-none-any.whl
| Download URL | pamodelpy-0.0.5.2-py3-none-any.whl |
|---|---|
| Size | 69.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
310d72251e63a660d81119f33049ee6bdd4f1da4d3e9990bb0b930325caf3f70
|
|
BLAKE2b-256 checksum How to use checksums |
84e643abdd163c4d45bb34db86fb649e3561bca900216394918aa2333647f24c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|