Package Scientific :: Package IO :: Module PDB :: Class AminoAcidResidue
[hide private]
[frames] | no frames]

Class AminoAcidResidue



Group --+    
        |    
  Residue --+
            |
           AminoAcidResidue

Amino acid residue in a PDB file

Instance Methods [hide private]
  addAtom(self, atom)
Add an atom to the group
bool isCTerminus(self)
Returns True if the residue is in C-terminal configuration, i.e.
bool isNTerminus(self)
Returns True if the residue is in N-terminal configuration, i.e.
  writeToFile(self, file)
Write the group to a file

Inherited from Group: __getitem__, __init__, __len__, __repr__, __str__, changeName, deleteAtom, deleteHydrogens, isCompatible


Class Variables [hide private]
  is_amino_acid = 1

Method Details [hide private]

addAtom(self, atom)

 

Add an atom to the group
Overrides: Group.addAtom
(inherited documentation)

isCTerminus(self)

 
Returns: bool
True if the residue is in C-terminal configuration, i.e. if it has a second oxygen bound to the carbon atom of the peptide group. False otherwise.

isNTerminus(self)

 
Returns: bool
True if the residue is in N-terminal configuration, i.e. if it contains more than one hydrogen bound to be nitrogen atom of the peptide group. False otherwise.

writeToFile(self, file)

 

Write the group to a file
Overrides: Group.writeToFile
(inherited documentation)

Class Variable Details [hide private]

is_amino_acid

Value:
1