atomstructutils.protocols.protocol_average_subunits module¶
- class atomstructutils.protocols.protocol_average_subunits.ProtAverageSubunits(**kwargs)[source]¶
Bases:
pwem.protocols.protocol.EMProtocol
Average densities related with the given atomic structures. For example hexons in a unit cell. Alpha carbon are used to compute the transformation matrix
- DEBUG = True¶
- DEBUGX = False¶
- computeTransformationMatrices(origin, sampling)[source]¶
compute transformation matrix between reference atom structure (self.atomStructReference) and the other atom structures (self.otherAtomStructs)
read atomic structures identify common AA with first structure compute transformation matrix in PDB system function fills lists
listTransformationMatrices
listRMS (errors)
listObjID (atom structure names)
transform matrix to unitcell system of equations shifts in px
- convertAtomicModel2UnitCellMatrix(sampling, origin)[source]¶
Compute matrix that transform points in atomic structs (A) to unit cell (px) system. p’ = (p - origin ) /sampling