Package schrodinger :: Package application :: Package desmond :: Package packages :: Package msys :: Class Residue
[hide private]
[frames] | no frames]

Class Residue

object --+    
         |    
    Handle --+
             |
            Residue

Instance Methods [hide private]
 
__repr__(self)
repr(x)
 
data(self)
 
remove(self)
remove this Residue from the System
 
addAtom(self)
append a new Atom to this Residue and return it
 
atoms(self)
list of Atoms in this Residue
 
natoms(self)
number of atoms in this residue
 
chain(self, chn)
 
resid(self, val)
 
name(self, val)
 
insertion(self, val)
 
center(self)
return geometric center of positions of atoms in residue
 
selectAtom(self, name=None)
Returns a single Atom from this residue with the given name, or None if no such atom is present.

Inherited from Handle: __eq__, __hash__, __init__, __ne__, id, system

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__repr__(self)
(Representation operator)

 

repr(x)

Overrides: object.__repr__
(inherited documentation)

atoms(self)

 

list of Atoms in this Residue

Decorators:
  • @property

natoms(self)

 

number of atoms in this residue

Decorators:
  • @property

chain(self, chn)

 
Decorators:
  • @chain.setter

resid(self, val)

 
Decorators:
  • @resid.setter

name(self, val)

 
Decorators:
  • @name.setter

insertion(self, val)

 
Decorators:
  • @insertion.setter

center(self)

 

return geometric center of positions of atoms in residue

Decorators:
  • @property

selectAtom(self, name=None)

 

Returns a single Atom from this residue with the given name, or None if no such atom is present. If multiple atoms in the residue have that name, raise an exception.