Skip to main content

Genome-scale model construction with CORDA

Project description

[![Build Status](https://travis-ci.org/cdiener/corda.svg?branch=master)](https://travis-ci.org/cdiener/corda) [![codecov.io](https://codecov.io/github/cdiener/corda/coverage.svg?branch=master)](https://codecov.io/github/cdiener/corda?branch=master) [![Code Health](https://landscape.io/github/cdiener/corda/master/landscape.svg?style=flat)](https://landscape.io/github/cdiener/corda/master)

# CORDA for Python

This is a Python implementation based on the paper of Schultz et. al.

[Reconstruction of Tissue-Specific Metabolic Networks Using CORDA](http://journals.plos.org/ploscompbiol/article/authors?id=10.1371%2Fjournal.pcbi.1004808)

## What does it do?

CORDA, short for Cost Optimization Reaction Dependency Assessment is a method for the reconstruction of metabolic networks from a given reference model (a database of all known reactions) and a confidence mapping for reactions. It allows you to reconstruct metabolic models for tissues, patients or specific experimental conditions from a set of transcription or proteome measurements.

## How do I install it

CORDA for Python works only for Python 3.4+ and requires [cobrapy](http://github.com/opencobra/cobrapy) to work. We recommend installation via the [anaconda or miniconda](https://www.continuum.io/downloads) distribution. After installing anaconda or miniconda you can install cobrapy from the bioconda repository

`bash conda install -c bioconda cobra ` After that you can install CORDA using the pip from conda

`bash pip install https://github.com/cdiener/corda/archive/master.zip `

After CORDA for Python comes out of its infancy I will prepare a conda package as well. For now the master branch is usually working and tested whereas all new stuff is kept in the devel branch.

## What do I need to run it?

CORDA requires a base model including all reactions that could possibly included such as Recon 1/2 or HMR. You will also need gene expression or proteome data for our tissue/patient/experimental setting. This data has to be translated into 5 distinct classes: unknown (0), not expressed/present (-1), low confidence (1), medium confidence (2) and high confidence (3). CORDA will then ensure to include as many high confidence reactions as possible while minimizing the inclusion of absent (-1) reactions while maintaining a set of metabolic requirements.

## How do I use it?

A small tutorial is found at https://cdiener.com/corda.

## What’s the advantage over other reconstruction algorithms

I would say there are two major advantages:

  1. It does not require any commercial solvers, in fact it works fastest with the free glpk solver that already comes together with cobrapy. For instance for the small central metabolism model (101 irreversible reactions) included together with CORDA the reconstruction uses the following times:

    • cglpk: 0.02 s

    • cplex: 0.30 s

    • gurobi: 0.12 s

    • mosek: 0.23 s

  2. It’s fast. CORDA for Python uses a strategy similar to FastFVA, where a previous solution basis is recycled repeatedly (speed-up of ~4-10 times). A normal reconstruction for Recon 1 with mCADRE can take several hours. With the original Matlab implementation of CORDA this takes about 40 minutes and with CORDA for Python it takes less than 5 minutes. A Recon 2 reconstruction can be achieved in less than 30 minutes.

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

corda-0.0.5.tar.gz (14.0 kB view details)

Uploaded Source

Built Distributions

corda-0.0.5-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

corda-0.0.5-py2-none-any.whl (15.2 kB view details)

Uploaded Python 2

File details

Details for the file corda-0.0.5.tar.gz.

File metadata

  • Download URL: corda-0.0.5.tar.gz
  • Upload date:
  • Size: 14.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for corda-0.0.5.tar.gz
Algorithm Hash digest
SHA256 c1bb22ba6629d87f9c78b3ac3d3c0e79cc0521825e068dc3d444ce733c71667f
MD5 e50d0c9c76434bb43c706f54fccb6b21
BLAKE2b-256 e8233add5af558d80a73c40409e030b556f2e6af52d763d8d6db58e05605f5d5

See more details on using hashes here.

File details

Details for the file corda-0.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for corda-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c7b5b4e2ff4c17b7285cf4361a4b4a43b2b55d8be9e484dc9c5cc4d9f3be7a1b
MD5 cfa91022f2f8512b8d0258128bac267e
BLAKE2b-256 07e3e20492dfbb36044f4a450ed28864f8dd6628173ea42b710ac80cbeb9d649

See more details on using hashes here.

File details

Details for the file corda-0.0.5-py2-none-any.whl.

File metadata

File hashes

Hashes for corda-0.0.5-py2-none-any.whl
Algorithm Hash digest
SHA256 b56acb4ca17bb917db835bf2995c164fb7cec86b58d8ca3a4c4bc14a8fa83375
MD5 d122a7c5e4ed8927f6a3b345f78c1943
BLAKE2b-256 e97c29f6fbe0c813e20f86b5cce39d913a4559b3ba9412e3aba122eed5b44418

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