1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119
|
#!/usr/bin/python3
"""
The use of continuum solvation methods such as APBS requires accurate and
complete structural data as well as force field parameters such as atomic
charges and radii. Unfortunately, the limiting step in continuum electrostatics
calculations is often the addition of missing atomic coordinates to molecular
structures from the Protein Data Bank and the assignment of parameters to these
structures. To adds this problem, we have developed PDB2PQR. This software
automates many of the common tasks of preparing structures for continuum
solvation calculations as well as many other types of biomolecular structure
modeling, analysis, and simulation. These tasks include:
* Adding a limited number of missing heavy (non-hydrogen) atoms to biomolecular
structures.
* Estimating titration states and protonating biomolecules in a manner
consistent with favorable hydrogen bonding.
* Assigning charge and radius parameters from a variety of force fields.
* Generating "PQR" output compatible with several popular computational
modeling and analysis packages.
This service is intended to facilitate the setup and execution of
electrostatics calculations for both experts and non-experts and thereby
broaden the accessibility of biomolecular solvation and electrostatics analyses
to the biomedical community.
"""
from sys import version_info
from setuptools import find_packages, setup
# NOTE: The following reads the version number and makes
# if available to the packaging tools before installation.
# REF: https://stackoverflow.com/questions/458550/standard-way-to-embed-version-into-python-package # noqa: E501
# This makes __version__ valid below
with open("pdb2pqr/_version.py") as fobj:
exec(fobj.read())
if version_info[:2] < (3, 8):
raise RuntimeError("Python version >= 3.8 is required.")
with open("README.md", "r") as fobj:
LONG_DESCRIPTION = fobj.read()
setup(
name="pdb2pqr",
version=__version__, # noqa: F821
author="Jens Erik Nielsen, Nathan Baker, and many others.",
author_email="nathanandrewbaker@gmail.com",
description=(
"Automates many of the common tasks of preparing structures for "
"continuum solvation calculations as well as many other types of "
"biomolecular structure modeling, analysis, and simulation."
),
long_description=LONG_DESCRIPTION,
long_description_content_type='text/markdown',
install_requires=[
"mmcif_pdbx>=1.1.2",
"numpy",
"propka >= 3.5",
"requests",
"docutils"
],
url="http://www.poissonboltzmann.org",
packages=find_packages(
exclude=["pdb2pka", "*.pdb2pka", "pdb2pka.*", "*.pdb2pka.*"]
),
package_data={"pdb2pqr": ["dat/*.xml", "dat/*.DAT", "dat/*.names"]},
python_requires=">=3.5",
extras_require={
"dev": ["check-manifest"],
"test": [
"black",
"coverage",
"flake8",
"pandas >= 1.0",
"pytest",
"testfixtures",
],
},
tests_require=[
"pandas >= 1.0",
"pytest",
"testfixtures",
],
test_suite="tests",
license="BSD",
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Topic :: Scientific/Engineering :: Chemistry",
],
project_urls={
"Documentation": "https://pdb2pqr.readthedocs.io/",
"Get help": "https://github.com/Electrostatics/pdb2pqr/issues",
"Publications": "https://pubmed.ncbi.nlm.nih.gov/?term=R01+GM069702",
"Funding": "https://bit.ly/apbs-funding",
"Source": "https://github.com/Electrostatics/pdb2pqr",
},
keywords="science chemistry molecular biology",
entry_points={
"console_scripts": [
"pdb2pqr=pdb2pqr.main:main",
"pdb2pqr30=pdb2pqr.main:main",
"dx2cube=pdb2pqr.main:dx_to_cube",
"inputgen=pdb2pqr.inputgen:main",
]
},
)
|