libSBML

Latest stable release: 4.0.1, released 21 Jan. 2010 (see box at right →)
Latest development releases: 5.0.0-a0 and 4.1.0-b2 (see the release matrix)

LibSBML is an open-source programming library to help you read, write, manipulate, translate, and validate SBML files and data streams. It is not an application itself (though it does come with example programs), but rather a library you can embed in your own applications.

The main authors are Sarah Keating, Akiya Jouraku, Ben Bornstein and Michael Hucka, with contributions from numerous other individuals.

LibSBML understands all Levels and Versions of SBML, as well as the SBML Layout proposal by Gauges, Rost, Sahle and Wegner. It's written in ISO C and C++ but can be used from all the languages listed in the right-hand box.

It's available in both source-code form and precompiled binaries for Windows, MacOS, and Linux. Click on the Download link in the box at right.

Why use libSBML?

Why not simply use an off-the-shelf XML parser? In some cases this approach may be appropriate. However, there are many reasons to prefer libSBML. Here are just a few:

  • Architecture. LibSBML's object model and API are designed around SBML and the operations that are commonly needed when working with SBML.
  • Features. LibSBML offers powerful features such as reading/writing compressed SBML files, detecting overconstrained models, checking units, accessing SBML <annotation> content as XML objects, and the ability to use any one of three popular XML parser libraries: Xerces, Expat, and libxml2.
  • Efficiency. LibSBML's event-based parser is more efficient than using a DOM.
  • Portability. The LibSBML code is portable. It runs and is supported on Linux (multiple variants), MS Windows (native), MacOS X, Solaris, and FreeBSD.

Please cite the paper if you use libSBML

Article citations are crucial to our academic careers. If you use libSBML and you publish papers about your software, we ask that you please cite the libSBML paper:

Bornstein, B. J., Keating, S. M., Jouraku, A., and Hucka M. (2008) LibSBML: An API Library for SBML. Bioinformatics, 24(6):880–881, doi:10.1093/bioinformatics/btn051.

Roadmap for libSBML development

Our plans for upcoming versions of libSBML are described on a separate libSBML development roadmap page.

SBML Contributors

LibSBML has been developed and supported for many years and is the result of hard work by many people. We especially thank the following contributors (in alphabetical order):

  • Frank Bergmann
  • Bill Denny
  • Christoph Flamm
  • Akira Funahashi
  • Ralph Gauges
  • Martin Ginkel
  • Alex Gutteridge
  • Stefan Hoops
  • Moriyoshi Koizumi
  • Ben Kovitz
  • Rainer Machné
  • Nicolas Rodriguez

Historical archive

There have been many releases of LibSBML over the years. The complete packages of all previous versions are available in the libSBML download area on SourceForge.net.

In addition, for your convenience, the following table includes direct access to the releases and documentation for notable libSBML versions (such as those that were released in time for particular SBML Hackathons). These are not all releases, only specific ones—contact us if you would like to see the docs for more releases here.

Version Release date Release notes Manuals (PDF)
1.1.2 6 Jun. 2005 NEWS.txt Developer's Manual
2.0.0 23 Jul. 2005 NEWS.txt Developer's Manual,   API Reference Manual
2.3.1 9 May 2005 NEWS.txt Developer's Manual,   API Reference Manual
2.3.4 3 Oct. 2005 NEWS.txt Developer's Manual,   API Reference Manual
2.3.5 10 Aug. 2007 NEWS.txt Developer's Manual,   API Reference Manual
3.4.1 30 Jun. 2009 NEWS.txt C++ Manual,   Java Manual,   Python Manual,   C Manual

Funding acknowledgements

We are immensely thankful to the funding agencies, particularly NIH and DARPA, that have supported the development of libSBML over the years. Please visit our funding acknowledgements page for more information.


Retrieved from "http://sbml.org/Software/libSBML"

This page was last modified 15:55, 2 February 2010.



Please use our issue tracking system for any questions or suggestions about this website. This page was last modified 15:55, 2 February 2010.