Bio.PDB.Superimposer module

Superimpose two structures.

class Bio.PDB.Superimposer.Superimposer

Bases: object

Rotate/translate one set of atoms on top of another to minimize RMSD.


Initialize the class.

set_atoms(self, fixed, moving)

Prepare translation/rotation to minimize RMSD between atoms.

Put (translate/rotate) the atoms in fixed on the atoms in moving, in such a way that the RMSD is minimized.

  • fixed – list of (fixed) atoms

  • moving – list of (moving) atoms

apply(self, atom_list)

Rotate/translate a list of atoms.