Learning Boolean logic models of protein signaling networks powered by PyASP and CellNOptR
Project description
caspo combines PyASP and CellNOpt to provide an easy to use software for learning Boolean logic models of protein signaling networks from a prior knowledge network in .sif format and a phospho-proteomics dataset in MIDAS format.
Installation
You can install caspo by running:
$ pip install caspo
Note that you may need root (sudo) access for this. Otherwise, you can use a virtualenv. Before using caspo make sure that R is already installed. The first time you run caspo, CellNOptR will be downloaded and installed in your R environment.
Usage
Typical usage is:
$ caspo.py pkn.sif midas.csv
For more options you can ask for help as follows:
$ caspo.py --help Usage: caspo.py [options] pkn.sif midas.csv Options: -h, --help show this help message and exit -t T, --tolerance=T suboptimal enumeration tolerance: 0 <= t <= 0.5 (Default to 0) -p P, --discrete=P discretization over the integer interval: [0,10^P] (Default to 2) -g, --gtts compute Global Truth Tables (Default to False). This could take some time for many models. -o O, --outdir=O output directory path (Default to current directory)
Samples
Sample files are available for the prior knowledge network and the phospho-proteomics dataset
Output
- By default, the output of caspo will be 4 comma-separated-values files:
models.csv: Matrix representation of logic models
frequencies.csv: Frequencies of hyperedges occurrence
exclusives.csv: Mutual exclusives hyperedges with their corresponding frequencies
inclusives.csv: Mutual inclusives hyperedges with their corresponding frequencies
- When using the -g option, caspo will also output:
gtt_stats.csv: Basic cluster analysis.
gtt-%i.csv: Explicit computation of each Global Truth Table
1.2 (2013-02-05)
Depends on PyASP instead of BioASP
Package the full ASP encoding
Implements old BioASP’s functionality
Upgrade dependency on cellnopt.wrapper to 1.0.5
1.1 (2012-12-20)
Removes CellNOpt installation relying on cellnopt.wrapper
1.0 (2012-12-03)
Initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.