BACKGROUND
coevolution analysis is widely used to model the interdependency between protein residues in a multiple sequence alignment .
since it is generally believed that highly correlated mutation patterns represent evolutionary constraints resulting from structural or functional aspects  <cit> , coevolutionary information has been widely used to describe residue-residue contacts  <cit> , sequence comparisons  <cit> , deleterious substitutions  <cit> , drug-resistant positions  <cit> , various types of functional sites  <cit> , allosteric signaling pathways  <cit> , protein-protein interactions  <cit> , and for protein design  <cit> .
despite the usefulness of coevolution information, its accurate estimation remains challenging because of various noise factors such as those derived from phylogenetic signals  <cit> , indels  <cit>  and indirect signals  <cit> .
recently, new coevolution analysis methods have been developed that are based on a type of probabilistic graphical model called the markov random field , which have shown remarkable improvements for estimation .
unlike the earlier approaches based on local estimates , the mrf methods utilize a global sequence context of multiple alignment, and thus can effectively overcome interference from indirect signal noise.
all of the mrf methods are broadly similar to each other with respect to graphical modeling and coevolution estimations.
they represent an msa as a graphical model—in which each node encodes a distribution of amino acids at a specific residue position, and each edge encodes a joint distribution of amino acids between two connected residues—and coevolution scores are calculated from the edge weights.
however, because parameterization using a likelihood function is computationally challenging, recent studies have suggested different methods for learning a mrf model.
gmrc  <cit>  uses a greedy structure search that develops a graphical architecture by iteratively updating the edge set.
mpdca  <cit>  and mfdca  <cit>  approximate the likelihood function by using a message-passing algorithm and a mean-field equation, respectively.
psicov  <cit>  uses a sparse inverse covariance estimation technique with a graphical lasso penalty instead of directly computing the mrf model.
most recently, some methods have been proposed to replace the likelihood function with an alternative objective function, which is more tractable  <cit> .
in particular, gremlin has shown the most advanced performance, which relies on a pseudo-likelihood objective and parameter regularization  <cit> .
nevertheless, the use of mrf methods has not been comprehensively assessed with respect to the functional aspect of the coevolutionary constraint; instead, most of these assessments have thus far focused on the ability for protein structure prediction.
moreover, the accuracy of mrf methods considerably depends on the number of sequences comprising the msa  <cit> .
in this paper, we present a structure-based mrf  model whose graphical architecture is determined by using the protein structure information, and then derive a novel positional coevolution estimate using the node weight.
we further apply the smrf model to three data sets with different types of functional annotations, and demonstrate the association between coevolution information and functional sites.
in addition, we examine the computational robustness and efficiency of the proposed smrf-based coevolution analysis.
methods
structure-based markov random field
overview of the markov random field model
to estimate the evolutionary constraints on functional sites, we use the mrf approach as a class of probabilistic graphical models represented as an undirected graph.
similar to a bayesian network, the nodes of an mrf represent the variables, and the edges represent direct dependency between the variables of the neighboring nodes.
however, an mrf is defined on the basis of undirected graphs and may be cyclic.
this distinctive feature enables the mrf to model certain dependencies such as the symmetric influence of neighboring variables, whereas a bayesian network forces a directionality for the interactions.
recent studies  have shown that mrf methods are suitable for modeling coevolutionary relationship between residues of a protein in an msa.
modeling of an multiple sequence alignment
an mrf model describing evolutionary information can be built from the msa by representing the residues of a target protein with nodes.
therefore, the individual distribution of amino acids at a specific residue i is encoded to the node weight ϕi defined as
ϕi=evievi⋯evi,
where evi represents the distribution of amino acid k at column i of the msa.
likewise, the probabilistic interaction between residues i and j is encoded to the corresponding edge weight ψij defined as
ψij=ewijewij⋯ewijewijewij⋯ewij⋮⋮⋱⋮ewijewij⋯ewij,  where ewij represents the joint distribution of amino acid ki at column i and amino acid kj at column j of the msa.
because we consider a gap as an additional amino acid, k is set to  <dig>  and then the node and edge weights consist of a  <dig> and 21-by- <dig> dimensional vector and matrix, respectively.
given a set of parameters for the node and edge weights, the likelihood of an aligned sequence x can be written as
p=1z∏iϕi∏i,jψij,  where xi represents the matched amino acid at column i of the msa, and ϕi and ψij denote evi and ewij, respectively.
z denotes the partition function to convert the following terms into probability.
thus, the summation of p over all possible x values becomes  <dig>
determining the markov random field architecture from intramolecular contact
to effectively describe the coevolutionary constraint for biological functionality, we determine the mrf architecture based on the three-dimensional protein structure.
as shown in fig.
<dig>  the edges of the smrf model are defined for the residue pairs in contact.
thus, the topology of the graph for the smrf model becomes sparse, in contrast to the complete graph topology of a conventional mrf model such as gremlin.
assuming that residues in contact are more likely to interact with each other due to their spatial proximity, the structure-based architecture would be a computationally efficient and biochemically relevant representation.
more importantly, because the edges of the smrf have similar constraints in terms of the protein structure, the coevolution signals encoded on the edges would be differentiated according to other types of constraints such as biological functionality.
in the present study, intramolecular contact is determined by the cβ- cβ  atomic distance of < <dig> Å, by following the contact definition adopted in the casp experiment  <cit> .
fig.
<dig> overview of the procedure for building a structure-based markov random field  model and quantifying coevolutionary constraints.
the mrf architecture is determined from the three-dimensional structure of a target protein.
each residue of the target protein is represented as a node, and each intramolecular contact is represented as an edge connecting the corresponding residue nodes.
after the graphical topology is determined, parameterization is performed for the multiple sequence alignment in the same way as in conventional mrf methods.
then, pairwise and positional coevolution scores are calculated from the edge and node weights, respectively
parameterization procedure
given the msa d={x <cit> ,x <cit> ,⋯,x} consisting of m homologous sequences, the parameters for the mrf can be estimated by maximizing the log-likelihood sum written as
ll=∑mlogp.
however, because the partition function z is defined over the entire space of the node and edge weights, obtaining the parameters by the maximum log-likelihood is computationally intractable.
alternatively, similar to gremlin, we use the pseudo-likelihood objective, which replaces the likelihood p with ∏ip, where x−i represents x <dig> ⋯,xi− <dig> xi+ <dig> ⋯,xk, and p is defined as
p=1ziϕi∏jψij,  where zi represents the local partition function that is computationally more tractable.
consequently, the pseudo-likelihood objective function is defined as
pll=∑m∑ilogp=∑m∑ilogϕi+∑jlogψij−logzi,=∑m∑ivi+∑jwij−logzi.
in addition to the pseudo-likelihood objective, to avoid over-fitting, we use l2-regularization, defined as
r=λv∑i∥vi∥22+λw∑i,j∥wij∥ <dig>   where λv and λw are determined as  <dig>  and  <dig> , respectively, as in the gremlin model.
to minimize the objective function, r−pll, we use the limited memory broyden-fletcher-goldfarb-shannon  algorithm  <cit>  of liblbfgs implementation  <cit> .
compared to the gremlin model, an smrf model can be built more efficiently, despite the similarity of their parameterization procedures, because the structure-based graph topology of the smrf effectively reduces the search space for edge weights.
measurement of evolutionary constraints
the coevolution score between residues i and j is calculated by using the norm of the edge weight, defined as
∑ki=120∑kj=120wij <dig>   and is corrected by using average-product correction   <cit> .
because functionality annotation is usually determined for individual residues, the coevolution score defined for a residue pair should be transformed to a positional value.
the proximity-based average is a conventional approach to derive a positional coevolution score.
this calculates the average of the coevolution scores between a target residue and its neighboring residues in the three-dimensional structure.
calculating the fraction of coevolution is another approach to determine the positional coevolution value.
this involves calculating the fraction of coevolving residue pairs for a target position.
according to a previous study  <cit> , we here consider a residue pair to be coevolved if its z-score of the coevolution score exceeds  <dig>
here, we develop a novel estimate of the positional coevolution score by using the node weight of the smrf model.
since an mrf model tends to factorize the distribution of a random variable at a specific node according to the dependencies with neighboring nodes, the difference between the node weight and the amino acid frequency at a specific position could represent the degree of the coevolutionary constraint for the residue.
based on this assumption, we formulate the positional coevolution score at position i by estimating the kl-divergence, defined as
nw=∑k=120filogfipi,  where fi represents the amino acid frequency at column i of the msa, and pi represents the amino acid frequency, defined as
pi=evi∑k^=120evi.
additionally, the conventional conservation score of residue i is calculated by using the kl-divergence as
kldf,q=∑k=120filogfiq,  where q represents the overall amino acid frequency in the msa.
similar to the kl-divergence, the js-divergence is used for quantifying the degree of conservation as
jsdf,q=λkldf,r+kldq,r,  where r and λ are defined as r=λf+q and λ= <dig> , respectively, according to a previous study  <cit> .
to normalize the different distributions, the coevolution and conservation scores are transformed to z-scores over all of the residues of the protein, respectively.
data sets
we built three data sets, each of which describes different types of functional site information.
the first data set was collected from the catalytic site atlas  database  <cit> , which annotates catalytic sites from the literature according to homology.
for the csa data set, the proteins with five or more catalytic sites annotated in the literature were collected.
the second data set was collected from the allosteric database   <cit> , which annotates allosteric sites from the literature.
for the asd data set, the proteins with five or more annotated allosteric sites were collected.
the third data set was collected from the interpro database  <cit> , which provides comprehensive information on various types of functional sites.
for the interpro data set, the proteins with five or more annotated functional sites were collected.
next, we chose proteins whose protein data bank structure has been determined by x-ray diffraction with a resolution of ≤ <dig>  Å. to remove sequence redundancy in the data set, the amino acid sequences of proteins were clustered to the maximum sequence identity of < <dig> % by running the cd-hit  <cit> .
in addition, for reliably parameterizing the smrf models, we chose only proteins whose msa consists of more than  <dig> sequences.
the msas were constructed by running the hhblits  <cit>  with the option “-e  <dig> ” for the nr <dig> sequence database  downloaded from the hhblits webpage.
the nr <dig> is the ncbi non-redundant database clustered to the maximum sequence identity of  <dig> %.
finally, the csa data set consisted of  <dig> proteins with  <dig> catalytic sites, the asd data set consisted of  <dig> proteins with  <dig> allosteric sites, and the interpro data set consisted of  <dig> proteins with  <dig>  functional sites.
assessment
the central objective of our study was to use the structure information for mrf-based coevolution modeling, and to derive a novel positional coevolution estimate that could more accurately represent functional constraints.
to assess the effectiveness of the protein structure-based mrf architecture, we compared the smrf approach with the state-of-the-art mrf methods gremlin  <cit>  and psicov  <cit>  using the recommended default options.
additionally, we built a random predictor by randomly permutating the coevolution scores of the smrf  <dig> times and calculating the average.
since gremlin and psicov were originally developed to predict residue-residue contacts similar to other previously published mrf methods , they can only provide scores determined for a residue pair.
however, the pairwise coevolution score is not commensurable with the functional annotation determined for an individual residue.
therefore, we computed the gremlin-style scores derived from the edge weights of the smrf model, and compared them with the original gremlin and psicov scores.
with this approach, a positive example is defined as a residue-residue contact composed of at least one functional site, a negative example is defined as a residue-residue contact with no functional site, and residue pairs not in contact are ignored.
the csa and asd data sets contain functional sites only covering catalytic and allosteric functionalities, respectively, whereas the interpro data set provides comprehensive functionality information, which enables a more systematic evaluation.
therefore, for the interpro data set, we evaluated the association between the positional coevolution score and functional sites by using receiver operating characteristic  curves that visually describe the relative trade-offs between the true positive rate  and false positive rate , where tpr and fpr are defined as
tpr=tptp+fnfpr=fpfp+tn,
where tp, fp, tn, and fn represent the number of true positive, false positive, true negative, and false negative predictions at a certain cutoff.
we compared the overall performance by vertically averaging the roc curves of the target protein.
moreover, to evaluate the performance for each target protein, we used the area under the roc curve , where an auc value of  <dig> indicates perfect prediction,  <dig>  indicates a random prediction, and < <dig>  indicates worse than random.
roc curves and auc scores were estimated using the rocr package  <cit> .
RESULTS
evaluation of the protein structure-based architecture
for the smrf model, we first determined the mrf architecture by describing individual residues and their intramolecular contacts as nodes and edges, respectively, and then calculated the coevolution scores by parameterizing the mrf model.
we assumed that a coevolution model explicitly encoding the protein structure could provide a better representation of functional constraints rather than only encompassing structural constraints.
to validate this assumption, we examined the association between the coevolution scores and functional sites, and compared the results to those of the conventional mrf method without a structure-based architecture.
we used gremlin  <cit> , which incorporates the mrf architecture of a complete graph topology connecting all available residues.
except for the mrf architecture, gremlin and smrf calculated the coevolution scores in the same way.
for gremlin, the coevolution scores for intramolecular contacts were considered.
consequently, the smrf and gremlin scores differed only with respect to the network architecture of the mrf models.
in addition, we used psicov  <cit> , which utilizes sparse inverse covariance estimation.
similar to gremlin, only the coevolution scores of psicov for intramolecular contacts were considered.
we estimated the fraction of residue pairs involving functional sites  among hits.
first, for the csa data set, the functional sites were determined as catalytic sites.
as shown in fig.
2a,  <dig> – <dig>  % of the smrf hits were associated with catalytic sites in the normalized rank of  <dig> – <dig> , whereas gremlin showed an rpf rate of  <dig> – <dig>  % in the same range.
for psicov, an rpf rate of  <dig> – <dig>  % was obtained in the normalized rank of  <dig> – <dig> .
the results for psicov are omitted above the normalized rank of > <dig> , because the output did not show hits for some of the target proteins in this higher range.
the random prediction yielded an rpf rate of  <dig> – <dig>  %.
therefore, compared to the random prediction, smrf could increase the rpf rate by up to  <dig> – <dig>  %, while gremlin and psicov could only increase the rpf rate by up to  <dig>  % and  <dig>  %, respectively.
consequently, by using the proximity-based mrf architecture, the coevolution scores were more likely to be associated with catalytic sites.
fig.
<dig> association of pairwise coevolution scores and functional sites.
a for the csa data set, the fraction of residue pairs with at least one catalytic site among hits is represented across the rank cutoff.
b for the asd data set, the fraction of residue pairs with at least one allosteric site among hits is represented across the rank cutoff.
in  and , the rank is normalized by the sequence length of the target protein.
for example, the normalized ranks  <dig> ,  <dig> , and  <dig>  are equivalent to the top-l/ <dig>  top-l/ <dig>  and top-l/ <dig>  where l is the sequence length of the target protein.
the gray shadow represents the standard deviation
next, for the asd data set, the functional sites were determined as allosteric sites.
as shown in fig.
2b, the smrf resulted in a higher rpf rate than gremlin and psicov in the normalized rank of  <dig> – <dig> , with a rate of  <dig> – <dig>  %.
on the other hand, gremlin and psicov showed rpf rates of  <dig> – <dig>  % and  <dig> – <dig>  %, respectively, which are lower than the rpf rate obtained from the random prediction .
this implies that the coevolution scores of gremlin and psicov are not associated with allosteric sites, whereas those of smrf are more likely to correspond to the allosteric sites as well as catalytic sites.
evaluation of the positional coevolution measure
in contrast to the coevolution score determined for a residue pair, functionality is generally determined for an individual residue.
the conventional methods used to convert the coevolution score for a residue pair to the positional coevolution score are averaging coevolution scores across neighboring links, denoted as ew, or calculating the fraction of strongly coevolving residue pairs, denoted as fc .
here, we propose a novel measure of calculating the positional coevolution score by utilizing the node weight of the mrf model, denoted as nw, and investigate the association with functional sites.
first, for the csa data set, we investigated the association between positional coevolution scores and catalytic sites, as shown in fig.
3a.
when comparing ew measures, smrf showed a higher fraction of catalytic sites than gremlin, analogous to the results described above.
on the other hand, when comparing fc measures, gremlin showed a higher fraction of catalytic sites than smrf.
however, when using the nw measure, smrf identified many more catalytic sites.
in particular, at the normalized rank of  <dig> , nw-smrf showed an average of  <dig>  % catalytic sites, while ew-smrf, ew-gremlin, fc-smrf, and fc-gremlin showed fractions of  <dig>  %,  <dig>  %,  <dig>  %, and  <dig>  %, respectively.
in addition, the fraction of catalytic sites from nw-smrf was  <dig> -times higher than that of the random prediction.
below the normalized rank of < <dig> , nw-smrf still showed a fraction of catalytic sites that was > <dig> -times higher than that of the random prediction.
fig.
<dig> association of positional coevolution scores and functional sites.
a for the csa data set, the fraction of catalytic sites among hits is represented across the rank cutoff.
b for the asd data set, the fraction of allosteric sites among hits is represented across the rank cutoff.
in  and , the rank is normalized by the sequence length of the target protein.
for example, the normalized ranks  <dig> ,  <dig> , and  <dig>  are equivalent to the top-l/ <dig>  top-l/ <dig>  and top-l/ <dig>  where l is the sequence length of the target protein.
the gray shadow represents the standard deviation
next, for the asd data set, we investigated the association between positional coevolution scores and allosteric sites, as shown in fig.
3b.
similar to the above result, ew-smrf and fc-gremlin showed higher fractions of allosteric sites than ew-gremlin and fc-smrf, respectively.
furthermore, for the most part, nw-smrf showed the highest fraction of allosteric sites below the normalized rank of < <dig> .
in the normalized rank of  <dig> – <dig> , nw-smrf showed a fraction of allosteric sites of  <dig> – <dig>  %, which is  <dig> – <dig> -times higher than that of the random prediction.
in addition to the csa and asd data sets, we evaluated the performance of the nw measure by estimating the roc curve for the interpro data set comprised of a comprehensive annotation of residue functionality.
when comparing the roc curves, the nw-smrf was found to outperform ew-smrf, as shown in fig.
4a.
the auc values were  <dig>  and  <dig>  for nw-smrf and ew-smrf, respectively, indicating that the auc values improved by  <dig>  %.
in addition, we compared the auc values of nw-smrf and ew-smrf for each target protein.
as shown in fig.
4b, nw-smrf showed significant improvement, with a p-value of < <dig> e- <dig> , outperforming ew-smrf for  <dig>  % of the targets.
consequently, from the results for the csa, asd, and interpro data sets, the novel positional coevolution score based on the node weight of mrf can effectively estimate the evolutionary constraints associated with various types of functional sites.
fig.
<dig> performance comparison of positional coevolution measures of smrf methods.
a the solid lines represent the roc curves vertically averaged over all of the target proteins.
nw-smrf and ew-smrf represent the positional coevolution measures derived from the node and edge weights, respectively.
b scatter plot of auc values for nw-smrf  and ew-smrf
effectiveness of positional coevolution information in combination with conservation information
since conservation information represents the primary evolutionary constraint and coevolution information represents higher-order evolutionary constraints, combining this information could be useful to gain a better estimation, owing to mutual compensation between the types of information.
to verify the complementary characteristics of coevolution and conservation information, we investigated the density distribution of conservation scores for functional and non-functional sites.
as shown in fig.
5a, the densities of conservation scores for functional and non-functional sites were reversed for conservation score values close to  <dig>  this indicates that prediction of a residue to a functional site is more likely to fail when the conservation score is < <dig>  hence, using only the conservation score could easily lead to neglecting functional sites with conservation scores of < <dig>  which comprised  <dig>  % of all functional sites in the interpro data set.
moreover, because functional site prediction is commonly performed for a whole set of residues of a given target protein, and a small fraction of residues belong to functional sites, the sensitivity of the conservation score may decrease considerably.
thus, additional information to supplement conservation could be useful for increasing prediction of constraints.
fig.
<dig> combination of positional coevolution and conservation information.
a kernel density estimate of the conservation score distribution represented for functional and non-functional sites.
b scatter plot of auc values for the logistic regression model combining conservation and coevolution scores  and the conservation score-based prediction
to validate the effectiveness of combining the positional coevolution measure with conservation information, we calculated conservation scores for protein residues by using the kl-divergence from the msa, and built logistic regression models that use both conservation and coevolution scores as input features.
for the interpro data set, we conducted 20-fold cross-validation  <dig> times, and averaged the auc values for each target.
the 20-fold cross-validation procedure was carried out by randomly splitting targets into  <dig> subsets, and predicting functional sites for each subset with a predictive model that learned from the remaining  <dig> subsets.
the auc values obtained by combining coevolution and conservation scores were compared against the auc values obtained when using only the conservation scores.
as shown in fig.
5b, combining the coevolution and conservation scores improved the predictive power for  <dig>  % of the target proteins with a p-value of < <dig> e- <dig> .
in addition, we replaced the kl-divergence with the js-divergence, because a previous study showed that js-divergence outperformed kl-divergence for functional site predictions  <cit> .
the overall auc statistics are summarized in table  <dig>  suggesting that positional coevolution information could consistently complement conservation information obtained from different types of measurements.
similar to the combination with kl-divergence, combining coevolution scores with js-divergence conservation scores improved the predictive power for  <dig>  % of the target proteins .
<dig>
<dig>
<dig>
<dig>
<dig>
<dig>
<dig>
<dig>
auc  <dig> , auc  <dig> , and auc  <dig>  represent the partial area under the roc curve spanning the false positive rates of  <dig> ,  <dig> , and  <dig> , respectively.
the best auc value between the conservation score and the combination of the conservation score with the coevolution score is shown in bold.
nw-smrf represents the coevolution measure derived from node weights.
kld and jsd represent conservation measures using kl-divergence and js-divergence, respectively.
kld + nw-smrf and jsd + nw-smrf represent the logistic regression models combining the coevolution and conservation measures
furthermore, we validated the effectiveness of positional coevolution information in combination with conservation information for the csa and asd data sets to investigate how well the combination could perform with specific types of functional-site data sets.
similar to the results for the interpro data set, 20-fold cross-validation was carried out  <dig> times, and the auc values were averaged for each target.
as shown in tables  <dig> and  <dig>  the combined methods consistently improved the individual conservation measures for both the csa and asd data sets, despite the fact that catalytic and allosteric sites are known to have different conservation characteristics.
overall, these results demonstrate that the novel positional coevolution score consistently complements the conventional conservation score for various types of functional sites.
<dig>
<dig>
<dig>
<dig>
<dig>
<dig>
<dig>
<dig>
see table  <dig> for a description of the statistics
<dig>
<dig>
<dig>
<dig>
<dig>
<dig>
see table  <dig> for a description of the statistics
next, we compared the coefficients of the logistic regression model to investigate the contribution of each term according to a specific functionality.
in this case, the logistic regression models were built using the whole target samples for the interpro, csa, and asd data sets.
as shown in table  <dig>  both the coevolution and conservation terms showed a significant contribution for functional site prediction.
however, the amount of the contribution differed for each data set.
compared to the interpro data set, which consists of comprehensively determined functional sites, the csa data set, which is specialized for catalytic function, showed a higher correlation with conservation information, whereas the asd data set, which is specialized for allosteric function, showed a lower correlation with conservation information.
therefore, combining the positional coevolution and conservation scores according to a specific type of functionality would more accurately represent the evolutionary constraints acting at the relevant sites of interest.
p-values: ***, **, *
robustness against the size of the multiple sequence alignment
recent studies  <cit>  have suggested that for a meaningful mrf analysis, the number of aligned sequences in an msa should exceed five times the length of the target sequence.
however, these studies were based on the mrf model with a complete graph topology.
in the present study, we reduced the topological complexity by using the three-dimensional protein structure, and the resulting smrf model had fewer edge parameters.
accordingly, the smrf model can be built with a smaller number of aligned sequences.
to demonstrate the robustness of the smrf to variations in the msa size, for the csa data set, we chose  <dig> proteins with an msa size of >5l, where l indicates the sequence length of the target protein, and then generated sub-msas by randomly including aligned sequences.
because the ew and fc measures performed poorly in the analyses described above, we examined only the positional coevolution scores, nw-smrf, which were compared to the random prediction.
as shown in fig.
<dig>  smrf only showed a moderate difference in performance in the range of >1l, but performance considerably decreased for msa sizes of <1l.
therefore, for a significant coevolution analysis, smrf may require less aligned sequences than conventional mrf methods.
fig.
<dig> dependence of prediction on the number of aligned sequences in the multiple sequence alignment .
for  <dig> target proteins, a the precisions, determined as the fractions of catalytic sites, at the rank cutoff of a top-l/ <dig> and b top-l/ <dig>  are represented according to msas of different sizes .
the gray shadow represents the standard deviation
computational complexity
the use of a structure-based architecture in smrf can reduce computation complexity.
conventional mrf methods with a complete graph topology have computation complexity that is proportional to the square of the length of the target sequence.
however, because smrf only considers residue pairs in contact, its computation complexity increases linearly with respect to the number of intramolecular contacts, which is usually proportional to the target sequence length.
we compared the computation time spent for building the mrf model.
the same  <dig> proteins chosen for the robustness assessment described above were used with the sub-msa of a size of 5l.
because gremlin and smrf were implemented in different environments, including different programming languages and optimization levels, we scaled the computation times by that of the shortest sequence, 1dco_a, consisting of  <dig> amino acids .
as shown in fig.
<dig>  as the target length increased, gremlin showed a quadratic increase in computation time, but smrf showed a linear increase.
for instance, for the targets 1tyf_a  and 1dli_a , the computation times of gremlin were  <dig> - and  <dig> -times higher than those of smrf, respectively.
this result indicates that smrf can efficiently reduce the computation complexity.
fig.
<dig> evaluation of computational complexity.
for  <dig> target proteins, the computation time for running the gremlin and smrf methods is represented according to the sequence length of the target.
each computation time is scaled by the computation time of the shortest target, 1dco_a.
solid lines represent the local fitting lines for the gremlin and smrf methods.
the gray shadow represents the standard deviation
discussion and
CONCLUSIONS
the effectiveness of smrf for modeling evolutionary constraints derives from the fact that the graph topology is determined according to the proximity of protein residues.
explicitly encoding intramolecular contacts forces the mrf edges to share similar structural constraints, so that the edges become parameterized along other sorts of biochemical constraints, including those related to functional significance.
moreover, this approach could avoid the potential bias of a covariation measure to the core region  <cit> , and improve the signal-to-noise ratio of coevolution information.
consequently, in conjunction with mrf methodology that considers the global context of a random variable distribution, smrf can encode the evolutionary information associated with the functional aspect.
based on comparisons with the conventional mrf method, we have demonstrated that use of an mrf architecture derived from the three-dimensional protein structure can enhance the ability to derive information about the inter-dependencies among functional residues.
although the edge weight of the mrf model has been commonly used for coevolution analysis, the node weight has not been utilized sufficiently.
in the present work, we developed a novel positional coevolution estimate by using the node weight of the smrf model.
this positional coevolution score has a form comparable with a traditional conservation estimate; thus, the integrated analysis of coevolution and conservation information can be easily achieved.
moreover, various machine-learning methods could append the positional coevolution score as an additional component of their feature vector.
the use of a structure-based architecture in this context is particularly advantageous when there are insufficient available sequences for carrying out the conventional mrf method.
previous studies have suggested that an msa consisting of more than 5l sequences  <cit>  or  <dig> sequences  <cit>  is required for reliable coevolution analysis.
however, in this paper, we demonstrated that the smrf method could perform robustly for an msa with fewer aligned sequences, which could extend the applicability of coevolution analysis.
although high-throughput sequencing progress is continuously expanding sequence databases, information on certain kinds of proteins such as newly evolved or rarely populated proteins has not been expanded from this technology.
therefore, the extended applicability of the method proposed herein could be useful for large-scale coevolution studies.
availability of supporting data
the data set supporting the results presented in this article is available in the zenodo repository .
the repository holds 1) the structures, sequences, multiple alignments, and functionality annotations for proteins of the csa, asd, and interpro data sets; and 2) the pairwise and positional coevolution scores.
software availability
project name: smrf project home page: https://github.com/jeongchans/smrfarchived version: http://dx.doi.org/ <dig> /zenodo.45543programming language: python license: mit
competing interests
the authors declare that they have no competing interests.
authors’ contributions
csj designed the study, implemented the methods, performed the experiments and data analysis, and drafted the manuscript.
dk participated in the study design and the data analysis, and helped to draft the manuscript.
both authors read and approved the final manuscript.

 coevolution analysis is widely used to model the interdependency between protein residues in a multiple sequence alignment. since it is generally believed that highly correlated mutation patterns represent evolutionary constraints resulting from structural or functional aspects, coevolutionary information has been widely used to describe residue-residue contacts, sequence comparisons, deleterious substitutions, drug-resistant positions, various types of functional sites, allosteric signaling pathways, protein-protein interactions, and for protein design. despite the usefulness of coevolution information, its accurate estimation remains challenging because of various noise factors such as those derived from phylogenetic signals, indels and indirect signals. recently, new coevolution analysis methods have been developed that are based on a type of probabilistic graphical model called the markov random field, which have shown remarkable improvements for estimation. unlike the earlier approaches based on local estimates, the mrf methods utilize a global sequence context of multiple alignment, and thus can effectively overcome interference from indirect signal noise. all of the mrf methods are broadly similar to each other with respect to graphical modeling and coevolution estimations. they represent an msa as a graphical model—in which each node encodes a distribution of amino acids at a specific residue position, and each edge encodes a joint distribution of amino acids between two connected residues—and coevolution scores are calculated from the edge weights. however, because parameterization using a likelihood function is computationally challenging, recent studies have suggested different methods for learning a mrf model. gmrc uses a greedy structure search that develops a graphical architecture by iteratively updating the edge set. mpdca and mfdca approximate the likelihood function by using a message-passing algorithm and a mean-field equation, respectively. psicov uses a sparse inverse covariance estimation technique with a graphical lasso penalty instead of directly computing the mrf model. most recently, some methods have been proposed to replace the likelihood function with an alternative objective function, which is more tractable. in particular, gremlin has shown the most advanced performance, which relies on a pseudo-likelihood objective and parameter regularization. nevertheless, the use of mrf methods has not been comprehensively assessed with respect to the functional aspect of the coevolutionary constraint; instead, most of these assessments have thus far focused on the ability for protein structure prediction. moreover, the accuracy of mrf methods considerably depends on the number of sequences comprising the msa. in this paper, we present a structure-based mrf model whose graphical architecture is determined by using the protein structure information, and then derive a novel positional coevolution estimate using the node weight. we further apply the smrf model to three data sets with different types of functional annotations, and demonstrate the association between coevolution information and functional sites. in addition, we examine the computational robustness and efficiency of the proposed smrf-based coevolution analysis. methods structure-based markov random field overview of the markov random field model to estimate the evolutionary constraints on functional sites, we use the mrf approach as a class of probabilistic graphical models represented as an undirected graph. similar to a bayesian network, the nodes of an mrf represent the variables, and the edges represent direct dependency between the variables of the neighboring nodes. however, an mrf is defined on the basis of undirected graphs and may be cyclic. this distinctive feature enables the mrf to model certain dependencies such as the symmetric influence of neighboring variables, whereas a bayesian network forces a directionality for the interactions. recent studies have shown that mrf methods are suitable for modeling coevolutionary relationship between residues of a protein in an msa. modeling of an multiple sequence alignment an mrf model describing evolutionary information can be built from the msa by representing the residues of a target protein with nodes. therefore, the individual distribution of amino acids at a specific residue i is encoded to the node weight ϕi defined as ϕi=evievi⋯evi, where evi represents the distribution of amino acid k at column i of the msa. likewise, the probabilistic interaction between residues i and j is encoded to the corresponding edge weight ψij defined as ψij=ewijewij⋯ewijewijewij⋯ewij⋮⋮⋱⋮ewijewij⋯ewij, where ewij represents the joint distribution of amino acid ki at column i and amino acid kj at column j of the msa. because we consider a gap as an additional amino acid, k is set to and then the node and edge weights consist of a and 21-by- dimensional vector and matrix, respectively. given a set of parameters for the node and edge weights, the likelihood of an aligned sequence x can be written as p=1z∏iϕi∏i,jψij, where xi represents the matched amino acid at column i of the msa, and ϕi and ψij denote evi and ewij, respectively. z denotes the partition function to convert the following terms into probability. thus, the summation of p over all possible x values becomes determining the markov random field architecture from intramolecular contact to effectively describe the coevolutionary constraint for biological functionality, we determine the mrf architecture based on the three-dimensional protein structure. as shown in fig. the edges of the smrf model are defined for the residue pairs in contact. thus, the topology of the graph for the smrf model becomes sparse, in contrast to the complete graph topology of a conventional mrf model such as gremlin. assuming that residues in contact are more likely to interact with each other due to their spatial proximity, the structure-based architecture would be a computationally efficient and biochemically relevant representation. more importantly, because the edges of the smrf have similar constraints in terms of the protein structure, the coevolution signals encoded on the edges would be differentiated according to other types of constraints such as biological functionality. in the present study, intramolecular contact is determined by the cβ- cβ atomic distance of < Å, by following the contact definition adopted in the casp experiment. fig. overview of the procedure for building a structure-based markov random field model and quantifying coevolutionary constraints. the mrf architecture is determined from the three-dimensional structure of a target protein. each residue of the target protein is represented as a node, and each intramolecular contact is represented as an edge connecting the corresponding residue nodes. after the graphical topology is determined, parameterization is performed for the multiple sequence alignment in the same way as in conventional mrf methods. then, pairwise and positional coevolution scores are calculated from the edge and node weights, respectively parameterization procedure given the msa d={x,x,⋯,x} consisting of m homologous sequences, the parameters for the mrf can be estimated by maximizing the log-likelihood sum written as ll=∑mlogp. however, because the partition function z is defined over the entire space of the node and edge weights, obtaining the parameters by the maximum log-likelihood is computationally intractable. alternatively, similar to gremlin, we use the pseudo-likelihood objective, which replaces the likelihood p with ∏ip, where x−i represents x ⋯,xi− xi+ ⋯,xk, and p is defined as p=1ziϕi∏jψij, where zi represents the local partition function that is computationally more tractable. consequently, the pseudo-likelihood objective function is defined as pll=∑m∑ilogp=∑m∑ilogϕi+∑jlogψij−logzi,=∑m∑ivi+∑jwij−logzi. in addition to the pseudo-likelihood objective, to avoid over-fitting, we use l2-regularization, defined as r=λv∑i∥vi∥22+λw∑i,j∥wij∥ where λv and λw are determined as and, respectively, as in the gremlin model. to minimize the objective function, r−pll, we use the limited memory broyden-fletcher-goldfarb-shannon algorithm of liblbfgs implementation. compared to the gremlin model, an smrf model can be built more efficiently, despite the similarity of their parameterization procedures, because the structure-based graph topology of the smrf effectively reduces the search space for edge weights. measurement of evolutionary constraints the coevolution score between residues i and j is calculated by using the norm of the edge weight, defined as ∑ki=120∑kj=120wij and is corrected by using average-product correction. because functionality annotation is usually determined for individual residues, the coevolution score defined for a residue pair should be transformed to a positional value. the proximity-based average is a conventional approach to derive a positional coevolution score. this calculates the average of the coevolution scores between a target residue and its neighboring residues in the three-dimensional structure. calculating the fraction of coevolution is another approach to determine the positional coevolution value. this involves calculating the fraction of coevolving residue pairs for a target position. according to a previous study, we here consider a residue pair to be coevolved if its z-score of the coevolution score exceeds here, we develop a novel estimate of the positional coevolution score by using the node weight of the smrf model. since an mrf model tends to factorize the distribution of a random variable at a specific node according to the dependencies with neighboring nodes, the difference between the node weight and the amino acid frequency at a specific position could represent the degree of the coevolutionary constraint for the residue. based on this assumption, we formulate the positional coevolution score at position i by estimating the kl-divergence, defined as nw=∑k=120filogfipi, where fi represents the amino acid frequency at column i of the msa, and pi represents the amino acid frequency, defined as pi=evi∑k^=120evi. additionally, the conventional conservation score of residue i is calculated by using the kl-divergence as kldf,q=∑k=120filogfiq, where q represents the overall amino acid frequency in the msa. similar to the kl-divergence, the js-divergence is used for quantifying the degree of conservation as jsdf,q=λkldf,r+kldq,r, where r and λ are defined as r=λf+q and λ=, respectively, according to a previous study. to normalize the different distributions, the coevolution and conservation scores are transformed to z-scores over all of the residues of the protein, respectively. data sets we built three data sets, each of which describes different types of functional site information. the first data set was collected from the catalytic site atlas database, which annotates catalytic sites from the literature according to homology. for the csa data set, the proteins with five or more catalytic sites annotated in the literature were collected. the second data set was collected from the allosteric database, which annotates allosteric sites from the literature. for the asd data set, the proteins with five or more annotated allosteric sites were collected. the third data set was collected from the interpro database, which provides comprehensive information on various types of functional sites. for the interpro data set, the proteins with five or more annotated functional sites were collected. next, we chose proteins whose protein data bank structure has been determined by x-ray diffraction with a resolution of ≤ Å. to remove sequence redundancy in the data set, the amino acid sequences of proteins were clustered to the maximum sequence identity of < % by running the cd-hit. in addition, for reliably parameterizing the smrf models, we chose only proteins whose msa consists of more than sequences. the msas were constructed by running the hhblits with the option “-e ” for the nr sequence database downloaded from the hhblits webpage. the nr is the ncbi non-redundant database clustered to the maximum sequence identity of %. finally, the csa data set consisted of proteins with catalytic sites, the asd data set consisted of proteins with allosteric sites, and the interpro data set consisted of proteins with functional sites. assessment the central objective of our study was to use the structure information for mrf-based coevolution modeling, and to derive a novel positional coevolution estimate that could more accurately represent functional constraints. to assess the effectiveness of the protein structure-based mrf architecture, we compared the smrf approach with the state-of-the-art mrf methods gremlin and psicov using the recommended default options. additionally, we built a random predictor by randomly permutating the coevolution scores of the smrf times and calculating the average. since gremlin and psicov were originally developed to predict residue-residue contacts similar to other previously published mrf methods, they can only provide scores determined for a residue pair. however, the pairwise coevolution score is not commensurable with the functional annotation determined for an individual residue. therefore, we computed the gremlin-style scores derived from the edge weights of the smrf model, and compared them with the original gremlin and psicov scores. with this approach, a positive example is defined as a residue-residue contact composed of at least one functional site, a negative example is defined as a residue-residue contact with no functional site, and residue pairs not in contact are ignored. the csa and asd data sets contain functional sites only covering catalytic and allosteric functionalities, respectively, whereas the interpro data set provides comprehensive functionality information, which enables a more systematic evaluation. therefore, for the interpro data set, we evaluated the association between the positional coevolution score and functional sites by using receiver operating characteristic curves that visually describe the relative trade-offs between the true positive rate and false positive rate, where tpr and fpr are defined as tpr=tptp+fnfpr=fpfp+tn, where tp, fp, tn, and fn represent the number of true positive, false positive, true negative, and false negative predictions at a certain cutoff. we compared the overall performance by vertically averaging the roc curves of the target protein. moreover, to evaluate the performance for each target protein, we used the area under the roc curve, where an auc value of indicates perfect prediction, indicates a random prediction, and < indicates worse than random. roc curves and auc scores were estimated using the rocr package.  evaluation of the protein structure-based architecture for the smrf model, we first determined the mrf architecture by describing individual residues and their intramolecular contacts as nodes and edges, respectively, and then calculated the coevolution scores by parameterizing the mrf model. we assumed that a coevolution model explicitly encoding the protein structure could provide a better representation of functional constraints rather than only encompassing structural constraints. to validate this assumption, we examined the association between the coevolution scores and functional sites, and compared the results to those of the conventional mrf method without a structure-based architecture. we used gremlin, which incorporates the mrf architecture of a complete graph topology connecting all available residues. except for the mrf architecture, gremlin and smrf calculated the coevolution scores in the same way. for gremlin, the coevolution scores for intramolecular contacts were considered. consequently, the smrf and gremlin scores differed only with respect to the network architecture of the mrf models. in addition, we used psicov, which utilizes sparse inverse covariance estimation. similar to gremlin, only the coevolution scores of psicov for intramolecular contacts were considered. we estimated the fraction of residue pairs involving functional sites among hits. first, for the csa data set, the functional sites were determined as catalytic sites. as shown in fig. 2a, – % of the smrf hits were associated with catalytic sites in the normalized rank of –, whereas gremlin showed an rpf rate of – % in the same range. for psicov, an rpf rate of – % was obtained in the normalized rank of –. the results for psicov are omitted above the normalized rank of >, because the output did not show hits for some of the target proteins in this higher range. the random prediction yielded an rpf rate of – %. therefore, compared to the random prediction, smrf could increase the rpf rate by up to – %, while gremlin and psicov could only increase the rpf rate by up to % and %, respectively. consequently, by using the proximity-based mrf architecture, the coevolution scores were more likely to be associated with catalytic sites. fig. association of pairwise coevolution scores and functional sites. a for the csa data set, the fraction of residue pairs with at least one catalytic site among hits is represented across the rank cutoff. b for the asd data set, the fraction of residue pairs with at least one allosteric site among hits is represented across the rank cutoff. in and, the rank is normalized by the sequence length of the target protein. for example, the normalized ranks,, and are equivalent to the top-l/ top-l/ and top-l/ where l is the sequence length of the target protein. the gray shadow represents the standard deviation next, for the asd data set, the functional sites were determined as allosteric sites. as shown in fig. 2b, the smrf resulted in a higher rpf rate than gremlin and psicov in the normalized rank of –, with a rate of – %. on the other hand, gremlin and psicov showed rpf rates of – % and – %, respectively, which are lower than the rpf rate obtained from the random prediction. this implies that the coevolution scores of gremlin and psicov are not associated with allosteric sites, whereas those of smrf are more likely to correspond to the allosteric sites as well as catalytic sites. evaluation of the positional coevolution measure in contrast to the coevolution score determined for a residue pair, functionality is generally determined for an individual residue. the conventional methods used to convert the coevolution score for a residue pair to the positional coevolution score are averaging coevolution scores across neighboring links, denoted as ew, or calculating the fraction of strongly coevolving residue pairs, denoted as fc. here, we propose a novel measure of calculating the positional coevolution score by utilizing the node weight of the mrf model, denoted as nw, and investigate the association with functional sites. first, for the csa data set, we investigated the association between positional coevolution scores and catalytic sites, as shown in fig. 3a. when comparing ew measures, smrf showed a higher fraction of catalytic sites than gremlin, analogous to the results described above. on the other hand, when comparing fc measures, gremlin showed a higher fraction of catalytic sites than smrf. however, when using the nw measure, smrf identified many more catalytic sites. in particular, at the normalized rank of, nw-smrf showed an average of % catalytic sites, while ew-smrf, ew-gremlin, fc-smrf, and fc-gremlin showed fractions of %, %, %, and %, respectively. in addition, the fraction of catalytic sites from nw-smrf was -times higher than that of the random prediction. below the normalized rank of <, nw-smrf still showed a fraction of catalytic sites that was > -times higher than that of the random prediction. fig. association of positional coevolution scores and functional sites. a for the csa data set, the fraction of catalytic sites among hits is represented across the rank cutoff. b for the asd data set, the fraction of allosteric sites among hits is represented across the rank cutoff. in and, the rank is normalized by the sequence length of the target protein. for example, the normalized ranks,, and are equivalent to the top-l/ top-l/ and top-l/ where l is the sequence length of the target protein. the gray shadow represents the standard deviation next, for the asd data set, we investigated the association between positional coevolution scores and allosteric sites, as shown in fig. 3b. similar to the above result, ew-smrf and fc-gremlin showed higher fractions of allosteric sites than ew-gremlin and fc-smrf, respectively. furthermore, for the most part, nw-smrf showed the highest fraction of allosteric sites below the normalized rank of <. in the normalized rank of –, nw-smrf showed a fraction of allosteric sites of – %, which is – -times higher than that of the random prediction. in addition to the csa and asd data sets, we evaluated the performance of the nw measure by estimating the roc curve for the interpro data set comprised of a comprehensive annotation of residue functionality. when comparing the roc curves, the nw-smrf was found to outperform ew-smrf, as shown in fig. 4a. the auc values were and for nw-smrf and ew-smrf, respectively, indicating that the auc values improved by %. in addition, we compared the auc values of nw-smrf and ew-smrf for each target protein. as shown in fig. 4b, nw-smrf showed significant improvement, with a p-value of < e-, outperforming ew-smrf for % of the targets. consequently, from the results for the csa, asd, and interpro data sets, the novel positional coevolution score based on the node weight of mrf can effectively estimate the evolutionary constraints associated with various types of functional sites. fig. performance comparison of positional coevolution measures of smrf methods. a the solid lines represent the roc curves vertically averaged over all of the target proteins. nw-smrf and ew-smrf represent the positional coevolution measures derived from the node and edge weights, respectively. b scatter plot of auc values for nw-smrf and ew-smrf effectiveness of positional coevolution information in combination with conservation information since conservation information represents the primary evolutionary constraint and coevolution information represents higher-order evolutionary constraints, combining this information could be useful to gain a better estimation, owing to mutual compensation between the types of information. to verify the complementary characteristics of coevolution and conservation information, we investigated the density distribution of conservation scores for functional and non-functional sites. as shown in fig. 5a, the densities of conservation scores for functional and non-functional sites were reversed for conservation score values close to this indicates that prediction of a residue to a functional site is more likely to fail when the conservation score is < hence, using only the conservation score could easily lead to neglecting functional sites with conservation scores of < which comprised % of all functional sites in the interpro data set. moreover, because functional site prediction is commonly performed for a whole set of residues of a given target protein, and a small fraction of residues belong to functional sites, the sensitivity of the conservation score may decrease considerably. thus, additional information to supplement conservation could be useful for increasing prediction of constraints. fig. combination of positional coevolution and conservation information. a kernel density estimate of the conservation score distribution represented for functional and non-functional sites. b scatter plot of auc values for the logistic regression model combining conservation and coevolution scores and the conservation score-based prediction to validate the effectiveness of combining the positional coevolution measure with conservation information, we calculated conservation scores for protein residues by using the kl-divergence from the msa, and built logistic regression models that use both conservation and coevolution scores as input features. for the interpro data set, we conducted 20-fold cross-validation times, and averaged the auc values for each target. the 20-fold cross-validation procedure was carried out by randomly splitting targets into subsets, and predicting functional sites for each subset with a predictive model that learned from the remaining subsets. the auc values obtained by combining coevolution and conservation scores were compared against the auc values obtained when using only the conservation scores. as shown in fig. 5b, combining the coevolution and conservation scores improved the predictive power for % of the target proteins with a p-value of < e-. in addition, we replaced the kl-divergence with the js-divergence, because a previous study showed that js-divergence outperformed kl-divergence for functional site predictions. the overall auc statistics are summarized in table suggesting that positional coevolution information could consistently complement conservation information obtained from different types of measurements. similar to the combination with kl-divergence, combining coevolution scores with js-divergence conservation scores improved the predictive power for % of the target proteins. auc, auc, and auc represent the partial area under the roc curve spanning the false positive rates of,, and, respectively. the best auc value between the conservation score and the combination of the conservation score with the coevolution score is shown in bold. nw-smrf represents the coevolution measure derived from node weights. kld and jsd represent conservation measures using kl-divergence and js-divergence, respectively. kld + nw-smrf and jsd + nw-smrf represent the logistic regression models combining the coevolution and conservation measures furthermore, we validated the effectiveness of positional coevolution information in combination with conservation information for the csa and asd data sets to investigate how well the combination could perform with specific types of functional-site data sets. similar to the results for the interpro data set, 20-fold cross-validation was carried out times, and the auc values were averaged for each target. as shown in tables and the combined methods consistently improved the individual conservation measures for both the csa and asd data sets, despite the fact that catalytic and allosteric sites are known to have different conservation characteristics. overall, these results demonstrate that the novel positional coevolution score consistently complements the conventional conservation score for various types of functional sites. see table for a description of the statistics see table for a description of the statistics next, we compared the coefficients of the logistic regression model to investigate the contribution of each term according to a specific functionality. in this case, the logistic regression models were built using the whole target samples for the interpro, csa, and asd data sets. as shown in table both the coevolution and conservation terms showed a significant contribution for functional site prediction. however, the amount of the contribution differed for each data set. compared to the interpro data set, which consists of comprehensively determined functional sites, the csa data set, which is specialized for catalytic function, showed a higher correlation with conservation information, whereas the asd data set, which is specialized for allosteric function, showed a lower correlation with conservation information. therefore, combining the positional coevolution and conservation scores according to a specific type of functionality would more accurately represent the evolutionary constraints acting at the relevant sites of interest. p-values: ***, **, * robustness against the size of the multiple sequence alignment recent studies have suggested that for a meaningful mrf analysis, the number of aligned sequences in an msa should exceed five times the length of the target sequence. however, these studies were based on the mrf model with a complete graph topology. in the present study, we reduced the topological complexity by using the three-dimensional protein structure, and the resulting smrf model had fewer edge parameters. accordingly, the smrf model can be built with a smaller number of aligned sequences. to demonstrate the robustness of the smrf to variations in the msa size, for the csa data set, we chose proteins with an msa size of >5l, where l indicates the sequence length of the target protein, and then generated sub-msas by randomly including aligned sequences. because the ew and fc measures performed poorly in the analyses described above, we examined only the positional coevolution scores, nw-smrf, which were compared to the random prediction. as shown in fig. smrf only showed a moderate difference in performance in the range of >1l, but performance considerably decreased for msa sizes of <1l. therefore, for a significant coevolution analysis, smrf may require less aligned sequences than conventional mrf methods. fig. dependence of prediction on the number of aligned sequences in the multiple sequence alignment. for target proteins, a the precisions, determined as the fractions of catalytic sites, at the rank cutoff of a top-l/ and b top-l/ are represented according to msas of different sizes. the gray shadow represents the standard deviation computational complexity the use of a structure-based architecture in smrf can reduce computation complexity. conventional mrf methods with a complete graph topology have computation complexity that is proportional to the square of the length of the target sequence. however, because smrf only considers residue pairs in contact, its computation complexity increases linearly with respect to the number of intramolecular contacts, which is usually proportional to the target sequence length. we compared the computation time spent for building the mrf model. the same proteins chosen for the robustness assessment described above were used with the sub-msa of a size of 5l. because gremlin and smrf were implemented in different environments, including different programming languages and optimization levels, we scaled the computation times by that of the shortest sequence, 1dco_a, consisting of amino acids. as shown in fig. as the target length increased, gremlin showed a quadratic increase in computation time, but smrf showed a linear increase. for instance, for the targets 1tyf_a and 1dli_a, the computation times of gremlin were - and -times higher than those of smrf, respectively. this result indicates that smrf can efficiently reduce the computation complexity. fig. evaluation of computational complexity. for target proteins, the computation time for running the gremlin and smrf methods is represented according to the sequence length of the target. each computation time is scaled by the computation time of the shortest target, 1dco_a. solid lines represent the local fitting lines for the gremlin and smrf methods. the gray shadow represents the standard deviation discussion and  the effectiveness of smrf for modeling evolutionary constraints derives from the fact that the graph topology is determined according to the proximity of protein residues. explicitly encoding intramolecular contacts forces the mrf edges to share similar structural constraints, so that the edges become parameterized along other sorts of biochemical constraints, including those related to functional significance. moreover, this approach could avoid the potential bias of a covariation measure to the core region, and improve the signal-to-noise ratio of coevolution information. consequently, in conjunction with mrf methodology that considers the global context of a random variable distribution, smrf can encode the evolutionary information associated with the functional aspect. based on comparisons with the conventional mrf method, we have demonstrated that use of an mrf architecture derived from the three-dimensional protein structure can enhance the ability to derive information about the inter-dependencies among functional residues. although the edge weight of the mrf model has been commonly used for coevolution analysis, the node weight has not been utilized sufficiently. in the present work, we developed a novel positional coevolution estimate by using the node weight of the smrf model. this positional coevolution score has a form comparable with a traditional conservation estimate; thus, the integrated analysis of coevolution and conservation information can be easily achieved. moreover, various machine-learning methods could append the positional coevolution score as an additional component of their feature vector. the use of a structure-based architecture in this context is particularly advantageous when there are insufficient available sequences for carrying out the conventional mrf method. previous studies have suggested that an msa consisting of more than 5l sequences or sequences is required for reliable coevolution analysis. however, in this paper, we demonstrated that the smrf method could perform robustly for an msa with fewer aligned sequences, which could extend the applicability of coevolution analysis. although high-throughput sequencing progress is continuously expanding sequence databases, information on certain kinds of proteins such as newly evolved or rarely populated proteins has not been expanded from this technology. therefore, the extended applicability of the method proposed herein could be useful for large-scale coevolution studies. availability of supporting data the data set supporting the results presented in this article is available in the zenodo repository. the repository holds 1) the structures, sequences, multiple alignments, and functionality annotations for proteins of the csa, asd, and interpro data sets; and 2) the pairwise and positional coevolution scores. software availability project name: smrf project home page: https://github.com/jeongchans/smrfarchived version: http://dx.doi.org/ /zenodo.45543programming language: python license: mit competing interests the authors declare that they have no competing interests. authors’ contributions csj designed the study, implemented the methods, performed the experiments and data analysis, and drafted the manuscript. dk participated in the study design and the data analysis, and helped to draft the manuscript. both authors read and approved the final manuscript. 
coevolution analysis has been developed to model the coevolutionary information reflecting structural and functional constraints. recently, several methods have been developed based on a probabilistic graphical model called the markov random field, which have led to significant improvements for coevolution analysis; however, thus far, the performance of these models has mainly been assessed by focusing on the aspect of protein structure. markov random fieldcoevolution analysisprotein structurefunctional sitecatalytic siteallosteric sitehttp://dx.doi.org/ /501100003621ministry of science, ict and future planningnrf-2012m3a9b4027957kim dongsup http://dx.doi.org/ /501100003625ministry of health and welfarehi12c0014kim dongsup issue-copyright-statement© the author 2016 in this study, we built an mrf model whose graphical topology is determined by the residue proximity in the protein structure, and derived a novel positional coevolution estimate utilizing the node weight of the mrf model. this structure-based mrf method was evaluated for three data sets, each of which annotates catalytic site, allosteric site, and comprehensively determined functional site information. the results show that adoption of a structure-based architecture could be an acceptable approximation for coevolution modeling with efficient computation complexity. we demonstrate that the structure-based mrf architecture can encode the evolutionary information associated with biological function. furthermore, we show that the node weight can more accurately represent positional coevolution information compared to the edge weight. lastly, we demonstrate that the structure-based mrf model can be reliably built with only a few aligned sequences in linear time.
 elucidating the cooperative mechanism of interconnected residues is an important component toward understanding the biological function of a protein. coevolution analysis has been developed to model the coevolutionary information reflecting structural and functional constraints. recently, several methods have been developed based on a probabilistic graphical model called the markov random field, which have led to significant improvements for coevolution analysis; however, thus far, the performance of these models has mainly been assessed by focusing on the aspect of protein structure.  in this study, we built an mrf model whose graphical topology is determined by the residue proximity in the protein structure, and derived a novel positional coevolution estimate utilizing the node weight of the mrf model. this structure-based mrf method was evaluated for three data sets, each of which annotates catalytic site, allosteric site, and comprehensively determined functional site information. we demonstrate that the structure-based mrf architecture can encode the evolutionary information associated with biological function. furthermore, we show that the node weight can more accurately represent positional coevolution information compared to the edge weight. lastly, we demonstrate that the structure-based mrf model can be reliably built with only a few aligned sequences in linear time.  the results show that adoption of a structure-based architecture could be an acceptable approximation for coevolution modeling with efficient computation complexity. keywords markov random fieldcoevolution analysisprotein structurefunctional sitecatalytic siteallosteric sitehttp://dx.doi.org/ /501100003621ministry of science, ict and future planningnrf-2012m3a9b4027957kim dongsup http://dx.doi.org/ /501100003625ministry of health and welfarehi12c0014kim dongsup issue-copyright-statement© the author 2016 