Home | Trees | Indices | Help |
|
---|
|
object --+ | BaseMoiety
Base class for all polymer units - initiator, terminator, cascader, monomers
|
|||
|
|||
int |
|
||
|
|||
|
|||
(schrodinger.structure.Structure, AttachementAtoms )
|
|
||
float |
|
||
list |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
|
|
|||
bond_length_cache =
|
|
|||
|
Create a BaseMoiety object
|
Find the index of the atom attached to the atom with the given index, optionally setting a property/value on that atom
|
Rotate the structure so that the current_vector is aligned to a new vector
|
Get the appropriate structure to couple to the existing unit
|
Get the desired bond length between the grower atom of the existing unit and the coupling atom of this moiety
|
Figure out the XYZ coordinates where the coupler atom should go
|
Bind this moiety to an existing chain The grower, grow_marker, coupler and coupler_marker are defined so that the binding occurs like this: chain-grower coupler_marker \ grow_marker coupler-this_moiety goes to: chain-grower coupler-this_moiety @type chain: L{schrodinger.structure.Structure} @param chain: The existing chain to add this moiety to @type grower: int @param grower: The index of the atom in the existing chain that this moiety should bond with @type grow_marker: int @param grow_marker: The index of the Rx atom that marks the attachment point - the grower->grow_marker bond vector indicates the desired grower->coupler bond vector. @type orientation: str @param orientation: Whether this moiety should add head first or tail first. Should be a module HEADFIRST or TAILFIRST constant. @type remove_marker: bool @param remove_marker: Whether the chains grower_marker atom should be removed. Set to False if adding multiple moieties and you don't want existing atom numbers to change during the process. @type set_residue_data: bool @param set_residue_data: Whether to set the residue number property for all atoms added by this method to 1 greater than the residue number of the grow atom on the passed in chain. If False, no residue numbers will be set. A residue name is also assigned if this value is True. @type propagate_chain_data: bool @param propagate_chain_data: Whether to set the chain data for all atoms added by this method to the same chain information as the grow atom on the passed in chain. If False or the grower atom contains no chain information, this will not be done. This parameter is used if the added moiety should have the same chain information as the existing moiety. See also the chain_namer parameter. @type chain_namer: function @param chain_namer: A function that should be called with the structure that will be added to chain. The purpose of this function should be to add chain name data to the added structure. Supply this function if the moiety to be added is a full chain. If the moiety to be added is just another monomer, terminator, etc during the building of a single chain, do not supply this function. This parameter is used if the added moiety should have different chain information from the existing moiety, and it is up to the chain_namer function to set that data. See also the propagate_chain_data paramter. @rtype: (int, int, int) @return: The atom indexes of the coupler atom, the new grower atom and the new grow marker. |
Find the branching point and the shortest path to the nearest atom in backbone_path_indexes. The braching point may have multiple branches connected to, but only one single pair of [backbone atom][branching atom] = [path with ends] is recorded.
|
Write the structure out to a file, tagging it with properties in such a way that the driver will recognize when reading the structure in
|
Check to see if the structure has the desired properties set on it
|
Read the data for this moiety from the structure object and check to make sure all the required properties are set
|
Find and mark the side group atoms. The side group is any heavy atom not part of the backbone and any hydrogen attached to one of those heavy atoms. Note that IUPAC specifically states that a "sidechain" is an oligomer or polymer, while a "side group" is a non-oligomer/polymer. So monomers have side groups, not sidechains. |
Mark the atom as a backbone atom and make sure that if the atom is in a ring that all atoms in the ring are marked as backbone
|
Set backbone path and side atoms for Initiator and Terminator. Only the atom connected to R1 group is treated as backbone path; all the rest real atoms are treated as side groups. |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Aug 8 02:52:56 2017 | http://epydoc.sourceforge.net |