Residue¶
-
class
visualife.data.Residue(rname, resid, icode=' ')¶ Bases:
objectRepresents a residue including its name, id, atoms, owner etc.
Attributes Summary
atomslist of atoms of this residue icodeinsertion code for this residue ownerprovides the chain that owns this residue res_idresidue ID res_namename of this residue in the 3-letter code Methods Summary
locator()Returns a string that identifies this residue :return: a sting that consist of chain id (single character) + residue id (integer) + icode (most often a space) Attributes Documentation
-
atoms¶ list of atoms of this residue
Getter: a list of atoms Type: list[Atom]
-
icode¶ insertion code for this residue
Getter: insertion code for this residue Setter: sets insertion code for this residue Type: char
-
owner¶ provides the chain that owns this residue
Getter: residue owner Setter: sets the new owner for this residue Type: Chain
-
res_id¶ residue ID
Getter: index of a residue (might be negative!) Setter: Sets this residue ID number Type: int
-
res_name¶ name of this residue in the 3-letter code
Getter: name of this residue, e.g. ALASetter: Sets this residue name Type: string
Methods Documentation
-
locator()¶ Returns a string that identifies this residue :return: a sting that consist of chain id (single character) + residue id (integer) + icode (most often a space)
-