[MMTK] comparing modes from different universes
Edvin.Fuglebakk at gmail.com
Mon Nov 26 13:25:31 UTC 2007
I am comparing normal modes between aligned structures.
I have superimposed structures with coordinates for the superimposition
coded in different pdb-files (one file for each structure).
Can I rely on MMTK to preserve these structures relative orientation to
each other when loaded into different universes so that the directions
of the atomic displacements are comparable?
If not, is there a way to mask out some of the structures while
calculating the normal modes so that the modes calculated for one
structure will not be affected by the presence of the other structures
in the same universe.
The following test seems to work, but I would like assurance that it is
a reliable way to do it:
#load the structures into different universes
#load the structures into the same universe
#test that c-alpha positions are the same in the different universes
for first chain of each protein
for i in range(min(len(uni.s1), len(uni2.s2))):
if uni.s1[i].position() !=
combinedUniverse.s1[i].position() or uni2.s2[i].position() !=
print "position in combined universe does not match position
in other universes"
More information about the mmtk