biopython v1.71.0 Bio.PDB.Chain.Chain
Initialize the class.
Link to this section Summary
Functions
True if a residue with given id is present in this chain
Delete item
Return the residue with given id
Translate sequence identifer to tuple form (PRIVATE)
Return a list of undisordered residues
Return 1 if a residue with given id is present
Link to this section Functions
True if a residue with given id is present in this chain.
Arguments:
- id - (string, int, string) or int
Delete item.
Arguments:
- id - (string, int, string) or int
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:
- id - (string, int, string) or int
Translate sequence identifer to tuple form (PRIVATE).
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:
- id - int, residue resseq
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:
- id - (string, int, string) or int