Bio.PDB.Model module

Model class, used in Structure objects.

class Bio.PDB.Model.Model(id, serial_num=None)

Bases: Bio.PDB.Entity.Entity

The object representing a model in a structure.

In a structure derived from an X-ray crystallography experiment, only a single model will be present (with some exceptions). NMR structures normally contain many different models.

__init__(self, id, serial_num=None)

Initialize.

Arguments:
  • id - int

  • serial_num - int

__repr__(self)

Return model identifier.

get_chains(self)

Return chains.

get_residues(self)

Return residues.

get_atoms(self)

Return atoms.