• Stars
    star
    413
  • Rank 104,172 (Top 3 %)
  • Language
    Python
  • License
    GNU General Publi...
  • Created almost 12 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

COBRApy is a package for constraint-based modeling of metabolic networks.

COBRApy - Constraint-Based Reconstruction and Analysis in Python

Current PyPI Version Supported Python Versions GNU Lesser General Public License 2 or later Code of Conduct GitHub Actions CI/CD Status Codecov Documentation Status Gitter Chat Room Black Zenodo DOI

What is COBRApy?

COBRA methods are widely used for genome-scale modeling of metabolic networks in both prokaryotes and eukaryotes. COBRApy is a constraint-based modeling package that is designed to accommodate the biological complexity of the next generation of COBRA models and provides access to commonly used COBRA methods, such as flux balance analysis, flux variability analysis, and gene deletion analyses.

Our aim with COBRApy is to provide useful, efficient infrastructure for:

  • creating and managing metabolic models
  • accessing popular solvers
  • analyzing models with methods such as FVA, FBA, pFBA, MOMA etc.
  • inspecting models and drawing conclusions on gene essentiality, testing consequences of knock-outs etc.

Our goal with COBRApy is for it to be useful on its own, and for it to be the natural choice of infrastructure for developers that want to build new COBRA related python packages for e.g. visualization, strain-design and data driven analysis. By re-using the same classes and design principles, we can make new methods both easier to implement and easier to use, thereby bringing the power of COBRA to more researchers.

The documentation is browseable online at readthedocs and can also be downloaded.

Please use the Google Group for help. By writing a well formulated question, with sufficient detail, you are much more likely to quickly receive a good answer! Please refer to these StackOverflow guidelines on how to ask questions. Alternatively, you can use gitter.im for quick questions and discussions about COBRApy (faster response times). Please keep in mind that answers are provided on a volunteer basis.

More information about opencobra is available at the website.

If you use COBRApy in a scientific publication, please cite doi:10.1186/1752-0509-7-74

Installation

Use pip to install COBRApy from PyPI (we recommend doing this inside a virtual environment):

pip install cobra

If you want to load MATLAB models, you will need additional dependencies. Please install:

pip install cobra[array]

For further information, please follow the detailed installation instructions.

Contributing

Contributions are always welcome! Please read the contributing guidelines to get started.

License

The COBRApy source 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.

More Repositories

1

cobratoolbox

The COnstraint-Based Reconstruction and Analysis Toolbox. Documentation:
MATLAB
240
star
2

optlang

optlang - sympy based mathematical programming language
Python
215
star
3

memote

memote – the genome-scale metabolic model test suite
HTML
120
star
4

COBRA.jl

High-level, high-performance, constraint-based reconstruction and analysis in Julia
Julia
60
star
5

MATLAB.devTools

MATLAB Development Tools
MATLAB
27
star
6

Medusa

Analysis of ensembles of metabolic network reconstructions
Python
19
star
7

COBRA.tutorials

Repository of tutorials for The COBRA Toolbox
MATLAB
18
star
8

m_model_collection

A collection of M models downloaded from published studies
Jupyter Notebook
14
star
9

driven

Data-Driven Constraint-based analysis
Python
13
star
10

MASS-Toolbox

Mass Action Stoichiometric Simulation (MASS) Toolbox
Mathematica
11
star
11

COBRA.papers

Repository for scripts related to reproducing the results of an individual publication
MATLAB
8
star
12

cobra-component-models

Provide SQLAlchemy ORM and pydantic data models for SQL storage and serialization of COBRA components such as reactions, compounds, and compartments.
Python
3
star
13

memote-docker

Easily use the memote command line interface from a docker container.
Shell
3
star
14

cookiecutter-memote

A cookiecuttter template for memote model repositories
Python
2
star
15

cookiecutter-python-package

Extensive cookiecutter template for openCOBRA Python packages.
Python
2
star
16

schema

xml/rdf schemas for annotating cobra models
2
star
17

cobrapy_shim

Shim for the COBRA toolbox to call cobrapy functions
Python
1
star
18

cobrapy-bigg-client

Python
1
star
19

cobrapy-website

HTML
1
star
20

ctf

Chemical table files for constraint-based modelling
1
star
21

COBRA.binary

Linux, Windows and Mac binaries maintained by the constraint-based reconstruction and analysis community
MATLAB
1
star