A tool for consistency based analysis of influence graphs and observed systems behavior.
Project description
Installation
You can install iggy by running::
$ pip install --user iggy
On Linux the executable scripts can then be found in ~/.local/bin
and on MacOS the scripts are under /Users/YOURUSERNAME/Library/Python/3.5/bin
.
Usage
Typical usage is::
$ iggy.py network.sif observation.obs --show_labelings 10 --show_predictions
For more options you can ask for help as follows::
$ iggy.py -h
usage: iggy.py [-h] [--no_fwd_propagation] [--no_founded_constraints]
[--elempath] [--depmat] [--mics] [--autoinputs] [--scenfit]
[--show_labelings SHOW_LABELINGS] [--show_predictions]
networkfile observationfile
Iggy confronts biological networks given as interaction graphs with
experimental observations given as signs that represent the concentration
changes between two measured states. Iggy supports the incorporation of
uncertain measurements, discovers inconsistencies in data or network, applies
minimal repairs, and predicts the behavior of unmeasured species. In
particular, it distinguishes strong predictions (e.g. increase of a node
level) and weak predictions (e.g., node level increases or remains unchanged).
positional arguments:
networkfile influence graph in SIF format
observationfile observations in bioquali format
optional arguments:
-h, --help show this help message and exit
--no_fwd_propagation turn forward propagation OFF, default is ON
--no_founded_constraints
turn constraints OFF that every variation must be
founded in an input, default is ON
--elempath a change must be explained by an elementary path from
an input.
--depmat combines multiple states, a change must be explained
by an elementary path from an input.
--mics compute minimal inconsistent cores
--autoinputs compute possible inputs of the network (nodes with
indegree 0)
--scenfit compute scenfit of the data, default is mcos
--show_labelings SHOW_LABELINGS
number of labelings to print, default is OFF, 0=all
--show_predictions show predictions
The second script contained is opt_graph.py Typical usage is::
$ opt_graph.py network.sif observations_dir/ --show_repairs 10
For more options you can ask for help as follows::
$ opt_graph.py -h
usage: opt_graph.py [-h] [--no_fwd_propagation] [--no_founded_constraints]
[--elempath] [--depmat] [--autoinputs]
[--show_repairs SHOW_REPAIRS] [--repair_mode REPAIR_MODE]
networkfile observationfiles
Opt-graph confronts a biological network given as interaction graphs with sets
of experimental observations given as signs that represent the concentration
changes between two measured states. Opt-graph computes the networks fitting
the observation data by removing (or adding) a minimal number of edges in the
given network
positional arguments:
networkfile influence graph in SIF format
observationfiles directory of observations in bioquali format
optional arguments:
-h, --help show this help message and exit
--no_fwd_propagation turn forward propagation OFF, default is ON
--no_founded_constraints
turn constraints OFF that every variation must be
founded in an input, default is ON
--elempath a change must be explained by an elementary path from
an input.
--depmat combines multiple states, a change must be explained
by an elementary path from an input.
--autoinputs compute possible inputs of the network (nodes with
indegree 0)
--show_repairs SHOW_REPAIRS
number of repairs to show, default is OFF, 0=all
--repair_mode REPAIR_MODE
choose repair mode: 1 = remove edges (default), 2 = add +
remove edges (opt-graph), 3 = flip edges
Samples
Sample files available here: demo_data.tar.gz_
.. _demo_data.tar.gz: https://bioasp.github.io/iggy/downloads/demo_data.tar.gz
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.
Source Distribution
Built Distribution
File details
Details for the file iggy-1.4.2.tar.gz
.
File metadata
- Download URL: iggy-1.4.2.tar.gz
- Upload date:
- Size: 30.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98be1af3c1b5c6f806f11620bc8c2a8d84cd66088db4aa138e050974848adbf9 |
|
MD5 | d30fc409c4e301219acb6da015adb9f2 |
|
BLAKE2b-256 | 1d72776308b566cffc2ccb4e889af5b92324cbe1c837eeebf497b5d4b3a3ff07 |
File details
Details for the file iggy-1.4.2-py3-none-any.whl
.
File metadata
- Download URL: iggy-1.4.2-py3-none-any.whl
- Upload date:
- Size: 30.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | adf331e1880c9de008dc2a8c510effdc86d38739a47c9972333d31a7f13a96c0 |
|
MD5 | 97972128e8dc580007de82b83d6758a9 |
|
BLAKE2b-256 | 03a23ac7a0269351f4fe76079084a0b39d302250389a9ab7e66848f8b1bd5fdd |