ingranalyze

Influence graph analysis, consistency check, diagnosis, repair and prediction

Sign Consistency on Influence Graphs - Diagnosis, Repair, Prediction

For many biological systems knowledge bases are available that describe the interaction of its components usually in terms of causal networks and influence graphs. In particular signed influence graphs where edges indicate either positive or negative effect of one node upon another. Building upon a notion of consistency between biochemical/genetic regulations and high-throughput profiles of cell activity. We present an approach to check the consistency of large-scale data sets, provide explanations for inconsistencies by determining minimal representations of conflicts. In practice, this can be used to identify unreliable data or to indicate missing reactions. Further, we address the problem of repairing networks and corresponding yet often discrepant measurements in order to re-establish their mutual consistency and predict unobserved variations even under inconsistency.

Installation

You can install ingranalyze by running:

$ pip install --user ingranalyze

On Linux the executable script can then be found in ~/.local/bin

and on MacOS the script is under /Users/YOURUSERNAME/Library/Python/2.7/bin.

Usage

Typical usage is:

$ ingranalyze.py --mics --repair 5 networkfile observationfile

For more options you can ask for help as follows:

$ ingranalyze.py -h 
usage: ingranalyze.py [-h] [--mics] [--repair {1,2,3,4,5}] [--list_repairs] networkfile observationfile                                                          

positional arguments:                                                                                      
  networkfile           influence graph in bioquali format                                                 
  observationfile       observations in bioquali format                                                    

optional arguments:                                                                                        
  -h, --help            show this help message and exit                                                    
  --mics                compute minimal inconsistent cores
  --repair {1,2,3,4,5}  choose repair method: 1 flip observed variations, 2
                        flip influences, 3 define network nodes as inputs, 4
                        define network nodes as input in an experiment (use
                        only in case of multiple experiments), 5 add
                        influences. default is 3
  --list_repairs        compute all minimal repair sets

Samples

Sample files for yeast are available here:: yeast_guelzim.net yeast_snf2.obs

Related publications