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

Uploaded Source

Built Distribution

Cobra2D-0.5.0-py3-none-any.whl (35.6 kB view details)

Uploaded Python 3

File details

Details for the file Cobra2D-0.5.0.tar.gz.

File metadata

  • Download URL: Cobra2D-0.5.0.tar.gz
  • Upload date:
  • Size: 28.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for Cobra2D-0.5.0.tar.gz
Algorithm Hash digest
SHA256 a2020efb9f49d5db328ff318e7af2ab6c77ccccc507e18d41255f376c991087f
MD5 973d6bc9c7dc8bfca30ca1b98405cfa7
BLAKE2b-256 4ee5426f65f09b99f93ba4aeee94e0b8460eb0a238c431275731895af57d83da

See more details on using hashes here.

File details

Details for the file Cobra2D-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: Cobra2D-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 35.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for Cobra2D-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 faa5f6c9c7b637d538be32c673b2acd50ff4e19b0a6d48cf393812333120ffb1
MD5 a900cbe8ad21fd4c8019c103dda1016d
BLAKE2b-256 2d0078162c67efc652385e412379b0ad13fe2049cabb6682961d4bb918035390

See more details on using hashes here.

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