-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add presets for VdWContact * fix intersphinx_mapping
- Loading branch information
Showing
6 changed files
with
186 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
""" | ||
Constants used by the package for interactions. | ||
""" | ||
|
||
from MDAnalysis.topology.tables import vdwradii | ||
from rdkit.Chem import GetPeriodicTable | ||
|
||
VDWRADII = {symbol.capitalize(): radius for symbol, radius in vdwradii.items()} | ||
|
||
PT = GetPeriodicTable() | ||
RDKIT_VDWRADII = {PT.GetElementSymbol(i): PT.GetRvdw(i) for i in range(1, 119)} | ||
|
||
# Table 1 of https://doi.org/10.1039/C3DT50599E | ||
CSD_VDWRADII = { | ||
"H": 1.2, | ||
"He": 1.43, | ||
"Li": 2.12, | ||
"Be": 1.98, | ||
"B": 1.91, | ||
"C": 1.77, | ||
"N": 1.66, | ||
"O": 1.5, | ||
"F": 1.46, | ||
"Ne": 1.58, | ||
"Na": 2.5, | ||
"Mg": 2.51, | ||
"Al": 2.25, | ||
"Si": 2.19, | ||
"P": 1.9, | ||
"S": 1.89, | ||
"Cl": 1.82, | ||
"Ar": 1.83, | ||
"K": 2.73, | ||
"Ca": 2.62, | ||
"Sc": 2.58, | ||
"Ti": 2.46, | ||
"V": 2.42, | ||
"Cr": 2.45, | ||
"Mn": 2.45, | ||
"Fe": 2.44, | ||
"Co": 2.4, | ||
"Ni": 2.4, | ||
"Cu": 2.38, | ||
"Zn": 2.39, | ||
"Ga": 2.32, | ||
"Ge": 2.29, | ||
"As": 1.88, | ||
"Se": 1.82, | ||
"Br": 1.86, | ||
"Kr": 2.25, | ||
"Rb": 3.21, | ||
"Sr": 2.84, | ||
"Y": 2.75, | ||
"Zr": 2.52, | ||
"Nb": 2.56, | ||
"Mo": 2.45, | ||
"Tc": 2.44, | ||
"Ru": 2.46, | ||
"Rh": 2.44, | ||
"Pd": 2.15, | ||
"Ag": 2.53, | ||
"Cd": 2.49, | ||
"In": 2.43, | ||
"Sn": 2.42, | ||
"Sb": 2.47, | ||
"Te": 1.99, | ||
"I": 2.04, | ||
"Xe": 2.06, | ||
"Cs": 3.48, | ||
"Ba": 3.03, | ||
"La": 2.98, | ||
"Ce": 2.88, | ||
"Pr": 2.92, | ||
"Nd": 2.95, | ||
"Sm": 2.9, | ||
"Eu": 2.87, | ||
"Gd": 2.83, | ||
"Tb": 2.79, | ||
"Dy": 2.87, | ||
"Ho": 2.81, | ||
"Er": 2.83, | ||
"Tm": 2.79, | ||
"Yb": 2.8, | ||
"Lu": 2.74, | ||
"Hf": 2.63, | ||
"Ta": 2.53, | ||
"W": 2.57, | ||
"Re": 2.49, | ||
"Os": 2.48, | ||
"Ir": 2.41, | ||
"Pt": 2.29, | ||
"Au": 2.32, | ||
"Hg": 2.45, | ||
"Tl": 2.47, | ||
"Pb": 2.6, | ||
"Bi": 2.54, | ||
"Ac": 2.8, | ||
"Th": 2.93, | ||
"Pa": 2.88, | ||
"U": 2.71, # noqa | ||
"Np": 2.82, | ||
"Pu": 2.81, | ||
"Am": 2.83, | ||
"Cm": 3.05, | ||
"Bk": 3.4, | ||
"Cf": 3.05, | ||
"Es": 2.7, | ||
} | ||
|
||
VDW_PRESETS = { | ||
"mdanalysis": VDWRADII, | ||
"rdkit": RDKIT_VDWRADII, | ||
"csd": CSD_VDWRADII, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters