| Home | Trees | Indices | Help | 
        
  | 
  
|---|
| 
       | 
  
            object --+        
                     |        
core.AbstractContainer --+    
                         |    
  core.AbstractNIContainer --+
                             |
                object --+   |
                         |   |
            AbstractEntity --+
                             |
                            Residue
Base class representing a single residue. Provides a dictionary-like access to the atoms contained in the residue:
>>> residue['CA'] <Atom [3048]: CA> >>> residue.atoms['CA'] <Atom [3048]: CA> >>> residue.items <iterator of Atom-s>
| Nested Classes | |
| 
     Inherited from   | 
  
| Instance Methods | |||
      
  | 
  |||
      
  | 
  |||
      
  | 
  |||
| list | 
      
  | 
  ||
| 
     Inherited from  Inherited from  Inherited from  Inherited from   | 
  |||
| Static Methods | |||
| Residue subclass | 
      
  | 
  ||
| Class Variables | |
        __abstractmethods__ = 
     | 
  |
| Properties | |
| ResidueAtomsTable | 
        atoms Access residue's atoms by atom name  | 
  
| bool | 
        has_structure True if this residue has any atoms  | 
  
| str | 
        id PDB sequence number [+ insertion code]  | 
  
| str | 
        insertion_code PDB insertion code (if defined)  | 
  
| bool | 
        is_modified Return True id this is a modified residue  | 
  
| iterator of AbstractEntity | 
        items Iterator over all immediate children of the entity  | 
  
| str | 
        label Original residue label (different from Residue.type for 
      modified residues)
     | 
  
| int | 
        rank Residue's position in the sequence (1-based)  | 
  
| SecondaryStructureElement | 
        secondary_structure Secondary structure element this residue is part of  | 
  
| int | 
        sequence_number PDB sequence number (if residue.has_structure is True)  | 
  
| TorsionAngles | 
        torsion Torsion angles  | 
  
| enum item | 
        type Residue type - a member of any sequence alphabet  | 
  
| 
     Inherited from   | 
  |
| Method Details | 
  
 x.__init__(...) initializes x; see help(type(x)) for signature 
  | 
  
 repr(x) 
  | 
  
 Residue factory method, which returns the proper Residue 
  instance based on the specified  
  | 
  
 Extract the coordinates of the specified kind(s) of atoms and return them as a list. 
  | 
| Property Details | 
  atomsAccess residue's atoms by atom name 
  | 
  has_structureTrue if this residue has any atoms 
  | 
  idPDB sequence number [+ insertion code] 
  | 
  insertion_codePDB insertion code (if defined) 
  | 
  is_modifiedReturn True id this is a modified residue 
  | 
  itemsIterator over all immediate children of the entity 
  | 
  labelOriginal residue label (different from  
  | 
  rankResidue's position in the sequence (1-based) 
  | 
  secondary_structureSecondary structure element this residue is part of 
  | 
  sequence_numberPDB sequence number (if residue.has_structure is True) 
  | 
  torsionTorsion angles 
  | 
  typeResidue type - a member of any sequence alphabet 
  | 
| Home | Trees | Indices | Help | 
        
  | 
  
|---|
| Generated by Epydoc 3.0.1 on Tue Jul 4 20:19:05 2017 | http://epydoc.sourceforge.net |