How suitable are clustering methods for functional annotation of proteins?

Rakesh Busi, Pranav Machingal, N. Hemachandra, Petety V. BalajibioRxiv 2024

TL;DR

This paper investigates how well different clustering algorithms can predict protein function solely from their amino acid sequences. The authors found that while several algorithms can effectively group proteins into broad functional families, distinguishing very subtle functional differences remains a challenge, suggesting that combining multiple clustering approaches and potentially experimental data might be necessary for precise annotation.

What Problem Does This Paper Address?

The explosion of genomic data means we have vast numbers of protein sequences, but knowing what these proteins do (their function) is crucial for understanding biology and developing new technologies. Traditional methods like BLASTp and profile HMMs are good but struggle with identifying distantly related proteins (remote homologs) and can be uncertain with complex alignments. This paper explores using unsupervised clustering methods as a way to automatically group proteins by function, even when we don't know their function beforehand. This is particularly useful because it doesn't require pre-labeled data, which is often scarce for new or poorly studied proteins.

Methods

The researchers evaluated nine different clustering algorithms from the scikit-learn library. The key innovation here is the feature representation: instead of using raw sequences, they employed Pseudo Amino Acid Composition (PAAC). PAAC is a way to represent protein sequences that captures not only the frequency of each amino acid but also their sequence order, which is important for function.

To determine the "best" clustering for each algorithm and dataset, they used the silhouette coefficient (SC), an intrinsic metric that measures how well each data point fits into its assigned cluster compared to other clusters. They also used the Fowlkes-Mallows index (FMI), an extrinsic metric that compares the clustering results to known database labels.

The algorithms tested included:

  • K-means: A popular algorithm that partitions data into a pre-defined number of clusters.
  • Gaussian Mixture Model (GMM): Assumes data points are generated from a mixture of Gaussian distributions.
  • Agglomerative Clustering: A hierarchical method that builds clusters from the bottom up.
  • Spectral Clustering: Uses the eigenvalues of a similarity matrix to perform dimensionality reduction before clustering.
  • Affinity Propagation Clustering (APC): An algorithm that doesn't require a pre-defined number of clusters, instead identifying "exemplars" that represent clusters.

Datasets

The study used a diverse set of 15 datasets, grouped into 5 categories based on the similarity/dissimilarity of sequence, 3D structure, and function. A significant portion of these datasets focused on Glycoside Hydrolases (GH), a family of enzymes involved in carbohydrate metabolism. These GH datasets were chosen because they offer varying levels of functional granularity, from broad families to specific substrate preferences (indicated by EC numbers). Other datasets included proteins with broader functional differences to test the robustness of the methods.

Key Insights and Ideas

  • PAAC is a powerful feature: Using PAAC, which captures sequence order, proved effective for functional annotation, allowing clustering algorithms to group proteins based on their biological roles.
  • Agglomerative clustering mimics phylogeny: This method produced dendrograms that closely resembled phylogenetic trees, suggesting it can effectively capture evolutionary relationships that often correlate with function.
  • Fine-grained differences are tricky: While most algorithms could distinguish broad functional families, they struggled to differentiate proteins with subtle functional differences (e.g., slight variations in substrate specificity). This suggests that current sequence-based features might not capture all the nuances of function.
  • Spectral clustering underperforms: This algorithm consistently showed lower performance compared to k-means, GMM, and agglomerative clustering, raising questions about its suitability for this specific feature set and dataset types.
  • APC can be sensitive: Affinity Propagation, while useful, sometimes produced more clusters than expected and could be prone to false positives, possibly due to its higher sensitivity to subtle variations.
  • Database labels can be inconsistent: In some cases, the clustering results showed significant disagreement with existing database annotations, suggesting that these labels might need revision or that the clustering is uncovering new relationships.

Key Results

  • Effective segregation of broad families: K-means, GMM, and agglomerative clustering were found to effectively segregate distinct protein functional families.
  • Agglomerative, K-means, and GMM are recommended: The authors recommend using a combination of these three algorithms, along with affinity propagation, and selecting the optimal number of clusters (k) based on the silhouette coefficient.
  • FMI for known functions: When ground-truth labels are available, the Fowlkes-Mallows index is a useful metric for selecting the best clusters and transferring annotations.
  • SC for unknown functions: If all proteins in a dataset are unannotated, the silhouette coefficient is the primary metric for guiding cluster selection.
  • Runtime is not an issue: Even for large datasets (e.g., ~3500 sequences), the clustering runtime was less than 13 seconds, indicating scalability.

Limitations and Future Work

  • Distinguishing subtle differences: The primary limitation identified is the difficulty in distinguishing proteins with fine-grained functional differences. This suggests that future work might need to incorporate additional features beyond PAAC or rely on experimental data for highly precise annotations.
  • Algorithm-dependent metrics: The authors noted that the silhouette coefficient might be biased towards certain algorithms, leading them to use multiple algorithms and compare results.
  • Need for experimental validation: For proteins with subtle functional differences, fine-tuning algorithms or incorporating experimental data is suggested.
  • Combining algorithms: The paper recommends using a combination of k-means, GMM, agglomerative, and APC for a more comprehensive analysis and to ensure consistency.
  • Future applications: The study highlights the potential of clustering for various applications, including assigning new sequences to clusters, pre-filtering for profile construction, assessing feature quality, and exploratory annotation of large, unlabeled datasets.

Summary updated

Abstract

Abstract The advent of affordable high-throughput genome sequencing has drastically expanded protein sequence databases, necessitating the development of computational tools to predict protein function from sequence data. Current methods, such as BLASTp and profile HMMs, while effective, are limited by difficulties in detecting remote homologs and uncertainties in multiple sequence alignments. To address this, we explore the use of clustering algorithms for unsupervised protein function annotation, using pseudo-amino acid composition (PAAC) as features. In this study, we evaluated nine clustering algorithms for their ability to segregate protein sequences based on functional differences using the PAAC feature. Using intrinsic metrics, particularly the silhouette coefficient (SC), we determined the optimal number of clusters ( k ) for each algorithm. We observed that agglomerative clustering produced results resembling phylogenetic relationships; even k-means clustering, Gaussian mixture model (GMM), and spectral clustering do so, but occasionally merge datapoints from distinct original clusters at higher k values. Our findings reveal that k-means clustering, GMM, and agglomerative clustering effectively segregate distinct protein functional families, but effectiveness decreases when distinguishing fine-grained functional differences. Notably, spectral clustering underperformed relative to other methods. Affinity propagation clustering, while effective in some cases, generated more clusters than expected and is prone to false positives. Overall, we find that some of the clustering algorithms are suitable for functional annotation of protein sequences using PAAC as a feature set, even when the number of ground-truth sequences is limited. The implementation of the clustering method for protein sequences is available in the GitHub repository ( https://github.com/RakeshBusi/Clustering ). It provides comprehensive steps for preprocessing, feature extraction, clustering, and evaluation. All steps are presented in a Jupyter Notebook in the repository. Author Summary We are in the age of big data. It is an outcome of the development of high-throughput techniques. The resources spent to develop and deploy such techniques are considerably large. However, data by itself is not an end but a means to answer questions of relevance. Hence, the development and/or customisation of techniques that help us to interpret and utilise data are also important. In this study, we focus on customising a popular technique, namely clustering, to extract biological information from the ever-growing protein sequence database. We test the suitability of nine clustering algorithms to determine a protein’s molecular function solely based on its amino acid sequence. Based on our findings, we recommend using a combination of the four algorithms, namely, k-means, Gaussian mixture model, agglomerative, and affinity propagation. However, we note that proteins with subtle functional differences cluster together, and fine-tuning algorithms to separate such proteins requires additional experimental data.
BibTeX
@misc{busi2024how,
  author = {Rakesh Busi and Pranav Machingal and N. Hemachandra and Petety V. Balaji},
  title = {{How suitable are clustering methods for functional annotation of proteins?}},
  year = {2024},
  doi = {10.1101/2024.12.26.630370},
  howpublished = {bioRxiv},
}

Loading related content...

Figure