This is the repository for the PyRESP (Python Restrained Electrostatic Potential) program. This program fits the quantum mechanically calculated electrostatic potential at molecular surfaces using electrostatic models with atom-centered (1) permanent charges and (2) induced dipoles and (3) permanent dipoles. The molecular surfaces should be generated beyond Van der Waal surface in order to minimize other contributions such as exchange repulsion and charge transfer.
PyRESP version 1.0 Feb 2022 - Shiji Zhao
RESP version 2.4 Nov 2013 - q4md-forcefieldtools.org
RESP version 2.2 Jan 2011 - q4md-forcefieldtools.org
RESP version 2.1 Oct 1994 - Jim Caldwell
RESP version 2.0 Sep 1992 - Christopher Bayly
ESPFIT version 1.0 (modified) - Ian Gould
ESPFIT version 1.0 - U.Chandra Singh and P.A.Kollman
This program runs with Python 3. To run this program, make sure the following dependencies are installed:
- numpy: A Python library supporting for large, multi-dimensional arrays and matrices.
- scipy: A Python library used for scientific computing and technical computing.
- f90nml: A Python module providing interface for reading, writing, and modifying Fortran namelists.
The following command should install all required libraries:
$ pip install numpy scipy f90nml
The tutorial of using py_resp.py for electrostatic parameterizations for pyridoxal phosphate (PLP) can be found on:
Note that following this tutorial requires the installation of AmberTools, which also contains:
- The
pyresp_gen.pyprogram for automatically generating input files forpy_resp.py(Ther standalone version ofpyresp_gen.pyis available here); - The
espgenprogram for converting Gaussian output files to esp input files forpy_resp.py.
The full documentation of pyresp_gen.py and py_resp.py is available in page 358 of Amber 2023 manual.
Four test cases are provided which covers a range of posibilities. Run the following script in each subfolder under test for testing.
$ ./py_resp.run
- Models: resp, resp-ind, resp-perm and resp-perm-v.
- Test: One-stage fitting on a single conformation.
- Models: resp, resp-ind, resp-perm and resp-perm-v.
- Test: One stage fitting on a single conformation. No total charge constraint applied.
- Models: resp, resp-ind and resp-perm.
- Test: Two stage fitting on a single conformation. Intra-molecular fractional charge constraint applied.
- Note: A peptide-type residue with consistent constraints with Cornell et al. '95 force fields.
- Models: resp, resp-ind and resp-perm.
- Test: Two stage fitting on a two conformations. Inter-molecular fractional charge constraint applied.
- Note: Two 2-Methyl-3-naphthylpropionic acid molecules fitted together to obtain charges for the "super molecule" bis-(naphthyl-1-methyl) acetic acid.
To cite PyRESP, see the following publication: