SNA – a toolbox for the stoichiometric analysis of metabolic networks
© Urbanczik; licensee BioMed Central Ltd. 2006
Received: 24 November 2005
Accepted: 13 March 2006
Published: 13 March 2006
Despite recent algorithmic and conceptual progress, the stoichiometric network analysis of large metabolic models remains a computationally challenging problem.
SNA is a interactive, high performance toolbox for analysing the possible steady state behaviour of metabolic networks by computing the generating and elementary vectors of their flux and conversions cones. It also supports analysing the steady states by linear programming. The toolbox is implemented mainly in Mathematica and returns numerically exact results. It is available under an open source license from: http://bioinformatics.org/project/?group_id=546.
Thanks to its performance and modular design, SNA is demonstrably useful in analysing genome scale metabolic networks. Further, the integration into Mathematica provides a very flexible environment for the subsequent analysis and interpretation of the results.
Advances in genomics have enabled the large scale reconstruction of biochemical reaction networks where the main information provided concerns the stoichiometry and reversibility of the involved reactions. While such models disregard the kinetics of the reactions, biologically meaningful predictions can nevertheless be obtained by analysing the stoichiometrically viable steady states of the network . The aim of SNA is to provide a comprehensive interactive environment for such stoichiometric network analysis.
In mathematical terms the stoichiometrically viable steady states form a convex polyhedral cone which is called the flux cone. Recently  it has been pointed out that instead of analysing the full flux cone, one can consider a simpler object, the conversion cone. This amounts to giving a black box description of the metabolism which only takes into account the consumption and production of external compounds. So, the conversion cone describes the overall reactions, (in the sense of ) which can be effected in steady state between the external metabolites of the network, disregarding the internal mechanism.
Linear Programming, as in Flux Balance Analysis , can be used to search for specific points in these cones. But executing a linear program will just return a single point in the cone, providing only limited information about the whole range of possible steady states the biochemical reaction network can assume. More complete descriptions are obtained by computing a minimal generating set for each cone, i.e. a minimal subset such that each vector in the cone can be represented as a linear combination, with non-negative scalar coefficients, of the subset vectors. If all reactions in the network are irreversible, the flux and the conversion cone are pointed and computing their minimal generating sets amounts to listing the edges of the two cones. In the presence of reversible reactions, however, the description provided by a minimal generating set is less satisfactory. On one hand the cones then may no longer be pointed and many quite different minimal generating sets then exist. On the other hand, if there a reversible reactions, cancellation can occur when combining the vectors of a minimal generating set. So, from the fact that, e.g., each vector in the minimal generating set of the flux cone has a non-zero flow through a specific reversible reaction, one cannot conclude that this reaction must run in any steady state. Hence, in presence of reversible reactions, one may wish to precompute all possible cancellations. This leads to the problem of enumerating all the elementary vectors [2, 5] of the flux and of the conversion cone. In the case of the flux cone cone, an elementary vector represents a minimal stoichiometrically viable pathway through the network and is often called an elementary mode .
By computing the set of elementary flux vectors a complete and very explicit description of the possible steady state behaviour is obtained and the answers to many questions about the metabolism, such as the maximal yield of some compound and the reactions essential for its synthesis are immediately found by inspecting this set. However, for large networks, enumerating all elementary fluxes may not be desirable, or even feasible, since their number can be very large. It is then often useful to first consider the conversion cone which is much simpler than the flux cone when many elementary fluxes are equivalent with regard to the consumed and produced compounds, differing only in the details of the internal synthesis. While this provides a less complete description of the metabolism than the flux cone, many interesting questions can nevertheless be answered by computing the elementary conversions. Cases in point are (a) the determination of minimal media  and (b) checking whether the metabolic model is consistent with an experimentally observed overall reaction and gauging the effciency of the latter .
I shall only consider the architecture of the toolbox here since the main mathematical and computational concepts implemented in SNA have been described elsewhere. In particular the Nullspace algorithm used by SNA for calculating elementary fluxes, which runs significantly faster than previous procedures , is described in . Further, the concept of a conversion cone is introduced in , together with the procedure for computing elementary conversions.
The user interface for SNA is Mathematica and the functionality described in the preceeding section is provided by a Mathematica package called SNAsym. The matrix level computational geometry routines underpinning the operation of SNAsym are delegated to the lower level package SNAmat. SNAmat may be of independent interest to people wishing to avoid using SNA proper and only interested in a computational engine for calculating elementary modes from a stoichiometry matrix.
In contrast to SNAsym, which is pure Mathematica code, the lower level package is a hybrid consisting of Mathematica code communicating with a binary program compiled from Matlab and C sources. The division of labour is that the Mathematica part of SNAmat does the arithmetic, whereas, for speed, the purely logical operation are done by the binary. An important motivation for this arises from the fact that in mathematical terms only rational operations are required in the network analysis tasks implemented by SNA, i.e. no irrational functions such a root taking are needed. Hence, if the stoichiometric factors in the networks are represented by fractions the entire analysis can only lead to numbers which are rational as well and thus have an exact numerical representation. SNA exploits this, by doing all of the arithmetic in Mathematica and using the built-in functionality of this software, to always provides numerically exact results. Due to the division of labour between Mathematica and binary code, SNA is nevertheless fast enough to handle large scale problems. For instance, it takes only 7 minutes to calculate the 5 × 105 elementary fluxes for the model of the central carbon metabolism of E. coli  on a state of the art PC.
Biochemical reactions are represented in SNA by Mathematica expressions such as
Each metabolite has a body which is a string denoting the chemical species (e.g. adp) and a superscript designating the compartment. Above the strings 'm', 'c', and 'e' are used for mitochondrial, cytosolic and, respectively, extra-cellular metabolites. In addition each metabolite has a rôle, the default rôle being internal while other rôles are specified by a subscript. The subscript Xt denotes an external metabolite which can be used both as an input and an output to the network, whereas metabolites with subscript Xtin or Xtout are restricted to being inputs or, respectively, outputs. Note that rôle and compartment are treated as quite distinct concepts. The reason is that in a study focusing on just an organelle, such as mitochondria, one might wish to treat all cytosolic metabolites as external.
Based on a list of such reactions and an appropriate naming scheme for the reactions, SNA is used to construct the abstract data type mnet (metabolic net). The toolbox provides a large set of functions for the basic manipulation of mnet's: e.g. joining them, extracting subnetworks and changing the rôle of the metabolites in the network. Less basic functions include, determining which reactions are feasible, i.e. admit a non-zero steady state flow, or simplifying the network in a way that preserves e.g. the conversion cone.
The main documentation for SNA consists of 9 tutorial Mathematica notebooks. After a basic introduction to the toolbox, the tutorials quickly move on to show how SNA can be used to analyse quite large metabolic networks, considering as examples models of the human cardiac mitochondria , the central carbon mechanism of E. coli  and, finally, a genome-scale model of S. cerevisiae . In addition, two of the tutorials demonstrate how metabolic networks can be imported into SNA from external formats. The first shows how to construct an mnet given a table of numbers representing a stoichiometry matrix. The second shows how to parse textual representations of metabolic networks such as the ones used by the Palsson group. e.g. [10, 11]. Further, SBML models can be read into Mathematica using the MathSBML software developed by B.E. Shapiro .
Currently, the most widely used program for calculating elementary flux vectors probably is Metatool . The latest version of Metatool (5.0) uses the same basic approach  as SNA, and the two are also quite similar in terms of required computing time. However, in contrast to Metatool, SNA does not rely on machine precision and always produces numerically exact results. This can be of advantage when analysing large metabolic networks where the stoichiometric factors can span many orders of magnitude, e.g. 7 orders of magnitude for the above mentioned S. cerevisiae. Further, compared to Metatool, SNA has as much expanded functionality and, in particular, provides functions for calculating elementary conversions. Finally, the design of SNA is very modular. While this may make the learning curve steeper, it provides the flexibility required to tackle the computational challenge still posed by the analysis of large metabolic networks.
Availability and requirements
SNA is distributed under an open source license and can be downloaded from http://bioinformatics.org/project/?group_id=546. The toolbox runs under PC-Linux and additionally requires Mathematica (5.0 or higher). Further, if one wants to recompile the binary program mentioned in the implementation section, Matlab 6.5 is needed.
It is a pleasure to acknowledge helpful discussion with Jörg Stucki and Clemens Wagner.
- Price N, Reed J, Palsson B: Genome-scale Models of Microbial Cells: Evaluating the consequences of constraints. Nat Rev Microbiol 2004, 2: 886–897. 10.1038/nrmicro1023View ArticlePubMedGoogle Scholar
- Urbanczik R, Wagner C: Functional stoichiometric analysis of metabolic networks. Bioinformatics 2005, 21: 4176–4180. 10.1093/bioinformatics/bti674View ArticlePubMedGoogle Scholar
- Happel J, Sellers P: The characterization of complex systems of chemical reactions. Chem Eng Comm 1989, 83: 221–240.View ArticleGoogle Scholar
- Ibarra R, Edwards J, Palsson B: Escherichia coli K-12 Undergoes Adaptive Evolution to Achieve in silico Predicted Optimal Growth. Nature 2002, 420: 186–189. 10.1038/nature01149View ArticlePubMedGoogle Scholar
- Rockafellar R: Convex Analysis. Princeton: Princeton University Press; 1970.View ArticleGoogle Scholar
- Schuster S, Fell D, Dandekar T: A General Definition of Metabolic Pathways Useful for Systematic Organisation and Analysis of Complex Metabolic Pathways. Nature Biotech 2000, 18: 326–332. 10.1038/73786View ArticleGoogle Scholar
- Stucki J, Urbanczik R: Pyruvate metabolism in rat liver mitochondria: what is optimized at steady state? FEBS Journal 2005. in print in printGoogle Scholar
- Urbanczik R, Wagner C: An improved algorithm for stoichiometric network analysis: theory and applications. Bioinformatics 2005, 21: 1203–1210. 10.1093/bioinformatics/bti127View ArticlePubMedGoogle Scholar
- Stelling J, Klamt S, Bettenbrock K, Schuster S, Gilles E: Metabolic Network Structure determines Key Aspects of Functionality and Regulation. Nature 2002, 420: 190–193. 10.1038/nature01166View ArticlePubMedGoogle Scholar
- Vo T, Greenberg H, Palsson B: Reconstruction and functional characterization of the human mitrochondrial metabolic network based on proteomic and biochemical data. J Biol Chem 2004, 279: 39532–39540. 10.1074/jbc.M403782200View ArticlePubMedGoogle Scholar
- Duarte N, Herrgard M, Palsson B: Reconstruction and Validation of Saccharomyces cerevisiae iND750, a Fully Compartmentalized Genome-scale Metabolic Model. Genome Research 2004, 14: 1298–1309. 10.1101/gr.2250904PubMed CentralView ArticlePubMedGoogle Scholar
- Shapiro B: MathSBML.[http://sbml.org/software/mathsbml/]
- Pfeiffer T, et al.: METATOOL: For Studying Metabolic Networks. Bioinformatics 1999, 15: 251–257. 10.1093/bioinformatics/15.3.251View ArticlePubMedGoogle Scholar
This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.