SloppyCell

The SloppyCell package is a software environment for simulation and analysis of biomolecular networks developed by the groups of Jim Sethna and Chris Myers at Cornell University. It is hosted at [WWW] SourceForge, and here is a paper entitled [WWW] Python unleashed on Systems Biology about it at the arXiv.

1. SBML support

We have provided an interface to SloppyCell that can import basic [WWW] SBML model specifications and SloppyCell model specifications (PyDSTool/Toolbox/makeSloppyModel.py). The SloppyCell developers say that they support "much" of SBML level 2 version 3, in particular:

Others features not currently supported:

They also state that "We are interested in adding support for those features that folks are using. Please contact us if we're missing a feature you would find useful."

To use SBML with SloppyCell, you will need to install the libsbml [WWW] python API package.

Then, use the IO.from_SBML_file function from SloppyCell to import your SBML file. This creates a SloppyCell.Network object, which has a method get_eqn_structure. This method generates a dictionary of strings of the form you can see in the demo script PyDSTool/tests/sloppycell_example.py. From there, just follow that script. The dictionary has 5 keys:

* 'odes': The differential equation for each variable, indexed by variable, for example ['odes']['x'] = '-x*y + x'

* 'functions': Functions defined and used in the equations, e.g. ['functions']['f(x,y,z)'] = 'x**(y-z)'

* 'parameters': The parameters used in the equations, e.g. ['parameters']['param_1'] = 1.2

* 'assignments': Assigned quantities used in the equations, e.g. ['assignments']['q'] = 'x**2' substitutes x**2 for q everywhere in the equations.

* 'events': Indexed by triggering expression, mapped to a dictionary of variable transformations, e.g. ['events']['gt(x-cos(y), sqrt(z))'] = {'x': '1.5 * cos(y)'} . When x-cos(y) becomes greater than sqrt(z), set the value of x to 1.5 * cos(y)

Note that delayed events are not currently supported in this interface. Both SloppyCell and PyDSTool support delayed events but the technical differences between the two implementations were too complex for inclusion in this version of the interface.

Please contact us if you have any further questions or comments about this interface, or wish to contribute to it.

2. LaTex support

SloppyCell also provides output of equations directly to LaTeX, which we intend to port for use with PyDSTool in the near future (this should be an easy task).

last edited 2008-07-27 17:35:42 by RobClewley