Trees | Indices | Help |
---|
|
Entity.Entity --+ | Chain
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|
Sort function for residues in a chain Residues are first sorted according to their hetatm records. Protein and nucleic acid residues first, hetatm residues next, and waters last. Within each group, the residues are sorted according to their resseq's (sequence identifiers). Finally, residues with the same resseq's are sorted according to icode. Arguments: o r1, r2 - Residue objects |
A residue id is normally a tuple (hetero flag, sequence identifier, insertion code). Since for most residues the hetero flag and the insertion code are blank (i.e. " "), you can just use the sequence identifier to index a residue in a chain. The _translate_id method translates the sequence identifier to the (" ", sequence identifier, " ") tuple. Arguments: o id - int, residue resseq |
Return the residue with given id. The id of a residue is (hetero flag, sequence identifier, insertion code). If id is an int, it is translated to (" ", id, " ") by the _translate_id method. Arguments: o id - (string, int, string) or int
|
Return a list of undisordered residues. Some Residue objects hide several disordered residues (DisorderedResidue objects). This method unpacks them, ie. it returns a list of simple Residue objects. |
Return 1 if a residue with given id is present. The id of a residue is (hetero flag, sequence identifier, insertion code). If id is an int, it is translated to (" ", id, " ") by the _translate_id method. Arguments: o id - (string, int, string) or int
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Tue Sep 22 19:52:28 2009 | http://epydoc.sourceforge.net |