README.md 1.93 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
################################################
#                                              #
#      CADBIOM INSTALLATION INSTRUCTIONS       #
#                                              #
#        http://cadbiom.genouest.org/          #
#                                              #
################################################


# Installation


## System requirements

VIGNET Pierre's avatar
VIGNET Pierre committed
15 16 17 18 19
CADBIOM is mainly developed in Python 2.7.
Before running Cadbiom, the build process is simplified due to **make**
and the following system packages have to be installed from
the distribution packages library
(or similar, depending on your operating system):
20 21

* python-gtksourceview2
VIGNET Pierre's avatar
VIGNET Pierre committed
22
* python2.7-dev
23 24
* libxml2-dev
* libxslt1-dev
25 26 27 28 29
* libgraphviz-dev
* pkg-config (fix errors when installing pygraphviz and when config is not loaded...)
* swig or swig3.0
* python-glade2
* python-gtk2
30

31 32 33 34
You can install these dependencies with the following command (on Debian systems):

    sudo apt-get install python-gtksourceview2 python2.7-dev libxml2-dev libxslt1-dev libxslt1-dev libgraphviz-dev pkg-config swig3.0 python-glade2 python-gtk2

35 36 37 38

## Python requirements

Before running Cadbiom, the following Python packages
VIGNET Pierre's avatar
VIGNET Pierre committed
39
have to be installed from pypi repository:
40

41 42 43 44
* lxml
* networkx
* pygraphviz
* pyCryptoMS
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60

Note: Cadbiom software requires a SAT solver which is
proposed as a Python wrapper by an independant library (pyCryptoMS).

You can install these dependencies with the following command:

    make build

or:

    python2.7 install -r requirements.txt


## Cadbiom package

Unpack cadbiom.tar.gz;
VIGNET Pierre's avatar
VIGNET Pierre committed
61
It contains the cadbiom folder with:
62 63 64 65 66 67 68 69 70 71 72 73

- antlr3 (folder)
- bio_models (folder)
- gt_gui (folder)
- models (folder)
- cadbiom_des.py (file)
- Makefile (file)
- README.md


# Utilization

VIGNET Pierre's avatar
VIGNET Pierre committed
74
Run the following command in your shell:
75 76 77 78 79 80 81 82 83 84 85 86 87

    make run

or:

    python cadbiom_des.py


# License

CADBIOM is freely available on cadbiom.genouest.org,
distributed under the terms of the
GNU General Public License.