Conformation

This module defines classes handling individual conformations.

class Conformation(ensemble, index)[source]

A class to provide methods on a conformation in an ensemble. Instances of this class do not keep coordinate and weights data.

getAtoms()[source]

Return associated atom group.

getCoords()[source]

Return a copy of the coordinates of the conformation. If a subset of atoms are selected in the ensemble, coordinates for selected atoms will be returned.

getDeviations()[source]

Return deviations from the ensemble reference coordinates. Deviations are calculated for (selected) atoms.

getEnsemble()[source]

Return the ensemble that this conformation belongs to.

getIndex()[source]

Return conformation index.

getRMSD()[source]

Return RMSD from the ensemble reference coordinates. RMSD is calculated for (selected) atoms.

getWeights()[source]

Return coordinate weights for (selected) atoms.

numAtoms()[source]

Return number of atoms.

numSelected()[source]

Return number of selected atoms.

class PDBConformation(ensemble, index)[source]

This class is the same as Conformation, except that the conformation has a name (or identifier), e.g. PDB identifier.

getAtoms()

Return associated atom group.

getCoords()[source]

Return a copy of the coordinates of the conformation. If a subset of atoms are selected in the ensemble, coordinates for selected atoms will be returned.

Warning

When there are atoms with weights equal to zero (0), their coordinates will be replaced with the coordinates of the ensemble reference coordinate set.

getDeviations()[source]

Return deviations from the ensemble reference coordinates. Deviations are calculated for (selected) atoms.

getEnsemble()

Return the ensemble that this conformation belongs to.

getIndex()

Return conformation index.

getLabel()[source]

Return the label of the conformation.

getRMSD()[source]

Return RMSD from the ensemble reference coordinates. RMSD is calculated for (selected) atoms.

getTransformation()[source]

Return the Transformation used to superpose this conformation onto reference coordinates. The transformation can be used to superpose original PDB file onto the reference PDB file.

getWeights()[source]

Return coordinate weights for (selected) atoms.

numAtoms()

Return number of atoms.

numSelected()

Return number of selected atoms.

setLabel(label)[source]

Set the label of the conformation.

Read the Docs v: v1.5
Versions
latest
v1.5
Downloads
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.