All Projects → cnapy-org → CNApy

cnapy-org / CNApy

Licence: Apache-2.0 license
An integrated visual environment for metabolic modeling with common methods such as FBA, FVA and Elementary Flux Modes, and advanced features such as thermodynamic methods, extended Minimal Cut Sets, OptKnock, RobustKnock, OptCouple and more!

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to CNApy

cobrame
A COBRApy extension for genome-scale models of metabolism and expression (ME-models)
Stars: ✭ 30 (+11.11%)
Mutual labels:  systems-biology, computational-biology, cobra, metabolic-models
EscherConverter
A standalone program that reads files created with the graphical network editor Escher and converts them to files in community standard formats.
Stars: ✭ 14 (-48.15%)
Mutual labels:  systems-biology, computational-biology, sbml
newt
A web application to visualize and edit pathway models
Stars: ✭ 46 (+70.37%)
Mutual labels:  systems-biology, sbml
COBREXA.jl
Constraint-Based Reconstruction and EXascale Analysis
Stars: ✭ 21 (-22.22%)
Mutual labels:  cobra, constraint-based-modeling
smfsb
Documentation, models and code relating to the 3rd edition of the textbook Stochastic Modelling for Systems Biology
Stars: ✭ 27 (+0%)
Mutual labels:  systems-biology, sbml
yeast-GEM
The consensus GEM for Saccharomyces cerevisiae
Stars: ✭ 72 (+166.67%)
Mutual labels:  systems-biology, metabolic-models
parPE
Parameter estimation for dynamical models using high-performance computing, batch and mini-batch optimizers, and dynamic load balancing.
Stars: ✭ 16 (-40.74%)
Mutual labels:  systems-biology, sbml
DEcode
A prediction model for differential gene expression (DE) based on genome-wide regulatory interactions
Stars: ✭ 16 (-40.74%)
Mutual labels:  systems-biology, computational-biology
sbml-test-suite
The SBML Test Suite is a conformance testing system. It allows developers and users to test the degree and correctness of the SBML support provided in a software package.
Stars: ✭ 21 (-22.22%)
Mutual labels:  systems-biology, sbml
doctoral-thesis
📖 Generation and Applications of Knowledge Graphs in Systems and Networks Biology
Stars: ✭ 26 (-3.7%)
Mutual labels:  systems-biology, computational-biology
pycsp3
A Python Library for modeling combinatorial constrained problems
Stars: ✭ 39 (+44.44%)
Mutual labels:  constraint-programming, constraint-based-modeling
SBMLToolkit.jl
SBML differential equation and chemical reaction model (Gillespie simulations) for Julia's SciML ModelingToolkit
Stars: ✭ 25 (-7.41%)
Mutual labels:  systems-biology, sbml
colomoto-docker
The CoLoMoTo Interactive Notebook: Accessible and Reproducible Computational Analyses for Qualitative Biological Networks
Stars: ✭ 15 (-44.44%)
Mutual labels:  systems-biology
findr
Fast Inference of Networks from Directed Regulations
Stars: ✭ 19 (-29.63%)
Mutual labels:  systems-biology
workshop omics integration
Workshop in omics integration and systems biology
Stars: ✭ 32 (+18.52%)
Mutual labels:  systems-biology
pyPESTO
python Parameter EStimation TOolbox
Stars: ✭ 93 (+244.44%)
Mutual labels:  systems-biology
bioSyntax-archive
Syntax highlighting for computational biology
Stars: ✭ 16 (-40.74%)
Mutual labels:  computational-biology
shiny-iatlas
An interactive web portal for exploring immuno-oncology data
Stars: ✭ 43 (+59.26%)
Mutual labels:  systems-biology
ecell4 base
An integrated software environment for multi-algorithm, multi-timescale, multi-spatial-representation simulation of various cellular phenomena
Stars: ✭ 61 (+125.93%)
Mutual labels:  systems-biology
MomentClosure.jl
Tools to generate and study moment equations for any chemical reaction network using various moment closure approximations
Stars: ✭ 34 (+25.93%)
Mutual labels:  systems-biology

CNApy: An integrated environment for metabolic modeling

Latest stable release Last commit Open issues Gitter chat

CNApy screenshot

Introduction

If you have questions, suggestions or bug reports regarding CNApy, you can use either of the CNApy GitHub issues, the CNApy GitHub discussions or the CNApy Gitter chat room.

CNApy is a Python-based graphical user interface for a) many common methods of Constraint-Based Reconstruction and Analysis (COBRA) with stoichiometric metabolic models, b) the visualization of COBRA calculation results and c) the creation and editing of metabolic models.

Supported COBRA methods (partly provided by cobrapy) include:

  • Flux Balance Analysis (FBA)
  • Flux Variability Analysis (FVA)
  • Making measured flux scenarios stoichiometrically feasible
  • Elementary Flux Modes (EFM)
  • Thermodynamic methods based on OptMDFpathway
  • Many advanced strain design algorithms such as OptKnock, RobustKnock, OptCouple and advanced Minimal Cut Sets through its integration of the StrainDesign package
  • Yield optimization (based on linear-fractional programming)
  • Phase plane analysis

All calculation results can be visualized in CNApy's interactive and editable metabolic maps. These maps can also use vector-based (SVG) backgrounds. Escher maps are also natively supported and can be created and edited inside CNApy.

Aside of performing calculations on metabolic models, CNApy can also be used to create and/or edit metabolic models. This includes all important aspects of the model's reactions, metabolites and genes. For model loading and export, CNApy supports the widely used SBML standard format.

For more details on CNApy's many more features, see section Documentation and Tutorials.

For information about how to install CNApy, see section Installation Options.

For information about how to contribute to CNApy as a developer, see section Contribute to the CNApy development.

If you want to cite CNApy, see section How to cite CNApy.

Associated project note: If you want to use the well-known MATLAB-based CellNetAnalyzer (CNA), which is not compatible with CNApy, you can download it from CNA's website.

Documentation and Tutorials

  • The CNApy guide contains information for all major functions of CNApy.
  • Our CNApy YouTube channel provides some videos of working with CNApy.
  • We also provide directly usable CNApy example projects which include some of the most common E. coli models. These projects can also be downloaded within CNApy at its first start-up or via CNApy's File menu.

Installation Options

There are 4 alternative ways to install CNApy:

  1. If you use Windows, the easiest way is to use our Windows installer, see section Using the Windows installer.
  2. If you use Linux or Apple MacOS X, the easiest installation producure is our assisted installation protocol, see Assisted installation under Linux and MacOS X.
  3. If you already have installed Anaconda or Miniconda on your computer, you can directly install CNApy as a conda package as described in section Install CNApy as conda package.
  4. If you want to develop CNApy, follow the instruction for the cloning and set-up of the CNApy repository using git and conda in section Setup the CNApy development environment.

Contribute to the CNApy development

Everyone is welcome to contribute to CNApy's development. See our contribution file for more detailed instructions.

Using the Windows installer

  1. Download the zipped CNApy Windows installer from here.
  2. Unzip the file into your desired location. You can do this by right-clicking on the file and selecting the option to extract the files.
  3. In the location where you unzipped the file, click on "INSTALL_CNAPY.bat". As soon as the installation is finished, the appearing window closes and you can start CNApy either by double-clicking on the newly created CNApy desktop icon or by searching for CNApy through the task bar search.

Assisted installation under Linux and MacOS X

Click on the operating system you use:

Assisted Linux installation

  1. Download Miniconda from here.
  2. Install Miniconda by double-clicking the downloaded file. If the script does not run, right-click on the file, open its settings and select the option to make it executable (alternative: run 'chmod u+x ./Miniconda3-latest-Linux-x86_64.sh' in your terminal). Follow the appearing installation instructions and remember in which folder you install Miniconda. If you already use Anaconda on your computer (for which we also directly provide a conda CNApy package, see here), deactivate all installation options which put Miniconda to your console or system PATH to avoid possible problems.
  3. Using your file manager, go to the folder where you installed Miniconda. Then, open the appearing sub-folder "condabin".
  4. Download the CNApy installation assistant script from here into the mentioned "condabin" folder.
  5. In the file manager, double-click on the newly downloaded installation assistant script which is called "cnapy-assistant-script.sh". If the script does not run, right-click on the file, open its settings and select the option to make it executable (alternative: run 'chmod u+x ./cnapy-assistant-script.sh' in your terminal). Wait until CNApy is downloaded and installed.
  6. You can now run CNApy by executing the following two terminal instructions in the mentioned "condabin" folder:
./conda activate cnapy-1.1.6
cnapy

Assisted MacOS X installation

  1. If you have a (new) Mac with an ARM processor, such as the M1 or M2, download Miniconda from here. If you have an (older) Mac with an Intel processor, download Miniconda from here. If you are unsure which processor your Mac has, click on the Apple menu in the upper-left of your screen and choose "About This Mac".
  2. Install Miniconda by double-clicking the downloaded file. Follow the appearing installation instructions and remember in which folder you install Miniconda. If you already use Anaconda on your computer (for which we directly provide a conda CNApy package, see here), deactivate all installation options which put Miniconda to your console or system PATH to avoid possible problems
  3. Using Finder, go to the folder where you installed Miniconda. Then, open the appearing sub-folder "condabin".
  4. Download the CNApy installation assistant script from here into the mentioned "condabin" folder.
  5. In the file manager, double-click on the newly downloaded installation assistant script which is called "cnapy-installation-script.sh". If the script does not run, right-click on the file, open its settings and select the option to make it executable (alternative: run 'chmod u+x ./cnapy-assistant-script.sh' in your terminal). Wait until CNApy is downloaded and installed.
  6. Open the terminal in the mentioned "condabin" folder. You can now run CNApy by executing the following two terminal instructions:
./conda activate cnapy-1.1.6
cnapy

Install CNApy as conda package

  1. Create a conda environment with all dependencies

    conda create -n cnapy-1.1.6 -c Gurobi -c IBMDecisionOptimization -c conda-forge -c cnapy cnapy=1.1.6 --yes
  2. Activate the cnapy conda environment

    conda activate cnapy-1.1.6
  3. Run CNApy within you activated conda environment

    cnapy

Furthermore, you can also perform the following optional steps:

  1. (optional and only recommended if you have already installed CNApy by using conda) If you already have a cnapy environment, e.g., cnapy-1.X.X, you can delete it with the command

    # Here, the Xs stand for the last CNApy version you've installed by using conda
    conda env remove -n cnapy-1.X.X
  2. (optional, but recommended if you also use other Python distributions or Anaconda environments) In order to solve potential package version problems, set a systems variable called "PYTHONNOUSERSITE" to the value "True".

    Under Linux systems, you can do this with the following command:

    export PYTHONNOUSERSITE=True

    Under Windows systems, you can do this by searching for your system's "environmental variables" and adding the variable PYTHONNOUSERSITE with the value True using Window's environmental variables setting window.

Setup the CNApy development environment

We use conda as package manager to install all dependencies. You can use miniconda. If you have conda installed you can:

  1. Create a conda development environment with all dependencies

    conda env create -n cnapy-dev -f environment.yml
  2. Activate the development environment

    conda activate cnapy-dev
  3. Checkout the latest cnapy development version using git

    git clone https://github.com/cnapy-org/CNApy.git
  4. Change into the source directory and run CNApy

    cd CNApy
    python cnapy.py

Any contribution intentionally submitted for inclusion in the work by you, shall be licensed under the terms of the Apache 2.0 license without any additional terms or conditions.

How to cite CNApy

If you use CNApy in your scientific work, please consider to cite CNApy's publication:

Thiele et al. (2022). CNApy: a CellNetAnalyzer GUI in Python for analyzing and designing metabolic networks. Bioinformatics 38, 1467-1469, doi.org/10.1093/bioinformatics/btab828.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].