Package Bio :: Package PDB :: Module Polypeptide :: Class Polypeptide
[hide private]
[frames] | no frames]

Class Polypeptide

source code

object --+    
         |    
      list --+
             |
            Polypeptide

A polypeptide is simply a list of L{Residue} objects.

Instance Methods [hide private]
 
get_ca_list(self)
Get list of C-alpha atoms in the polypeptide.
source code
 
get_phi_psi_list(self)
Return the list of phi/psi dihedral angles.
source code
 
get_tau_list(self)
List of tau torsions angles for all 4 consecutive Calpha atoms.
source code
 
get_theta_list(self)
List of theta angles for all 3 consecutive Calpha atoms.
source code
 
get_sequence(self)
Return the AA sequence as a Seq object.
source code
 
__repr__(self)
Return string representation of the polypeptide.
source code

Inherited from list: __add__, __contains__, __delitem__, __delslice__, __eq__, __ge__, __getattribute__, __getitem__, __getslice__, __gt__, __iadd__, __imul__, __init__, __iter__, __le__, __len__, __lt__, __mul__, __ne__, __new__, __reversed__, __rmul__, __setitem__, __setslice__, __sizeof__, append, count, extend, index, insert, pop, remove, reverse, sort

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

Class Variables [hide private]

Inherited from list: __hash__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

get_ca_list(self)

source code 
Get list of C-alpha atoms in the polypeptide.

@return: the list of C-alpha atoms
@rtype: [L{Atom}, L{Atom}, ...]

get_sequence(self)

source code 
Return the AA sequence as a Seq object.

@return: polypeptide sequence
@rtype: L{Seq}

__repr__(self)
(Representation operator)

source code 
Return string representation of the polypeptide.

Return <Polypeptide start=START end=END>, where START
and END are sequence identifiers of the outer residues.

Overrides: object.__repr__