3 releases

0.1.1 Aug 19, 2021
0.1.1-alpha.3 Jun 23, 2021
0.1.1-alpha.2 Jun 22, 2021

#5 in #species


Used in sbml-sim

MIT/Apache

52KB
1K SLoC

SBML Parser written in Rust

Supports the following SBML constructs at the moment:

  1. List of Unit Definitions, Unit Definition
  2. List of Units, Unit
  3. List of Compartments, Compartment
  4. List of Parameters, Parameter
  5. List of Species, Species
  6. List of Reactions, Reaction
  7. List of Reactants, List of Products
  8. Species Reference
  9. Kinetic Law
  10. Math

Uses mathml-rs for parsing math.

Only tested on the first 24 test cases from the Core Semantic SBML test suite. To see it in action, run cargo test and make sure the path in the test function corresponds to where you have the models.

Dependencies

~4.5MB
~88K SLoC