ccapi

Release v0.1.0. (Installation)

https://img.shields.io/travis/achillesrasquinha/ccapi.svg?style=flat-square https://img.shields.io/appveyor/ci/achillesrasquinha/ccapi.svg?style=flat-square&logo=appveyor https://img.shields.io/coveralls/github/achillesrasquinha/ccapi.svg?style=flat-square https://img.shields.io/pypi/pyversions/ccapi.svg?style=flat-square https://img.shields.io/docker/build/achillesrasquinha/ccapi.svg?style=flat-square&logo=docker https://img.shields.io/badge/made%20with-boilpy-red.svg?style=flat-square https://img.shields.io/badge/Say%20Thanks-🦉-1EAEDB.svg?style=flat-square https://img.shields.io/badge/donate-💵-f44336.svg?style=flat-square

A Python Library to interact with the Cell Collective API v2

ccapi is a Python Package that provides a simple interface to Cell Collective for modelling and analysis of biological networks.


>>> import ccapi
>>> model   = ccapi.load_model("fibroblasts") # a boolean-based model
>>> boolean = model.version[0]
>>> boolean.components
[<ExternalComponent -2 at 0x0111ab9a50 name='ExtPump'>,
 <ExternalComponent -3 at 0x0111ab9a90 name='alpha_1213L'>,
 <ExternalComponent -4 at 0x0111ab9ad0 name='alpha_iL'>]

ccapi includes simple, object-oriented interfaces for creating and reading models (to/from an SBML qual file format), graphically viewing such models, querying, editing, saving and exporting models (into SBML qual, Boolean Expressions, Truth Tables, Interaction Matrix and GML formats).

>>> boolean.summary()
Internal Components (+, -) External Components
-------------------------- -------------------
Palpha_iR (1,0)            ExtPump
Cbp (1,0)                  alpha_1213L
EGFR (3,0)                 alpha_iL
PIP2_45 (3,0)              alpha_sL
...

Beloved Features

ccapi attempts to be an all-in-one toolbox for modelling biological systems.

  • Reading public and private models from Cell Collective.
  • A rich knowledge-base for each model species.
  • Importing models using an SBML file format.
  • Exporting models into SBML qual, Boolean Expressions, Truth Tables, Interaction Matrix and GML formats.
  • Querying for models.
  • Visualizing models graphically.

ccapi officially supports Python 2.7+ and 3.4+.

Integrations

The API Guide

If you are looking for information on a specific function, class, or method, this part of the documentation is for you.