Trees | Indices | Help |
|
---|
|
Functions for analyzing Structure objects.
AslLigandSearcher is a class that identifies putative ligands in a structure. Each putative found ligand is contained in a Ligand instance.
There are also a number of functions for using SMARTS, ASL, and SMILES (e.g. evaluate_smarts or generate_smiles). Other functions return information about a structure (i.e. get_chiral_atoms or hydrogens_present). There are also several SASA (Solvent Accessible Surface Area) functions (i.e. calculate_sasa_by_atom and calculate_sasa).
See also the discussion in the Python API overview.
Copyright: Schrodinger, LLC. All rights reserved.
|
|||
AslLigandSearcher Search a Structure instance for putative ligands with an Atom Selection Language expression. |
|||
Ligand A putative AslLigandSearcher ligand structure with read-only data and convenience methods. |
|
|||
dict |
|
||
list |
|
||
|
|||
|
|||
(bool, str) |
|
||
list |
|
||
list |
|
||
list |
|
||
str |
|
||
bool |
|
||
list |
|
||
generator |
|
||
list |
|
||
bool |
|
||
|
|||
str |
|
||
|
|||
str |
|
||
bool |
|
||
list |
|
||
list |
|
||
str |
|
||
bool |
|
||
bool |
|
||
bool |
|
||
iterator of tuples |
|
||
int |
|
||
list of (int, int) |
|
||
int |
|
||
list |
|
||
|
|||
list |
|
||
float |
|
||
list |
|
||
|
|||
list |
|
||
numpy array
|
|
||
tuple |
|
||
list |
|
||
structure.Structure |
|
||
List of int lists |
|
||
List of int lists |
|
|
|||
smiles = None hash(x) |
|||
_canvas_license = None hash(x) |
|||
_canvas = None hash(x) |
|||
logger = log.get_logger("schrodinger.structutils.analyze")
|
|||
_initializer = mminit.Initializer([mm.mmstereo_initialize, mm.
|
|||
__package__ =
|
|
Return a dictionary of chiral atoms, for which the key is the atom index and the value is one of the following strings: "R", "S", "ANR", "ANS", "undef". ANR and ANS designate "chiralities" of non-chiral atoms that are important for determining the structure of the molecule (ex: cis/trans rings).
|
Search for substructures in Structure This function uses the mmlib implementation (mmpatty) of SMARTS matching. See also evaluate_smarts_canvas, which uses the Canvas libraries to
evaluate SMARTS patterns. This function may be deprecated in favor of the
Returns a list of lists of ints. Each list of ints is a list of atom indices matching the SMARTS pattern.
|
Initialize _canvas and smiles variables. Since the canvas modules may take some time to import, before it an function loading time. |
Check whether a SMARTS pattern is valid or not.
|
Evaluate SMARTS patterns using the Canvas libraries. Returns a list of lists of ints. Each list of ints is a list of atom indices matching the SMARTS pattern.
|
Search for multiple SMARTS substructures in Structure Return a list of lists of ints. Each list of ints is a list of atom indices matching a SMARTS pattern. The multiple SMARTS patterns are combined into one list.
|
Search for the MacroModel-style substructure expression in Structure
|
Generate and return an atom expression for the atoms in Structure
|
Validate the given ASL expression. This is useful for validating an ASL when a structure object is not available - for example when validating a command line option. NOTE: A warning is also printed to stdout if the ASL is not valid.
|
Search for substructures matching the ASL (Atom Specification
Language) string
|
Return atoms matching the ASL string
|
Return the smallest set of smallest rings (SSSR) in
See also the schrodinger.structure.Structure.find_rings method and the schrodinger.structure.Structure.ring iterator. This method may be deprecated at some point in favor of those methods. The return value is a list of lists of ints. Each list of ints corresponds to a ring, and the integer values are the atom indices.
|
Return True if all hydrogens are present in Structure Since all modern force fields require hydrogens, this is a good check to make sure that a structure is ready for force field calculations. This function is implemented by checking to see if the structure can be used as-is in a calculation with OPLS2003.
Warning: Requires atom types to be correct. Consider calling {Structure.retype} first. |
Return a SMILES string for For more options, see the schrodinger.structutils.smiles.SmilesGenerator class.
|
Deprecated: Use generate_smarts_canvas instead. |
Return a SMARTS pattern for atoms
|
Return True if atom1-atom2 represents an H-bond where either atom1 or atom2 is the acceptor heavy atom, and the other atom is the donor hydrogen. To match as hydrogen bond,
If the atom1-atom2 distance is already known it can be specified as 'distance', otherwise it will be calculated by this function.
|
Generate crystal mates for the input Structure Return a list of structures that represent the crystal mates. (Note that the first item in the list represents the identity transformation and as such will be identical to the input structure.) All crystal mates within The crystal parameters can be specified as parameters to this function or can be standard PDB properties of the input structure. If the structure was read from a PDB file then these crystal properties will usually be present. The group_radius is used in the crystal mates calculation to determine whether a symmetric element is in contact with the ASU. There should be little reason to change the default value of 14.0.
|
Search the specified structure for overlapping atoms. Returns a list of (atom1index, atom2index) tuples.
|
Return a string for the molecular formula in Hill notation for the
|
Determine whether an atom might be in a rotatable bond.
|
Determine whether a bond is a ring edge.
|
Return True if specified bond is rotatable, False otherwise. A bond is considered rotatable if all of the following are true...
|
Return an iterator for rotatable bonds (atomnum1, atomnum2) in the structure. See the is_bond_rotatable function description for which bonds are considered rotatable.
|
Return the number of rotatable bonds in the Structure
|
Iterate over hydrogen bond between the atoms specified by the
NOTE: This function has been updated to simply act as a wrapper to hbond.get_hydrogen_bonds to ensure that hbonds are determined consistently.
|
Calculate the the number of hydrogen bonds in If NOTE: This function is now simply a wrapper to the more flexible schrodinger.structutils.interactions.hbond.get_num_hbonds.
|
Find atoms in the structure that are equivalent. For example, all three hydrogens on a methyl group are equivalent. Returns a list, each value of which is a list of atoms that are equivalent.
|
Deprecated: This function only returns a rough approximation to the solvent accessible surface area. Please use the calculate_sasa function instead. |
Calculate the solvent-accessible surface area (SASA) for the whole structure, or an atom subset, and then group them by residue.
|
Calculate the solvent-accessible surface area (SASA) for the whole structure, or an atom subset.
|
Calculate the solvent-accessible surface area (SASA) for each atom in the given structure, and returns a list of floats.
Warning: water and solvent atoms are currently NOT ignored when calculating SASA, so it's advisable to remove them from the structure before calling this function. |
Deprecated: Deprecated in favor of calculate_sasa, which is more accurate. |
Simple function interface for AslLigandSearcher class. |
Get the x, y, z coordinates for the center of mass. This can be limited to a subset of atoms.
|
Calculate the principal moments of inertia for a list of atoms. This is calculated with respect to the x, y, and z coordinates of the atom's center of mass.
|
Find the shortest path of bonded atoms that connects atom1 to atom2 The conversion of this routine to use networkx rather than scipy resulted in a dramatic reduction in both time and memory usage.
|
Calculate the average structure between the given conformers.
|
Find the maximum substructure that is common between all specified CTs. NOTE: This function becomes exponentioally slow with larger number of structures. Recommened maximum around 30 structures.
|
Find the maximum common substructures for each pair of the given CTs. NOTE: This function becomes exponentioally slow with larger number of structures. Recommened maximum around 30 structures.
|
|
_initializer
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Apr 26 05:41:39 2016 | http://epydoc.sourceforge.net |