Trees | Indices | Help |
|
---|
|
Functions for modifying chemical structures.
Copyright Schrodinger, LLC. All rights reserved.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
dict |
|
||
|
|||
|
|||
|
|||
structure.Structure |
|
||
|
|||
|
|
|||
_initializer = mminit.Initializer([mm.mmbuild_initialize, mm.m
|
|||
__package__ =
|
|
Find an atom with PDB name <name> attached to the atom <atom>. An atom object for the first matching atom is returned. If no such atom is found, ValueError is raised. |
Perform a connect between the atoms in the CT "st" based on the heavy atoms in atomlist1 and those in atomlist2. Usually each list will contain one atom each, from different molecules. Hydrogens bound to the specified atoms are removed as necessary, and the molecule of atomlist2 will be rotated and translated such that the newly formed bond(s) are proper length, and bond angles are valid. Returns a dictionary of atom renumbering. Keys are old atom numbers, values are new atom numbers (or None if the atom was deleted, i.e. a hydrogen). |
Attach fragment <fragname> of group <fraggroup> to <fromatom> in place of atom <toatom>. Will use growbond atom labels in the incoming fragment. Optionally specify a <direction> string. Usually one of the following: 'forward', 'backward', 'forward(N-to-C)', 'backward(C-to-N)'. Returns a dictionary of atom renumbering. Keys are old atom numbers, values are new atom numbers (or None if the atom was deleted, i.e. a hydrogen). |
Grow for fragments with multiple connections, such as two-stranded DNA & RNA. The st is the structure to which to add the fragment. The frag handle is an mmfrag instance of the fragment to grow. Returns a tuple of (new-grow-atom-1, new-grow-atom-2, renumber-map). The new-grow-atom-1 and new-grow-atom-2 are lists that match the renumbered atoms corresponding to grow_atoms1 and grow_atoms2. The reunumber map is a dictionary of atom renumbering. Keys are old atom numbers, values are new atom numbers (or None if the atom was deleted, i.e. a hydrogen). |
Similar to attach_fragment(), but takes a fragment CT instead of name. From and to atoms in the fragment must also be specified. Returns a dictionary of renumbered atoms. Keys are old atom numbers, values are new atom numbers or None if the atom was deleted. |
Mutate the residue containing atom number 'atom_in_res' in Structure object 'st' to be of residue type 'res_type'. The residue type may be one of the 20 amino acids (including the HIS/HIP/HIE variants), a D-amino acids, or other non-standard residues. For a list of alternate residues, see the $MMSHARE/data/res/nonstandard_peptide.bld. There is no error if the residue is already of the type requested.
|
Adds hydrogens to the Structure 'st'. Default treatment is suitable for nearly all purposes. Hydrogens are added in standard geometry and no attempt is made to optimize the treatment in order to maximize hydrogen bonds, etc. Parameters atom_list A list of atom indices (or _StructureAtom objects) to add hydrogens to (default all atoms). |
Create a new structure from the provided one, with atoms reordered as specified in the new_order list.
|
Renumbers structure.Structure atoms by Residue order and returns a new structure object. New structure has atom numbering in sequence order via connectivity (not residue numbering) and allows behavior matching a properly ordered pdb structure.
|
Returns a desalted copy of a specified structure
|
Returns a neutralized copy of a specified structure. This structure should have already had hydrogen atoms added to it.
|
|
_initializer
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Oct 26 00:59:32 2016 | http://epydoc.sourceforge.net |