You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- GUI, for quick access to a visual representation of the model, analysis methods and annotation tools
42
36
- SOAP based web services: using the Mariner framework much high level functionality is exposed for integration into web tools
43
37
44
-
For more information on the development and use of PySCeS CBMPy feel free to contact me:
45
-
46
-
PySCeS-CBMPy has been tested on Windows 7 and 8.1, Mac OSX and Ubuntu Linux 12.04, 14.04, 16.04.
47
-
It is compatible with both Python 2.7+ and includes experimental support for Python 3.4+ It is highly recommend to use
48
-
Python 2.7 as not all Python package dependencies (extended functionality) are available for Python 3.
49
-
50
-
PySCeS CBMPy is now accessible as a Python module **cbmpy** in place of the the previously used **pyscescbm** which is no longer supported. CBMPy includes support for reading/writing models in SBML3 FBC versions 1 and 2 as well as COBRA dialect, Excel spreadsheets and Python.
51
-
52
-
To use follow the installation instructions given below and try the following in a Python shell::
53
-
54
-
import cbmpy
55
-
cmod = cbmpy.readSBML3FBC('cbmpy_test_core')
56
-
cbmpy.doFBA(cmod)
57
-
58
-
New Ipython notebook tutorials are available. Happy modelling!
59
-
60
-
New cross-platform conda support
61
-
--------------------------------
62
-
63
-
CBMPy is now available as a crosss platform Anaconda package available for Win32/64, Linux32/64 and OSX from the Anaconda cloud (https://anaconda.org/bgoli/repo). This is the first
64
-
major release using the conda platform and all feedback is welcomed. If you have Anaconda installed (tested with 4.2.0) simply try the following::
65
-
66
-
conda install -c bgoli -c SBMLTeam cbmpy
67
-
68
-
which should install CBMPy, libSBML and all the required (non-solver) dependencies. If you do not use Anaconda or would
69
-
like to try install things in a semi-automated way carry on reading.
70
-
71
-
The following installation instructions are for Ubuntu 16.04 but should be adaptable to any
72
-
Linux package managment system, OSX, Debian, etc. Except for GLPK (4.47) and SymPy (0.7.4 or newer)
73
-
no specific library version is required. For more detailed installation instructions and Windows
74
-
please see the online documentation http://cbmpy.sourceforge.net/reference/install_doc.html
75
-
76
-
Auto-dependency configuration
77
-
-----------------------------
78
-
79
-
I am in the process of creating automated dependency checking and building tools for CBMPy.
80
-
81
-
Ubuntu support is complete with cross platform conda support now available for testing (https://github.com/bgoli/cbmpy-build.git)::
82
-
83
-
To start with download the install script that will run the system test::
The best way to get the basic CBMPy running is to install with Pip or create an Anaconda environment. CBMPy is developed on GitHub (https://github.com/SystemsBioinformatics/cbmpy)
116
45
117
-
and run::
46
+
## Install with pip using requirements.txt
47
+
From a terrminal or command prompt try:
118
48
119
-
python setup.py build sdist
120
-
sudo python setup.py install
49
+
`pip install -r requirements.txt`
121
50
122
-
Installing glpk/python-glpk
123
-
---------------------------
51
+
## Install by creating an Anaconda environment using environment.yml
52
+
From a terrminal or command prompt try:
124
53
125
-
CBMPy requires a linear solver for numerical analysis, the open source (glpk) solver can be automatically built and installed as follows (requires git to be installed and accessible):
54
+
`conda env create -f=environment.yml`
126
55
127
-
Download the install script that will install GLPK/PyGLPK for CBMPy on Ubuntu 14.04 or newer::
56
+
This creates an environment **cbmpy**that can be accessed from the command line using `conda activate cbmpy3`
To check you installation follow the installation try the following in a Python shell:
130
60
131
-
Make executable::
132
-
133
-
chmod 744 install_glpk.sh
134
-
135
-
and run::
136
-
137
-
./install_glpk.sh
138
-
139
-
Note this script is designed to be used for building containers and will remove any installed version of GLPK and build and install the correct version needed for PyGLPK.
140
-
141
-
No warranty of any kind assumed or otherwise, use at own risk!
0 commit comments