Re: [PyMOL] building centroids for residues

2007-04-20 Thread Andreas Henschel
Hi Siv, below is a python script (I sent earlier to the mailing list) that calculates the Center of mass for a given selection and creates a CGO sphere there. It is is not 100% exact as it only weighs C-Alpha atoms. This is exactly how pymol centers selections: when you run the script, the dom

[PyMOL] building centroids for residues

2007-04-20 Thread Siv Midtun Hollup
Hi, I would like to examine the approximate volume of different residues in a protein. To do this, I would like to add a centroid for each residue, and visualise the volume by using different sphere-sizes. Is there a built-in function to find center of mass for a selection of atoms? The center