model.atoms — all atoms in the model

This is a standard Python list of all the atoms in the model. This can be used to query individual atom properties (e.g. coordinates) or to specify atoms for use in restraints, etc.

Atoms can be individually accessed in two ways:

See Section 6.23 for more information about Atom objects. See also Sequence.residues and Sequence.chains for equivalent lists of residues and chains. See also model.atom_range(), for getting a contiguous range of atoms.

Automatic builds 2016-07-01