next up previous contents index
Next: model.chains all Up: The model class: handling Previous: model.atoms all   Contents   Index

model.residues -- all residues in the model

This is a standard Python list of all the residues in the model. This can be used to query individual residue properties (e.g. amino acid type) or to specify residues for use in restraints, etc.

Residues can be individually accessed in two ways:

See Section 6.16 for more information about residue objects. See also model.residue_range(), for getting a contiguous range of residues.


next up previous contents index
Next: model.chains all Up: The model class: handling Previous: model.atoms all   Contents   Index
Ben Webb 2007-01-19