Package schrodinger :: Package protein :: Module sequence :: Class Sequence
[hide private]
[frames] | no frames]

Class Sequence

Class representing a sequence of protein residues.

Instance Methods [hide private]
 
__init__(self, st, atoms)
 
_getAtomIterator(self)
 
_getResidueIterator(self)
 
getAtomList(self)
Return a list of atom indices in this sequence.
 
extractStructure(self, copy_props=False)
Return a new Structure containing only this sequence.
Properties [hide private]
  atom
Returns an atom iterator for all atoms in the sequence
  residue
Returns residue iterator for all residues in the sequence
Method Details [hide private]

extractStructure(self, copy_props=False)

 

Return a new Structure containing only this sequence. Structure properties, including the title, are inherited only if copy_props is set to True.


Property Details [hide private]

atom

Returns an atom iterator for all atoms in the sequence

Get Method:
_getAtomIterator(self)

residue

Returns residue iterator for all residues in the sequence

Get Method:
_getResidueIterator(self)