Skip to content

Commit 167cee7

Browse files
committed
Update README, include rst version, bump version to 0.8.6
1 parent 7119cc9 commit 167cee7

File tree

3 files changed

+239
-3
lines changed

3 files changed

+239
-3
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,8 @@ Method and variable names and the analysis objects they belong to that were chan
122122
|mca_data |ec_results |
123123
|reaction name* |J_reaction name |
124124
|par_scan |do_par_scan |
125-
*reaction name refers to the naming of a reaction as it is defined in the model file.*
125+
126+
*reaction name refers to the naming of a reaction as it is defined in the model file.
126127

127128
**Symca**
128129

@@ -133,6 +134,7 @@ Method and variable names and the analysis objects they belong to that were chan
133134
|save |save_session|
134135
|load |load_session|
135136
|par_scan |do_par_scan |
137+
136138
*CCn refers to any of the additional result dictionaries that are created when an internal metabolite is fixed and the `internal_fixed` paramenter of `do_symca` is set to `True`
137139

138140
**Data2D**

README.rst

Lines changed: 234 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,234 @@
1+
|Documentation Status|
2+
3+
PySCeSToolbox
4+
=============
5+
6+
This is a set of metabolic model analysis tools for PySCeS.
7+
8+
PySCeSToolbox currently provides tools for:
9+
10+
- Generalised supply-demand analysis.
11+
- Symbolic metabolic control analysis and control pattern analysis.
12+
- Generating model schemas from metabolic models.
13+
- Distinguishing between thermodynamic and kinetic contributions
14+
towards reaction rate.
15+
- Interactive plotting
16+
17+
PySCeSToolbox was designed to be used within the Jupyter notebook, but
18+
most of the core features should work in a normal Python script.
19+
20+
Documentation can be found at http://pyscestoolbox.readthedocs.org.
21+
While all major tools have been documented, the documentation is still a
22+
work in progress.
23+
24+
Contents of README
25+
------------------
26+
27+
- `Requirements <#requirements>`__
28+
- `Installation <#installation>`__
29+
- `Basic usage <#basic-usage>`__
30+
- `Important notices <#important-notices>`__
31+
- `Porting scripts to latest
32+
version <#porting-scripts-to-latest-version>`__
33+
34+
Requirements
35+
------------
36+
37+
An abbreviated list of requirements is given below. Python dependencies
38+
will be installed automatically when installing PySCeSToolbox via pip.
39+
For detailed operating system specific instructions on installing the
40+
requirements see the documentation at
41+
`http://pyscestoolbox.readthedocs.io/ <http://pyscestoolbox.readthedocs.io>`__,
42+
43+
- A Python 2.7 installation
44+
- The full SciPy stack (see http://scipy.org/install.html)
45+
- PySCeS (see http://pysces.sourceforge.net/download.html or install
46+
using ``pip install pysces``)
47+
- Maxima (see http://maxima.sourceforge.net/download.html)
48+
- Jupyter Notebook (version in the 4.x.x series)
49+
50+
**Notes:**
51+
52+
Required packages should automatically download and install when using
53+
the commands specified under `Installation <#installation>`__ below.
54+
55+
Maxima is only a requirement for SymCA.
56+
57+
Installation
58+
------------
59+
60+
The latest release of PySCeSToolbox can be installed from PyPi by
61+
running the following commands in the terminal (or Windows equivalent):
62+
63+
.. code:: bash
64+
65+
pip install pyscestoolbox
66+
67+
The latest development version can be installed from GitHub with:
68+
69+
.. code:: bash
70+
71+
pip install git+https://github.com/exe0cdc/ipython-d3networkx.git
72+
pip install git+https://github.com/PySCeS/PySCeSToolbox.git
73+
74+
For the pre-2015-11-11 version:
75+
76+
.. code:: bash
77+
78+
pip install git+https://github.com/exe0cdc/ipython-d3networkx.git
79+
pip install git+https://github.com/PySCeS/PySCeSToolbox.git@f63b5ab660f103105750159885608a5f48de1551
80+
81+
Basic usage
82+
-----------
83+
84+
To start a PySCeSToolbox session in a Jupyter notebook:
85+
86+
1. Start up the Jupyter Notebook using the ``jupyter notebook`` command
87+
in the terminal
88+
2. Create a new notebook by clicking the ``New`` button on the top right
89+
of the window and selecting ``Python 2``
90+
3. Run the following three commands in the first cell:
91+
92+
.. code:: python
93+
94+
%matplotlib inline
95+
import pysces
96+
import psctb
97+
98+
Model files must be placed in ``~/Pysces/psc/`` if using Linux or
99+
``C:\Pysces\psc\`` for Windows.
100+
101+
Important notices
102+
-----------------
103+
104+
For readers of "Tracing regulatory routes in metabolism using generalised supply-demand analysis" published in BMC Systems Biology on 03/12/2015:
105+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
106+
107+
To use the IPython notebook file included as "Additional file 5" in the
108+
paper, please install the **latest version** of PySCeSToolbox specified
109+
under `Installation <#installation>`__.
110+
111+
The two PySCeS MDL model files included as "Addition file 1" and
112+
"Addition file 2" are required to run the notebook. They should be
113+
renamed to "Hoefnagel\_moiety\_ratio.psc" and "Curien.psc",
114+
respectively. Further instructions are included within the notebook and
115+
on this page.
116+
117+
Firefox users should download these files using a different browser or
118+
switch to the new beta version of the BMC Systems Biology website.
119+
120+
Changes:
121+
~~~~~~~~
122+
123+
Because this project is still in its infancy, future changes might break
124+
older scripts. These types of changes will be kept to a minimum and will
125+
be documented here.
126+
127+
Changes on 2017-02-09: Full cross compatibility
128+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
129+
130+
On 2017-02-09 Symca support via Maxima has been added to PySCeSToolbox
131+
on Windows. A configuration file located at
132+
``C:\Pysces\psctb_config.ini`` can be used to specify the path to
133+
``maxima.bat``. By default, however, PySCeSToolbox should detect the
134+
path to ``maxima.bat`` automatically if it has been installed using the
135+
default options. This change should have no impact on any older scripts
136+
save for making them platform independent.
137+
138+
Changes on 2017-02-02: Dropped IPython Notebook 3.x.x support
139+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
140+
141+
As of 2017-02-02 IPython Notebook 3.x.x support has been dropped in
142+
favour of Jupyter 4.x.x. This should not affect the functioning of
143+
scripts (save for those based on versions before that of 2015-11-11).
144+
PySCeSToolbox will however require the Jupyter Notebook as of this date
145+
in order to use its interactive features. Note that ``ipywidgets`` (an
146+
automatically installed requirement for the Jupyter notebook) needs you
147+
to run the command
148+
"``jupyter nbextension enable --py --sys-prefix widgetsnbextension``"
149+
before enabling widgets in the notebook.
150+
151+
Changes on 2015-11-11: API changes
152+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
153+
154+
Major changes were made on 2015-11-11 that might break scripts coded
155+
before this date. These changes are related to the naming of methods and
156+
fields. For scripts older than 2015-11-11 we recommend using an older
157+
version of PySCeSToolbox (noted under `Installation <#installation>`__).
158+
Manual porting of scripts is also possible with details of necessary
159+
changes outlined under `Porting scripts to latest
160+
version <#porting-scripts-to-latest-version>`__.
161+
162+
Porting scripts to latest version
163+
---------------------------------
164+
165+
Method and variable names and the analysis objects they belong to that
166+
were changed on 2015-11-11 are documented in the tables below. To port
167+
any older script simply change the old name of any method/variable to
168+
the new name.
169+
170+
**RateChar**
171+
172+
+-------------------+-----------------+
173+
| Old name | New Name |
174+
+===================+=================+
175+
| save | save\_session |
176+
+-------------------+-----------------+
177+
| load | load\_session |
178+
+-------------------+-----------------+
179+
| plot\_data | scan\_results |
180+
+-------------------+-----------------+
181+
| mca\_data | mca\_results |
182+
+-------------------+-----------------+
183+
| plot\_decompose | do\_mca\_scan |
184+
+-------------------+-----------------+
185+
186+
**Thermokin**
187+
188+
+-------------------+---------------------+
189+
| Old name | New Name |
190+
+===================+=====================+
191+
| reactions | reaction\_results |
192+
+-------------------+---------------------+
193+
| mca\_data | ec\_results |
194+
+-------------------+---------------------+
195+
| reaction name\* | J\_reaction name |
196+
+-------------------+---------------------+
197+
| par\_scan | do\_par\_scan |
198+
+-------------------+---------------------+
199+
200+
\*reaction name refers to the naming of a reaction as it is defined in
201+
the model file.
202+
203+
**Symca**
204+
205+
+-------------+------------------+
206+
| Old name | New Name |
207+
+=============+==================+
208+
| CC | cc\_results |
209+
+-------------+------------------+
210+
| CCn\* | cc\_results\_n |
211+
+-------------+------------------+
212+
| save | save\_session |
213+
+-------------+------------------+
214+
| load | load\_session |
215+
+-------------+------------------+
216+
| par\_scan | do\_par\_scan |
217+
+-------------+------------------+
218+
219+
\*CCn refers to any of the additional result dictionaries that are
220+
created when an internal metabolite is fixed and the ``internal_fixed``
221+
paramenter of ``do_symca`` is set to ``True``
222+
223+
**Data2D**
224+
225+
+--------------+-----------------+
226+
| Old name | New Name |
227+
+==============+=================+
228+
| plot\_data | scan\_results |
229+
+--------------+-----------------+
230+
| save\_data | save\_results |
231+
+--------------+-----------------+
232+
233+
.. |Documentation Status| image:: https://readthedocs.org/projects/pyscestoolbox/badge/?version=latest
234+
:target: http://pyscestoolbox.readthedocs.org/en/latest/?badge=latest

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111

1212
setup(
1313
name='PyscesToolbox',
14-
version='0.8.5',
14+
version='0.8.6',
1515
packages=packages,
1616
url='https://github.com/PySCeS/PyscesToolbox',
17-
download_url='https://github.com/PySCeS/PyscesToolbox/archive/0.8.5.tar.gz',
17+
download_url='http://github.com/PySCeS/PyscesToolbox/archive/0.8.6.tar.gz',
1818
license='BSD-3-Clause',
1919
author='Carl Christensen',
2020
author_email='carldc@sun.ac.za',

0 commit comments

Comments
 (0)