Patch-Based Ray Tracing in NanoShaper Boosts Molecular Surface Computation

NanoShaper (NS) is a widely used tool that leverages ray tracing for molecular surface triangulation, pocket detection, and supports Poisson-Boltzmann equation solvers. By retaining the established methodological framework and implementing a targeted redesign, our approach achieves performance gains of up to 12.5× and memory reductions of up to 8×, enabling the triangulation of complexes containing millions of atoms on relatively modest computational architectures in a short time. The key innovation is a patch-based ray tracing algorithm that replaces the traditional ray-sweeping approach. By iterating over surface patches rather than rays, this method enhances cache performance and removes the need for memory-intensive grids for patch localization, yielding major reductions in memory usage. Further optimizations include the parallelization of the analytical solvent-excluded surface (SES) construction and the replacement of uniform grids and octrees with bilevel grids and/or compressed buffers. We also introduce an analytical ray-torus intersection scheme based on an exact quartic solution, which improves both accuracy and computational efficiency. The updated version (v1.5) additionally provides a public C++ API for seamless integration with external tools. The tool is available at https://gitlab.iit.it/SDecherchi/nanoshaper. Results on more than 1500 structures and on a multimillion atom complex (e.g., the H1N1 virus) confirm speed and accuracy achievements.

Authors

Institutions

Publication Details

Journal
Journal of Chemical Information and Modeling
Published
2025-12-23
DOI
https://doi.org/10.1021/acs.jcim.5c02287
Primary Topic
Protein Structure and Dynamics
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Patch-Based Ray Tracing in NanoShaper Boosts Molecular Surface Computation

Sergio Decherchi, Vincenzo Di Florio, Marco Mazzeo, Walter Rocchia
Journal of Chemical Information and Modeling
Protein Structure and Dynamics
article

Patch-Based Ray Tracing in NanoShaper Boosts Molecular Surface Computation

Sergio Decherchi, Vincenzo Di Florio, Marco Mazzeo, Walter Rocchia
article en

Abstract

NanoShaper (NS) is a widely used tool that leverages ray tracing for molecular surface triangulation, pocket detection, and supports Poisson-Boltzmann equation solvers. By retaining the established methodological framework and implementing a targeted redesign, our approach achieves performance gains of up to 12.5× and memory reductions of up to 8×, enabling the triangulation of complexes containing millions of atoms on relatively modest computational architectures in a short time. The key innovation is a patch-based ray tracing algorithm that replaces the traditional ray-sweeping approach. By iterating over surface patches rather than rays, this method enhances cache performance and removes the need for memory-intensive grids for patch localization, yielding major reductions in memory usage. Further optimizations include the parallelization of the analytical solvent-excluded surface (SES) construction and the replacement of uniform grids and octrees with bilevel grids and/or compressed buffers. We also introduce an analytical ray-torus intersection scheme based on an exact quartic solution, which improves both accuracy and computational efficiency. The updated version (v1.5) additionally provides a public C++ API for seamless integration with external tools. The tool is available at https://gitlab.iit.it/SDecherchi/nanoshaper. Results on more than 1500 structures and on a multimillion atom complex (e.g., the H1N1 virus) confirm speed and accuracy achievements.

Journal of Chemical Information and ModelingVol. 66(1)
Italian Institute of Technology (IT), Politecnico di Milano (IT)
Industry, innovation and infrastructure
Openalex Percentile: Top 37%
Protein Structure and Dynamics
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.