msmbuilder-legacy icon indicating copy to clipboard operation
msmbuilder-legacy copied to clipboard

Pairwise RMSD of a Macro-state MSM network

Open daviddaileo opened this issue 10 years ago • 8 comments

Hi,

After using 'BuildMSM.py', a macro-state network is obtained. Let's say 100-node network.I am wondering how to extract the centroid structures. Or is there a built-in function which calculates the pairwise RMSD of all the centroid structures?

Thanks,

daviddaileo avatar May 20 '14 20:05 daviddaileo

Use MDTraj to load Gens.lh5 and calculate pairwise RMSD:

http://mdtraj.org/latest/examples/clustering.html

kyleabeauchamp avatar May 20 '14 21:05 kyleabeauchamp

Oops, I misread your question. You'll also have to find the centroids of each each state. That also could be done, but it's not automated so you'll have to write some python.

kyleabeauchamp avatar May 20 '14 21:05 kyleabeauchamp

Or you could do something like drawing random samples from each macrostate, then, calculating RMSDs between the drawn samples.

kyleabeauchamp avatar May 20 '14 21:05 kyleabeauchamp

I prefer the centroid structures. Could you tell me what function extracts centroid structures?

daviddaileo avatar May 20 '14 21:05 daviddaileo

I don't think we have that function written.

On Tue, May 20, 2014 at 5:14 PM, Wei Dai [email protected] wrote:

I prefer the centroid structures. Could you tell me what function extracts centroid structures?

— Reply to this email directly or view it on GitHubhttps://github.com/SimTk/msmbuilder/issues/418#issuecomment-43684095 .

kyleabeauchamp avatar May 20 '14 21:05 kyleabeauchamp

Could you show me some pointer to find centroids? Since I've no idea.

daviddaileo avatar May 20 '14 21:05 daviddaileo

I made a little example of how to do this: http://mdtraj.org/latest/examples/centroids.html

rmcgibbo avatar May 20 '14 23:05 rmcgibbo

Hi,

The link you sent was very helpful for finding centroids of a micro-state network. What if a macro-state network or MSM network is built from the clustering using PCCA+?

Thanks,

daviddaileo avatar May 26 '14 15:05 daviddaileo