2020-11-19 21:33:00 +00:00
2020-09-18 13:22:04 -07:00
2020-10-01 19:51:07 -07:00
2020-09-09 11:57:06 -07:00
2020-11-12 14:38:23 -08:00
2020-08-31 03:47:09 -04:00
2020-07-05 08:04:24 -07:00
2020-04-23 15:06:50 -04:00
2020-04-23 11:45:39 -07:00
2020-11-12 14:38:23 -08:00

APBS - Adaptive Poisson-Boltzmann Solver

Documentation Status Appveyor Build Status Github Action Build Status

This repository contains the APBS software.

For more information about APBS, please see

Python Package

Note: under heavy devlopment

Development dependencies:

  • SWIG >4.0
  • GCC capable of C++17 (recommended >=7.5.0)
  • pip >=19

To install the python package, use the following:

$ python setup.py build
$ python setup.py install

To use the python module:

>>> import apbs
>>>
>>> # access bits of APBS already ported to python
>>> from apbs import (
>>>     chemistry,
>>>     geometry,
>>>     grid,
>>>     multigrid,
>>>     pqr,
>>>     )
>>>
>>> # To access swig bindings to the C code:
>>> from apbs.bindings.swig import *
>>>
>>> # To access pybind bindings to the C code:
>>> from apbs.bindings.pybind import *
>>>
>>> # To get path to binaries:
>>> apbs.bin.get_path()
>>>
>>> # To get path to libraries:
>>> apbs.lib.get_path()

Or, to run apbs binaries directly without having to change your path:

$ # run apbs on the input file `input.mol`, and 
$ python -m apbs apbs input.mol
$
$ # return the help message for the apbs binary.
$ python -m apbs apbs --help
$
$ # view available binaries
$ python -m apbs --list
Description
Languages
C 66.5%
Python 10.7%
MATLAB 10.6%
Rich Text Format 2.6%
Fortran 2.6%
Other 7%