The following information is available for using libsbml in Taverna
The use of libsbml 2.3.4 has been tested to work with the latest version of
taverna 1.6.2. To enact SBML workflows, Taverna needs access to the Java
binding of libSBML as well as to the underlying native library generated from
the C and C++ source code for libsbml. Platform specific versions of libsbml
2.3.4 are available as zip files below. libSBML version 3.0 libraries will be
made available in November 2007.
Installation of the libsbml libraries and configuration of Taverna varies
according to your PC platform.
Extract the zip file in the lib directory of your taverna.home
folder in Documents and Settings\username\Application Data\Taverna-1.6.2.
This is followed by making the following changes highlighted in bold in
the runme.bat file in your Taverna installation directory:
set ARGS=%ARGS% -Djava.protocol.handler.pkgs=uk.ac.rdg.resc.jstyx.client
set ARGS=%ARGS% "-Dtaverna.dotlocation=%~dp0\bin\win32i386\dot.exe"
REM NB: Proxy configuration settings have now been reverted to being in conf/mygrid.properties
REM Required for dependencies on libsbml
set ARGS=%ARGS% "-Djava.library.path=%LIB_PATH%"
java %ARGS% -jar "%~dp0\taverna-bootstrap-22.214.171.124.jar" %*
For Linux, its zip file should be extracted into your
folder. Your Taverna runme.sh script should then be edited with the text
highlighted in bold as follows:
# Load customised properties if they exist
if [ -f "$TAVERNA_HOME/custom.sh" ] ; then
#Set to $TAVERNA_HOME/lib for shared installation
java $ARGS -jar "$TAVERNA_HOME/taverna-bootstrap-126.96.36.199.jar" $@
For those people using MacOS X, the libsbml native libraries should be placed
in the same directory where your Taverna application bundle resides. So for
example, if your Taverna application bundle is in
/Applications/Taverna-1.6.2/Taverna.app then the libxerces-c.27.dylib,
libsbml.dylib and libsbmlj.jnilib files should be placed
there. In constrast, the libsbml jar file should be placed in
Taverna's lib folder which is found at /Users/username/Library/Application
Installers for semi-automated installation of the libsbml java and
native libraries for Windows, Linux and MacOS X are available below. These
installers will also make the necessary changes to the runme.* taverna
startup script where required. To use these installers, download the file
relevant to your
platform, and run the executable file following its extraction if
required. You will need to inform the installer where your Taverna
application has been installed on your filesystem.
The XML API configuration file for libsbml can be downloaded from the link
below. This file specifies those classes and methods from libsbml which can
be used for the construction of workflows. To import the API consumer
definition file into Taverna, right click on Available Processors in the
Scavenger panel. Select Add new API Consumer and select the above libsbml
definition file. A new branch labelled libsbml-2.3.4 will then be added to
scavenger panel, showing the libsbml class names and methods for use in SBML
These libsbml methods can then be used as workflow processors by
right-clicking on them and adding them to your workflow model.