Volume 7 Supplement 1

## NIPS workshop on New Problems and Methods in Computational Biology

# PepDist: A New Framework for Protein-Peptide Binding Prediction based on Learning Peptide Distance Functions

- Tomer Hertz
^{1, 2}Email author and - Chen Yanover
^{1}Email author

**7(Suppl 1)**:S3

**DOI: **10.1186/1471-2105-7-S1-S3

© The Author(s); licensee BioMed Central Ltd. 2006

**Published: **20 March 2006

## Abstract

### Background

Many different aspects of cellular signalling, trafficking and targeting mechanisms are mediated by interactions between proteins and peptides. Representative examples are MHC-peptide complexes in the immune system. Developing computational methods for protein-peptide binding prediction is therefore an important task with applications to vaccine and drug design.

### Methods

Previous learning approaches address the binding prediction problem using traditional margin based binary classifiers. In this paper we propose *PepDist*: a novel approach for predicting binding affinity. Our approach is based on learning peptide-peptide distance functions. Moreover, we suggest to learn a single peptide-peptide distance function over an **entire** family of proteins (e.g. MHC class I). This distance function can be used to compute the affinity of a novel peptide to any of the proteins in the given family. In order to learn these peptide-peptide distance functions, we formalize the problem as a semi-supervised learning problem with partial information in the form of equivalence constraints. Specifically, we propose to use *DistBoost* [1, 2], which is a semi-supervised distance learning algorithm.

### Results

We compare our method to various state-of-the-art binding prediction algorithms on MHC class I and MHC class II datasets. In almost all cases, our method outperforms all of its competitors. One of the major advantages of our novel approach is that it can also learn an affinity function over proteins for which only small amounts of labeled peptides exist. In these cases, our method's performance gain, when compared to other computational methods, is even more pronounced. We have recently uploaded the *PepDist* webserver which provides binding prediction of peptides to 35 different MHC class I alleles. The webserver which can be found at http://www.pepdist.cs.huji.ac.il is powered by a prediction engine which was trained using the framework presented in this paper.

### Conclusion

The results obtained suggest that learning a *single* distance function over an entire family of proteins achieves higher prediction accuracy than learning a set of binary classifiers for each of the proteins separately. We also show the importance of obtaining information on experimentally determined non-binders. Learning with real non-binders generalizes better than learning with randomly generated peptides that are assumed to be non-binders. This suggests that information about non-binding peptides should also be published and made publicly available.

## Background

Biochemical assays, which empirically test protein-peptide binding affinity, can nowadays provide a rather high throughput rate [6]. However, note that there are 20^{
L
}peptides of length *L* (for 9 amino-acid long peptides as in the MHC proteins this amounts to 10^{12} peptides) and a great number of proteins that need to be considered. Therefore, in recent years, there has been a growing interest in developing computational methods for protein-peptide binding prediction [7–13]. Formally, the protein-peptide binding prediction problem can be stated as follows: given a protein and a peptide, predict the binding affinity of the interaction between the two. Stated this way, the protein-peptide binding prediction is essentially a simplified version of the more general protein docking problem.

What should we expect from a "good" binding prediction algorithm? [8].

**1. Classification:** A good binding prediction algorithm should first and foremost correctly predict whether a query peptide (which was not provided during the training stage) binds or does not bind to the given protein.

**2. Ranking:** An even stronger requirement is that the algorithm could also obtain a relative binding score for each peptide that can be used to rank different peptides according to their specificity.

**3. Affinity prediction:** Ultimately, the algorithm's score would predict the precise binding affinity values as determined experimentally.

Clearly, current state-of-the-art prediction methods obtain promising *classification* results (for a recent comparison between several methods see [14]). Many of these methods also compute binding scores for each peptide, but these scores are in most cases not even compared to the empirically known affinity values, and have even been shown to have poor correspondences in some cases [15] (an interesting exception is a recent work on the PDZ domain [16]).

Most prediction algorithms formalize the protein-peptide binding prediction problem as a binary classification problem: For each protein (i.e. MHC molecule) a classifier is trained to distinguish binding peptides from non-binding peptides. After an initial training stage, the classifier is tested on a set of peptides, which were not presented during the training stage. The training data consists of experimentally determined binders and randomly generated peptides which are assumed to be non-binders. Interestingly enough, only rarely are experimentally determined non-binders used, mainly because a small number of these non-binders have been made publicly available.

In this paper we suggest a novel formulation of the protein-peptide binding prediction problem. Our approach is driven by the following two important observations:

**Observation 1** *Peptides that bind to the same protein are "similar" to one another, and different from non-binding peptides*.

This observation underlies most, if not all, computational prediction methods. Motif based methods [8, 13] for example, search for a binding motif that captures the similarity of a set of known binding peptides. Prediction is then based on the similarity of a query peptide to the motif, which implicitly measures the similarity of the query peptide to the peptides in the training set. This observation suggests that given a novel peptide, one can predict its binding affinity to a specific protein, by explicitly measuring the average distance (or similarity) of the novel peptide to a list of known binding peptides. Intuitively speaking, if the peptide is close to the known binders, we would classify it as a binder, and if it is far – we would classify it as a non-binder.

**Observation 2**
*Peptides binding to different proteins within the same "family" resemble each other*

Proteins from the same family (e.g. MHC class I) are known to have structural and sequential similarity. Therefore they bind to peptides that share common characteristics. Additionally, in MHC class I and MHC class II, many proteins are grouped into supertypes [17] (such as the HLA-A2 MHC class I supertype). A supertype is a collection of proteins whose binding peptide sets are overlapping. This observation implies that we may benefit from *simultaneously* learning a single binding prediction function over an entire family of proteins, instead of independently learning a *single* classifier for each of the proteins within the protein family. At a first glance it might appear that one can recast a set of binary classification problems using a single multi-class classification problem. However, a closer look reveals that the protein-peptide binding problem *is not* a multi-class classification problem due to the following inherent facts: (1) Some peptides bind to several proteins within a family (indeed this information is used to define MHC supertypes). (2) A peptide that does not bind to a specific protein within a family, does not necessarily bind to a different protein within the family.

*not*necessarily metrics. Moreover, based on

*observation 2*, we suggest to pool together information from an entire protein family and to learn a

*single*peptide-peptide distance function (instead of learning a different distance function for every protein independently). Our peptide-peptide distance function is then used to compute protein-peptide binding affinity – the affinity of a query peptide to a given protein is inversely proportional to its average distance from all of the peptides known to bind to that protein. Our proposed learning scheme is summarized in Fig. 2 and elaborated in the following section.

### Learning peptide distance functions

As mentioned above, we propose to address the protein-peptide binding affinity prediction problem by learning a peptide-peptide distance function over an *entire* family of proteins. A distance function $\mathcal{D}$ assigns a non-negative value for each pair of points. Most algorithms that learn distance functions make use of equivalence constraints [1, 2, 18–22]. Equivalence constraints are relations between pairs of data points, which indicate whether the points in the pair belong to the same category or not. We term a constraint *positive* when the points are known to be from the same class, and *negative* in the opposite case. In this setting the goal of the algorithm is to learn a distance function that attempts to comply with the equivalence constraints provided as input.

In our setting, each protein defines a class. Each pair of peptides (data-points) which are known to bind to a specific protein (that is, belong to the same class) defines a positive constraint, while each pair of peptides in which one binds to the protein and the other does not – defines a negative constraint. Therefore, for each protein, our training data consists of a list of binding and non-binding peptides, and the set of equivalence constraints that they induce.

We collect these sets of peptides and equivalence constraints from several proteins within a protein family into a single dataset. We then use this dataset to learn a peptide-peptide distance function (see Fig. 3 left plots). Using this distance function, we can predict the binding affinity of a novel peptide to a specific protein, by measuring its average distance to all of the peptides which are known to bind to that protein (see Fig. 3 right plots). More formally, let us denote by $\mathcal{D}\left(Peptid{e}_{i},Peptid{e}_{k}\right)$ the distance between *Peptide*_{
i
}and *Peptide*_{
k
}and by *B*_{
j
}the group of peptides known to bind to *Protein*_{
j
}. We define the affinity between *Peptide*_{
i
}and *Protein*_{
j
}to be:

In order to learn peptide-peptide distance functions, we use the *DistBoost* algorithm [1, 2], which learns distance functions using data and some equivalence constraints (see Methods for the algorithm's description). *DistBoost* requires that the data be represented in some continuous vector feature space. We therefore represent each amino-acid using a 5-dimensional feature vector as suggested by [23], and each peptide by concatenating its amino-acid feature vectors (for further details see the Data representation section). We compare our method to various protein-peptide affinity prediction methods on several datasets of proteins from MHC class I and MHC class II. The results show that our method significantly outperforms all other methods. We also show that on proteins for which small amounts of binding peptides are available the improvement in performance is even more pronounced. This demonstrates one of the important advantages of learning a single peptide distance function on an entire protein family.

### Related work

Many different computational approaches have been suggested for the protein-peptide binding prediction problem (see [24] for a recent review). These methods can be roughly divided into three categories:

#### Motif based methods

Binding *motifs* represent important requirements needed for binding, such as the presence and proper spacing of certain amino acids within the peptide sequence. Prediction of protein-peptide binding is usually performed as motif searches [8, 15]. The position specific scoring matrix (PSSM) approach is a statistical extension of the motif search methods, where a matrix represents the frequency of every amino acid in every position along the peptide. Peptide candidates can be assigned scores by summing up the position specific weights. The *RANKPEP* resource [13] uses this approach to predict peptide binding to MHC class I and class II molecules.

#### Structure based methods

These methods predict binding affinity by evaluating the binding energy of the protein-peptide complex [9]. These methods can be applied only when the three-dimensional structure of the protein-peptide complex is known or when reliable molecular models can be obtained.

#### Machine learning methods

Many different learning algorithms have been suggested for binding prediction. Among these are artificial neural networks (NetMHC) [12], Hidden Markov Models (HMM's) [10] and support vector machines (SVMHC) [11]. To the best of our knowledge all of these methods are trained separately for each protein (or supertype). Therefore, these methods work well when sufficient amounts of training data (i.e peptides which are known to be binders or non-binders for a given protein) is provided.

## Results

We evaluated the performance of our method on several MHC class I and MHC class II datasets, and compared it to various other prediction methods (see Methods for details about these datasets). We begin with a thorough comparison of our method to the recently enhanced RANKPEP method [13] on MHC class I and class II datasets. In order to assess the importance of using experimentally determined non-binders, we tested our method on another MHC class I dataset collected from the MHCBN repository. On this dataset we also compare our method to various other MHC binding prediction methods.

### MHC binding prediction on the MHCPEP dataset

We compared our method to the recently enhanced RANKPEP method [13]. We replicated the exact experimental setup described in [13]: (1) We used the exact same MHC class I and class II datasets. (2) Training was performed using 50% of the known binders for each of the MHC molecules. (3) The remaining binding peptides were used as test data to evaluate the algorithm's performance. These binders were tested against randomly generated peptides.

*DistBoost*in two distinct scenarios: (1) Training using only binding peptides (using only positive constraints). (2) Training using both binding and (randomly generated) non-binding peptides (using both positive and negative constraints). In both scenarios

*DistBoost*was trained

**simultaneously**on all of the MHC molecules in each class. Fig. 4 presents a comparison of

*DistBoost*to both of the PSSM's used in [13]. on the H-2Kd MHC class I molecule. Comparative results on the entire MHC class I and class II datasets are presented in Figures 5 and 6, respectively. In all these comparisons, the PSSM AUC scores (See Methods for details) are as reported in [13].

*DistBoost's*average AUC score, when trained using only positive constraints, is higher than both PSSM methods. The improvement in performance is more pronounced on molecules with relatively small amounts of known binders (e.g. HLA-B27(B*2704) – 10 binders, HLA-A2(A*0205) – 22 binders and HLA-A33(A*3301) – 23 binders). One possible explanation of these results is that the information provided by other proteins within the protein family is used to enhance prediction accuracy, especially in cases where only small amounts of known binders exist. Additionally, it may be seen that using both positive and negative constraints on this dataset, usually improves the algorithm's performance. Another important advantage of

*DistBoost*can be seen when comparing standard deviations (std) of the AUC scores. When

*DistBoost*was trained using only positive constraints, on 13 out of the 25 molecules the algorithm's std was lower than the std of both PSSM's. When

*DistBoost*was trained using both positive and negative constraints, on 20 out of the 25 molecules the algorithm's std was lower than the std of both PSSM's. These results imply that our method is more robust.

When tested on the MHC class II molecules, our method obtained similar improvements (see Fig. 6): On 19 out of the 24 molecules *DistBoost's* average AUC score when trained using only positive constraints is higher than both PSSM methods. In general, it appears that the performance of all of the compared methods is lower than on the MHC class I dataset. It is known that predicting binding affinity on MHC class II is more challenging, partially due to the fact that peptides that bind to class II molecules are extremely variable in length and share very limited sequence similarity [25]. On this dataset, the use of both positive and negative constraints improved *DistBoost's* performance on only 11 out of 24 molecules.

### MHC class I binding prediction on the MHCBN dataset

The MHCPEP dataset only contains information about peptides that bind to various MHC molecules. In contrast, the MHCBN dataset also contains information about non-binding peptides for some MHC class I molecules. We used this dataset to evaluate the importance of learning using experimentally determined non-binders (as opposed to randomly generated non binders).

We compared *DistBoost* to various other computational prediction methods on peptides that bind to the HLA-A2 supertype, collected from the MHCBN repository. Specifically, we compared the performance of the following methods: (1) The *DistBoost* algorithm. (2) The *SVMHC* web server [11]. (3) The *NetMHC* web server [12]. (4) The RANKPEP resource [13] (5) The Euclidean distance metric in ${\mathbb{R}}^{45}$ Despite the fact that methods (2–4) are protein specific, they also provide predictions on various MHC supertypes including the HLA-A2 supertype.

We note that it is unclear whether the peptides collected from the MHCBN repository are the HLA-A2 supertype binders, or HLA-A*0201 binders which was named HLA-A2 in the older HLA nomenclature. When we compared our predictions to those of the SVMHC and NetMHC methods on the HLA-A*0201, similar results were obtained.

*DistBoost*on 70% of the

**entire**

*MHCclass1BN*data (including binding and non-binding peptides) and compared its performance to all other methods on the

**single**HLA-A2 supertype. The test set, therefore, consists of the remaining 30% of HLA-A2 data. The results are shown in Fig. 7(a). As may be seen,

*DistBoost*outperforms all other methods, including SVMHC, NetMHC and RANKPEP, which were trained on this specific supertype. However, it is important to note, that unlike

*DistBoost*, all of these methods were trained using randomly generated non-binders. The performance of all of these methods when tested against random peptides is much better – AUC scores of SVMHC: 0.947, NetMHC: 0.93 and RANKPEP: 0.928. When

*DistBoost*was trained and tested using randomly generated non-binders it achieved an AUC score of 0.976. Interestingly, when

*DistBoost*was trained using real non-binders and tested on randomly generated non-binders it obtained an AUC score of 0.923. These results seem to imply that learning using random non-binders does

**not**generalize well to experimentally determined non-binders. On the other hand, learning from "real" non-binders generalizes very well to random non-binders.

Our proposed method is trained **simultaneously** on a number of proteins from the same family, unlike methods (2–4). However, our final predictions are protein specific. As the results reveal, we obtain high binding prediction accuracy when tested on a single protein (see Fig. 7(a)). In order to quantify the overall protein specific binding prediction accuracy, we present ROC curves for *DistBoost* and the Euclidean affinity functions when tested on the **entire** MHCclass1BN dataset (Fig. 7(b)). The peptide-peptide distance matrices and the protein-peptide affinity matrices of these two methods are presented in Fig. 3. On this dataset *DistBoost* obtained excellent performance.

*DistBoost*we ran it on the

*MHCclass1BN*dataset, while varying the percentage of training data. Fig. 8 presents the algorithm's learning curves when trained using only positive constraints and when trained using both positive and negative constraints. As may be expected, on average, performance improves as the amount of training data increases. Note that

*DistBoost*achieves almost perfect performance with relatively small amounts of training data. Additionally, we can see that on this dataset learning from both types of constraints dramatically improves performance.

### The PepDist Webserver

Our proposed method is now publicly available through the *PepDist* webserver, which can be found at http://www.pepdist.cs.huji.ac.il. The current version provides binding predictions of 9-mer peptides to 35 different MHC class I alleles. The engine also supports multiple peptide queries. We hope to enhance the webserver in the near future to provide predictions for more MHC class I alleles and also for MHC class II alleles.

## Discussion and Conclusion

*PepDist*: a novel formulation of the protein-peptide binding prediction problem that has two foundations. The first is to predict binding affinity by learning peptide-peptide distance functions. The second is to learn a

*single*distance function over an entire family of proteins. Our formulation has several advantages over existing computational approaches:

- 1.
Our method also works well on proteins for which small amounts of known binders are currently available.

- 2.
Unlike standard binary classifiers, our method can be trained on an entire protein family using only information about binding peptides (i.e. without using real/randomly generated non-binders).

- 3.
Our method can compute the relative binding affinities of a peptide to several proteins from the same protein family.

In order to learn such distance functions we casted the problem as a semi-supervised learning problem in which equivalence constraints can be naturally obtained from empirical data. Specifically, we used the *DistBoost* algorithm, that learns distance functions using positive and negative equivalence constraints. Our experiments suggest that binding prediction based on such learned distance functions exhibits excellent performance. It should be noted that our proposed learning scheme can be also implemented using other distance learning algorithms and in our future work we also plan to further investigate this idea. We also hope that the *PepDist* formulation will allow addressing the more challenging task of peptide ranking. One way of doing this is by incorporating information about relative binding values into the distance learning algorithm.

Our approach may also be useful for predicting some protein-protein interactions such as PDZ-protein complexes. The PDZ domains are frequently occurring interaction domains involved in organizing signal transduction complexes and attaching proteins to the cytoskeleton [26]. In most cases, this is accomplished by specific recognition of the ligands' carboxyl termini (or regions "mimicking" the structure of a carboxyl terminal). Therefore, predicting whether a protein binds to a specific PDZ domain, can be cast as protein-peptide prediction problem where the "peptide" is the short linear sequence (4 – 6 amino acids long) lying at the protein's C-terminal. We are currently examining the feasibility of using the *PepDist* framework for this application.

Our novel formulation of the protein-peptide binding prediction problem and the results obtained suggest two interesting conclusions: The first is that learning a *single* distance function over an entire family of proteins achieves higher prediction accuracy than learning a set of binary classifiers for each of the proteins separately. This effect is even more pronounced on proteins for which only small amounts of binders and non-binders are currently available. The second interesting conclusion, is the importance of obtaining information on experimentally determined non-binders. These non-binders (as opposed to randomly generated non-binders) are usually somewhat similar to known binders, since they were in many cases suspected to be binders. Our results on the MHCBN dataset show that learning with real non-binders generalizes better than learning with randomly generated peptides that are assumed to be non-binders. This suggests that information about non-binding peptides should also be published and made publicly available.

## Methods

### The DistBoost Algorithm

Our peptide-peptide distance functions are learned using the *DistBoost* algorithm. *DistBoost* is a semi-supervised learning technique that learns a distance function using unlabeled data points and equivalence constraints.

#### Notations

Let us denote by ${\left\{{x}_{i}\right\}}_{i=1}^{n}$ the set of input data points which belong to some vector space $\mathcal{X}$. The space of all pairs of points in $\mathcal{X}$ is called the "product space" and is denoted by $\mathcal{X}\times \mathcal{X}$. An equivalence constraint is denoted by (*x*_{i 1}, *x*_{i 2}, *y*_{
i
}) where *y*_{
i
}= 1 if points (*x*_{i 1}, *x*_{i 2}) belong to the same class (positive constraint) and *y*_{
i
}= -1 if these points belong to different classes (negative constraint). (*x*_{i 1}, *x*_{i 2},*) denotes an unlabeled pair. The *DistBoost* algorithm learns a bounded distance function, $D:\mathcal{X}\times \mathcal{X}\to \left[0,1\right]$, that maps each pair of points to a real number in [0,1].

#### Algorithm description

The algorithm makes use of the observation that equivalence constraints on points in $\mathcal{X}$ are binary labels in the product space, $\mathcal{X}\times \mathcal{X}$. By posing the problem in product space we obtain a classical binary classification problem: an optimal classifier should assign +1 to all pairs of points that come from the same class, and -1 to all pairs of points that come from different classes. This binary classification problem can be solved using traditional margin based classification techniques. Note, however, that in many real world problems, we are only provided with a sparse set of equivalence constraints and therefore the margin based binary classification problem is semi-supervised.

*DistBoost*learns a distance function using a well known machine learning technique, called

*Boosting*[27, 28]. In Boosting, a set of "weak" learners are iteratively trained and then linearly combined to produce a "strong" learner. Specifically,

*DistBoost's*weak learner is based on the constrained Expectation Maximization (cEM) algorithm [29]. The cEM algorithm is used to generate a "weak" distance function. The final ("strong") distance function is a weighted sum of a set of such "weak" distance functions. The algorithm is presented in Fig. 9 and illustrated in Fig. 10.

In order to make use of unlabeled data points, *DistBoost's* weak learner is trained in the original space, $\mathcal{X}$, and is then used to generate a "weak distance function" on the product space. *DistBoost* uses an augmentation of the 'Adaboost with confidence intervals' algorithm [27] to incorporate unlabeled data into the boosting process. More specifically, given a partially labeled dataset ${\left\{\left({x}_{{i}_{1},}{x}_{{i}_{2},}{y}_{i}\right)\right\}}_{i=1}^{N}$ where *y*_{
i
}∈ {1, -1,*}, the algorithm searches for a hypothesis $\mathcal{D}\left({x}_{{i}_{1}},{x}_{{i}_{2}}\right)={\displaystyle \sum _{t=1}^{T}{\alpha}_{t}{h}_{t}\left({x}_{{i}_{1}},{x}_{{i}_{2}}\right)}$ which minimizes the following loss function:

Note that this semi-supervised boosting scheme computes the weighted loss only on **labeled** pairs of points but updates the weights over **all** pairs of points (see Figure 9 steps (3–6)). The unlabeled points effectively constrain the parameter space of the weak learner, giving priority to hypotheses which both comply with the pairwise constraints and with the data's density. Since the weak learner's task becomes harder in later boosting rounds, the boosting algorithm gradually reduces the weights of the unlabeled pairs (see Figure 9 step (5)). While the weak learner accepts a distribution over the points in the original space $\mathcal{X}$, the boosting process described above generates a distribution over pairs of points that belong to the product space $\mathcal{X}\times \mathcal{X}$. The distribution over the product space is converted to a distribution over the sample points by simple marginalization (see Figure 9 step (7) of the algorithm). The translation from the original input space into product space is introduced in step (2) of the algorithm and is further discussed below.

#### DistBoost's weak learner

*DistBoost's* weak learner is based on the constrained Expectation Maximization (cEM) algorithm [29]. The algorithm uses unlabeled data points and a set of equivalence constraints to find a Gaussian Mixture Model (GMM) that complies with these constraints. A GMM is a parametric statistical model which is given by $p\left(x|\Theta \right)={\displaystyle {\sum}_{l=1}^{M}{\pi}_{l}p\left(x|{\theta}_{l}\right)}$, where *π*_{
l
}denotes the weight of each Gaussian, *θ*_{
l
}its parameters, and *M* denotes the number of Gaussian sources in the GMM. Estimating the parameters ($\Theta $) of a GMM is usually done using the well known EM algorithm [30]. The cEM algorithm introduces equivalence constraints by modifying the 'E' (Expectation) step of the algorithm: instead of summing over *all* possible assignments of data points to sources, the expectation is taken only over assignments which comply with the given equivalence constraints.

The cEM algorithm's input is a set of unlabeled points $X={\left\{{x}_{i}\right\}}_{i=1}^{n}$, and a set of pairwise constraints, Ω, over these points. Denote positive constraints by ${\left\{\left({p}_{j}^{1},{p}_{j}^{2}\right)\right\}}_{j=1}^{{N}_{p}}$ and negative constraints by ${\left\{\left({n}_{k}^{1},{n}_{k}^{2}\right)\right\}}_{k=1}^{{N}_{n}}$. Let $H={\left\{{h}_{i}\right\}}_{i=1}^{n}$ denote the hidden assignment of each data point *x*_{
i
}to one of the Gaussian sources (*h*_{
i
}∈ {1,..., M}). The constrained EM algorithm assumes the following joint distribution of the observables *X* and the hiddens *H:*

where *Z* is the normalizing factor and *δ*_{
ij
}is Kronecker's delta. The algorithm seeks to maximize the data likelihood, which is the marginal distribution of (3) with respect to *H*. For a more detailed description of this weak learner see [29].

In order to use the algorithm as a weak learner in our boosting scheme, we modified the algorithm to incorporate weights over the data samples. These weights are provided by the boosting process in each round (see Fig. 9 step 7).

### Generating a weak distance function using a GMM

The weak learners' task is to provide a weak distance function *h*_{
t
}(*x*_{
i
}, *x*_{
j
}) over the product space $\mathcal{X}\times \mathcal{X}$. Let us Denote by *MAP*(*x*_{
i
}) the Maximum A-Posteriori assignment of point *x*_{
i
}and by *p*^{
MAP
}(*x*_{
i
}) the MAP probability of this point: ${p}^{MAP}\left({x}_{i}\right)=\underset{m}{\mathrm{max}\phantom{\rule{0.5em}{0ex}}}\phantom{\rule{0.5em}{0ex}}p\left({h}_{i}=m|{x}_{i},\Theta \right)$. We partition the data into *M* groups using the MAP assignment of the points and define

The weak distance function is given by

It is easy to see that if the MAP assignment of two points is identical their distance will be in [0, 0.5] and if their MAP assignment is different their distance will be in [0.5, 1].

### Datasets

The first two datasets we compiled (MHCclass1 and MHCclass2) were the same as those described in [13]. Following the works of [8, 9, 13] we considered peptides with a fixed sequence length of 9 amino acids. Sequences of peptides, that bind to MHC class I or class II molecules, were collected from the MHCPEP dataset [31]. Each entry in the MHCPEP dataset contains the peptide sequence, its MHC specificity and, where available, observed activity and binding affinity. Peptides, that are classified as low binders or contain undetermined residues (denoted by the letter code *X*), were excluded. We then grouped all 9 amino acid long peptides (9-mers), that bind to MHC class I molecules, to a dataset, called *MHCclass1*. This dataset consists of binding peptides for 25 different MHC class I molecules (see additional file 1: *Pepdist_SupplementaryMaterials.ps*, Table 3).

Unlike MHC class I binding peptides, peptides binding to MHC class II molecules display a great variability in length, although only a peptide core of 9 residues fits into the binding groove. Following [13], we first used the MEME program [32] to align the binding peptides for each molecule, based on a single 9 residues motif. We finally filtered out redundant peptides and obtained the *MHCclass2* dataset. This dataset consists of binding peptides for 24 different MHC class II molecules (see additional file 1: *Pepdist_SupplementaryMaterials.ps*, Table 4).

Since all peptides in the MHCPEP dataset are binders, we added randomly generated peptides as non-binders to both MHCclass1 and MHCclass2 datasets (amino acid frequencies as in the Swiss-Prot database). The number of non-binders used in any test set was twice the number of the binding peptides. During the training phase, the number of non-binders was the same as the number of binders. In order to assess the performance of the prediction algorithms on experimentally determined non-binders, we compiled a third dataset, called *MHCclass1BN*. This dataset consists of binding and non-binding peptides, for 8 different MHC class I molecules, based on the *MHCBN 3.1* website [33] (see additional file 1: *Pepdist_SupplementaryMaterials.ps*, Table 5).

### Data representation

*DistBoost* requires that the data be represented in some continuous vector feature space. Following [23] each amino acid was encoded using a 5-dimensional property vector. Therefore, each peptide in the MHC datasets is a point in ${\mathbb{R}}^{45}$. The property vectors for each of the 20 amino acids are based on multidimensional scaling of 237 physical-chemical properties. Venkatarajan and Braun's analysis [23] showed that these 5 properties correlate well with hydrophobicity, size, *α*-helix preference, number of degenerate triplet codons and the frequency of occurrence of amino acid residues in *β*-strands. They also showed that the distances between pairs of amino-acids in the 5-dimensional property space are highly correlated with corresponding scores from similarity matrices derived from sequence and 3D structure comparisons.

### Evaluation methods

In order to evaluate the algorithms' performance, we measured the affinity of all test peptides to each of the proteins. We present the prediction accuracy (that is how well binders are distinguished from non-binders) of the various algorithms as ROC (Receiver Operating Characteristic) curves. The *X*-axis represents the percentage of "false alarms" which is *FP/*(*FP + TN*) (where *FP* denotes False Positives, and *TN* denotes True Negatives). The *Y*-axis represents the percentage of "hits" which is *TP/*(*TP + FN*) (where *TP* denotes True Positives and *FN* denotes False Negatives). The fraction of the area under the curve (AUC) is indicative of the distinguishing power of the algorithm and is used as its prediction accuracy.

## Declarations

### Acknowledgements

We thank Daphna Weinshall for many fruitful discussions and comments. We also thank Itamar Glatzer for his help in the implementation of the *PepDist* webserver. C.Y is supported by Yeshaya Horowitz Association through the Center for Complexity Science.

## Authors’ Affiliations

## References

- Hertz T, Bar-Hillel A, Weinshall D:
**Learning Distance Functions for Image Retrieval.***CVPR, Washington DC*2004.Google Scholar - Hertz T, Bar-Hillel A, Weinshall D:
**Boosting Margin Based Distance Functions for Clustering.***ICML*2004.Google Scholar - Rammensee HG, Friede T, Stevanoviic S:
**MHC ligands and peptide motifs: first listing.***Immunogenetics*1995,**41**(4):178–228. 10.1007/BF00172063View ArticlePubMedGoogle Scholar - Yewdell JW, Bennink JR:
**Immunodominance in Major Histocompatibility Complex Class I-Restricted T-Lymphocyte Responses.***Annual Review of Immunology*1999,**17:**51–88. 10.1146/annurev.immunol.17.1.51View ArticlePubMedGoogle Scholar - Janeway CA, Travers P, Walport M, Shlomchik M:
*Immunobiology*. 5th edition. New York and London: Garland Publishing; 2001.Google Scholar - Sette A:
**Tools of the Trade in Vaccine Design.***Science*2000,**290**(5499):2074b-2075. 10.1126/science.290.5499.2074bView ArticlePubMedGoogle Scholar - Brusic V, Rudy G, Harrison LC:
**Prediction of MHC binding peptides using artificial neural networks.***Complexity International*1995.,**2:**Google Scholar - Gulukota K, Sidney J, Sette A, DeLisi C:
**Two complementary methods for predicting peptides binding major histocompatibility complex molecules.***Journal of Molecular Biology*1997,**267:**1258–1267. 10.1006/jmbi.1997.0937View ArticlePubMedGoogle Scholar - Schueler-Furman O, Altuvia Y, Sette A, Margalit H:
**Structure-based prediction of binding peptides to MHC class I molecules: application to a broad range of MHC alleles.***Protein Sci*2000,**9**(9):1838–1846. 10.1110/ps.9.9.1838PubMed CentralView ArticlePubMedGoogle Scholar - Mamitsuka H:
**Predicting peptides that bind to MHC molecules using supervised learning of hidden Markov models.***Proteins*1998,**33**(4):460–474. 10.1002/(SICI)1097-0134(19981201)33:4<460::AID-PROT2>3.0.CO;2-MView ArticlePubMedGoogle Scholar - Donnes P, Elofsson A:
**Prediction of MHC class I binding peptides, using SVMHC.***BMC Bioinformatics*2002,**3:**25. http://www-bs-informatik.uni-tuebingen.de/SVMHC 10.1186/1471-2105-3-25PubMed CentralView ArticlePubMedGoogle Scholar - Buus S, Lauemoller S, Worning P, Kesmir C, Frimurer T, Corbet S, Fomsgaard A, Hilden J, Holm A, Brunak S:
**Sensitive quantitative predictions of peptide-MHC binding by a 'Query by Committee' artificial neural network approach.***Tissue Antigens*2003,**62**(5):378–384. http://www.cbs.dt.dk/services/NetMHC/ 10.1034/j.1399-0039.2003.00112.xView ArticlePubMedGoogle Scholar - Reche PA, Glutting JP, Zhang H, Reinher EL:
**Enhancement to the RANKPEP resource for the prediction of peptide binding to MHC molecules using profiles.***Immunogenetics*2004,**56**(6):405–419. http://mif.dfci.harvard.edu/Tools/rankpep.html 10.1007/s00251-004-0709-7View ArticlePubMedGoogle Scholar - Yu K, Petrovsky N, Schonbach C, Koh JL, Brusic V:
**Methods for Prediction of Peptide Binding to MHC Molecules: A Comparative Study.***Molecular Medicine*2002,**8:**137–148.PubMed CentralPubMedGoogle Scholar - Andersen M, Tan L, Sondergaard I, Zeuthen J, Elliott T, Haurum J:
**Poor correspondence between predicted and experimental binding of peptides to class I MHC molecules.***Tissue Antigens*2000,**55**(6):519–531. 10.1034/j.1399-0039.2000.550603.xView ArticlePubMedGoogle Scholar - Wiedemann U, Boisguerin P, Leben R, Leitner D, Krause G, Moelling K, Volkmer-Engert R, Oschkinat H:
**Quantification of PDZ Domain Specificity, Prediction of Ligand Affinity and Rational Design of Super-binding Peptides.***Journal of Molecular Biology*2004,**343:**703–718. 10.1016/j.jmb.2004.08.064View ArticlePubMedGoogle Scholar - Sette A, Sidney J:
**Nine major HLA class I supertypes account for the vast preponderance of HLA-A and -B polymorphism.***Immunogenetics*1999,**50:**201–212. 10.1007/s002510050594View ArticlePubMedGoogle Scholar - Bar-Hilel A, Hertz T, Shental N, Weinshall D:
**Learning Distance Functions using Equivalence Relations.***The 20th International Conference on Machine Learning*2003.Google Scholar - Xing E, Ng A, Jordan M, Russell S:
**Distance Metric learnign with application to clustering with side-information.**In*Advances in Neural Information Processing Systems*.*Volume 15*. The MIT Press; 2002.Google Scholar - WagstafF K, Cardie C, Rogers S, Schroedl S:
**Constrained K-means Clustering with Background Knowledge.**In*Proc 18th International Conf on Machine Learning*. Morgan Kaufmann, San Francisco, CA; 2001:577–584.Google Scholar - Bilenko M, Basu S, Mooney R:
**Integrating Constraints and Metric Learning in Semi-Supervised Clustering.**In*ICML*. Banff Canada, AAAI press; 2004. [citeseer.ist.psu.edu/705723.html] [citeseer.ist.psu.edu/705723.html]Google Scholar - Klein D, Kamvar S, Manning C:
**From instance-level constraints to space-level constraints: Making the most of prior knowledge in data clustering.**2002. [citeseer.nj.nec.com/klein02from.html]Google Scholar - Venkatarajan MS, Braun W:
**New quantitative descriptors of amino acids based on multidimensional scaling of a large number of physical-chemical properties.***Journal of Molecular Modeling*2001,**7**(12):445–453. 10.1007/s00894-001-0058-5View ArticleGoogle Scholar - Flower DR:
**Towards in silico prediction of immunogenic epitopes.***TRENDS in immunology*2003.,**24:**Google Scholar - Madden DR:
**The Three-Dimensional Structure of Peptide-MHC Complexes.***Annual Review of Immunology*1995,**13:**587–622. 10.1146/annurev.iy.13.040195.003103View ArticlePubMedGoogle Scholar - Hung AY, Sheng M:
**PDZ Domains: Structural Modules for Protein Complex Assembly.***J Biol Chem*2002,**277**(8):5699–5702. 10.1074/jbc.R100065200View ArticlePubMedGoogle Scholar - Schapire RE, Singer Y:
**Improved Boosting Using Confidence-rated Predictions.***Machine Learning*1999,**37**(3):297–336. 10.1023/A:1007614523901View ArticleGoogle Scholar - Schapire RE, Freund Y, Bartlett P, Lee WS:
**Boosting the margin: a new explanation for the effectiveness of voting methods.**In*Proc 14th International Conference on Machine Learning*. Morgan Kaufmann; 1997:322–330.Google Scholar - Shental N, Bar-Hilel A, Hertz T, Weinshall D:
**Computing Gaussian Mixture Models with EM using Equivalence Constraints.***NIPS*2003.Google Scholar - Dempster AP, Laird NM, Rubin DB:
**Maximum Likelihood from incomplete data via the EM algorithm.***JRSSB*1977,**39:**1–38.Google Scholar - Brusic V, Rudy G, Harrison LC:
**MHCPEP, a database of MHC-binding peptides: update 1997.***Nucl Acids Res*1998,**26:**368–371. 10.1093/nar/26.1.368PubMed CentralView ArticlePubMedGoogle Scholar - Bailey T, Elkan C:
**Fitting a mixture model by expectation maximization to discover motifs in biopolymers.***ISMB*1994,**2:**28–36.PubMedGoogle Scholar - Bhasin M, Singh H, Raghava GPS:
**MHCBN: a comprehensive database of MHC binding and non-binding peptides.***Bioinformatics*2003,**19**(5):665–666. 10.1093/bioinformatics/btg055View ArticlePubMedGoogle Scholar

## Copyright

This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.