Skip to main content

A package for building time- and space-resolved metabolic models.

Project description

Generic badge Tests GitHub last commit GitHub pull requests

A Python package that extends the COBRApy package with functions to represent time periods and organs by copying the original model for every organ time combination, which we refer to as phases. This way, different time ranges and customizable volumes of organs can be defined. Furthermore, a new model can be created automatically based on the specified organs and time periods for the simulation.

General process:

  • Define time ranges and organs
  • Individualization of single Phases
    • Volume adjustment
    • Time frame adjustments
    • Defining linkers
    • Adding special constraints for individual phases
  • Creation of a new model containing all phases with their associated constraints

For this process, this package provides functionalities to not only simplify this process, but also to easily save and share the defined settings with other people.

Possible usage of this package

There are two ways to use this package. Either you use the functions implemented in Python to define phases and constraints or you create an XML file that can be read in and used to create a new model.

Examples

Examples of the use of this package can be found in the examples folder. There are examples that demonstrate the functions but also an XML file that shows how the parameters are stored.

Visualization

The package also provides the possibility to get an overview of the created settings with the help of an animated or unanimated graphic.

ConInteractive.gif

Installation

After cloning the repository, the package can be installed in the current Python environment using pip. So, in a terminal, the package can be installed with the following commands.

git clone https://github.com/Toepfer-Lab/model_duplication

cd model_duplication

pip install .

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

Cobra2D-0.5.0.tar.gz (28.4 kB view hashes)

Uploaded Source

Built Distribution

Cobra2D-0.5.0-py3-none-any.whl (35.6 kB 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