Generic function BUILD-MODEL-FROM-SBML
Package:
CL-SBML
Syntax:
build-model-from-sbml source => cl-sbml-model, cl-xml-root-object
Arguments and Values:
source
---an object
cl-sbml-model
---a CL-SBML model
cl-xml-root-object
---a CL-XML node
Description:
The generic function BUILD-MODEL-FROM-SBML is the entry point of the CL-SBML library. It takes one parameter, source, where to load a SBML model, and returns two values: a CL-SBML model and a CL-XML object. model is an processed SBML model; e.g. the mathematical formulae have been translated into a S-expression form. The node is the uninterpreted CL-XML representation of the SBML source contents.
Known Methods:
-
build-model-from-sbml (source pathname) => cl-sbml-model, cl-xml-root-object
This method dispatches on the argument source being a PATHNAME.
-
build-model-from-sbml (source string) => cl-sbml-model, cl-xml-root-object
This method dispatches on the argument source being a STRING. In this case sbml-string contains the SBML model itself. The argument will not be interpreted as a file name.
-
build-model-from-sbml (source stream) => cl-sbml-model, cl-xml-root-object
This method dispatches on the argument source being a STREAM. Eventually the STRING and PATHNAME methods call this method.
-
build-model-from-sbml (source cl-xml-object) => cl-sbml-model, cl-xml-root-object
This method dispatches on the argument source being a CL-XML object (a XQDM:DOC-NODE, i.e. an already parsed XML document.)
Affected By:
None.
Exceptional Situations:
None per se, but the underlying machinery may signal variuos conditions, mostly related to file and streams I/O and to XML parsing.
See Also:
LOAD-SBML
Notes:
None.