Find salt-bridge interactions.
Note that when searching for salt bridges within a single
structure/group of atoms, this class assumes that atoms within the same
residue cannot be involved in a salt bridge with each other. This avoids
incorrectly identifying a salt bridge between neighboring ions in a
ligand (ex. ions that are within the distance cutoff because they are
within 3 bonds of each other.)
|
|
__init__(self,
cutoff=4.0)
Initialize a SaltBridgeFinder using the specified distance cutoff |
|
|
|
iter
|
calculateInter(self,
struc1,
group1,
struc2,
group2)
Return an iterator that provides salt bridges between two groups of
atoms |
|
|
|
iter
|
calculateIntra(self,
struc,
atoms,
ignore_same_res=True)
Return an iterator that provides salt bridges within a group of atoms |
|
|
|
tuple
|
_findChargedAtoms(self,
struc,
atom_num_list)
Find all charged atoms in the specified list of atoms |
|
|
|
|
_checkAtomCharge(self,
cur_res,
anions,
cations,
ignore_o=False)
Add all ions in the current residue to the appropriate list |
|
|
|
float
|
_sumPartialCharges(self,
atom)
Sum the partial charges for a heavy atom and all bound hydrogens |
|
|
|
|
_safeExtend(self,
append_to,
atoms,
atom_names)
Extend an ion list with the specified atom indices, assuming the
atoms exist. |
|
|
|
|
_sbIterator(self,
struc1,
ions1,
ions2,
cell_handle=None,
delete_dist_cell=True,
dist=None,
check_same_res=False)
Create an iterator that will iterate through salt bridges |
|
|
|
|
_sameRes(self,
struc,
atom1_num,
atom2_num)
Determine if two atoms are in the same residue |
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|
|
|
PROT_CATIONS = {'ARG': set(['NH1', 'NH2']), 'HID': set(['NE2']...
A dictionary of {residue name: set of atom names} for all potential
salt bridge cations in standard amino acids
|
|
|
PROT_ANIONS = {'ASP': set(['OD1', 'OD2']), 'GLU': set(['OE1', ...
A dictionary of {residue name: set of atom names} for all potential
salt bridge anions in standard amino acids.
|
|
set
|
STANDARD_AAS = set(['ACE', 'ALA', 'ARG', 'ASN', 'ASP', 'CYS', ...
A list of residues to be considered standard amino acids.
|
|
set
|
RES_TO_IGNORE = set(['HOH'])
Any residues on this list are assumed to contain no ions.
|
|
|
_warned = False
hash(x)
|