Skip to main content
Journal of Computational Biology logoLink to Journal of Computational Biology
. 2015 Nov 1;22(11):1025–1033. doi: 10.1089/cmb.2015.0072

Bayesian Inference for Duplication–Mutation with Complementarity Network Models

Ajay Jasra 1,, Adam Persing 2, Alexandros Beskos 2, Kari Heine 2, Maria De Iorio 2
PMCID: PMC4642832  PMID: 26355682

Abstract

We observe an undirected graph G without multiple edges and self-loops, which is to represent a protein–protein interaction (PPI) network. We assume that G evolved under the duplication–mutation with complementarity (DMC) model from a seed graph, G0, and we also observe the binary forest Γ that represents the duplication history of G. A posterior density for the DMC model parameters is established, and we outline a sampling strategy by which one can perform Bayesian inference; that sampling strategy employs a particle marginal Metropolis–Hastings (PMMH) algorithm. We test our methodology on numerical examples to demonstrate a high accuracy and precision in the inference of the DMC model's mutation and homodimerization parameters.

Key words: : duplication–mutation with complementarity (DMC) model, particle marginal Metropolis–Hastings (PMMH), protein–protein interaction (PPI) network, sequential Monte Carlo (SMC)

1. Introduction

As a result of breakthroughs in biotechnology and high-throughput experiments thousands of regulatory and protein–protein interactions have been revealed, and genome-wide protein–protein interaction (PPI) data are now available. Protein–protein interactions are one of the most important components of biological networks, as they are fundamental to the functioning of cells. To gain a better understanding of why these interactions take place, it is necessary to view them from an evolutionary perspective. The evolutionary history of PPI networks can help answer many questions about how present-day networks have evolved and provide valuable insight into molecular mechanisms of network growth (Kreimer et al., 2008; Pereira-Leal et al., 2007). However, inferring network evolution history is a statistical and computational challenging problem as PPI networks of extant organisms provide only snapshots in time of the network evolution. There has been recent work on reconstructing ancestral interactions (e.g., Dutkowski and Tiuryn, 2007; Gibson and Goldberg, 2009; Patro et al., 2012). The main growth mechanism of PPI network is gene duplication and divergence (mutations) (Wagner, 2001); all proteins in a family evolve from a common ancestor through gene duplications and mutations, and the protein network reflects the entire history of the genome evolution (Vazquez et al., 2003). In this article we follow Li et al. (2013), and we develop computational methods to infer the growth history and the parameters under the given model incorporating not only the topology of observed networks, but also the duplication history of the proteins contained in the networks. In their article, Li et al. (2013) propose a maximum likelihood approach. The authors establish a neat representation of the likelihood function, and it is this representation that is used in this article. The duplication history of the proteins can be inferred independently by phylogenetic analysis (Patro et al., 2012; Pinney et al., 2007).

The approach we adopt here is first to obtain a numerically stable estimate of the likelihood function, under fixed parameters; this is achieved via the sequential Monte Carlo (SMC) method (see Doucet et al., 2000, and Gordon et al., 1993). This approach can then be used to infer the parameters of the model, from a Bayesian perspective, as well as the growth history, via a Markov chain Monte Carlo (MCMC) method. To the best of our knowledge, this has not been considered in the literature, although related ideas have appeared for simpler models in Wang et al. (2014). Our computational strategy not only improves on likelihood estimation in comparison to Li et al. (2013), but also provides a natural setup to perform posterior inference on the parameters of interest.

This article is structured as follows. In section 2, we detail the model and associated computational method for statistical inference. In section 3, our numerical results are presented. In section 4, the article is concluded with some discussion of future work.

2. Model and Methods

We follow similar notation and exposition as in Li et al. (2013) to introduce the protein–protein interaction network, its duplication history, and the duplication–mutation with complementarity (DMC) model (Vazquez et al., 2003). In particular, the notions of adjacency and duplication are made concrete there. We also introduce the associated Bayesian inference problem with which this work is primarily concerned (i.e., that of inferring the parameters of the DMC model). We then describe a particle marginal Metropolis–Hastings (PMMH) algorithm (Andrieu et al., 2010) that can be used to perform such inference.

2.1. PPI network and DMC model

Consider an undirected graph G without multiple edges and self-loops, where the nodes represent proteins and the edges represent interactions between those proteins. Such a graph is called a PPI network, and as in Li et al. (2013), we denote the vertex set by V(G), the edge set by E(G), and the number of nodes in G by |V (G)|. All nodes that are adjacent to a node v (not including v itself) comprise the neighborhood of v, and that neighborhood is denoted by NG(v).

We assume that G evolved from a seed graph G0 via a series of duplication, mutation, and homodimerization steps under a DMC model. Under the DMC model, at each time step t, the graph Gt evolves from Gt−1 by the following processes in order:

  • 1. The anchor node ut is chosen uniformly at random from V (Gt−1), and a duplicate node vt is added to Gt−1 and connected to every member of Inline graphic. This is the duplication step, and it yields an intermediary graph denoted Inline graphic.

  • 2. For each Inline graphic, we uniformly choose one of the two edges in Inline graphic at random and delete it with probability (1 − p). This is the mutation step, and the parameter p is henceforth referred to as the mutation parameter.

  • 3. The anchor node ut and the duplicate node vt are connected with probability pc to finally obtain Gt. This is the homodimerization step, and the parameter pc is henceforth known as the homodimerization parameter.

The DMC model is Markovian, and we denote the transition density at time t (which encompasses the three aforementioned steps) by Inline graphic, where Inline graphic. If we assign to a seed graph some prior density Inline graphic, then the density of the observed graph G will be

graphic file with name eq1.gif

where Inline graphic, and Inline graphic denotes the collection of growth histories. In this work, a seed graph will always be the graph consisting of two connected nodes; thus, Inline graphic and Inline graphic. Note that we are summing over all possible growth histories by which G can evolve from a seed graph. Also note that a growth history Inline graphic induces a unique sequence of duplicate nodes, Inline graphic (Li et al., 2013).

2.2. Bayesian inference

In practice, one will not have access to the parameters (p, pc), and they must be inferred given G. Thus, in the Bayesian setting, our objective is to consider the posterior density

graphic file with name eq2.gif

where Inline graphic is some proper prior for (p, pc) that we assume can easily be computed (at least pointwise up to a normalizing constant).

The total number of growth histories grows exponentially with n (Li et al., 2013), and so any computations involving (1), and thus (2) [e.g., the evaluation of Inline graphic], could potentially become very expensive. In the following sections, we reformulate the inference problem in the same manner as in Li et al. (2013) to alleviate this issue.

2.3. Duplication history

As in Li et al. (2013), let Γ be a binary forest, that is, a collection of rooted binary trees. The authors of Li et al. (2013) describe a scheme that encodes the duplication history of a growth history Inline graphic within a series of duplication forests, Inline graphic, where each forest Γt corresponds to a graph Gt. We describe that scheme here.

Consider a trivial forest Γ0, whose only two isolated trees each consist of a single node. Each of those isolated nodes will correspond to a node within the seed graph G0. To build Γ1 from Γ0, one replaces an anchor node u1 from Γ0 with a subtree, Inline graphic, consisting of two leaves (v1 is the duplicate node including G1 but not G0). This process continues until one builds the series of forests Inline graphic to correspond to Inline graphic.

As highlighted in Li et al. (2013), the duplication forest Γ (corresponding to G) is uniquely determined by Inline graphic and a list of anchor nodes, Inline graphic. The important thing to emphasize here is that given the duplication forest Γ and G, one now only needs to infer the duplication nodes sequence Inline graphic to reconstruct the complete growth history Inline graphic. For instance, at the first step backward, knowledge of Γn = Γ together with vn uniquely identifies the anchor node un, thus one can reconstruct Gn−1 and Γn−1; this is then repeated for the remaining backward steps. Thus, given Inline graphic, one can construct the growth history Inline graphic backward-in-time using the backward operators defined in section 2.4 of Li et al. (2013), which constructs Gt−1, Γt−1 deterministically given (Gt, Γt, vt), for Inline graphic. An example of a growth history is given in Figure 1.

FIG. 1.

FIG. 1.

An example growth history for a network together with the corresponding history of the duplication forest. In this example, (u1, u2, u3) = (2, 1, 3) and (v1, v2, v3) = (3, 4, 5).

2.4. Bayesian inference given the duplication history

Now suppose that in addition to G, a practitioner is given Γ corresponding to G. Our new objective—and the primary inference problem with which this work is concerned—is to consider the posterior density Inline graphic. Notice that we have the joint distribution:

graphic file with name eq3.gif

where Inline graphic is a sequence of duplication nodes compatible with the observed G, Γ, and Inline graphic the corresponding reconstructed history. We are thus interested in the parameter posterior:

graphic file with name eq4.gif

The density Inline graphic is typically a trivial term that can be ignored in practice. As the duplication forest Γ limits the number of allowable anchor-and-duplicate node pairs, one can see that the number of possible growth histories is reduced.

2.5. Methods

We will now present an SMC algorithm that can sample the latent growth histories from the DMC model given the fixed parameters Inline graphic. We then show that this algorithm can be employed within a PMMH algorithm, as in Andrieu et al. (2010), to sample from the posterior (3) and infer Inline graphic (and even θ|G, Γ).

An SMC algorithm simulates a collection of N samples (or, particles) sequentially along the index t via importance sampling and resampling techniques to approximate a sequence of probability distributions of increasing state-space, which are known pointwise up to their normalizing constants. In this work, we use the SMC methodology to sample from the posterior distribution of the latent duplication history:

graphic file with name eq5.gif

backward along the index t via Algorithm 1 in the Appendix. The technique provides an unbiased estimate of the normalizing constant (Theorem 7.4.2 of Del Moral, 2004), Inline graphic:

graphic file with name eq6.gif

where each Inline graphic is an unnormalized importance weight computed in Algorithm 1. Note that under assumptions on the model, if N > cn for some c <∞ , then the relative variance of the estimate is Inline graphic(n/N) (see Cérou et al., 2011). It is remarked that, as in Wang et al. (2014), one could also use the discrete particle filter (Fearnhead, 1998), with a possible improvement over the SMC method detailed in Algorithm 1 (see Wang et al., 2014, for some details).

This SMC can be employed within a PMMH algorithm to target the posterior of Inline graphic in (3). One can think of the deduced method as an MCMC algorithm running on the marginal Inline graphic-space, but with the SMC unbiased estimate Inline graphic replacing the unknown likelihood Inline graphic. More analytically, we can consider all random variables involved in the method and write down the equilibrium distribution in the enlarged state space, with Inline graphic-marginal the target posterior Inline graphic. Following Andrieu et al. (2010) and letting Inline graphic denote a sample (Gt, Γt) at time t, the extended equilibrium distribution is written as:

graphic file with name eq7.gif

where Inline graphic is the probability of all the variables associated to Algorithm 1, with Inline graphic and the φ's being the simulated variables at each step of Algorithm 1.

A PMMH algorithm (see Algorithm 2) samples from (5), and one can remove the auxiliary variables from the samples to obtain draws for the parameters from (3). Furthermore, one could even save the sampled growth histories with particle index l to obtain draws from the joint posterior Inline graphic. However, in this work, we are primarily interested in the inference of Inline graphic.

3. Results

The variance of the estimate (4) plays a crucial role in the performance of Algorithm 2, as (4) is used to compute the acceptance probability within the PMMH algorithm. Thus, we first tested the variability of (4) as computed by Algorithm 1 to understand how the variance changes with |V (G)|. We then ran Algorithm 2 to sample from the posterior (3) and infer Inline graphic for a given pair of observations (G, Γ). We present the details of those experiments below.

3.1. Variance of Inline graphic

We simulated a graph G and a forest Γ from the DMC model with the parameters set as (p = 0.7, pc = 0.7), where |V(G)| = 40. We saved each pair (Gt, Γt) for 1 ≤ t ≤ 40, and we ran Algorithm 1 50 times per pair (with N = |V(Gt)| * 5) to compute 50 unbiased estimates of Inline graphicfor 1 ≤ t ≤ 40. In the top of Appendix Figure A1 in Appendix A, we plot the relative variance of the estimate (or, the variance divided by the square of the expected value) per each value of |V(Gt)|. We repeated the experiment two more times, with N = |V(Gt)| * 10 and N = |V(Gt)| * 20, and the associated output is also presented in Appendix Figure A1.

As remarked above, if N > cn for some c <  ∞ , then the relative variance of Inline graphic is Inline graphic. Appendix Figure A1 confirms that the variance increases linearly, and that increasing the value of N with |V(G)| (at least linearly) will help to control the variance. However, the plots show that the relative variance is still high, which means that N will have to be large to ensure satisfactory performance of the PMMH in practice.

3.2. Parameter inference

We separately simulated a graph G and a forest Γ from the DMC model with the parameters again set as (p = 0.7, pc = 0.7), and we set |V(G)| = 15. Given only (G, Γ), we inferred (p, pc) with each parameter having a uniform prior on the interval [0.1, 0.9]. We set the number of particles within Algorithm 1 to be N = 2,000, and we ran the PMMH algorithm to obtain 10,000 samples from the extended target.

Appendix Figure A2 in Appendix A illustrates good mixing of the PMMH algorithm and accurate inference of the parameters (p, pc). The trace plots show that the algorithm is not sticky, and the autocorrelation functions give evidence to an approximate independence between samples. The posterior densities are also interesting, in that they are clearly different from the uniform priors, and they show that the PMMH algorithm spends a majority of the computational time sampling the true parameter values.

4. Discussion

We have introduced a Bayesian inferential framework for the DMC model, where, as in Li et al. (2013), one assumes the pair (G, Γ) is observed and the parameters (p, pc) are unknown. We then described how an SMC algorithm can be used to simulate growth histories and ultimately be employed within PMMH to target the posterior distribution of the parameters (3), thereby opening up the possibility of performing Bayesian inference on the DMC model.

Numerical tests demonstrated that Algorithm 1 can have a high variability when |V(G)| is large and N is not sufficiently high, and this limits the scope of the inference problem, which can be tackled using the complete Algorithm 2. However, the proposals used in the example experiments within Algorithms 1 and 2 are naive, as the method simply chooses a candidate duplicate node Inline graphic at random from all permitted nodes given the current Inline graphic, Inline graphic. It is reasonable to assume that more sophisticated proposal densities could reduce the variance of the SMC and/or improve the mixing of the PMMH, thereby allowing one to perform inference when |V(Gt)| is large and N is smaller. This could be explored in a future work.

5. Appendix A

APPENDIX FIG. A1.

APPENDIX FIG. A1.

All plots illustrate the relative variance of Inline graphic, per |V (Gt)| on the horizontal axis; the relative variance is the variance divided by the square of the expected value. In the top plot, the number of SMC particles used to compute each Inline graphic is |V(Gt)| * 5. In the middle and bottom plots, that number is |V(Gt)| * 10 and |V(Gt)| * 20, respectively. Recall that the seed graph, G0, has two nodes, and note that we did not compute Inline graphic because it is trivial.

APPENDIX FIG. A2.

APPENDIX FIG. A2.

Plots associated with p and pc are at left and right respectively. The top figures are trace plots, with PMMH iteration running along the horizontal axes and parameter value running along the verticals. The middle figures are plots of the autocorrelation functions (with lag running along the horizontal axes), and at the bottom we present the parameter posterior densities.

6. Appendix B: Algorithm Summaries

Algorithm 1.

Sequential Monte Carlo (SMC)

• Step 0: Input an observed graph G = Gn and a corresponding observed forest Γ = Γn, where G is not a seed graph.
• Step 1: Set t = n. For Inline graphic, sample a subtree with two nodes uniformly at random from Inline graphic, and choose one of the two nodes uniformly as the proposed duplicate node Inline graphic (thus the other will be the anchor node). Using the backward operators defined in [10, section 2.4], construct each Inline graphic from the subtrees and Inline graphic. For Inline graphic, compute the unnormalized weight
Inline graphic
 where Inline graphic is the density of the proposal mechanism used to sample Inline graphic.
• Step 2: If Inline graphic are not seed graphs, then set t = t − 1 and continue to Step 3. Otherwise, the algorithm terminates.
• Step 3: For Inline graphic, sample Inline graphic from a discrete distribution on {1, … ,N} with jth probability Inline graphic ∝ Inline graphic. The sample Inline graphic are the indices of the resampled particles. Set all normalized weights equal to N−1.
• Step 4: For Inline graphic, sample a subtree with two nodes uniformly at random from the resampled forest Inline graphic, and select uniformly one of the two nodes as the proposed duplicate node Inline graphic. Construct Inline graphic from Inline graphic. For Inline graphic, compute the unnormalized weight
Inline graphic
 Return to Step 2.

Algorithm 2.

Particle Marginal Metropolis—Hastings (PMMH)

• Step 0: Set r = 0. Sample Inline graphic. All remaining random variables can be sampled from their full conditionals defined by the target (5):
 - Sample Inline graphic via Algorithm 1.
 - Choose a particle index Inline graphic.
 Finally, calculate Inline graphic via (4).
• Step 1: Set r = r + 1. Sample Inline graphic. All remaining random variables can be sampled from their full conditionals defined by the target (5):
 - Sample Inline graphic via Algorithm 1.
 - Choose a particle index Inline graphic.
 Finally, calculate Inline graphic via (4).
• Step 2: With acceptance probability
Inline graphic
 set Inline graphic. Otherwise, set
Inline graphic
 Return to the beginning of Step 1.

Acknowledgments

This research was funded by the EPSRC grant “Advanced Stochastic Computation for Inference from Tree, Graph and Network Models” (Ref: EP/K01501X/1). A.J. was additionally supported by a Singapore Ministry of Education Academic Research Fund Tier 1 grant (R-155-000-156-112) and is also affiliated with the Risk Management Institute and the Centre for Quantitative Finance at the National University of Singapore.

Author Disclosure Statement

The authors declare that no competing financial interests exist.

References

  1. Andrieu C., Doucet A., and Holenstein R. 2010. Particle Markov chain Monte Carlo methods. J. R. Stat. Soc. B. 72, 269–342 [Google Scholar]
  2. Cérou F., Del Moral P., and Guyader A. 2011. A non-asymptotic variance theorem for unnormalized Feynman-Kac particle models. Ann. Inst. Henri Poincare. 47, 629–649 [Google Scholar]
  3. Del Moral P. 2004. Feynman-Kac Formulae: Genealogical and Interacting Particle Systems with Applications. Springer, New York [Google Scholar]
  4. Doucet A., Godsill S., and Andrieu C. 2000. On sequential Monte Carlo sampling methods for Bayesian filtering. Stat. Comput. 10, 197–208 [Google Scholar]
  5. Dutkowski J., and Tiuryn J. 2007. Identification of functional modules from conserved ancestral protein–protein interactions. Bioinformatics. 23, i149–i158 [DOI] [PubMed] [Google Scholar]
  6. Fearnhead P. 1998. Sequential Monte Carlo methods in filter theory [D.Phil. thesis]. University of Oxford, Oxford [Google Scholar]
  7. Gibson T.A., and Goldberg D.S. 2009. Reverse engineering the evolution of protein interaction networks. Pac. Symp. Biocomput. 14, 190–202 [PubMed] [Google Scholar]
  8. Gordon N.J., Salmond D.J., and Smith A.F.M. 1993. Novel approach to nonlinear/non-Gaussian Bayesian state estimation. IEE Proc. F. 140, 107–113 [Google Scholar]
  9. Kreimer A., Borenstein E., Gophna U., and Ruppin E. 2008. The evolution of modularity in bacterial metabolic networks. Proc. Natl. Acad. Sci. USA. 105, 6976–6981 [DOI] [PMC free article] [PubMed] [Google Scholar]
  10. Li S., Choi K.P., Wu T., and Zhang L. 2013. Maximum likelihood inference of the evolutionary history of a PPI network from the duplication history of its proteins. IEEE/ACM Trans. Comput. Biol. Bioinform. 10, 1412–1421 [DOI] [PubMed] [Google Scholar]
  11. Patro R., Sefer E., Malin J., et al. 2012. Parsimonious reconstruction of network evolution. Algorithms Mol. Biol. 7, 25. [DOI] [PMC free article] [PubMed] [Google Scholar]
  12. Pereira-Leal J.B., Levy E.D., Kamp C., and Teichmann S.A. 2007. Evolution of protein complexes by duplication of homomeric interactions. Genome Biol. 8, R51. [DOI] [PMC free article] [PubMed] [Google Scholar]
  13. Pinney J., Amoutzias G., Rattray M., and Robertson D. 2007. Reconstruction of ancestral protein interaction networks for the bZIP transcription factors. Proc. Natl. Acad. Sci. USA. 104, 20449–20453 [DOI] [PMC free article] [PubMed] [Google Scholar]
  14. Vazquez A., Flammini A., Maritan A., and Vespignani A. 2003. Modeling of protein interaction networks. ComPlexUs. 1, 38–44 [Google Scholar]
  15. Wagner A. 2001. The yeast protein interaction network evolves rapidly and contains few redundent duplicate genes. Mol. Biol. Evol. 18, 1283–1292 [DOI] [PubMed] [Google Scholar]
  16. Wang J., Jasra A., and De Iorio M. 2014. Computational methods for a class of network models. J. Comp. Biol. 21, 141–161 [DOI] [PubMed] [Google Scholar]

Articles from Journal of Computational Biology are provided here courtesy of Mary Ann Liebert, Inc.

RESOURCES