A class which is returned by the ResidueIterator and contains
information about the residue including the atoms which make it up.
|
__init__(self,
st,
resnum,
inscode,
chain,
atoms=[ ] )
x.__init__(...) initializes x; see help(type(x)) for signature |
|
|
|
__str__(self)
Return a string representation - chain:resnum[inscode]. |
|
|
|
|
|
_setPdbRes(self,
newvalue) |
|
|
|
|
|
_setChain(self,
newvalue) |
|
|
|
|
|
_setResnum(self,
newvalue) |
|
|
|
|
|
_setInscode(self,
newvalue) |
|
|
|
|
|
|
|
getCode(self)
Return the one-letter residue code for this residue. |
|
|
|
hasMissingAtoms(self)
Returns True is this residue doesn't have the expected number of
heavy atoms. |
|
|
|
isStandardResidue(self)
Returns True if this residue is on the list of standard PDB residues |
|
|
|
isConnectedToResidue(self,
other_res)
Returns True if the given residue is connected (C->N) to this
residue. |
|
|
|
applyStyle(self,
atoms=3,
bonds=3)
Applies the given display styles to the atoms and bonds of the
residue. |
|
|
_StructureAtom or None
|
getAtomByPdbName(self,
pdbname)
Returns the atom of this residue that matches the given PDB name, or
None if no such atom is found. |
|
|
_StructureAtom or None
|
|
_StructureAtom or None
|
getCarbonylCarbon(self)
Returns the carbonyl backbone carbon of the residue, or None. |
|
|
_StructureAtom or None
|
|
_StructureAtom or None
|
getAlphaCarbon(self)
Returns the backbone alpha carbon atom of this residue, or None. |
|
|
_StructureAtom or None
|
getBetaCarbon(self,
gly_hydrogen=False)
Returns the beta carbon atom of this residue, or None. |
|
|
|
getDihedralAtoms(self,
angle_name)
Return a list of 4 atom objects for the named dihedral angle in this
residue. |
|
|
Inherited from _AtomCollection :
__len__ ,
extractStructure ,
getAtomIndices ,
getAtomList
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__subclasshook__
|