|
__init__(self,
type='UNK',
number=-1,
icode='',
parent=None,
elementType=<class MolKit.molecule.Atom at 0xb7b9789c>,
list=None,
childrenName='atoms',
setClass=<class MolKit.protein.ResidueSet at 0xb7bb8a1c>,
childrenSetClass=<class MolKit.molecule.AtomSet at 0xb7b9780c>,
top=None,
childIndex=None,
assignUniqIndex=1)
Residue constructor.
|
|
getPsi(self)
compute PSI N(i),CA(i),C(i),N(i+1)
|
|
getPhi(self)
compute PHI C(i-1),N(i),CA(i),c(i)
|
|
buildBondsByDistance(self)
Build bonds between atoms inside this residue, based on distance
WARNING this is a n^2 process, should only be used for small
molecules like residues
|
|
backbone(self)
Return atomset containing backbone atoms
|
|
sidechain(self)
Return atomset containing sidechain atoms
|
|
getAtmsAndCoords(self,
atmNames)
Function returning the coords of all the atoms of the given atom
name or None if one is not in the atoms residues
|
|
Inherited from ProteinMolecule:
findType,
isBelow
Inherited from molecule.Molecule:
addBond,
attach_nonbonded_fragments,
buildBondsBhtree,
buildBondsByDistanceOnAtoms,
buildBrokenBonds,
closerThan,
configureProgressBar,
defaultRadii,
getAtoms,
getCenter,
getNbrAtoms,
getTypeList,
mergeNPH,
read,
removeAllHydrogens,
removeBond,
subTree,
updateProgressBar,
write
Inherited from tree.TreeNode:
NodesFromName,
__cmp__,
__eq__,
__hash__,
__ne__,
__repr__,
__str__,
adopt,
assignUniqIndex,
compare,
deleteSubTree,
dump,
findLevels,
full_name,
get,
getNext,
getParentOfType,
getPrevious,
getRoot,
isAbove,
makeNameUniq,
merge,
remove,
split
|