Skip to main content

ChemChains: a platform for simulation and analysis of biochemical networks aimed to laboratory scientists



New mathematical models of complex biological structures and computer simulation software allow modelers to simulate and analyze biochemical systems in silico and form mathematical predictions. Due to this potential predictive ability, the use of these models and software has the possibility to compliment laboratory investigations and help refine, or even develop, new hypotheses. However, the existing mathematical modeling techniques and simulation tools are often difficult to use by laboratory biologists without training in high-level mathematics, limiting their use to trained modelers.


We have developed a Boolean network-based simulation and analysis software tool, ChemChains, which combines the advantages of the parameter-free nature of logical models while providing the ability for users to interact with their models in a continuous manner, similar to the way laboratory biologists interact with laboratory data. ChemChains allows users to simulate models in an automatic fashion under tens of thousands of different external environments, as well as perform various mutational studies.


ChemChains combines the advantages of logical and continuous modeling and provides a way for laboratory biologists to perform in silico experiments on mathematical models easily, a necessary component of laboratory research in the systems biology era.


As our understanding of cellular processes such as signal transduction, genetic regulation, etc., grows, it is becoming clear that their emerging complexity means that they can no longer be studied exclusively by classical reductionist techniques [1]. Thus, a systems approach is required if these cellular functions are to be fully understood [1, 2]. A systems approach to the study of biochemical networks requires the creation of models (and software to simulate them) that take into account the numerous interactions of chemical components of the whole system [2, 3]. The subsequent use of these models and software tools have the potential to serve laboratory biologists as a complimentary method to pre-screen their laboratory experiments, as well as help them to refine or even develop new hypotheses.

The most common ways to represent these interactions are ones using continuous methods, generally including ordinary differential equations (ODE) or partial differential equations (PDE) [2, 46]. To put them in motion, a number of software tools to simulate and subsequently analyze the dynamics of these models have been developed (e.g., E-Cell [7], CellDesigner [8], Dizzy [9], Cellerator [10, 11], Virtual Cell [12], etc.). However, one of the problems with using differential equations is that each equation requires the knowledge of many parameters that make up the kinetic basis of the network interactions, which in many cases (especially for large-scale models) may be difficult to obtain [3]. In addition, as the size and connectivity of the models increases, the complexity of the underlying differential equations also increases, limiting their use to only investigators trained in higher-level mathematics.

An alternative to differential equation modeling is the use of discrete models [3, 13]. This method is based on qualitative and parameter-free information (e.g., protein x activates protein y) which is available in the biomedical literature and/or directly from laboratories, simplifying the process of building and modifying the models. Although discrete (Boolean) models have been adopted to study the dynamics of gene regulatory networks and in the studies of signal transduction networks [1416], the overall use of Boolean models to visualize biochemical processes is sparse relatively to the differential equation-based approach. As a result, only a limited number of software tools based on this approach exist (e.g., GinSim [17], SQUAD [18], and CellNetAnalyzer [13]).

One reason for the lack of development of Boolean modeling tools for life sciences is that biologists aren't well versed in discrete modeling. In most cases, nodes in such models are in either an ON or OFF state, often represented by '1' and '0', respectively. For laboratory scientists who are accustomed to dealing with continuous data (e.g., dosage levels, protein activity levels, etc.), such representation may be unintuitive and difficult to use. Thus one way to advance the use of discrete models for biological systems would be to create the ability to interact with them using continuous terms.

In this report, we describe in detail ChemChains, a suite of software tools used in our recent study [14]. ChemChains was developed as a core platform to simulate, analyze and visualize the dynamics of large-scale Boolean biochemical networks under tens of thousands of different environments, while enabling users to interact with the model in a continuous manner. Thus biological investigators can interact with their models in a familiar way, while preserving the benefits of parameter-free models. Although ChemChains simulations performed in [14] were done in a synchronous fashion (i.e., all nodes in the model updated at the same time during every simulation step), ChemChains also offers asynchronous updating where certain nodes can update at different time points during the simulation process.


Boolean networks and their dynamics

Although relatively simple, Boolean networks are able to capture the dynamics of systems ranging from trivial to exceedingly complex, including those of living systems [19].

Boolean networks

These networks are collections of labeled Boolean nodes connected with directed edges. In Boolean networks, the state of each node at time t can be either ON or OFF, often represented by '1' and '0', respectively. Consider the simple network shown in Figure 1A[20]. This network has three nodes and each node is connected to each of the others. The activation function (or mechanism) and the logical connections for each node can be described by a truth table (Figure 1B). Truth tables give the ON/OFF state (shown as a 1 for on and a 0 for off) of each node as a function of the ON/OFF state of the other two nodes connecting to it. Herein, nodes that determine the activation function of another node are referred to as "input nodes" or "inputs". Thus the third table shows that node 3 will be on if either input 1 or 2 (or both) are on.

Figure 1
figure 1

A simple network and its logical connections.

The network exists at time t in some initial state, with each separate node either on or off. At the next time (t + 1), the states of all three nodes will change according to the tables shown. The evaluation of the entire system from time t to time t + 1 can be represented in a single table (shown in Figure 1C) where the column t contains all the possible initial states of the system and column t + 1 shows the result of application of the logic set to each initial condition. Continued iteration by the same method results in a trajectory of the system as the states change over time.

Boolean attractors

The network introduced in Figure 1 is simple enough to view all of the possible trajectories, which are shown in Figure 2[20]. In panel A, for example, the system is shown to be at an initial state of node 1 = 0, node 2 = 0 and node 3 = 0, or 000. According to the logic tables in Figure 1B (or, equivalently, the map shown in Figure 1C), at the next time point the system will remain at 000. This trajectory is indicated by the arrow in Panel A. Similarly, Panels B and C show the trajectories for the other possible starting combinations.

Figure 2
figure 2

All possible trajectories and attractors for the network in Figure 1.

Because there are a finite number of nodes in the system (N), there are a finite number (2N) of possible states of the system. Thus, as the system travels in time, it must (regardless of trajectory) re-enter a state previously encountered. As shown in Figure 2A and 2B, when the system is at state 000 or 111, it remains there (encountering itself over and over), thus those two states are referred to as steady-states. Panel C shows that if the system is at state 001 or 010, it cycles between those two states, a trajectory that is referred to as a period 2 cycle. Finally, panel B shows that there are four other states of the system (110, 100, 011, and 101) that follow trajectories to the steady-state 111. In summary, Figure 2 shows that the network described in Figure 1 has three conditions (namely the two steady-states 000 and 111, and a period 2 cycle containing 001 and 010) called attractors into which the trajectories of all initial states eventually settle.

Using attractors to characterize node activation

As can be seen in Figure 2, once a Boolean network has settled onto an attractor, it will remain there. Thus, it is possible to characterize the activation state of each node in the network by determining the "percent ON" of each node over the entire attractor. For example, there are three attractors (Figure 2) of the network introduced in Figure 1. Looking at the fixed point attractors in Panels A and B in Figure 2, it is obvious that all three nodes are 0% and 100% ON, respectively. However, in Panel C there are different behaviors. On this attractor, node 1 is 0% ON, but nodes 2 and 3 are both 50% ON as they alternate between 0 and 1 at every step in the attractor. Consider another example – a simple hypothetical two-component positive feedback loop in which node A activates node B and vice versa with two different configurations of truth tables for each node (Figure 3A &3B, respectively). In Figure 3A, both nodes are activated when the other node is 1, but deactivated when the regulating node is 0. As shown in Figure 3A, this configuration and activation mechanism results in three attractors (or tristability), that will make both nodes either 0%, 50%, or 100% ON, depending on the initial state of each node. The tristability (in terms of percent ON) is also demonstrated by results from a sample ChemChains simulation experiment shown in the graph in Figure 3A (bottom). The second truth table configuration (Figure 3B) depicts an activation mechanism in which both nodes lack the negative regulatory step (where the inactive state of the regulating node causes the other node go to 0). As shown in Figure 3B, setting up the truth tables this way results in the system moving to one of two attractors, depending on the initial condition (bistability). In terms of percent ON, this configuration results in both nodes being either 0% or 100%ON as shown by results from a ChemChains simulation experiment (Figure 3B). It is also worth noting that bistability (demonstrated in the above example) is an intriguing higher order property of positive feedback regulation found in many real biological networks. The Boolean positive feedback loop in Figure 3B hence makes a nice example of how the bistability phenomenon can be simulated using ChemChains.

Figure 3
figure 3

A simple positive feedback loop. Two possible configurations of a positive feedback loop in which node A activates node B and node B activates node A. A) First configuration, in which the truth tables and state transition diagram depict the most trivial activation mechanisms of nodes A and B; each node is simply activated when the other node is 1 and deactivated when the other node is 0. In addition a sample simulation experiment (consisting of 20 simulations with randomly selected initial states) using ChemChains was done to illustrate the connection between the system's three attractors and the percent ON measure of each node (note that the percent ON levels where the same for both nodes, hence one diagram per configuration is shown). B) In the second sample configuration of a two-component positive feedback loop the truth tables depict activation mechanisms of both nodes in which each node is, similarly to the first configuration, activated by the other node, but is not necessarily turned off when the other node is off. As illustrated by the state transition diagram and a ChemChains simulation experiment (also consisting of 20 simulations with randomly selected initial states) in Panel B, this set-up results in two attractors, and thus two possible percentage ON levels (0% and 100% ON) for each node, depending on the initial condition.

ChemChains overview

ChemChains is a platform-independent, command-line-driven simulation and analysis tool for Boolean networks implemented in C++, using object-oriented methodology. By default, ChemChains uses synchronous updating for all nodes in the model, however, asynchronous updating for user-selected nodes is also available (see Delay and Sustain Nodes sections below). The software is built in an extension-based fashion, which will allow for the expansion of the collection of analysis tools used in ChemChains. The current version of ChemChains consists of the main simulator engine and two extensions (described below) used in our recent publication on information processing in signal transduction networks [14]. To run ChemChains, users must provide several input files (described below). Once simulations and/or analyses are initiated, ChemChains will create several types of output file formats. Both the input files, as well as the desired output format and the output files must be specified by users in the form of command-line parameters provided to ChemChains at the time of program initiation. Available parameters are summarized in Table 1.

Table 1 Summary of available ChemChains parameters.

Software input

To simulate Boolean networks with ChemChains, two input files are required: a network descriptor file and a simulation specification file.

Network descriptor

Network descriptor file is a ChemChains-specific text file containing the collection of activation mechanisms of Boolean nodes in a given Boolean network model. In this file, the activation mechanism of each node is described on a new line in the following format:

Bool:name:initial state(True or False):input1, input2..inputN:list of states of input nodes for non-initial state of a node of interest (separated by comma)

The "Bool" prefix tells the software that the node is of type Boolean (users can also declare other types of nodes such as Input, Sustain, Delay, and Output, all of which are discussed below).

For example, consider a node X with two input nodes A and B that both need to be ON in time t for X to be ON in t+1. The truth table depicting this scenario (Table 2) is represented as (initial state of X = ON):

Table 2 Truth table for node X

Bool:X:True:A, B:TF, FT, FF (i.e., node X with inputs A and B is ON, unless A and B, in time t, are: A-ON & B-OFF, A-OFF & B-ON, or A and B are both OFF),

or for the case where the initial state of X is OFF:

Bool:X:False:A, B:TT (i.e., node X with inputs A and B is OFF, unless A and B, in time t, are both ON)

The initial state (i.e., t = 0) of each node has to be defined prior to any simulations. The initial states can be assigned either by the user (see the "FileConversion" section below), or for more general analysis, randomly by ChemChains using the 'rand_init' parameter. Using the 'rand_init' parameter results in the creation of a new network descriptor file during each simulation, reflecting the new initial states of all nodes. Each network descriptor file is subsequently saved in the 'logic' folder (output formats and directories discussed below) of the conducted experiment for later review.

Simulation specification file

ChemChains is a feature-rich logic network simulation software which offers users many advanced simulation options. These options are specified by users in the simulation specification file, the second of the required input files, which is loaded into the program before each simulation experiment. The following describes the various options contained within this file:

a) Runtime

The runtime variable specifies the overall length of each simulation, as well as the number of iterations (transient time) before any analysis is conducted. The syntax for the runtime environment is specified as


For example, to conduct a simulation consisting of 200 iterations and 50 transient time units, the runtime is declared as


b) External Input nodes

ChemChains users have the ability to specify external input nodes (or "external inputs") representing various external biological factors (such as receptor ligands, stress, etc.). Note, that external input nodes are not the same as the "input nodes" (or "inputs") discussed in the Boolean networks section. In fact, external input nodes are external to the network and part of the outside environment. Although they are of a Boolean nature (i.e., can be either 0 or 1), external input nodes do not have any input nodes of their own (and hence no truth table). In fact, their activity is set by the user (or randomly selected by ChemChains as shown below). To provide users the ability to interact with the logical model in a continuous manner, the level of activity of each external input node can be set to a percentage ON (specified by an integer 0–100). Despite the fact that external input nodes are Boolean nodes, for any given simulation, this is accomplished by placing the external input nodes on a cycle that yields a desired % ON (see the Using attractors to characterize node activation section). For example, if a particular external input is set at 33%, it is put on a cycle of 100100100100... which is held constant for the duration of the experiment. The sequence and order of the ON- and OFF- states is generated by ChemChains during each simulation. The current implementation of ChemChains offers two ways to distribute the ON/OFF state along this sequence: i) evenly (i.e., from the example above, the input will be ON every other iteration) and ii) with noise (the Noise variable is explained in the following section) which allows for a more realistic simulation of a biological process where network inputs are almost always noisy. Users can select time frames of simulations with different levels of activity. For example, in a simulation consisting of 200 iterations, a user may want to see how the network behaves when an input is set to 10% ON during the first 50 iterations, 50% during iterations 51 – 100, and 100% for the remaining number of iterations. Note that the changes in the external input activities occur in a stepwise manner (e.g., as soon as the simulation reaches iteration 51, the activity of an external input will change from 10% to 50%). The format underlying the declaration of external inputs is as follows:

Input:name:initial/default value:random(R)/fixed(F):noise(N)/fixed/(F):time to be introduced:dosage (in percentage):duration of the dosage

Consider the above mentioned example of a 200-iteration network simulation. To set a hypothetical external input "In1" to be ON 10% (with no noise) for the first 50 iterations, 50% ON during iterations 51 through 100, and 100% during iterations 101 – 200 (and with an initial state set to "False"), the following line is added to the simulation specification file:


To run ChemChains in an automated fashion and simulate a network under a wide variety of external environments (by using the -n parameter to run n number of consecutive simulations), users can also specify an activity range for a given external input. During each simulation, ChemChains will select a different percentage ON for the external input. For example, to simulate a network with In1 varying between 0 and 100%, In1 must be declared as follows:


c) Noise

The noise variable allows the activity level of external input nodes to randomly bounce around the defined value within a specified range. For example, if the activity level for an external input is set to 50% with a noise range of 5, the actual activity level, at time t, will be 50%+/-5. To measure the current level of activity for each external input, and ensure that it is within the desired range during a simulation, ChemChains uses a "sliding window" (of user pre-defined length) approach. Upon each iteration, the algorithm randomly selects a new activity level value within the given range. If the percentage within the window is below the new value, the external input will turn ON. On the other hand, if the percentage is above the activity level, the external input will be OFF in time t+1.

Although the sequence of 0's and 1's for a given external input node will will yield 50% 1's, it will no longer be periodic, instead it will appear chaotic, a more realistic resemblance of biological stimuli. For example, a simulation with the noise parameter set to 5 and a sliding window of length 50 is specified in the specification file as


d) SnapshotAnalysis

The SnapshotAnalysis parameter allows ChemChains to capture the state of the network dynamics at a specified iteration point during a simulation. The SnapshotAnalysis parameter is specified as follows:

SnapshotAnalysis:period:point1, point2,..pointN

where the period defines the length (in number of iterations) of the simulation segment to be analyzed, whereas point1, point2,...pointN represent at which iteration the analysis will begin.

e) Mutation

The Mutation parameter enables users to turn ON/OFF any node in the network to perform mutagenesis studies (e.g.., gain-of-function, and/or loss-of-function). When a node is "mutated", its corresponding truth table is ignored by the simulation engine and the activity of the node becomes immutable for the entire course of the simulation. For example, to simulate a loss-of-function of node X, the user would declare the Mutation parameter as


To make node X constitutively active, 'OFF' is replaced with 'ON'.

f) Delay Nodes

While ChemChains simulates networks synchronously by default, it is possible to introduce an asynchronous factor into the simulations by declaring a Delay and/or a Sustain Node (see below for the definition of Sustain Nodes). A Delay node receives a signal from a single network node but will not respond to it for a specified number of iterations. Delay nodes can be created in the simulation specification file in addition to the regular (of type "Bool") network nodes declared in the network descriptor file. The syntax to declare a Delay node is as follows:

Delay:name:initial value:input:iterations to wait

g) Sustain Nodes

Similarly to Delay nodes, Sustain nodes receive a signal from a single parent node, but contrary to Delay nodes, Sustain nodes remain in their current state for a user-specified number of iterations, regardless of the state of their inputs. To declare a node as a sustain node in the specification file, the users use the following syntax:

Sustain:name:initial value:input:duration (in iteration units)

h) Output Nodes

In addition to "Bool", "(External) Input", "Delay", and "Sustain" nodes, users can create nodes of type "Output". Output nodes mirror the activity of their input node and are used for nodes that will be outputted during the visual mode (discussed below). Output nodes are created in the simulation specification file as follows:

Output:output name:initial value:input node name

Output formats

Once ChemChains is initiated, a main output directory 'CCoutput' is created outside of the ChemChains program's directory, which subsequently stores all output files generated by ChemChains. Currently, ChemChains can be run in three modes, each producing different types of output formats. The first mode is a file conversion mode used to convert truth tables to a network descriptor file, whereas the second modes is a single-simulation visual mode which allows users to visualize the activity of any given output node during the course of a simulation. The third mode is a calculation mode which enables users to perform automated experiments involving tens of thousands of independent simulations with various levels of network stimuli. All available modes are detailed below.

File Conversion mode

As described above, to run ChemChains, a logical network descriptor is required. While it can be created manually, creating truth tables in a tabular form poses a more intuitive way of defining the activation mechanism for each node. Once users create all truth tables describing their network, the truth tables need to be converted to the required network descriptor file. This conversion can be accomplished by using the 'FileConverter' extension available in ChemChains. To use this extension, users can save the truth tables in tab-delimited text files (one truth table per file) and create a list of nodes contained in the network. To initiate the conversion process, ChemChains needs to be run with the '-TT2ND' parameter. In addition, a node list file (Table 3), an output file, as well as a directory path containing the set of truth tables must be specified via the '-iNodes', '-o', and '-iTables' parameters, respectively. Once the conversion is complete, the network descriptor is saved in the previously specified output text file.

Table 3 Sample node list file.

Furthermore, FileConverter can be used to re-create the truth table for each node from a given network descriptor file. This is done by instantiating ChemChains using the '-ND2TT' parameter, whereas the input file (network descriptor file) is specified via the '-ilogic' parameter. The corresponding truth tables are created in an output folder defined by the user (by using the '-o' parameter).

Visual Mode

The visual mode allows users to visualize the dynamics (i.e., the sequence of the ON/OFF states) of the output nodes declared in the specification file (discussed above) during the course of a single simulation. The output created by ChemChains is a text file containing a table of activity for each output node in terms of the OFF/ON states (Figure 4), where '*'(star) represents the ON state, whereas '.'(dot) represents the OFF state of a particular output node. To run ChemChains in the visual mode, the user needs to provide both input files (network descriptor and simulation specification files), as well as an output file using the '-vis' command-line parameter (Table 1). The output file with stars and dots for each output node will be created and saved in the ChemChains output directory.

Figure 4
figure 4

A sample output file created in the visual mode. A sample network was iterated 20 times and the activity of three output nodes (NodeA, NodeB, and NodeC) were captured.

Calculation mode

Once ChemChains is started in the calculation mode, a 'stats' directory is created in the main ChemChains output folder to house all of users' subsequent simulation experiments. Output files of each experiment are stored in the stats directory in a folder labeled by the user (see '-calc' parameter in Table 1). The list of all output files created during each experiment is summarized in Table 4.

Table 4 Summary of output files/directories created for each ChemChains experiment.

To provide users with the ability to visualize and/or analyze the dynamics of the network of each simulation at the ON/OFF state level of each node, ChemChains saves strings of 1/0 bits for each simulation in text files stored in the 'bits' directory. Each column in each file represents the ON/OFF states for one node (including external inputs) in the network, where '1' codes the ON state and '0' codes the OFF, whereas the rows represent the state of that node in time t of a given simulation. Because detailed bit printing of each simulation requires a significant amount of simulation time, bit outputting can be suppressed by using the '-noBits' parameter.

The most notable feature of ChemChains is the ability of users to interact with their models in a continuous manner. Similarly to the external input nodes, the activity of each node is calculated and expressed as a percent ON (as described in the Boolean networks and their dynamics section). This allows users of ChemChains to observe activation patterns of all nodes in the network across thousands of simulations with varying stimuli levels. The activity levels of all nodes during each simulation can be found in a tabular file ('allNodes_avg.csv'). To provide users with detailed experiment information, the 'nodesAvg' directory contains separate files with activity levels (and the values of external inputs that resulted in the node's activity) for each node in the network. ChemChains also allows users to capture "snap shots" of the network's dynamics in different time points of a single simulation. This feature can be enabled in the simulation specification file as described in the Simulation specification file section. The snapshot activity information obtained about the network is subsequently saved in the 'snapshotsAnalysis' directory.

In addition, the calculation mode allows users to perform various analyses after each simulation. These analyses are implemented as separate extensions to the software, and can be instantiated using various parameters when starting new experiments. The current version of ChemChains contains the 'Patterns' extension used in our recent study [14]. Description of this extention follows.

Patterns extension

ChemChains can be used to conduct experiments consisting of thousands of simulations under various input conditions (including any number of mutations), generating a large amount of data ready for systems analysis. The patterns extension allows users to view the system's dynamics in a more organized and intuitive manner by classifying the activity levels of user-defined nodes into groups based on a pre-defined activity level range, called patterns.

For example, consider a single-simulation experiment which results in output node A being 70% ON, node B 2% ON, and node C 23% ON. To create a pattern representing the activity of these nodes as the outcome of the simulation, the percentage ON of individual output nodes is classified as one of three levels (note that these levels have been chosen arbitrarily for this example, and can be changed by the user as described later in this section): i) "Low" if the node percent ON is between 0% and 10%, ii) "Medium" for nodes that are ON 11–30%, or iii) "High" nodes with activity between 31% and 100%. Each level is subsequently coded as '0' (low), '1' (medium), and '2' (high). Therefore, the pattern for output nodes A, B, and C is '201'.

When performing ChemChains experiments consisting of multiple simulation, each simulation will be assigned to a pattern based on the outcome of individual output nodes, as explained above. Simulations assigned the same patterns will form groups represented by the pattern. Each pattern is then associated with an average input vector and average output vector (Figure 5B). Figure 5 illustrates how the output of the Patterns extension is created using partial data generated from a ChemChains experiment on a large-scale model used in our recent paper [14]. The external input nodes of the large-scale model used include Extracellular Matrix (ECM), Epidermal Growth Factor (EGF), External Calcium Pump (ExtPump), four G-Protein Coupled Receptor ligands (α q, α s, α i, and α 1213), IL1/TNF, and extracellular stress, whereas the output nodes of interest are Akt, Erk, Cdc42, and Rac. The subsequent experiment consisted of 10,000 simulations with randomly generated combinations of external input node dosages during which the activity (percentage ON) of the four aforementioned output nodes was measured. See Figure 5 caption for more details demonstrating how the multiple simulation output is created.

Figure 5
figure 5

An example of pattern creation. Panel B is a summary table of the output data generated by the Patterns extension. The leftmost part of this table contains patterns generated throughout the experiment, whereas the "Count" column represents the number of simulations whose output nodes resulted in the particular pattern, as described in the main text (for easier exemplification, only patterns that occurred more than 100 times are listed in the table). The next two sections of this table contain the average input and average output vectors, respectively. Panel A illustrates the process of creating average input vectors of the top three patterns; that is, for each pattern, the average of external-input dosages of all simulations that were assigned to the particular pattern is calculated. Similarly, the average output vectors are calculated by averaging the output node activity levels across simulations that led to a given pattern. As shown in Panel C, the top three average output vectors (and patterns) were calculated from 2,346, 1,488, and 952 simulations, respectively.

Because the ranges defining each activity level (e.g., low, medium, high), as well as the number of levels used in the example are arbitrary, users can define these properties according to their needs in the 'inFiles/exts/Patterns/settings.txt' text file. The patterns output nodes are defined (one node per line) in the 'inFiles/exts/Patterns/patternsOutNodes.txt' file. These patterns consist of the defined output nodes, whose activity reaches levels within a user-specified range over multiple simulations, as well as the input sets that result in these levels, allowing users to assess global-input vs. global-output relationships. The summary results (average patterns) from the pattern analysis extension are saved by ChemChains in a tab-delimited output file, while the detailed data (i.e., simulations with the activity levels of each output and input node, that belong to each pattern) are stored in a spreadsheet file created in a folder named after the pattern, in the 'patterns' folder for later revisions of the experiment data.

Results and discussion

Modeling of biological processes has become an important component of biomedical research that provides additional tools to study and understand the underlying mechanisms of these processes. The biological modeling community has made significant progress in developing a number of sophisticated mathematical tools and methods that provide the ability to create models and view their dynamics. However, with the increasing sophistication of the mathematics underlying the representation and simulation of various biological systems, only investigators who are trained modelers can use and develop such systems; it essentially becomes impossible for laboratory scientists to create and use sophisticated models directly.

Due to the complex mathematics and the immense number of parameters required, the practical use of continuous models and simulation tools as a daily part of laboratory research is difficult. Although other approaches based on less mathematical concepts such as Petri Nets (which uses a weighted firing approach) have been used for modeling of biological processes [21, 22], Boolean modeling combines the mathematical simplicity of those methods with a more intuitive way of interpreting the subsequent models. On the other hand, the inherent discrete nature of logical models does not square with the fact that laboratory experiments are performed in terms of continuous data (e.g., specifying levels of ligands, proteins activity, etc.). This creates an interpretation barrier between the data output of discrete tools and the experiments laboratory biologists conduct. In other words, it would be best for biologists if their in silico experiments produced richer data than 0's and 1's. To address this issue, ChemChains allows users to interact with their Boolean models in a continuous fashion, while preserving all advantages of logical modeling. Users have the ability to specify the activity of their external input nodes (representing various network stimuli) as a percentage ON. Similarly, the activity levels of all (or user-selected) nodes are expressed as percent ON. As discussed in the Implementation section, the "percent ON" is a way to represent an attractor in Boolean models, and the biological meaning of the percent ON measure is dependent on the nature of the nodes and the overall model. For example, it might correspond to the level (or probability) of phenotype manifestation such as differentiation into a particular cell type or, as in our signal transduction model from our recent study [14], percent ON could correspond to the ability of a signaling molecule (e.g., protein) to transmit a signal received from another signaling molecule to a downstream effector molecule. Depending on the nature of the signaling molecule, that ability might be expressed in terms of protein activity, expression, concentration, etc. The advantage of the percent ON measure used in ChemChains is that it provides a semi-quantitative way to measure the levels of the nodes' activity and/or the direction of a change in these levels due to perturbations, something that laboratory scientists deal with on daily basis and hence can find intuitive and relatively easy to use.

In addition to the above mentioned functionality that makes in silico simulations of Boolean models more accessible to laboratory scientists, ChemChains also offers powerful analysis that can be performed by running automated experiments in which users can simulate their models under tens of thousands of randomly generated external conditions. The available Patterns extension categorizes each simulation and a specified group of output nodes into discrete groups, representing global responses (patterns) based on their activity level. Each pattern is then represented by an average output vector and an associated average (external) input vector, which provides a quick way for biologists to learn how their model responds to certain a set of stimuli and how these stimuli map to a specific response; an important feature to aid the understanding of how complex biological structures function and improve the development (and efficiency) of treatments for diseases associated with these systems [23]. Furthermore, investigators can use the software output to easily verify how well the activity levels of specified nodes fit the available empirical laboratory data (e.g., the effects of receptor activation on the activity of a protein in a different area of the network). This presents to biologists a novel tool to obtain insight about unavailable regulatory information, which can be confirmed or rejected by a controlled experiment in the laboratory.

Table 5 shows output produced by the Patterns extension after a sample simulation experiment performed on a Boolean model representing a signal transduction network in a generic fibroblast cell. The sample experiment consisted of 1,000 simulation with randomly selected dosage values for external inputs. The simulated model was introduced in our recent publication [14], and consists of three main pathways; the Tyrosine Receptor Kinase, Integrin, and G-protein Coupled Receptor pathways (and comprises of about 135 nodes and 800 connections). The external input nodes (that make up the average input vector) in Table 5 represent ligands associated with these pathways, while the output nodes (nodes of interest) make up the average output vector, providing biologists with the aforementioned important input-output mapping information. An example of a real biological application of ChemChains and the Patterns extention is our recent study in which the use of these tools in the combination with the above mentioned large-scale Boolean model of biochemical signal transduction network revealed important information about the role of signal transduction networks as information processing and decision-making machinery of the cell [14].

Table 5 Sample output generated by the Patterns extension.

Another ChemChains function of great use for many laboratory scientists is the ability to perform in silico mutational studies. ChemChains offers the ability to select nodes that will simulate the loss-of-function or gain-of-function scenarios (which can be specified in the simulation specification file provided to ChemChains prior to new simulations). As an example of how ChemChains, in combination with the Patterns extension, can be used for the above mentioned mutation studies is illustrated on the signal transduction model (mentioned above) in Table 6. In this example, Ras (a protein often responsible for some types of cancer) was "mutated" to stay ON, which resulted in a significant activity increase of Erk (a cell growth regulatory component, [24, 25]) as well as the anti-apoptosis Akt, a possible indication of uncontrolled cell growth. This corresponds to a cancerous cell, whose signaling has been altered. This type of input-output mapping allows biologists to predict the behavior of the model in response to its stimuli.

Table 6 Sample experiment output with constitutively active Ras.

As illustrated by the above examples, ChemChains and its Patterns extension provide biologists with a set of tools that allow predictive model simulations based on the nature of the responses produced as a result of given stimuli (including internal pathological-related conditions such as a cancerous protein mutations). In addition, this software forms a solid platform for laboratory biologists to bring Systems Biology to their laboratory by being able to perform simulations and analysis of model of biological structures directly and independently of mathematicians and modelers.

ChemChains is under constant development to expand its functionality and increase its user-friendliness. The following are examples of areas of ChemChains development our group is addressing or planning to address in the near future. Although the software offers rich functionality while keeping the number of command-line parameters to run the tool low, a graphical user interface would make ChemChains more intuitive and user-friendly. Our group is currently implementing a graphical user interface that will allow laboratory scientists to build logical networks, as well as perform simulation and analysis that will provide users with the means to display their results in a more exible and intuitive way than is currently available. For example, users will be able to control the dosage levels of external inputs via slider controls and observe the activity of output nodes in real time.

Additionally, as new models and simulation tools are created and implemented, respectively, the need for a standard way of sharing model information between various research groups and their simulation tools became apparent. To address this need, M. Hucka et. al. [26] have developed the Systems Biology Markup Language (SBML), a standard describing network models. SBML has been adapted by a large number of simulation tools, allowing users to share their models. Because SBML currently supports mostly continuous modeling techniques, ChemChains is currently not SBML-compatible. However, the SBML developers are currently working on the integration of logical models into the standard for the upcoming version of SBML, therefore the next version of ChemChains is anticipated to include a support for SBML.

Furthermore, to ensure that scientists can use ChemChains for extensive simulations of large-scale models, the software will require the support of multi-core/processor computers. Thus our group is planning on optimizing ChemChains to take advantage of not only multi-core processor computers, but also more powerful supercomputers. This will decrease the amount of time needed to run ChemChains simulations and analysis.


As systems biology and the development of mathematical models progress and these models become more complex, their use requires more advanced mathematical knowledge. For laboratory biologists to take advantage of the systems biology paradigm as a compliment to their laboratory experiments, simulation tools that will allow them to perform in silico simulation experiments in a mathematically friendly fashion is a must. Our group has developed ChemChains, a simulation and analysis platform to allow laboratory scientists to visualize the dynamics of biological processes using non-mathematical, parameter-free logical models. In addition, ChemChains allows laboratory scientists to interact with mathematical models in a way which resembles laboratory experiments, and provides the investigators with new tools to see the big picture in the realm of biological processes. The software allows biologists to perform simulations of their model under thousands of varying stimuli and learn how the models respond to different combinations of conditions, an important step to understanding how many complex biological processes, such as signal transduction, function.

Availability and requirements

ChemChains has been tested on a Windows and Linux platforms. To run ChemChains on a Windows-based computer, a *nix environment needs to be installed (such as Cygwin [27]) ChemChains software along with a detailed tutorial on how to use the tool are available on-line [28].


  1. Kitano H: Systems biology: a brief overview. Science. 2002, 295 (5560): 1662-4. 10.1126/science.1069492

    Article  CAS  PubMed  Google Scholar 

  2. Kitano H: Computational Systems Biology. Nature. 2002, 420: 206-210. 10.1038/nature01254

    Article  CAS  PubMed  Google Scholar 

  3. Bornholdt S: Systems biology. Less is more in modeling large genetic networks. Science. 2005, 310 (5747): 449-51. 10.1126/science.1119959

    Article  CAS  PubMed  Google Scholar 

  4. de Jong H: Modeling and simulation of genetic regulatory systems: a literature review. J Comput Biol. 2002, 9: 67-103. 10.1089/10665270252833208

    Article  CAS  PubMed  Google Scholar 

  5. Wanner BL: Modeling the E. coli cell: The need for computing, cooperation, and consortia. 2005, 13: SpringerLink/Heidelberg

    Google Scholar 

  6. Kestler HA, Wawra C, Kracher B, Kühl M: Network modeling of signal transduction: establishing the global view. Bioessays. 2008, 30 (11–12): 1110-25. 10.1002/bies.20834

    Article  CAS  PubMed  Google Scholar 

  7. Tomita M, Hashimoto K, Takahashi K, Shimizu TS, Matsuzaki Y, Miyoshi F, Saito K, Tanida S, Yugi K, Venter JC, Hutchison CA: E-CELL: software environment for whole-cell simulation. Bioinformatics. 1999, 15: 72-84. 10.1093/bioinformatics/15.1.72

    Article  CAS  PubMed  Google Scholar 

  8. Funahashi A: CellDesigner: a process diagram editor for gene-regulatory and biochemical networks. Biosilico. 2003, I: 159-162. 10.1016/S1478-5382(03)02370-9.

    Article  Google Scholar 

  9. Ramsey S, Bolouri H:

  10. Shapiro B, Mjolsness E, Levchenko A:

  11. Shapiro BE, Levchenko A, Meyerowitz EM, Wold BJ, Mjolsness ED: Cellerator: extending a computer algebra system to include biochemical arrows for signal transduction simulations. Bioinformatics. 2003, 19 (5): 677-8. 10.1093/bioinformatics/btg042

    Article  CAS  PubMed  Google Scholar 

  12. Slepchenko BM, Schaff JC, Macara I, Loew LM: Quantitative cell biology with the Virtual Cell. Trends Cell Biol. 2003, 13 (11): 570-6. 10.1016/j.tcb.2003.09.002

    Article  CAS  PubMed  Google Scholar 

  13. Klamt S, Saez-Rodriguez J, Gilles ED: Structural and functional analysis of cellular networks with CellNetAnalyzer. BMC Syst Biol. 2007, 1: 2- 10.1186/1752-0509-1-2

    Article  PubMed Central  PubMed  Google Scholar 

  14. Helikar T, Konvalina J, Heidel J, Rogers JA: Emergent decision-making in biological signal transduction networks. Proc Natl Acad Sci USA. 2008, 105 (6): 1913-8. 10.1073/pnas.0705088105

    Article  PubMed Central  CAS  PubMed  Google Scholar 

  15. Saez-Rodriguez J, Simeoni L, Lindquist JA, Hemenway R, Bommhardt U, Arndt B, Haus UU, Weismantel R, Gilles ED, Klamt S, Schraven B: A logical model provides insights into T cell receptor signaling. PLoS Comput Biol. 2007, 3 (8): e163- 10.1371/journal.pcbi.0030163

    Article  PubMed Central  PubMed  Google Scholar 

  16. Abdi A, Tahoori MB, Emamian ES: Fault diagnosis engineering of digital circuits can identify vulnerable molecules in complex cellular pathways. Sci Signal. 2008, 1 (42): ra10- 10.1126/scisignal.2000008

    Article  PubMed  Google Scholar 

  17. Gonzalez AG, Naldi A, Sffanchez L, Thiefiry D, Chaouiya C: GINsim: a software suite for the qualitative modelling, simulation and analysis of regulatory networks. Biosystems. 2006, 84 (2): 91-100. 10.1016/j.biosystems.2005.10.003

    Article  CAS  PubMed  Google Scholar 

  18. Di Cara A, Garg A, De Micheli G, Xenarios I, Mendoza L: Dynamic simulation of regulatory networks using SQUAD. BMC Bioinformatics. 2007, 8: 462- 10.1186/1471-2105-8-462

    Article  PubMed Central  PubMed  Google Scholar 

  19. Huang S: Genomics, complexity and drug discovery: insights from Boolean network models of cellular regulation. Pharmacogenomics. 2001, 2 (3): 203-22. 10.1517/14622416.2.3.203

    Article  CAS  PubMed  Google Scholar 

  20. Kauffmann S: The Origins of Order. 1993, Oxford University Press, New York

    Google Scholar 

  21. Doi A, Fujita S, Matsuno H, Nagasaki M, Miyano S: Constructing biological pathway models with hybrid functional Petri nets. In Silico Biol. 2004, 4 (3): 271-91.

    CAS  PubMed  Google Scholar 

  22. Sackmann A, Heiner M, Koch I: Application of Petri net based analysis techniques to signal transduction pathways. BMC Bioinformatics. 2006, 7: 482- 10.1186/1471-2105-7-482

    Article  PubMed Central  PubMed  Google Scholar 

  23. Gough NR: Focus issue: from input to output-are all paths equal?. Sci Signal. 2008, 1 (42): eg6- 10.1126/scisignal.142eg6

    Article  PubMed  Google Scholar 

  24. McCormick F: Signalling networks that cause cancer. Trends Cell Biol. 1999, 9 (12): M53-6. 10.1016/S0962-8924(99)01668-2

    Article  CAS  PubMed  Google Scholar 

  25. Sridhar SS, Hedley D, Siu LL: Raf kinase as a target for anticancer therapeutics. Mol Cancer Ther. 2005, 4 (4): 677-85. 10.1158/1535-7163.MCT-04-0297

    Article  CAS  PubMed  Google Scholar 

  26. Hucka M, Finney A, Sauro HM, Bolouri H, Doyle JC, Kitano H, Arkin AP, Bornstein BJ, Bray D, Cornish-Bowden A, Cuellar AA, Dronov S, Gilles ED, Ginkel M, Gor V, Goryanin II, Hedley WJ, Hodgman TC, Hofmeyr JH, Hunter PJ, Juty NS, Kasberger JL, Kremling A, Kummer U, Le Novffere N, Loew LM, Lucio D, Mendes P, Minch E, Mjolsness ED, Nakayama Y, Nelson MR, Nielsen PF, Sakurada T, Schaff JC, Shapiro BE, Shimizu TS, Spence HD, Stelling J, Takahashi K, Tomita M, Wagner J, Wang J, Forum S: The systems biology markup language (SBML): a medium for representation and exchange of biochemical network models. Bioinformatics. 2003, 19 (4): 524-31. 10.1093/bioinformatics/btg015

    Article  CAS  PubMed  Google Scholar 

  27. Cygwin.

  28. ChemChains.

Download references


We thank Jeff Hamilton for creating the initial version of ChemChains, Philip Greiss for memory optimization, and Sean McClenathan for final code and performance optimization. This work was supported by a grant from the National Institutes of Health (GM067272, to J.A.R), and generous gifts from Patrick J. Kerrigan and Donald F. Dillon.

Author information

Authors and Affiliations


Corresponding author

Correspondence to Jim A Rogers.

Additional information

Authors' contributions

TH and JAR designed the software. TH implemented and deployed the software. TH wrote and JAR reviewed the manuscript. Both authors read and approved the final manuscript.

Authors’ original submitted files for images

Rights and permissions

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 (, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

Reprints and permissions

About this article

Cite this article

Helikar, T., Rogers, J.A. ChemChains: a platform for simulation and analysis of biochemical networks aimed to laboratory scientists. BMC Syst Biol 3, 58 (2009).

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: