PGAR-Zernike: an ultra-fast, accurate and fully open-source structure retrieval toolkit for convenient structural database construction

Junhai Qi, Chenjie Feng, Yuling Shi, Jianyi Yang, Fa Zhang, Guojun Li, Renmin HanbioRxiv 2023

TL;DR

The rapid growth of protein structure databases necessitates efficient retrieval methods. This paper introduces PGAR-Zernike, an open-source toolkit that computes 3D Zernike descriptors from various structural representations, enabling ultra-fast and accurate protein structure retrieval. PGAR-Zernike significantly outperforms existing methods in both speed and accuracy, making it a valuable tool for structural biology research.

What Problem Does This Paper Address?

The advent of tools like AlphaFold2 has led to an explosion in the number of available protein structure models, creating a critical need for efficient and accurate methods to search and analyze these vast databases. Traditional structure alignment algorithms, while direct, are computationally expensive, making them impractical for large-scale retrieval. Current state-of-the-art methods often rely on 3D Zernike descriptors (3D ZD), but these are typically computed using surface representations and are often only accessible via web servers. This limits their utility for users who need to analyze custom datasets or perform local computations. The core challenge is to develop a method that is both fast and accurate for measuring structural similarity, and that is easily accessible for widespread use.

Methods

PGAR-Zernike addresses this by providing a flexible toolkit for computing 3D Zernike descriptors from multiple structural representations: surface (PS), mesh (PM), atomic point cloud (ATOM), and Gaussian Mixture Model (GM). The core workflow involves:

  1. Structural Representation: Converting protein structures into one of the four representations.
  2. Feature Point Extraction: Identifying key points on these representations.
  3. Voxelization: Creating a 3D grid and defining a function f(x, y, z) that characterizes the structure based on the feature points.
  4. Geometric Moment Calculation: Computing moments of this function.
  5. 3D Zernike Descriptor Computation: Using these moments to derive the descriptors.

A key innovation is the ability to compute descriptors from various representations, allowing users to choose the one best suited for their specific problem. The toolkit is designed for ease of use, requiring a single command to generate descriptors for an entire dataset. For similarity measurement, PGAR-Zernike uses Euclidean distance between these descriptors.

Datasets

The paper evaluates PGAR-Zernike on several benchmark datasets:

  • Protein160: A protein structure dataset.
  • Protein13: Another protein structure dataset with different characteristics.
  • RNA16: An RNA structure dataset.
  • Random500: A randomly selected subset of 500 structures from the PDB database, used for evaluating the PGAR-System.

The authors also constructed a large database of 590,685 structures from the PDB for demonstrating the scalability of their retrieval system.

Key Insights and Ideas

  • Multi-representation Descriptors: The ability to compute 3D Zernike descriptors from diverse structural representations (surface, mesh, atomic, GMM) offers flexibility and can lead to improved performance depending on the dataset's characteristics.
  • Open-Source and Local Deployment: Providing an open-source toolkit that can be easily deployed locally is crucial for enabling widespread adoption and integration into existing bioinformatics pipelines.
  • Ultra-Fast Retrieval: The descriptor-based approach, combined with Euclidean distance, allows for extremely rapid similarity comparisons, achieving retrieval times of seconds for massive datasets.
  • PM-Zernike's Robustness: The mesh representation (PM) consistently showed stable and high performance across various datasets, making it a strong candidate for general-purpose structure retrieval.

Key Results

  • Accuracy: PGAR-Zernike, particularly the PM-Zernike module, achieved state-of-the-art performance in structure retrieval, outperforming methods like 3D-SURFER and gmfit on benchmark datasets. Top-10 accuracy reached up to ~90% and AUC values up to ~96%.
  • Speed: The PGAR-System can complete a retrieval in under 10 seconds for a database of over 590,000 structures. For a single query, retrieval takes approximately 4-9 seconds, including descriptor computation if the structure is not already in the database. This is a significant speedup compared to traditional alignment methods.
  • TM-score and RMSD: In retrieval tasks, the PGAR-System demonstrated an average TM-score 0.15-0.2 higher and an average RMSD ~1Å lower than 3D-SURFER.
  • Binary Classification: PGAR-Zernike also showed strong performance in binary classification tasks (e.g., distinguishing similar vs. dissimilar structure pairs), with accuracy consistent with its retrieval performance.

Limitations and Future Work

  • GM-Zernike Performance: The paper notes that GM-Zernike did not perform as well on datasets with complex structures, suggesting it might not capture internal structural information effectively.
  • RNA Structure Suitability: While PGAR-Zernike shows good performance on RNA structures, the paper mentions that 3D-SURFER is not suitable for computing descriptors of RNA structures, highlighting a limitation of that specific comparison.
  • Future Work: The authors suggest that PGAR-Zernike can be easily integrated into other structural analysis algorithms, implying future work in extending its applications. The open-source nature of the toolkit also naturally encourages community-driven development and further applications.

Summary updated

Abstract

Abstract With the release of AlphaFold2, protein model databases are growing at an unprecedented rate. Efficient structure retrieval schemes are becoming more and more important to quickly analyze structure models. The core problem in structural retrieval is how to measure the similarity between structures. Some structure alignment algorithms can solve this problem but at a substantial time cost. At present, the state-of-the-art method is to convert protein structures into 3D Zernike descriptors and evaluate the similarity between structures by Euclidean distance. However, methods for computing 3D Zernike descriptors of protein structures are almost always based on structural surfaces and most are web servers, which is not conducive for users to analyze customized datasets. To overcome this limitation, we propose PGAR-Zernike, a convenient toolkit for computing different types of Zernike descriptors of structures: the user simply needs to enter one line of command to calculate the Zernike descriptors of all structures in a customized datasets. Compared with the state-of-the-art method based on 3D Zernike descriptors and an efficient structural comparison tool, PGAR-Zernike achieves higher retrieval accuracy and binary classification accuracy on benchmark datasets with different attributes. In addition, we show how PGA-Zernike completes the construction of the descriptor database and the protocol used for the PDB dataset so as to facilitate the local deployment of this tool for interested readers. We construct a demonstration containing 590685 structures; at this scale, our retrieval system takes only 4 ~ 9 seconds to complete a retrieval, and experiments show that it reaches the state-of-the-art level in terms of accuracy. PGAR-Zernike is an open-source toolkit, whose source code and related data are accessible at https://github.com/junhaiqi/PGAR-Zernike/ .
BibTeX
@misc{qi2023pgar,
  author = {Junhai Qi and Chenjie Feng and Yuling Shi and Jianyi Yang and Fa Zhang and Guojun Li and Renmin Han},
  title = {{PGAR-Zernike: an ultra-fast, accurate and fully open-source structure retrieval toolkit for convenient structural database construction}},
  year = {2023},
  doi = {10.1101/2023.03.18.533250},
  howpublished = {bioRxiv},
}
Figure