<div dir="ltr"><div><div>Dear Elaine,<br><br><br></div> It was very helpful. Thank you very much for your kind attention.<br><br></div>Armin<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 10, 2017 at 8:18 PM, Elaine Meng <span dir="ltr"><<a href="mailto:meng@cgl.ucsf.edu" target="_blank">meng@cgl.ucsf.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear Armin,<br>
There are actually two different commands you could use:<br>
<br>
“define centroid” has option to do mass-weighting or not (treating each atom equally) and shows the result with a small sphere<br>
<<a href="http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/define.html#centroid" rel="noreferrer" target="_blank">http://www.rbvi.ucsf.edu/<wbr>chimera/docs/UsersGuide/midas/<wbr>define.html#centroid</a>><br>
<br>
“measure center” does mass-weighting only and creating a marker (fake atom) at the position is optional<br>
<<a href="http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/measure.html#center" rel="noreferrer" target="_blank">http://www.rbvi.ucsf.edu/<wbr>chimera/docs/UsersGuide/midas/<wbr>measure.html#center</a>><br>
<br>
The result is reported in the Reply Log (open from Favorites menu).<br>
<br>
They give the same numerical results, so you could use either one, but each has advantages if you want to do other things afterward. For example, if you want to display a dashed-line distance measurement to the centroid, use “measure" since you need a fake atom for that. If you want to define other geometric objects like ring planes or helix axes and make measurements among them (along with the centroid), then “define” is nicer for showing all those things in a graphical interface. Also, you can use the graphical tool instead of the command to define the centroid and other objects:<br>
<<a href="http://www.rbvi.ucsf.edu/chimera/docs/ContributedSoftware/structuremeas/structuremeas.html#axes" rel="noreferrer" target="_blank">http://www.rbvi.ucsf.edu/<wbr>chimera/docs/<wbr>ContributedSoftware/<wbr>structuremeas/structuremeas.<wbr>html#axes</a>><br>
<br>
The structure 1G6N has two copies of the protein and two molecules of cAMP, so assuming you want the COM of only one molecule, you have to specify which one, unless you already deleted the other copy. If I put the mouse over the ligand I can see its residue name is CMP and that the two chains (copies) are A and B.<br>
<br>
In your case:<br>
open 1g6n<br>
focus :cmp.a<br>
define centroid mass true radius 0.25 color magenta :cmp.a<br>
measure center :cmp.a mark true radius 0.3 color yellow<br>
<br>
Reply Log shows:<br>
centroid name, ID, center: centroid: c1 ( 38.831, 44.523, 49.339)<br>
Center of mass of 22 atoms in 1g6n (#0) coordinate system = (38.83, 44.52, 49.34)<br>
<br>
I hope this helps,<br>
Elaine<br>
----------<br>
Elaine C. Meng, Ph.D.<br>
UCSF Chimera(X) team<br>
Department of Pharmaceutical Chemistry<br>
University of California, San Francisco<br>
<br>
P.S. if you search for “center of mass” from the Chimera website (top right):<br>
<<a href="http://www.rbvi.ucsf.edu/chimera/index.html" rel="noreferrer" target="_blank">http://www.rbvi.ucsf.edu/<wbr>chimera/index.html</a>><br>
or menu: Help… Search Documentation<br>
…it would help you find these commands/tools<br>
<div><div class="h5"><br>
> On Jul 10, 2017, at 6:16 AM, ARMIN HODAEI <<a href="mailto:ahodaei15@ku.edu.tr">ahodaei15@ku.edu.tr</a>> wrote:<br>
><br>
> Dear Chimera users,<br>
> I have been wondering, is there a way to find a ligand Mass weighted center of mass in Chimera?<br>
> For example in the 1G6N(rcsb ID) protein I want to know the cAMP ligand's COM.<br>
> Best,<br>
> --<br>
> Armin Hodaei<br>
> Department of Physics,<br>
> Faculty of Arts and Sciences<br>
> Koc University, Istanbul<br>
</div></div>> ______________________________<wbr>_________________<br>
> Chimera-users mailing list: <a href="mailto:Chimera-users@cgl.ucsf.edu">Chimera-users@cgl.ucsf.edu</a><br>
> Manage subscription: <a href="http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users" rel="noreferrer" target="_blank">http://plato.cgl.ucsf.edu/<wbr>mailman/listinfo/chimera-users</a><br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><span><font color="#888888"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Armin Hodaei<br>Department of Physics,<br>Faculty of Arts and Sciences<br>Koc University, Istanbul<br></div></div></div></div></div></div></div></font></span></div></div>
</div>