|
|
debug(txt)
For general debug messages |
|
|
|
|
debuggroup(msg)
For debugging group bond assignments |
|
|
|
|
debugbonders(msg)
For debugging aromatic ring assignments |
|
|
|
|
debugbond(msg)
For debugging code that calculates bond "scores" |
|
|
|
|
| _add_bond_entry(d,
pdbname1,
pdbname2,
order) |
|
|
|
|
isMetal(atom)
Returns True if the supplied atomic_number is for a metal |
|
|
|
|
get_atom_radius(atom)
Returns the radius of the atom, given the atomic number. |
|
|
|
|
|
|
|
get_neighbors(st,
atom)
Returns a list of atoms that <atom> is bound to. |
|
|
|
|
|
|
|
calculate_dihedral(st,
a1,
a2)
Calculates the average dihedral angle of the bond between the
specified atoms. |
|
|
|
|
order_ring_or_chain(st,
atoms)
This function orders the atoms in the ring or chain by bonding order. |
|
|
|
|
| do_rings_share_atoms(r1,
r2) |
|
|
|
|
| get_rings_in_group(ring,
rings_to_check) |
|
|
|
|
| _assign_templated_residue(res,
atoms,
het_templates,
charges_dict) |
|
|
|
|
| _residue_atom_subset(res,
atoms) |
|
|
|
|
assign_st(st,
atoms=None,
neutralize=False,
problem_only=False,
skip_assigned_residues=True)
Performes the fix-bond-order algorithm on the supplied st. |
|
|
|
|
_genBondsDict(st,
atoms)
Generates the state dictionary for the specified st. |
|
|
|
|
orders_assigned(st,
atoms=None,
all=False)
Returns True if all bond orders are OK in the specified structure. |
|
|
|
|
DEBUG = False
|
|
|
logger = log.get_output_logger("schrodinger.structutils.assign...
|
|
|
DEBUG_AROMATIC = True
|
|
|
DEBUG_BOND_SCORE = False
|
|
|
DEBUG_GROUP = True
|
|
|
_template_strings = {'HEC ': '\n"FE " " N A" 0\n"FE " " N B"...
|
|
|
_charges_string = '\n"HEC " " O2D" -1\n"HEC " " O2A" -1\n"HEC ...
|
|
|
_new_pdb_names = {' N A': ' NA ', ' N B': ' NB ', ' N C': ' NC...
|
|
|
maxvalence = [0, 1, 1, 1, 2, 6, 4, 4, 2, 1, 1, 1, 2, 8, 8, 8, ...
|
|
|
alkali_metals = [3, 11, 19, 37, 55, 87]
|
|
|
alkaline_earth_metals = [4, 12, 20, 38, 56, 88]
|
|
|
lanthanide_series = [21, 39, 57, 58, 59, 60, 61, 62, 63, 64, 6...
|
|
|
actinide_series = [89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99,...
|
|
|
transition_metals = [22, 23, 24, 25, 26, 27, 28, 29, 30, 40, 4...
|
|
|
other_metals = [13, 31, 32, 49, 50, 51, 81, 82, 83, 84]
|
|
|
all_metals = [3, 11, 19, 37, 55, 87, 4, 12, 20, 38, 56, 88, 21...
|
|
|
ASSIGNED_AROMATIC = 0
|
|
|
NOT_AROMATIC = 1
|
|
|
NOT_ASSIGNED = 2
|
|
|
__package__ = 'schrodinger.structutils'
|