schrodinger.application.desmond.torsion_related module¶
-
class
schrodinger.application.desmond.torsion_related.
TorsionPotential
(a1, a2, a3, a4, cms, lig_atoms, results=None, calc_tors=True)[source]¶ Bases:
object
A class to contain the atom numbers for each torsion
-
dih
= None¶
-
-
class
schrodinger.application.desmond.torsion_related.
BondRotator
(st, rb_atoms, angle_diff=10, ff=16, debug=False, canonicalize=True, sampling=True)[source]¶ Bases:
object
perform RB scan
-
__init__
(st, rb_atoms, angle_diff=10, ff=16, debug=False, canonicalize=True, sampling=True)[source]¶ Initialize self. See help(type(self)) for accurate signature.
-
potential
(conf=None, degree=True)[source]¶ get potential energy corresponding to ‘conf’ :param conf: conformation in degrees to get corresponding potential :type conf: float
:rtype float
-
-
schrodinger.application.desmond.torsion_related.
get_old2new
(st, prop='i_m_original_index')[source]¶ Get dictionary for atom-level property ‘prop’ as a key, and return it’s new atom index (aid)
-
exception
schrodinger.application.desmond.torsion_related.
IncompleteFragmentError
[source]¶ Bases:
Exception
-
__init__
(*args, **kwargs)¶ Initialize self. See help(type(self)) for accurate signature.
-
args
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
schrodinger.application.desmond.torsion_related.
get_rb_potential
(cms_model, lig_aids, a1, a2, a3, a4)[source]¶
-
schrodinger.application.desmond.torsion_related.
rb_potential_from_struct
(lig_st, tor_sys_idx)[source]¶ Creates bond rotator object to calculate torsional potential for a given structure. The input structure should have ‘ORIGINAL_INDEX’ property.
- Parameters
lig_st (structure.Structure) – ligand structure
tor_sys_idx – list of atom indices to define torsion
:type tor_sys_idx
- Returns
bond rotator object
- Return type