NanoShaperWeb: Molecular Surface and Pocket Detection Made Visual

Carlo Abate, Eleonora Serra, Walter Rocchia, Andrea Cavalli, Sergio DecherchiJournal of Chemical Information and Modeling 2025

TL;DR

NanoShaperWeb is a new web server that makes it easy to analyze molecular surfaces and detect protein pockets, crucial steps in drug discovery. It streamlines a complex process by providing an intuitive interface, interactive visualization, and automated descriptor generation, eliminating the need for manual postprocessing of data.

What Problem Does This Paper Address?

Identifying functional sites and protein cavities is a cornerstone of structural biology and drug discovery. This is especially important for targeting allosteric sites or designing novel therapeutics like PROTACs. Accurately measuring properties like volume, surface area, and chemical descriptors of these pockets helps researchers understand protein function and optimize drug candidates. Historically, the tools available for this analysis often produced raw text output files that required extensive, time-consuming manual processing. This created a bottleneck in the research workflow, hindering rapid exploration and iteration. NanoShaperWeb aims to bridge this gap by offering a user-friendly, web-based platform that automates these complex analyses and presents the results in an easily digestible, visual format.

Methods

NanoShaperWeb builds upon the existing NanoShaper tool, which is known for its accuracy in molecular surface analysis and speed in pocket detection due to its multicore parallel code. The web server architecture is microservices-based, comprising three main components: the NanoShaper executable, a Flask-based web server, and a browser application.

  • NanoShaper: This core component performs the heavy lifting of molecular surface computation (using definitions like van der Waals, Connolly-Richards, and solvent-excluded surface) and pocket detection. Pocket detection involves calculating volumetric differences between surfaces generated with different probe radii, followed by cleanup and flood-filling algorithms to isolate individual pockets and closed cavities.
  • Descriptors Builder: This is a separate postprocessing tool that runs after NanoShaper. It characterizes detected pockets by computing DrugPred-based geometric and chemical descriptors. These include properties like hydrogen-bond donor/acceptor surface areas, hydrophobic surface areas, compactness (how spherical a pocket is), and amino acid composition.
  • Web Server & Frontend: The Flask web server handles HTTP requests, user sessions, and job orchestration. The browser application provides an interactive user interface built with HTML5, CSS, and vanilla JavaScript. 3D visualization is powered by 3DMol.js, allowing for interactive exploration of surfaces and pockets. A job queue system manages computational tasks, ensuring efficient processing.

Datasets

Not discussed in the paper. The primary input is user-provided protein structures in PDB or PDBx/mmCIF format, or fetched directly from the PDB database using a PDB ID.

Key Insights and Ideas

  • Democratizing Pocket Analysis: The most significant contribution is making sophisticated molecular surface and pocket detection accessible to a broader research community without requiring specialized software installation or complex command-line operations.
  • Visual First Approach: By integrating interactive 3D visualization directly with the analysis results, NanoShaperWeb dramatically improves the understanding and interpretation of pocket features. Researchers can immediately see the pockets and their properties.
  • Streamlined Workflow: The elimination of manual text file postprocessing is a major win. This automation accelerates the entire drug design pipeline, from initial target identification to lead optimization.
  • Integrated Descriptors: The inclusion of DrugPred descriptors directly alongside geometric information provides a richer dataset for downstream analysis, particularly for machine learning applications in drug discovery.

Key Results

The paper demonstrates the functionality of NanoShaperWeb using the T4 lysozyme L99A/M102Q protein (PDB ID: 2RBN) as an example. The output includes:

  • Multiple Surface Visualizations: Users can visualize the protein surface using Connolly-Richards, skin, blobby, and van der Waals surfaces.
  • Highlighted Pockets and Cavities: Detected pockets and cavities are automatically highlighted on the surface in distinct colors, with options to visualize entrances.
  • Interactive Pocket Table: A table lists detected pockets, allowing users to sort by metrics like volume and surface area, and to view detailed descriptors for each pocket.
  • Downloadable Results: Users can download surface mesh files, individual pocket PDB files, and a CSV file containing pocket descriptors, ready for further analysis or machine learning.

Limitations and Future Work

  • Session Data Retention: All sessions and data are automatically deleted after 7 days, which might be a limitation for long-term data archiving.
  • Extended PDB Identifier Format: Support for the new extended PDB identifier format is planned for future releases.
  • Web Workers Fallback: The application includes fallback mechanisms for when web workers are unavailable, but the primary implementation relies on them for performance.

Future work could involve expanding the types of descriptors available, integrating more advanced analysis tools, and potentially increasing the data retention period for user sessions.

Summary updated

BibTeX
@article{abate2025nanoshaperweb,
  author = {Carlo Abate and Eleonora Serra and Walter Rocchia and Andrea Cavalli and Sergio Decherchi},
  title = {{NanoShaperWeb: Molecular Surface and Pocket Detection Made Visual}},
  journal = {Journal of Chemical Information and Modeling},
  year = {2025},
  url = {https://openreview.net/forum?id=KZ0VRmrkdN},
}
Figure