Cunliang,

There is a script available on the PyMOL-Wiki that calculates either the 
center-of-mass OR the center-of-geometry.

Please see http://www.pymolwiki.org/index.php/Center_Of_Mass

It uses the "pseudoatom" function to generate a sphere at the desired center of 
mass.

Hope this answers your question.

Sean
                                          
------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

Reply via email to