FreeSASA is a command line tool, C-library and Python module for calculating solvent accessible surface areas (SASA). Casual users can calculate SASA directly from a PDB file with no configuration overhead using sensible default parameters. Advanced users can configure all calculation parameters and also use the C and Python APIs to perform calculations directly on arrays of coordinates.
Download the latest tarball, expand it and run
$ sudo make install
This installs the binary
freesasa to your path,
freesasa.h to your include path and the library
libfreesasa to your lib-path.
See README for how to build the Python module, and how to disable features you don't want or don't have the dependencies for.
If you got the code directly from the git repo, first
autoreconf -i to create the configure script (this
Tarballs for older versions are attached to the GitHub-releases
After building the package, calling
$ freesasa -h
explains how the command line interface (CLI) can be used.
The reference documentation contains info on most CLI options, the C and Python APIs and some implementation details.
Simon Mitternacht (2016) FreeSASA: An open source C library for solvent accessible surface area calculation.