Skip to main content
Bioinformatics logoLink to Bioinformatics
. 2021 Jul 12;37(Suppl 1):i392–i400. doi: 10.1093/bioinformatics/btab296

Graph transformation for enzymatic mechanisms

Jakob L Andersen 1, Rolf Fagerberg 1, Christoph Flamm 2, Walter Fontana 3, Juri Kolčák 1, Christophe V F P Laurent 1, Daniel Merkle 1,, Nikolai Nøjgaard 1
PMCID: PMC8686676  PMID: 34252947

Abstract

Motivation

The design of enzymes is as challenging as it is consequential for making chemical synthesis in medical and industrial applications more efficient, cost-effective and environmentally friendly. While several aspects of this complex problem are computationally assisted, the drafting of catalytic mechanisms, i.e. the specification of the chemical steps—and hence intermediate states—that the enzyme is meant to implement, is largely left to human expertise. The ability to capture specific chemistries of multistep catalysis in a fashion that enables its computational construction and design is therefore highly desirable and would equally impact the elucidation of existing enzymatic reactions whose mechanisms are unknown.

Results

We use the mathematical framework of graph transformation to express the distinction between rules and reactions in chemistry. We derive about 1000 rules for amino acid side chain chemistry from the M-CSA database, a curated repository of enzymatic mechanisms. Using graph transformation, we are able to propose hundreds of hypothetical catalytic mechanisms for a large number of unrelated reactions in the Rhea database. We analyze these mechanisms to find that they combine in chemically sound fashion individual steps from a variety of known multistep mechanisms, showing that plausible novel mechanisms for catalysis can be constructed computationally.

Availability and implementation

The source code of the initial prototype of our approach is available at https://github.com/Nojgaard/mechsearch

Supplementary information

Supplementary data are available at Bioinformatics online.

1 Introduction

Since the advent of the digital revolution, the vast repertoire of chemical knowledge has become accessible through a growing number of repositories. The utility of such warehousing hinges on computational tools for searching and aggregating content and for exploring its consequences. Indeed, many tools exist for reasoning about molecules and their reactions at the level of symbolic chemistry (Cook et al., 2012; Segler and Waller, 2017; Todd, 2005). Likewise, software implementing quantum and classical methods enable the study of configurational energy landscapes that undergird symbolic chemistry (Welborn and Head-Gordon, 2019).

The toolbox dwindles, however, when it comes to reasoning about the chemistry of reaction networks. While computational and mathematical infrastructure exist for studying the kinetics or flux balance of networks, there is little in the way of systematically constructing such networks while taking into account chemical possibilities. Tools aimed at the kinetics of chemical reaction networks are cast in terms of variables that refer to concentrations, but their dynamics alone cannot introduce new components beyond those explicitly specified at the outset. To extend a network requires an executable representation of actual chemistry.

The construction, and therefore also the design, of chemical networks is made possible by the notion of a chemical rule, which is distinct from a chemical reaction. In a reaction, molecules are completely specified, whereas a rule makes explicit only those aspects of molecules that are necessary for a reaction to occur at the level of abstraction defined by symbolic chemistry. A rule is a schema that represents the transformation of an educt pattern into a product pattern. Given completely specified educt molecules, a rule generates possible reactions for those molecules that contain its educt pattern. Since symbolic chemistry represents molecules as typed graphs, the formal domain of graph transformation (Ehrig et al., 1973, 2006; Habel et al., 2001) seems to be the natural foundation for implementing the distinction between reactions and rules.

The distillation of rules from large catalogs of reactions would open the door to the iterative construction and design of networks by repeated application of specifically chosen rules. Rule collections with a formally sound application semantics make chemical knowledge ‘executable’, but the realization of this notion in the form of computational tools is challenging.

In this contribution, we provide an initial example toward realizing this vision. A key component is an open-source software platform, known as MØD, for specifying and iteratively applying chemical rules (Andersen et al., 2013, 2016). We deploy this platform on rules that we derive from a database of hand-curated mechanisms of enzymatically catalyzed reactions known as the ‘Mechanism and Catalytic Site Atlas’ or M-CSA (Ribeiro et al., 2018).

Our specific focus, thus, is on the design of enzymatic catalysis. Such design is of significance in a range of applications from addressing disease to shifting chemical industry toward more sustainable, waste minimizing and environmentally friendly production processes (Pleissner and Kümmerer, 2020; Schrittwieser et al., 2018; Zimmerman et al., 2020). Chemical networks are central in this goal because almost all catalysis rests on a network-based mechanism, despite informal language often referring to a singular agent (the catalyst). Specifically, at the catalytic site of an enzyme several reaction steps combine into a network in such a way that upon completion of the overall transformation from substrates into products each protein component has regained the same chemical state it had initially. This requires the network to be a cycle. Cyclical network catalysis also occurs at larger scales. For example, the citric acid cycle at the core of modern biological metabolism acts as a network catalyst regardless of the fact that its individual steps are also catalyzed by enzymes.

Designing a full enzyme requires attention to structure, which controls specificity and provides a stable niche that guarantees a proper causal ordering of the catalytic steps. While the network view does not address structure, it underscores that designing an enzyme also requires designing a multistep catalytic process. The computational implementation of this view through graph transformation should lend further credence to the computer assisted design of enzymes (Welborn and Head-Gordon, 2019).

The systematic and automated construction of enzymatic mechanisms is a new application of MØD, requiring the abstraction of chemical rules from a sizable collection of known mechanisms. The identification of new catalytic mechanisms derived from rule applications goes beyond analyzing a reaction network, requiring instead the exploration of a space of states (of co-occurring molecules) that complies with mass conservation.

Our contribution is organized as follows. We first proceed by making a subset of the M-CSA executable as graph transformation rules. We then exemplify the utilization of such rules by constructing proposals for catalytic network mechanisms for some reactions in the Rhea database (Lombardot et al., 2019)—a database unrelated to the M-CSA, also containing enzymatic reactions, but mostly listed without suggestions for an underlying network mechanism.

2 Methods and materials

2.1 Enzyme catalysis and the M-CSA

Like any other reaction, an enzymatic reaction is usually expressed as the conversion of educt molecules (substrates) into products by means of a specific protein functioning as catalyst. Biology would quite literally be unthinkable without catalysis. For example, the spontaneous decarboxylation of arginine occurs roughly with a rate constant of 2×1017 s1 (a half-life of about 1.1 billion years), whereas the Escherichia coli arginine decarboxylase has a reported 7×1019-fold catalytic proficiency (Snider and Wolfenden, 2000).

Enzymatic catalysis, however, is oftentimes not a single event but involves multiple steps that together constitute a catalytic mechanism. Each of these steps can be seen as an elementary reaction in which components of the substrate, amino acids and possibly cofactors (such as flavin adenine dinucleotide), react to a stable intermediate state that becomes the input to the subsequent step, eventually resulting in the formation of the product and regeneration of the catalyst. While the packaging of a cyclic reaction network within a large protein warrants referring to enzymatic catalysis as if it were a single event, it is essential for our purpose to unpack catalysis into a detailed mechanism supporting the overall reaction. This mechanism not only transforms a substrate into a product but must also guarantee that any protein components deployed in the process regain their initial state upon completion.

For clarity we fix terminology as follows. The phrase ‘reaction step’ (or ‘step’ for short) is used to denote a reaction judged elementary, i.e. further indivisible, by M-CSA contributors. Moreover, we use the phrase ‘reaction mechanism’ to refer to a causal succession of steps and the phrase ‘overall reaction’ as the chemical sum over a mechanism. ‘Reaction’ can mean any of the above, depending on the context.

The ‘reaction center’ of a step refers to the atoms that undergo an electronic displacement or whose bonds are rearranged by the reaction step (boldface atoms in Fig. 1); see also Section 2.2. We refer to everything else that stays fixed and is not in the reaction center as the ‘context’ of a step.

Fig. 1.

Fig. 1.

The relationship between a chemical step and a graph transformation rule. (A) The panel is adapted from step 1 in mechanism 1 of M-CSA ID: 337 and shows the initial reaction step performed by the protein-glutamate methylesterase (CheB) (UniProtKB: P04042, EC 3.1.1.61, EC 3.5.1.44). Aspartate increases the pKa of the histidine imidazole ring by forming a hydrogen bond to the histidine Nϵ. This turns histidine into a powerful base and hence activates the serine residue. The latter is then able to perform a nucleophilic attack on the glutamine methyl-ester substrate. The left-hand side illustrates the electron movement from the histidine Nδ atom via serine to the O atom in the carbonyl in the substrate ester group. The right-hand side of the arrow shows the resulting intermediates. Electronic displacements are shown as arrow pushes in magenta. For details on gray shades refer to the caption of panel B. (B) This panel shows the graph transformation rule derived from panel A following our heuristic guidelines (Section 2.3). Explicit hydrogen atoms have been added for clarity. The bonds and nodes that change from L to R are emphasized in color (red for bonds, blue for nodes). The reaction center is shown in boldface. The rule asserts that those parts that are grayed out in panel A constitute molecular elements that have no bearing on the chemical transformation. Structures were downloaded from the M-CSA

We further classify an amino acid explicitly mentioned in a step as either active or passive depending on whether it intersects the reaction center or not. Although passive amino acids are not subject to bond rearrangements, they are nonetheless deemed critical for efficient catalysis by contributing to the physicochemical properties of the catalytic pocket, such as establishing charge distributions and spatial constraints.

The M-CSA (Ribeiro et al., 2018) contains overall reactions for a collection of 964 representative enzymes (so-called entries in M-CSA terminology). Six hundred and eighty-four of these reactions are listed with at least one manually curated step-by-step description of the catalytic mechanism that converts reactants into products. The validity of the mechanisms considered for inclusion is judged on the basis of direct experimental evidence and observations explained by it. This can result in the inclusion of several reaction mechanisms for the same enzymatic overall reaction. In total, the M-CSA provides 818 detailed reaction mechanisms.

The reaction mechanisms in the M-CSA include an English description, based on direct or indirect experimental evidence, of the catalytic process in terms of active and passive amino acids as well as any cofactors involved. A reaction step is formally expressed as an arrow pushing diagram describing the displacement of electrons. Figure 1A depicts a step as obtained from the M-CSA.

The M-CSA aims at providing a representative (nonredundant) set of all known enzymatic reactions, hence resulting in a collection of mechanisms that are considerably dissimilar. Yet, many of the individual steps across different mechanisms appear similar or outright identical to each other if one were to restrict the context. This suggests that enzymatic mechanisms are composed of identifiable building blocks best described by rules at the step level. Once identified, such rules could be used to construct mechanisms for reactions other than those in the M-CSA.

2.2 Graph transformation framework

To make reaction knowledge executable, a formal framework is needed. Since for many purposes symbolic chemistry represents molecules as connected graphs that are undirected and typed, the formalism of graph transformation (or graph rewriting) appears to be an appropriate choice. Graph transformation is an extension of the idea of term rewriting to graphs and has a well-developed foundation in category theory (Ehrig et al., 1973, 2006).

In a molecule graph, a typed node represents an atom with a charge and a typed edge represents a bond of a certain order (single, double, triple, aromatic). A collection of molecules as a whole is then represented as a disconnected graph, whose connected components represent the individual molecules. We refer to such a graph as the ‘graph of a state’ (or ‘state’ for short). Graph transformation is about defining rules by which one state can be transformed into another. The idea of a rule is to specify the transformation of a graphical input pattern into an output pattern and to carry this transformation over to the state if it contains the input pattern.

In more formal terms, a rule (a double-pushout rule in the jargon of graph transformation) is a span p=(LlKrR), where L and R indicate the left and right patterns, respectively. K is the invariant graph, containing elements common to L and R. The correspondence between atoms in L and R (the atom map) is specified by the injections l and r. The transformation from L into R is then given by breaking those bonds in L that are not in K and forming those bonds in R that are not in K. The atoms in L and R also carry modifiable state, such as charge (blue font in Fig. 1B).

A rule must at the very least specify all the bonds that are broken and formed in L and R, respectively, or that undergo order modification. We call such a minimal rule the action. The action is the formalization of the reaction center mentioned in the previous section. A ‘maximal rule’ (or ‘reaction rule’) is one in which L and R are completely specified educt and product molecules. The context C is given by all nodes and bonds that refine (add invariant detail to) the action. An action, thus, has an empty context and a maximal rule contains as much context as needed for L and R to specify molecular species. By varying the context between these two extremes we can construct a variety of rules that are all refinements of the same action.

Recall that a state G is a typically disconnected graph whose components are molecules. A rule transforms one state into another by application. A rule application consists in embedding L into the host graph G and replacing the subgraph of G selected by the embedding with R, while respecting the atom map given by l and r. For example, in Figure 1, the rule shown in panel B is applied to the molecules on the left of the reaction arrow in panel A, yielding the depicted reaction. By applying a rule to a state in general and not just to state components it actually modifies (the educts) we let the state act as a context for successive applications of rules, i.e. a mechanism. This will simplify how we present our strategy in Section 2.4.

2.3 Converting M-CSA to graph transformation rules

Like any reaction, a step can be viewed as the special case of a maximally refined rule. Such a rule consists of all molecular species, including passive ones, that the M-CSA curators deemed to be necessary for the complete documentation of the step. Maximal rules are probably overspecified because the context includes molecular parts that are unlikely to all be necessary for setting off the chemical transformation. In particular, rules that mirror reactions are unlikely to overlap with one another in a way that permits their composition. Their L-patterns are unlikely to be embeddable in anything other than the molecular species represented by L itself.

By decreasing the context C of a maximally refined rule we might better capture the chemistry that drives a reaction and decrease the chemical specificity of a rule in a fashion that provides more opportunities for composition. This would facilitate the construction of reaction networks. Clearly, by going to the extreme of emptying C, thus retaining the action alone, we might misrepresent the chemistry and increase compositionality too indiscriminately.

Given a collection of partially redundant reaction examples, a major challenge is to devise statistical methods for identifying the right amount of context to be enshrined in a rule that abstracts a reaction class. The M-CSA, however, is not the right collection for such an endeavor because its objective is to provide maximal nonredundant coverage of distinct enzymatic mechanisms.

For the present purpose we use, therefore, heuristics that are also aimed at keeping the combinatorial explosion of the state space generated by the repeated application of rules in check. Since educt combinations of molecular species often contain upwards of 100 atoms, we require a relatively large context to keep the state space (Section 2.4) manageable. At the same time, we try to limit the extent of context—especially context originating from the substrate of an enzymatic reaction—by invoking patterns commonly used in chemistry. These considerations led us to devise three guidelines for crafting the context C of a step. We then assemble a rule by adding C to the action.

  1. Local topology: We assume that the immediate surroundings of the reaction center are a significant driver of the reaction. Hence, all atoms and bonds that are directly connected to the reaction center are retained in the context. For instance, the immediate surroundings allow us to distinguish between reactions acting on a carbon chain or a methyl group.

  2. Functional patterns: We compiled a set of 157 chemical patterns based on functional groups, cycles and small molecules common in organic chemistry (e.g. carboxylic acid, imidazole, water). In addition, the set is adapted to the M-CSA by including minor variations in the patterns that were observed in the substrates utilized by the enzymes documented in the M-CSA. The chemical patterns are then embedded into both the reactant and product graphs of a reaction step. If a match intersects the reaction center, all the atoms and bonds of the pattern are included in the invariant graph K. A list of chemical patterns can be found in the Supplementary Data.

  3. Active amino acids: We posit that the active amino acids are crucial for driving a reaction step. If any part of an amino acid intersects the reaction center, the whole amino acid side chain is included in the context.

A reaction step in arrow pushing notation and the rule inferred on the basis of these guidelines is shown in Figure 1.

Our rules do not include any molecules that do not share at least one atom with the reaction center. This may well misrepresent the chemistry, because aspects of these molecules could be necessary for allowing the reaction to proceed. For example, they might act as electrostatic stabilizers, shift pKa values, provide hydrogen bonds or guide the reaction sterically. None of these properties can be represented explicitly in the graph transformation framework. They could, however, be represented implicitly, precisely by including the molecular parts responsible for these properties in the L and R patterns. Through the L pattern they act as necessary (matching) conditions for the rule to apply. Although the level of abstraction defined by graph transformation cannot represent the physical causes of a reaction directly, it can be informed by them. This suggests that molecular dynamics, quantum mechanical calculations or more phenomenological approaches, including machine learning, that are capable of determining the molecular patterns required for a reaction will be useful in defining the content of a rule. By shaping a rule, this information becomes executable. However, an augmentation of rule construction of this sort is beyond the present scope. Here, we simply argue heuristically.

The proposed coarsening of a reaction step into a rule can be readily applied to any step in the M-CSA. Because the objective of the M-CSA is to nonredundantly cover known enzymatic reaction mechanisms, its mechanisms are diverse and include steps that are fairly complex and perhaps overly specific or rare. This does not serve well the creation of a rule set that could be applied to find catalytic mechanisms for a variety of reactions. Moreover, our present framework cannot handle some of the complexity present in the M-CSA and we therefore separate out those we can handle.

First, we exclude reaction steps that rely on metal ions as a cofactor. Metal ions frequently interact with molecules through coordination bonds. This type of covalent bond comprises two electrons originating from only one atom. At the current state of development, our graph model for chemistry is unable to represent the chemistry of coordination bonds.

Second, we exclude reaction steps from mechanisms that rely on radicals and single electron jumps. This kind of electron movement is also frequently associated with metal ion chemistry.

The presentation of mechanisms in the M-CSA targets human readers. As a consequence, across the presentation of steps of a mechanism some molecules might appear, disappear or change abstraction level. While such editing is beneficial for the purpose of visualization, it is detrimental for rule construction. In particular, it hampers correct tracking of individual amino acids in the event of covalent bond formation with the substrate. Thus, third, we submit all mechanisms to a sanity check by tracking atoms across the full complement of molecules mentioned across their steps. Many of the changes are easy to detect and fix by propagating the disappearing or appearing molecules across the mechanism. However, if our atom tracking fails, we exclude all the steps of the mechanism.

Taking this filtering into account, we obtain a total of 1083 different rules derived from reaction steps across 471 M-CSA mechanisms. For 368 of those mechanisms, all steps are used for rule construction, making them fully reproducible by our rule set. The majority of disqualified reaction steps is dependent on metal ions. We consider this limitation acceptable, especially since we focus on the chemistry of catalysts that do not require cofactors.

We can link the rule set thus obtained to the chemical process classification tags of each step provided by the M-CSA. Each of the five most common chemical processes in the M-CSA is instantiated by at least 49% of reaction steps used in the construction of our rule set. Specifically, proton transfer is represented with 58.8%, proton relay with 49.2%, unimolecular elimination by conjugate bases with 68.5%, bimolecular nucleophilic substitutions and additions are both represented with 62.8%.

2.4 Using rules to propose novel mechanisms

In the previous section, we described our procedure for converting a reaction step in the M-CSA into a graph transformation rule. In this section, we focus on how a collection of rules so obtained can be used to reconstruct M-CSA mechanisms or propose new ones for reactions not included in the M-CSA.

Recalling Section 2.2, the term ‘state’ refers to a graph where each connected component represents a molecule. Any particular molecule can occur in multiple instances to accommodate stoichiometry. Moreover, since reactions conserve mass, all states have an invariant atomic composition. We first need to define the states that are reachable with a given set of rules R from an initial state G0. For this we need a bit of notation.

For a rule pR to apply to a state G, the left-hand pattern L of the rule must embed in G. We refer to such an embedding as a ‘match’ and define the set of all possible matches of a given rule in state G as M(p, G). We write Gp,mH for the transformation of G into H by rule pR using the match mM(p,G). Each such rule application is a ‘direct derivation’ which we call a transition between states. Recall from Section 2.2 that G is the full complement of molecules as it might have been formed by prior rule applications. It may include molecules that are not altered by rule p. A state G can thus be thought of as the test-tube mixture in the context of which a rule application (a reaction step) takes place to produce a new state H. Restricting a state to only components that are matched by m then corresponds to the usual notion of a reaction [a ‘proper derivation’ (Andersen et al., 2014)].

Aggregating all H that can be generated by all rules in R using all possible matches onto G, we obtain the set of states that constitute a 1-step extension of G. In symbols, we define the k-step extension of G0 as

G0={G0}Gk+1={H|GGk,pR,mM(p,G):Gp,mH}Gk

.Gk, together with the transitions for all p and m, define the reachable state space Sk up to depth k. Specifically, Sk is a directed graph with the node set Gk and an edge (G, H) between nodes G,HGk if the transition Gp,mH exists for some rule p and match m.

A further notion is that of a trace τ, which is a sequence of transitions, that transforms the initial educt state GIG0 into the final product state GF within a state space S. A trace thus carves a path from GI to GF in S; it corresponds to a (match-)specific composition of rules that generate the transitions in τ. We write GIτGF to denote the transformation of state GI into state GF by τ. Since transitions represent reaction steps, τ represents a mechanism for transforming the educt molecules in GI into product molecules in GF. In principle, a trace could take many detours in going from GI to GF. In the present setting it makes sense to eliminate such meandering by stipulating that τ be a minimal path from GI to GF in S.

Since we aim at catalytic reactions, we require certain molecules, represented by graph A, to be a subgraph of both GI and GF. To line up with intuition, we write GI=EA and GF=PA, where ⊕ is the disjoint graph union. We then speak of an A-catalyzed transformation trace τA of educts E into products P, in symbols EτAP. Our task, therefore, is to identify a possible mechanism τA within the state space Sk constructed from the initial state GI. The restriction to Sk means that the mechanisms cannot be longer than k steps.

The difficulty, of course, is in searching for potential mechanisms in a state space Sk whose size is beyond astronomic even for modest k. Although the M-CSA contains mechanisms of up to 20 steps in length, these appear to be outliers. Most M-CSA mechanisms are relatively short, averaging 3.4 steps with a median of 3. It seems justifiable, therefore, to limit the state space Sk to some small iteration depth k.

In order to improve our chances of finding a τA, we leverage the information in both E and P when constructing the state space Sk. To find a τA such that EτAP at depth k, the construction of Sk starts from GI and we make this explicit by writing Sk(GI). However, we need to be certain that the state GF is contained in the node set of Sk(GI), i.e. GF must be reachable from GI. We can ensure this by exploiting the invertibility of graph transformation rules in the double-pushout framework (Ehrig, 1979). Specifically, we invert all rules pR by swapping their left-hand Lp and right-hand pattern Rp, to obtain an action that transforms the pattern Rp into Lp. We then join Sk(GF), after inversion of all transitions, with Sk(GI) on the shared parts of the underlying states to obtain a state space that is guaranteed to contain all paths from GI to GF of length at most 2k, while only exploring each state space to a depth of k.

Such a combination still results in a graph with possibly numerous ‘dead ends’, i.e. states that are reachable only from GI or only from GF. We remove such states in order to obtain a succinct representation and refer to the resulting state space as the relevant state space. The relevant state space can be envisioned as a flow with a single source GI and a single drain GF.

3 Results

The approach described in Section 2 has been implemented in Python with the more computationally intensive tasks in C++. In constructing a state space we rely on MøD (Andersen et al., 2016) for efficient graph transformations and on NetworkX (Hagberg et al., 2008) for general graph algorithms. During the conversion of steps to rules, we use the Marvin Molecule File Converter 20.20.0 (ChemAxon Ltd, https://chemaxon.com/) for adding explicit hydrogen atoms to the Marvin files downloaded from the M-CSA database. MarvinSketch 20.20.0 (ChemAxon Ltd) was used to draw the molecules in the figures.

By design, there is little redundancy among M-CSA mechanisms. Most of our rules are, therefore, each derived from some step in a unique mechanism, making cross-validation using the M-CSA itself not meaningful. Instead, we sought to validate our rules by proposing mechanisms for reactions taken from Rhea, a distinct expert-curated database (Lombardot et al., 2019) of reactions of biological interest, many of which are enzymatic. Validation then takes the more qualitative form of proposing mechanisms judged by chemists to be plausible.

Most Rhea reactions are not annotated with detailed catalyst information. While one or more proteins might be mentioned, the catalytic sites are generally unknown or not reported. The reactions provided by Rhea are therefore suitable for testing our ability to propose new mechanisms using the rules we constructed from the M-CSA.

The choice of catalysts for a reaction is part of the mechanism prediction process. In general, enzymatic reactions rely on a combination of amino acid side chains and possibly cofactors. As mentioned in Section 2.3, to curtail the combinatorial explosion we limit ourselves to catalysis that employs only amino acids. To this end, we identify 26 tautomers of 17 amino acids commonly used within the M-CSA database (Supplementary Data). Alanine, glycine and proline were not included.

3.1 Single amino acid mechanisms for Rhea reactions

The Rhea database lists over 104 reactions. Some of these cannot be analyzed at the level of abstraction of our present model, such as conversions of substrates between tautomers differing only sterically. After removing these, we are left with 8805 reactions for which we attempt to predict mechanisms within the limits of computational complexity.

We refer to the 368 mechanisms in the M-CSA that are covered by our rule set as the ‘covered’ M-CSA mechanisms. About 35.3% of the covered M-CSA mechanisms utilize only a single active amino acid, suggesting that a comprehensive analysis of potential mechanisms employing just one amino acid tautomer across the 8805 reactions from Rhea could be of interest.

The covered M-CSA mechanisms exhibit an average number of steps of 3.47 with a median of 3, similar to the set of all M-CSA mechanisms. Moreover, only 29 (7.9%) of these mechanisms are longer than l = 6 steps. We therefore decided to limit our search to mechanisms of length l6, thus limiting the state space expansion to a depth of 3.

For 786 (8.9%) of the 8805 Rhea reactions, we find at least one mechanism with l6 that is catalyzed exclusively by a single amino acid (henceforth sAA mechanism). For another 156 (1.8%) reactions, we find a completely noncatalytic mechanism that relies on no active amino acids. While the chemical validity of such proposals cannot be immediately dismissed, the fact that we find noncatalytic mechanisms suggests that some of our rules might lack context that would restrict their application to substrates that have been previously activated by interaction with a catalyst. Finally, for 169 reactions, we were unable to determine whether an sAA mechanism with l6 can be proposed, because the state space could not be explored within the allocated time (180 s on a standard laptop computer).

The resource requirements of our approach vary from reaction to reaction, reflecting the size of the state space as well as the size of the molecules involved. Most reactions involve the exploration of relatively small state spaces with up to 103 states. For some reactions, however, the state space explodes. For example, the state space of RHEA:28402 annotated with a glutamate contains large molecules (upwards of 350 atoms) and grows from |V(S2)|=103 via |V(S4)|=2,176 to |V(S6)|=26,201 states with |E(S6)|=60,145 edges, requiring a total of 9 min and 5 GB of memory. The imposed timeout thus allows the exploration of all 8805 Rhea reactions to proceed in about 30 h of computing time.

Only 8 out of the 17 amino acids considered were used by at least one of the constructed sAA mechanisms. Two of these amino acids, arginine and tyrosine, are used in five and one mechanism, respectively. For these mechanisms, we also found alternatives that operate with a different amino acid (in the case of arginine: aspartate and histidine; and in the case of tyrosine: histidine and lysine). Among the remaining six amino acids, we observed predominantly common proton acceptors and donors, such as aspartate, glutamate and histidine, while cysteine, lysine and threonine were used only rarely. The number of reactions solvable by one of the six amino acids is given in Table 1.

Table 1.

Comparison of amino acids utilization frequency

Glu His Asp Cys Lys Thr
Rhea 624 421 226 50 5 1
Rhea (unique) 135 28 73 4 4 1
M-CSA (global) 579 660 621 280 407 157
M-CSA (single) 25 34 20 7 14 4

Note: The first row specifies the total number of reactions for which a mechanism using the specified amino acids was discovered. The second row counts the reactions for which all the discovered mechanisms relied on the particular amino acid. The third row lists total number of incidences across the entire M-CSA database. The fourth row counts all the M-CSA mechanisms represented by our rule set that only use a single active amino acid of the type specified.

Glutamate is the most commonly used amino acid in our mechanisms, but our procedure also generated alternatives for the same reaction that rely on some other amino acid. For example, alternative mechanisms using histidine were found for 387 reactions and 102 reactions were catalyzed by aspartate. Interestingly, only five reactions were found to be catalyzed by both aspartate and histidine; these were also reproduced by arginine-based mechanisms.

The disparity between the extents to which individual amino acids are used can be explained in part by the frequency with which these amino acids appear in the M-CSA. Aspartate, glutamate and histidine are indeed the three most common amino acids among all M-CSA mechanisms as well as among the covered sAA mechanisms. Moreover, the eight amino acids most commonly deployed by M-CSA mechanisms correspond almost to the eight amino acids utilized by the Rhea mechanisms we generated with our procedure. Only serine, the seventh most common amino acid in the M-CSA, does not show up in any of our mechanisms; its role is taken by threonine. However, the disparity in usage among amino acids that occur in our mechanisms is much more pronounced than in the M-CSA. This suggests that our rule set favors mechanisms that limit the interaction with the amino acid to proton transfers.

Despite the limitation on length and the restriction to catalysis by a single amino acid, our results include some interesting mechanisms. While many of the generated mechanisms consist of rules that were all derived from the same M-CSA mechanism, others contain rules derived from multiple distinct M-CSA mechanisms. For instance, a two-step glutamate-based mechanism that combines rules abstracted from distinct M-CSA mechanisms could be constructed for 54 reactions, such as the example in Figure 2. While glutamate itself acts only as a proton acceptor, the rules are utilized in nontrivial chemistry, consisting of an assisted keto-enol tautomerisation followed by unimolecular elimination and dehydration.

Fig. 2.

Fig. 2.

Proposed two-step reaction mechanism for Rhea reaction RHEA:28338. Application of rule 1 (derived from M-CSA ID: 341, mechanism proposal 1, step 1 and M-CSA ID: 499, proposal 1, step 1) causes a hydrogen abstraction from the substrate by a glutamate residue which causes the formation of an oxyanion. The application of rule 2 (derived from M-CSA ID: 341, mechanism proposal 1, step 1 and M-CSA ID: 947, proposal 1, step 2) results in the collapse of the oxyanion, deprotonation of glutamate and the release of a water molecule. Electronic displacements are shown as arrow pushes in magenta

The mechanism in Figure 2 is but one example of amino acids engaging only in proton transfers yet triggering a more complex interaction. For instance, in 517 Rhea reactions with a rule-based mechanism (67.3%) the mechanism involves the creation or dissolution of a carbonyl group, which is common in organic chemistry. One of them is shown in Figure 2.

3.2 A more complex example

Conducting a comprehensive exploration to seek mechanisms using more than one amino acid must be left to future work. Just trying any combination of two amino acids requires 262=676 state space constructions and trace searches for each of the 8805 eligible reactions in the Rhea database. Instead, we demonstrate that we can query for mechanisms that exhibit a specified behavioral motif found in the M-CSA by carefully selecting the set of catalytic amino acids when expanding the state space.

One such behavior motif that is common among several of the covered M-CSA mechanisms consists of the joint action of histidine and serine (or cysteine). Specifically, histidine acts as a proton acceptor depronotating serine (or cysteine) thereby activating the latter and allowing it to attack the substrate in a nucleophilic addition, which results in the formation of a covalent enzyme–substrate complex. We can ask whether the same behavior can be used in the construction of catalytic mechanisms (based on our rule set) for Rhea reactions.

We thus define the set of catalytic amino acids to consist of histidine, cysteine and serine, including all their tautomers as indicated in the previous section. We then search for mechanisms limited in length to less or equal 6 steps within the state space S6 for each Rhea reaction for which our procedure could not find any sAA mechanism.

For 133 of the 7863 (=8805786156) target reactions, we find a mechanism conforming to the above criteria; for 69 reactions our procedure timed out and for the remaining ones no such mechanism was found.

As an example of a reaction that can be catalyzed by the sought-after mechanism, consider the Rhea reaction RHEA:12024. For this reaction, we find 173 mechanisms each using 2–5 active amino acids. Only two of these use exactly one histidine and one serine. One of the identified mechanisms is depicted in Figure 3. The reaction consists of converting 1-O-(trans-sinapoyl)-d-glucose and choline into d-glucose and O-sinapoyl-choline. As the associated EC number of the reaction (EC 2.3.1.91) already suggests, the d-glucose moiety of 1-O-(trans-sinapoyl)_d-glucose is replaced by a choline molecule.

Fig. 3.

Fig. 3.

Proposed five-step mechanism for the conversion of choline (i) and sinapoyl-glucose (iv) into glucose (vii) and sinapoyl-choline (xi) (RHEA:12024 entry) depending on two amino acids, namely histidine (ii) and serine (iii). In the initial step histidine (ii) acts as proton acceptor of the hydrogen atom released from serine (iii). Said serine (iii) then acts as a nucleophile toward the ester of the sinapoyl-glucose (iv) which results in the covalent linkage of the former to the latter. In the second step, the formed oxyanion collapses which causes the deprotonation of a fully protonated histidine (v) and elimination of a glucose molecule (vii). The third step describes the deprotonation of choline (i) by histidine (ii). In step 4, the activated choline (ix) attacks the transition molecule (viii) created during step 2. In step 5, after covalent binding of choline (ix), the oxyanion in the transition molecule (x) collapses which results in the deprotonation of histidine (v), the release of serine (iii) and ultimately the formation of sinapoyl-choline (xi). Electronic displacements are shown as arrow pushes in magenta. Arrows between the step panels indicate which rule was applied. Rule 1 is depicted in Figure 1B. The states of the molecules are indicated by the roman numerals (i) through (x)

The proposed reaction mechanism can be split into two parts, each consisting of an addition and a subsequent elimination step. The first part of the mechanism is based on two rules, of which the first is depicted in Figure 1B. In step 1, the enzyme covalently binds to the substrate via a single bond between serine and sinapoyl-glucose, resulting in the formation of an oxyanion on the substrate side. The nucleophilic attack of the substrate by the serine is facilitated by the action of histidine, which abstracts a proton from the serine. The second rule application (step 2) yields the collapse of the unstable oxyanion. Together with the fully protonated histidine, the collapse results in the release of the glucose molecule from the enzyme–substrate complex. At the current stage of development our model does not allow differentiation between stereo-isomers and we therefore cannot identify specifically d-glucose as listed in RHEA:12024.

The second part of the proposed mechanism is based on three different rules, but follows a very similar pattern as the first part just described. In step 3, the choline is deprotonated by a histidine, which allows the deprotonated choline to attack the enzyme–substrate complex in the fourth step 4, resulting in the covalent attachment of the choline to the enzyme–substrate complex. In the final and fifth step 5, the oxyanion formed in the process collapses, and with assistance from a proton transfer by the fully protonated histidine, eliminates the serine from the enzyme–substrate complex. This final step results in the catalytic components being restored and the products formed.

The two rules used in the first part of the hypothetical mechanism have been extracted from four different M-CSA mechanisms in which they jointly occur (entries number 337, 705, 733 and 866). In contrast, the three rules comprising the second part are each derived from a different M-CSA mechanism. Thus, the constructed mechanism combines knowledge from at least four different mechanisms listed in the M-CSA.

The constructed mechanism employs a histidine for two distinct tasks. Histidine acts as a proton acceptor twice; it is restored in the middle of the mechanism after the first use and reused a second time thereafter. This suggests the possibility that a different proton acceptor, e.g. a second instance of a histidine, could be deployed in one of the addition/elimination steps, should the catalytic site geometry of an actual enzyme require it.

The other mechanism that uses one serine and one histidine is functionally equivalent to the described mechanism, except that the histidine-enabled attachment of the serine to the substrate occurs in two steps; specifically, via steps 1 and 2 of M-CSA ID: 94 proposal 1.

Among the 173 mechanisms constructed for RHEA:12024, we identified mechanisms with the same chemistry as presented in Figure 3 but using cysteine in place of serine to anchor the substrate. We chose to detail the serine example since aspartate, histidine and serine are predicted by similarity to be (part of) the active site of the only protein, UniProtKB: Q8VZU3, listed as playing a role in RHEA:12024. The presence of aspartate, in addition to histidine and serine, in the active site is interesting as in all of the relevant M-CSA mechanisms, histidine is assisted by aspartate or, in one case, glutamate as a passive amino acid. This catalytic triad engages in a fairly common process in enzymatic reactions. A hydrogen bond between aspartate (or glutamate) and histidine is increasing the pKa of the latter (Stehle et al., 2006), thus expediting the deprotonation of serine and choline. As aspartate (or glutamate) is not part of the reaction center, it is not present in the rules derived from these cases.

4 Discussion

Enzymatic catalysis is critical for enabling efficient and cost-effective chemical synthesis for medical, environmental and industrial applications. The design of enzymes is therefore highly desirable. Among the numerous aspects that must be taken into account when designing an enzyme is the draft of a catalytic mechanism: a sequence of steps that is cyclical in the participating amino acids and whose traversal converts substrate(s) into product(s). Each step leads to a transition intermediate and contributes to the requirements that the architecture of the catalytic site must satisfy to make the mechanism effective. Such requirements include spatial arrangement and the fashioning of a physicochemical milieu.

In this paper we demonstrate that the drafting of mechanisms can be approached computationally. Central to our approach is the well-defined formalism of graph transformation with which we encode chemistry in the form of rules used to generate reactions by directly rewriting chemical graphs representing molecules. The approach thus hinges on extracting rules of chemistry from reaction examples, effectively generalizing these examples. Once rules are available they can be deployed to construct chemical spaces in which to search for suitable mechanisms.

We show the feasibility of this approach by converting the M-CSA into rules pertinent to amino acid side chain chemistry. In this way, we make the knowledge in the M-CSA executable in the sense of enabling the computational construction of hypothetical mechanisms that catalyze reactions outside its scope.

Specifically, we construct multiple mechanisms using a single amino acid to catalyze a large number of reactions in the Rhea database. The analysis of these mechanisms indicates that we succeed in capturing interesting and meaningful chemistry resulting from the combination of rules derived from reaction steps belonging to distinct M-CSA mechanisms.

Our procedure also generates a hypothetical catalytic mechanism relying on two amino acids—serine and histidine—for the Rhea reaction of sinapoyl-glucose and choline into glucose and sinapoyl-choline. For this reaction the literature (Fraser et al., 2007) suggests an enzyme (UniProtKB: Q8VZU3) whose active site is predicted to include Ser178, Asp389 and His443 based on similarity. Aspartate is known to influence the pKa of histidine (Stehle et al., 2006) when in proximity, thus playing a ‘passive’ role (Section 2.1), which prevents it from being included in our rules as they are presently constructed (Section 2.3). The example leads us to believe that in addition to proposing novel catalytic mechanisms for general reactions, our approach is capable to assist in the prediction of catalytic sites of enzymes with known substrates and products but unknown or incomplete mechanisms.

The generality of rules can be regimented by tuning the context of their action (Section 2.3). Depending on the extent of context, a varying number of mechanisms can be subsumed under the same set of rules from which they can be generated, much like a formal language. It is conceivable therefore to use explicit rule compositions to formulate search criteria for retrieving mechanisms of specified chemistry from mechanism databases.

There are many possibilities for advancing the expressivity of rules as implemented by MøD, most notably by inclusion of stereochemistry (Andersen et al., 2017) and the decoration of rules with application constraints taking physicochemical parameters into consideration. The navigation of large state spaces is a general challenge in computational science, but the results we obtained with the simple rule-heuristics employed here suggest that the automated generation of catalytic mechanisms for arbitrary reactions is a meaningful goal to pursue.

Supplementary Material

btab296_Supplementary_Data

Acknowledgements

The authors gratefully acknowledge Leon Middelboe Hansen and Mikkel Pilegaard for providing scripts constituting the preliminary analysis of the rules. Bernhard Thiel for his insightful prestudy during his master project at the University of Vienna.

Funding

This work was supported by the Novo Nordisk Foundation [grant NNF19OC0057834] and by the Independent Research Fund Denmark, Natural Sciences [grants DFF-0135-00420B and DFF-7014-00041].

Conflict of Interest: none declared.

References

  1. Andersen J.L. et al. (2013) Inferring chemical reaction patterns using rule composition in graph grammars. J. Syst. Chem., 4, 4. [Google Scholar]
  2. Andersen J.L. et al. (2014) Generic strategies for chemical space exploration. Int. J. Comput. Biol. Drug Des., 7, 225–258. [DOI] [PubMed] [Google Scholar]
  3. Andersen J.L. et al. (2016) A software package for chemically inspired graph transformation. In: Echahed R., Minas M. (eds.) Graph Transformation. ICGT 2016. Lecture Notes in Computer Science, Vol. 9761. Springer, Cham, Switzerland, pp. 73–88. [Google Scholar]
  4. Andersen J.L. et al. (2017) Chemical graph transformation with stereo-information. In: de Lara J., Plump D. (eds.) Graph Transformation. ICGT 2017. Lecture Notes in Computer Science, Vol. 10373. Springer, Cham, Switzerland, pp. 54–69. [Google Scholar]
  5. Cook A. et al. (2012) Computer-aided synthesis design: 40 years on. WIREs Comput. Mol. Sci., 2, 79–107. [Google Scholar]
  6. Ehrig H. (1979) Introduction to the algebraic theory of graph grammars (a survey). In: Claus V., Ehrig H., Rozenberg G. (eds.) Graph-Grammars and Their Application to Computer Science and Biology. Springer, Berlin and Heidelberg, Germany, pp. 1–69. [Google Scholar]
  7. Ehrig H. et al. (1973) Graph-grammars: an algebraic approach. In: 14th Annual Symposium on Switching and Automata Theory (SWAT 1973), USA, pp. 167–180. [Google Scholar]
  8. Ehrig H. et al. (2006) Fundamentals of algebraic graph transformation. In: Brauer W., Rozenberg G., Salomaa A. (eds.) Monographs in Theoretical Computer Science. An EATCS Series. Springer, Berlin and Heidelberg, Germany. [Google Scholar]
  9. Fraser C.M. et al. (2007) Related Arabidopsis serine carboxypeptidase-like sinapoylglucose acyltransferases display distinct but overlapping substrate specificities. Plant Physiol., 144, 1986–1999. [DOI] [PMC free article] [PubMed] [Google Scholar]
  10. Habel A. et al. (2001) Double-pushout graph transformation revisited. Math. Struct. Comput. Sci., 11, 637–688. [Google Scholar]
  11. Hagberg A.A. et al. (2008) Exploring network structure, dynamics, and function using networkx. In: Varoquaux G., Vaught T., Millman J. (eds.) Proceedings of the 7th Python in Science Conference, Pasadena, CA, USA, pp. 11–15. [Google Scholar]
  12. Lombardot T. et al. (2019) Updates in Rhea: SPARQLing biochemical reaction data. Nucleic Acids Res., 47, D596–D600. [DOI] [PMC free article] [PubMed] [Google Scholar]
  13. Pleissner D., Kümmerer K. (2020) Green chemistry and its contribution to industrial biotechnology. In: Fröhling M., Hiete M. (eds.) Advances in Biochemical Engineering/Biotechnology, Vol. 173. Springer, Cham, Switzerland, pp. 281–298. [Google Scholar]
  14. Ribeiro A.J.M. et al. (2018) Mechanism and Catalytic Site Atlas (M-CSA): a database of enzyme reaction mechanisms and active sites. Nucleic Acids Res., 46, D618–D623. [DOI] [PMC free article] [PubMed] [Google Scholar]
  15. Schrittwieser J.H. et al. (2018) Artificial biocatalytic linear cascades for preparation of organic molecules. Chem. Rev., 118, 270–348. [DOI] [PubMed] [Google Scholar]
  16. Segler M.H.S., Waller M.P. (2017) Modelling chemical reasoning to predict and invent reactions. Chemistry A Eur. J., 23, 6118–6128. [Google Scholar]
  17. Snider M.J., Wolfenden R. (2000) The rate of spontaneous decarboxylation of amino acids. J. Am. Chem. Soc., 122, 11507–11508. [Google Scholar]
  18. Stehle F. et al. (2006) Structure determinants and substrate recognition of serine carboxypeptidase-like acyltransferases from plant secondary metabolism. FEBS Lett., 580, 6366–6374. [DOI] [PubMed] [Google Scholar]
  19. Todd M.H. (2005) Computer-aided organic synthesis. Chem. Soc. Rev., 34, 247–266. [DOI] [PubMed] [Google Scholar]
  20. Welborn V.V., Head-Gordon T. (2019) Computational design of synthetic enzymes. Chem. Rev., 119, 6613–6630. [DOI] [PubMed] [Google Scholar]
  21. Zimmerman J.B. et al. (2020) Designing for a green chemistry future. Science, 367, 397–400. [DOI] [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

btab296_Supplementary_Data

Articles from Bioinformatics are provided here courtesy of Oxford University Press

RESOURCES