Skip to main content

zsasa

High-performance SASA calculation in Zig

Up to 10x Faster than FreeSASA C

Process 4,370 E. coli structures in 1.4s, 23,586 human proteome structures in 14s. SIMD-optimized with bitmask LUT neighbor lists and multi-threading. 3.7x faster than RustSASA, 7x less memory.

See batch benchmarks →

Zero Dependencies

Pure Zig with no external libraries. Single zig build command. Python wheels available on PyPI for Linux, macOS, and Windows.

Install in 30 seconds →

Two Algorithms

Shrake-Rupley (fast, recommended) and Lee-Richards (precise). Selectable f64/f32 precision.

Multiple Formats

mmCIF, PDB, and JSON input. XTC and DCD trajectory support with automatic unit conversion.

Python Bindings

NumPy integration with Gemmi, BioPython, Biotite, MDTraj, and MDAnalysis support.

Analysis Tools

Per-residue aggregation, RSA calculation, and polar/nonpolar classification with three built-in classifiers.

Batch & Trajectory

Native directory batch processing and MD trajectory analysis. Proteome-scale datasets in seconds.

Cross-Platform

Linux, macOS, and Windows. CLI binary, Python package on PyPI, and native Zig library with interactive autodoc.