1 unstable release

0.1.12 Apr 10, 2024
0.1.11 Apr 10, 2024
0.1.10 Feb 14, 2023

#109 in Biology

Download history 4/week @ 2024-02-16 10/week @ 2024-02-23 3/week @ 2024-03-01 6/week @ 2024-03-08 19/week @ 2024-03-15 5/week @ 2024-03-29 202/week @ 2024-04-05

227 downloads per month
Used in freesasa-rs

Custom license

5MB
35K SLoC

C 16K SLoC // 0.1% comments C++ 14K SLoC // 0.0% comments Python 3.5K SLoC // 0.1% comments M4 743 SLoC // 0.2% comments FORTRAN Modern 344 SLoC Shell 223 SLoC // 0.2% comments F# 209 SLoC // 0.0% comments Perl 169 SLoC // 0.3% comments Automake 113 SLoC Happy 87 SLoC Rust 68 SLoC // 0.2% comments Visual Studio Solution 34 SLoC JavaScript 12 SLoC Forge Config 5 SLoC // 0.7% comments

Contains (obscure autoconf code, 7KB) freesasa/configure.ac

FreeSASA FFI

This crate provides raw FFI bindings to the freesasa C library, developed by Simon Mitternacht [1]. FreeSASA allows you to calculate the solvent accessible surface area (SASA) of a protein from its atomic coordinates. The library is written in C, and is available under the MIT license.

The bindings in this crate are automatically generated by bindgen. Since this crate provides raw access to a C-library, it is on the user to ensure that memory safety is maintained.

For most uses it is recommended to use the RustSASA crate (which is currently not publicly available). RustSASA aims to provide a safe idiomatic way of working with freesasa from within Rust.

Please contact me via email, ow257@cam.ac.uk, if you are interested in access to RustSASA.

Docs

https://ch.uniofcam.dev/sormanni/freesasa_sys

License

The MIT license

References

[1] Simon Mitternacht (2016) FreeSASA: An open source C library for solvent accessible surface area calculations. F1000Research 5:189. (doi: 10.12688/f1000research.7931.1)

Dependencies