Home | Trees | Index | Help |
|
---|
Package mmLib :: Module Structure :: Class Residue |
|
object
--+ |Fragment
--+ | Residue
AminoAcidResidue
,
NucleicAcidResidue
Method Summary | |
---|---|
__str__(self)
| |
Contructs bonds within a fragment. | |
Returns the residue along the chain at the given integer offset from self. | |
Inherited from Fragment | |
| |
Return True if the Atom object is contained in the fragment. | |
| |
| |
Lookup a atom contained in a fragment by its name, or by its index within the fragment's private atom_list. | |
| |
Iterates the atoms within the fragment. | |
| |
| |
| |
Adds a atom to the fragment, and sets the atom's atom.fragment attribute to the fragment. | |
Counts all Atom objects including Atoms in alternate conformations. | |
Counts Atom objects. | |
Returns the matching Atom instance contained in the Fragment. | |
Returns the parent Chain object. | |
Returns the atom with the same fragment_id and name as the argument atom, or None if it is not found. | |
Returns the parent Chain object. | |
Returns the fragment in the same chain at integer offset from self. | |
Returns the parent Structure object. | |
Returns the sequential index of the atom. | |
Returns True if the Fragment is a Amino Acid residue. | |
Returns True if the Fragment is a Nucleic Acid residue. | |
Returns True if the Fragment/Residue object is one of the PDB defined standard residues. | |
Returns True if the Fragment is a water molecule, returns False otherwise. | |
Iterates of all Atoms in the Fragment includeing Altlocs. | |
Iterates over all Atom objects contained in the Fragment matching the current model and default alt_loc. | |
Iterates over all Bond objects. | |
Removes the Atom instance from the Fragment. | |
Sets the chain_id of the Fragment and all contained Atom objects. | |
Sets the default alt_loc of the Fragment. | |
Sets the fragment_id of the Fragment and all contained Atom objects. | |
Sets the model_id of the Fragment and all contained Atom objects. | |
Sets the res_name of the Fragment and all contained Atom objects. | |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value |
Method Details |
---|
create_bonds(self)Contructs bonds within a fragment. Bond definitions are retrieved from the monomer library. This version also constructs the bonds between adjectent residues.
|
get_offset_residue(self, offset)Returns the residue along the chain at the given integer offset from self. Returns None if there is no residue at that offset, or if the fragment found is not the same type of residue as self. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sun Apr 23 22:08:38 2006 | http://epydoc.sf.net |