powersasa 0.1.0

SASA and molecular volume computation using Power diagrams
Documentation
  • Coverage
  • 63.89%
    46 out of 72 items documented0 out of 21 items with examples
  • Size
  • Source code size: 1.17 MB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 5.83 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 1m 4s Average build duration of successful builds.
  • all releases: 1m 3s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • yesint

powersasa

powersasa is a Rust crate for solvent-accessible surface area (SASA) and molecular volume computation based on a 3D weighted power diagram (Laguerre/Voronoi) formulation.

Implemented algorithm

This crate implements the Power-SASA method as described in the original paper:

  • Atoms are modeled as spheres (typically van der Waals radius + probe radius).
  • A weighted power diagram is built for the atom set
  • per-atom exposed spherical contours are reconstructed from local diagram topology.
  • Contour integrals are used to compute:
    • per-atom and total SASA
    • per-atom and total volume

Provenance

The Rust code is an LLM-assisted translation (GPT-5.2-Codex) of the legacy C++ implementation. Originally C++ code was taken from SIMONA packege. Now this code is open sourced and available on GitHub, so original restrictive licence do not apply. Original C++ code (stored in legacy/initial) was first heavily refactored with Codex to get rid of the pointer-based logic. The final C++ code is stored in legacy/current Then the code was converted to Rust.

LLM translation preserved the original logic as much as possible, so all credits to the implementation of the algorithm should still be attibuted to original authors.

Project layout

  • src/: Rust implementation
  • tests/: integration tests and golden test data
  • legacy/: C++ history and reference snapshots

License

LGPLv3 (see LICENSE).