ORIGINAL RESEARCH article

Front. Cell Dev. Biol., 06 September 2024

Sec. Cellular Biochemistry

Volume 12 - 2024 | https://doi.org/10.3389/fcell.2024.1351974

Application of a novel numerical simulation to biochemical reaction systems

  • Digital Engineering Team, Production Tech. Lab, Research and Development Center, Zeon Corporation, Tokyo, Kanagawa, Japan

Abstract

Recent advancements in omics and single-cell analysis highlight the necessity of numerical methods for managing the complexity of biological data. This paper introduces a simulation program for biochemical reaction systems based on the natural number simulation (NNS) method. This novel approach ensures the equitable treatment of all molecular entities, such as DNA, proteins, H2O, and hydrogen ions (H+), in biological systems. Central to NNS is its use of stoichiometric formulas, simplifying the modeling process and facilitating efficient and accurate simulations of diverse biochemical reactions. The advantage of this method is its ability to manage all molecules uniformly, ensuring a balanced representation in simulations. Detailed in Python, NNS is adept at simulating various reactions, ranging from water ionization to Michaelis–Menten kinetics and complex gene-based systems, making it an effective tool for scientific and engineering research.

1 Introduction

In recent years, single-cell and multi-omics data analysis has attracted attention in the field of molecular cell biology (; ; ). In particular, analysis using machine learning models, such as deep learning, has been active (; ; ). However, understanding stoichiometric reactions is still considered essential to understand gene expression and protein enzyme functions in detail. This paper proposes a simulation program for biochemical reaction systems based on the natural number simulation (NNS) method. NNS offers a simplified approach for modeling biochemical reactions stoichiometrically and performing computations of the time course of the reactions. This method excels in its straightforward formulation process and is particularly suitable for complex biological systems (; ; ) because of the absence of complicated reaction formulas using mathematical equations.

Various models have been considered to represent complex biological systems, including ordinary differential equations and Gillespie’s algorithm (; ; ). For example, metabolic reaction systems continue to be vigorously analyzed in detail using differential equations (; ). Petri nets substantially contribute to analyzing biochemical reaction networks by integrating stochastic algorithms and/or non-parametric strategies. This progression has resulted in the emergence of specialized forms such as signaling Petri nets, large-scale metabolic models, and multilevel biological models using colored Petri nets, indicating their increasing utility in the analysis of complex systems (; ; ; ; ).

However, ordinary differential equations require complex formulations of reaction rate equations. Stochastic simulations require detailed formulations of chemical reaction networks, which may limit their usefulness, particularly for large-scale simulations. Petri net-based simulations offer a comprehensive framework for formulating chemical reaction networks involving specific elements such as places, transitions, arcs, and markings. However, modeling actual biochemical reaction systems requires consideration of the definition of the number of tokens and their correspondence to the number of molecules. In addition, when introducing stochastic models, it is necessary to explicitly define the timing of firing.

The NNS method implemented in Python is very easy to model because the procedure for determining detailed time evolution is included in the computational algorithm. Requiring only the stoichiometric equation, its rate constants, and the initial number of molecules, the new algorithm, based on a probabilistic binomial distribution, immediately calculates the number of molecules after one calculation step for the elements in the model system. It is crucial to emphasize the necessity of precise rate constant determination to depict the system accurately. Nevertheless, the simplicity of the formulation has the advantage of allowing the optimization process to be easily performed.

Recent advancements in non-parametric analytical techniques also present an intriguing possibility for NNS (; ). By meticulously setting the initial molecular counts, rate constants, and stoichiometric equations, an analysis comparable to those seen in studies of complex signaling networks may be achieved. This approach could potentially enhance the applicability and accuracy of NNS for modeling intricate biochemical systems.

Contrary to traditional methods, such as ordinary differential equations and Gillespie’s algorithm, which might not optimally represent complex biological systems (; ), NNS provides a more precise simulation even for a small number of molecules in DNA-related reactions. It uses stoichiometric equations with rate constants for specific and selective processes such as transcription and translation (). Moreover, the binomial distribution in NNS facilitates calculating informational and entropic metrics, including Shannon’s entropy (; ). Examples of these calculations are discussed later in the paper.

2 Methods

Our method calculates time-developing stoichiometric reactions using a binomial algorithm. Consider the general reaction as Equation 1:

X1, X2, , Xs denote molecular elements before the reaction while Y1, Y2, , Yt represent those after the reaction. The coefficients qi and ri are reaction orders. The subscripts “s” and “t” are natural numbers, with no limitation on their sizes. The rate constant k implies the probability of forming Y1, Y2, , Yt. In the NNS approach, reaction orders are consistently natural numbers because they necessitate dealing with element counts as natural numbers at all times. Our methodology accommodates stoichiometric reactions without limiting specific chemical formulas, thereby ensuring the conservation of the atom number.

Initial element counts are necessary for computing the time evolution. Xi_n and Yi_n are defined as the elemental number of Xi and Yi; then, the following calculation in Equations 2, 3 with Equations 4, 5 provide the decrement and increment quantities of the elements.

Rbinomial(n, p) generates random numbers following the binomial distribution, returning natural numbers (). In this function, n denotes a trial number, each of which can be either a success or a failure (binary outcomes). The parameter p specifies the probability of success in each trial. The function provides the total number of successes in n trials. NumPy’s random binomial (n, p) achieves this. The function returns one successful natural number under n, including zero. Stochastic simulation often uses these discrete numbers (; ). The trial number n is represented with the minimum integer value among X1_n/q1, X2_n/q2, X3_n/q3, so on. The probability p is derived based on the rate constant k, the reaction order qi, a normalization parameter N, and Xi_n, except for with selected in Equation 4. In a calculation step, Xi_n becomes Xi_n + ΔXi_n and Yi_n becomes Yi_n + ΔYi_n. The rate constant k in NNS is semantically the same as the rate constant that appears in the stoichiometric equation defined by concentration. However, k in this study is defined as a constant that affects the stochastic results defined in Equation 5. The rate constant k, the number of elements, and the normalization constant N determine the probability p, as indicated by Equation 5. The k value influences the probability variation between 0 and 1 and the reaction rate, but it is not the same as the conventional rate constant.

Equations 4, 5 have some minor formulas. One is in the case of a one-element reaction as Equation 6:

X is a molecular element, and a is an order. The decrement ΔX_n and increment ΔYi_n are derived from the following formulas as Equations 7, 8 with Equations 9, 10:where X_n is the number of the element X.

Another exceptional reaction type is as Equation 11:

This expression indicates that element X is decomposed and disappears, so Equation 3 does not work. Thus, only X decreases with Equation 7 with Equation 9, 10.

Another type of reaction is defined as a linear decreasing and increasing reaction for one element. One needs these reactions for the mathematical formulation of linear changes via molecular addition and subtraction. The linear decreasing case is defined similarly to Equation 11 as Equation 12:

Moreover, the increment of X is determined by the following Equation 13:where p is the same as in Equation 10.

Subsequently, the linear increasing case is defined by the following reaction as Equation 14:

The following Equation 15 also determines the increment of Y:where p is the same as in Equation 10.

A biological system has numerous incredible reactions (). One can easily define each reaction if one knows the elements before and after the reaction, their orders, and rate constants.

Executing an input file in Spyder, an Integrated Development Environment requires setting “fName = “inp_file.txt”” in the main program (i.e., binomial_v016.py) and then utilizing the “Run” command. For command line execution, the command “$ python binomial_v016.py inp_file.txt” yields similar outcomes to Spyder’s run. Therefore, it is essential to position the input file in the program’s directory or one level above it.

This file needs to define calculation time, elements, reactions, and plots (Table 1). Currently, model systems are defined in text files. Currently, a Python program is available on GitHub that converts xml files that conform to Systems Biology Markup Language into text files for NNS. Users can perform calculations via NNS by setting the appropriate initial number of elements and rate constants.

TABLE 1

*Time
Start timeEnd timeConsole output interval timePlot output interval timeCSV-file output interval timeTime unit
*Element
Element nameInitial numberColor for *Plot (optional)Marker type (optional)
*ReactionNormalization parameter
Type NameIdentification nameBefore elements
Order, element name
Rate constant (k)After elements
Order, element name
*PlotPlot type
Element names

Standard input file style. The *Time, *Element, *Reaction, and *Plot are commands for calculation in an input file.

The *Reaction statement has numerous definitions (Supplementary Tables S1, S2), including the above formulas used to calculate reaction increments.

The *ElementInOut statement implemented definition statements to express the inflow and outflow of molecules in and out of the system (Supplementary Table S3). The author developed the Python program used for this algorithm, and it is available under the MIT license on GitHub at https://github.com/taka-b/binomial/tree/binomial_v016_01 (). This algorithm is publicly accessible and can be used by anyone without any charge. Figure 1A shows the calculation for schematic flow, while Figure 1B depicts the detailed calculation algorithm. The simplicity of the proposed procedure is demonstrated through six examples using their corresponding input files.

FIGURE 1

3 Results

Some example calculations are shown below. Note that the user only needs to prepare a text file for the calculations to obtain the results. The important point is to carefully formulate the stoichiometric equation and give appropriate rate constants.

The following results are obtained for calculations based on the text file shown in each figure. The start and end times are defined by *Time; for example, zero, 10,000, displays the results of calculations for every step from zero to 10,000. If you want to compare these results with actual experimental results, you will need units and rate constants that correspond to the experimental results. Here, however, the units of calculation are denoted in Steps, and figures show changes in the number of elements.

3.1 Simple reaction model

Consider a simple reaction with rate constant kon as Equation 16:where A and B represent protein molecules that irreversibly bind to form C.

Figure 2A is an input file (details in Table 1) defining one reaction r2_1_100 (details in Supplementary Table S1), where the calculation spans time zero to 10,000 in dimensionless units. In the actual calculation, each increase or decrease in the number of elements is calculated according to the above algorithm for each increase or decrease. The user must assign the appropriate time unit for a particular system. Here, for the sake of schematic calculation, the unit of time is used as the calculation unit Steps. NNS uses natural numbers, and as shown in Figure 2B, the y-axis represents the number of elements, guaranteeing an accurate number of elements.

FIGURE 2

In contrast, Supplementary Figure S1 introduces the inverse reaction r1_2_200 as Equation 17.

The rate constant koff differs from kon in Equation 16 due to the thermodynamic principle in the system (). Supplementary Figure S1 shows the equilibrium numbers of A, B, and C.

3.2 Water ionization

NNS can perform water ionization. Water, H2O, usually dissociates slightly into proton ions (H+) and hydroxyl ions (OH−), representing a dynamical equilibrium between dissociation and reassociation. Figures 3A, B are input files in this scenario. Suitable rate constants show this equilibrium in Figures 3C, D. Notably, NNS accounts for system size through normalization parameters. Although the input files present different initial water molecule counts, their rate constants remain consistent. These normalization parameters adjust the system size by changing the success probability, p, in Equation 5. If a pseudo pH is defined as Equation 18:

FIGURE 3

The results from Equation 18 using Figures 3B, D simulating data have almost the same values, 6.999993 and 6.9999996, respectively. The exact rate constants for the dissociation of water and recombination of proton ions (H+) and hydroxyl ions (OH−) remain unknown. Therefore, the horizontal axis in Figures 3C, D is labeled in Steps, the unit of calculation. If the exact values of these rate constants are known, the appropriate unit of time should be determined accordingly.

3.3 Michaelis–Menten model

Michaelis–Menten kinetics () is applied using NNS. In Figure 4A, E is an enzyme, S is the substrate, ES is the enzyme-substrate complex, and P is the product (). The corresponding scheme is as Equation 19:

FIGURE 4

NNS defined three reactions in the input file. The total E number (E_n + ES_n) is constant, though E and ES fluctuate in time series (Figure 4B). Furthermore, S decreases with increasing P (Figure 4C).

3.4 Monod–Wyman–Changeux allosteric model

NNS can manage allosteric models (; ; ). The allosteric transition of hemoglobin is one of the most interesting behaviors because of molecular adaptation in vertebrates (). Supplementary Figure S2A features an input file for the binding of oxygen to hemoglobin at different rate constants, 0.1, 0.5, 10, and 50. However, Supplementary Figure S2B uses a constant rate of 0.1. Figure 5A illustrates the allosteric effect; its increasing rate of oxyhemoglobin (Hb(O2)4) binding was higher than that observed in the no allosteric effect model of Figure 5B initially (Supplementary Figure S3A). The ratios of Hb(O2)4 to other complexes are also consistently higher than those observed in the non-allosteric model (Supplementary Figure S3B).

FIGURE 5

3.5 Feedback loop model

NNS supports the models of feedback loops in biological systems, which are common regulatory mechanisms (; ). Figure 6 depicts a feedback loop where a stimulus activates DNA, but the resultant protein then deactivates DNA into DNA_d (deactivated DNA). Supplementary Figure S4’s input file models ribonucleotide (Ribonucleotide) and amino acid (Amino) as singular types. The advantage of NNS is its ability to represent individual DNA molecules and deliver their specific properties. In Figure 7 the DNA is inactivated by the protein, mRNA production is stopped, and protein production is suppressed.

FIGURE 6

). Stimulus: protein molecules bind DNA; DNA: one gene; Ribonucleotide: some ribonucleotides; mRNA: messenger-RNA; Amino: some amino acids; Ribosome: ribosome for translation; and Protein: a protein made by the ribosome. DNA is transcribed into mRNA, which is then translated into Protein. The protein binds to DNA to deactivate and is modified into DNA_d (deactivate). (Reproduced from , with permission from Chapman and Hall/CRC).

FIGURE 7

Figure 7 and Supplementary Figure S5 exhibit contrasting results with and without feedback, respectively, highlighting the protein’s role in limiting DNA activation in feedback systems.

3.6 Feed-forward loop in a biological system

The feed-forward loop is a prevalent biological system (; ; ). Figure 8 depicts a schematic reaction process (). Stimuli Sx and Sy ultimately promote protein pZ production. The system encompasses 10 elements, two input elements and six reactions, whose detailed functions are shown in the input file of Supplementary Figure S6. Using *elementInOut (Supplementary Table S3) and shifting the inflow timing of Sx and Sy as shown in Supplementary Figure S6 affects the behavior of the protein, as shown in Figure 9: Sy is inputted later than Sx, the production of Pz is delayed. On the other hand, in Supplementary Figures S7, S8, Sx and Sy are inputted simultaneously, there is no significant delay in Pz. The flexibility of NNS proves to be a valuable tool for modeling such a system.

FIGURE 8

). Sx and Sy: Stimuli; pX, pY, and pZ: proteins; pX* and pY*: activated proteins of pX and pY; DNA-Y and DNA-Z: DNA for each protein pY and pZ. (Reproduced from , with permission from Chapman and Hall/CRC).

FIGURE 9

4 Discussion

Entropy and information are concepts related to information theory (), and stochastic processes with probability parameters can enrich our understanding of reaction systems. In our approach, parameters n and p are determined via reaction conditions and are described in the Methods section. The information on reaction is defined as Equation 20:where binomial () represents a binomial distribution function with a stochastic variable X (Successes) determined using n and p for each reaction step t (), as illustrated in Supplementary Figure S9.

The I_reaction provides insight into the reaction dynamics, and its value increases as reactions proceed.

Drawing from the Shannon entropy (), the reaction entropy (RE) can be defined as Equation 21:

The RE is illustrated in Supplementary Figure S10 as a function of n and p, and it captures the inherent randomness in reaction and activity of reactions (; ; ).

Using a DNA-type reaction example from Figure 7 and Supplementary Figure S4, the accumulated information on the reaction is calculated using Equation 22.

Figure 10 shows the results of Equation 22, and Figure 11 presents the RE values. Here, the RE values represent the results obtained from Equation 21 using Figure 7 and Supplementary Figure S4. Information on reaction and RE offers fundamental tools for dissecting reaction properties and understanding the complexity of biochemical systems.

FIGURE 10

FIGURE 11

Statements

Data availability statement

The datasets presented in this study can be found in online repositories. The names of the repository/repositories and accession number(s) can be found in the article/Supplementary Material.

Author contributions

TS: Conceptualization, Data curation, Formal Analysis, Software, Writing–original draft, Writing–review and editing.

Funding

The author(s) declare no financial support was received for the research, authorship, and/or publication of this article.

Acknowledgments

I want to thank my colleagues Kunihiko Oishi, Chika Morimoto, Minami Sakamoto, and Tatsuro Omori, who are all on my company team, for useful discussion.

Conflict of interest

Author TS was employed by Zeon Corporation.

Publisher’s note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

Supplementary material

The Supplementary Material for this article can be found online at: https://www.frontiersin.org/articles/10.3389/fcell.2024.1351974/full#supplementary-material

Nomenclature

Xi_nElemental number of Xi
Yi_nElemental number of Yi
ΔXi_nIncrement of elemental number of Xi
ΔYi_nIncrement of elemental number of Yi
Hb(O2)xHemoglobin Bound by x Number of Oxygen Molecules
DNA_dDeactivated DNA
AminoAmino Acid Molecules

References

Summary

Keywords

biochemical reaction system, numerical simulation, algorithm, feedback, feedforward, Michaelis-Menten, allosteric, entropy

Citation

Sato T (2024) Application of a novel numerical simulation to biochemical reaction systems. Front. Cell Dev. Biol. 12:1351974. doi: 10.3389/fcell.2024.1351974

Received

07 December 2023

Accepted

09 August 2024

Published

06 September 2024

Volume

12 - 2024

Edited by

Yoshifumi Itoh, University of Oxford, United Kingdom

Reviewed by

Herbert Sauro, University of Washington, United States

Qiang Zhang, Dalian University of Technology, China

Kunyi Liu, Yibin Vocational and Technical College, China

Updates

Copyright

*Correspondence: Takashi Sato,

Disclaimer

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.

Outline

Figures

Cite article

Copy to clipboard


Export citation file


Share article

Article metrics