schrodinger.trajectory.prody.ensemble module¶
- schrodinger.trajectory.prody.ensemble.importLA()¶
Return one of :mod:
scipy.linalg
or :mod:numpy.linalg
.
- schrodinger.trajectory.prody.ensemble.checkWeights(weights, natoms, ncsets=None, dtype=<class 'float'>)¶
Return weights if it has correct shape ([ncsets, ]natoms, 1). after its shape and data type is corrected. otherwise raise an exception. All items of weights must be greater than zero.
- schrodinger.trajectory.prody.ensemble.getRMSD(ref, tar, weights=None)¶
- class schrodinger.trajectory.prody.ensemble.Ensemble(cms_model, tr, asl_sel='(protein and atom.ptype " CA ")')¶
Bases:
object
A class for analysis of arbitrary conformational ensembles. Adopted from ProDy project (prody.csb.pitt.edu)
- __init__(cms_model, tr, asl_sel='(protein and atom.ptype " CA ")')¶
- __len__()¶
- setSoluteCoords()¶
Coordinate of the solute
- setCoords()¶
Coodinates is a reference structure
- getCoords()¶
Return a copy of reference coordinates for selected atoms.
- setWeight(weights)¶
Set atomic weights.
- getWeights()¶
Return a copy of weights of selected atoms.
- setConfs()¶
- superpose()¶
Superpose the ensemble onto the reference coordinates.
- iterpose(rmsd=1e-05)¶
Iteratively superpose the ensemble until convergence:
Conformations are aligned with the reference coordinates
mean coordiantes are calculated
mean coordiantes are used as reference coordinates
repeat until mean coordinates do not change
At the end of the procedure, the reference coordinates set will be averate of conformations in the ensemble.
- getDeviations()¶
Return deviations from reference coordinates for selected atoms. Conformations can be aligned using one of :meth:
superpose
or :meth:iterpose
methods prior to calculating deviations.
- property solute_st¶
return maestro structure of solute atoms.
- property selected_st¶
return maestro structure of selected atoms.
- numAtoms()¶
Return number of atoms.
- numConfs()¶
Return number of frames.
- numSelected()¶