<div dir="ltr">Thanks Elaine and Tom for the suggestions. <div>As Tom had said, it would be nice to have a straight forward command to place a dummy atom (something like the pseusoatom in pymol).</div><div><br></div><div>Best Regards,</div><div>Subha</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 11, 2016 at 3:05 PM, Tom Goddard <span dir="ltr"><<a href="mailto:goddard@sonic.net" target="_blank">goddard@sonic.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">We really should have a command for this. Here is a somewhat less arduous trick to place the marker where you want<br>
<br>
cofr 7.5,12,-5 coord #0 ; ac mc<br>
<br>
This sets the center of rotation to x,y,z position 7.5,12,-5 using the coordinate system of model #0 (a model you already opened, or leave off the coord option and it will use global scene coordinates), then the “ac mc” runs the accelerator (ie keyboard shortcut) “mc” which places a marker (same as an atom) at the center of rotation.<br>
<br>
Tom<br>
<div><div class="h5"><br>
<br>
<br>
<br>
> On Oct 11, 2016, at 1:36 PM, Elaine Meng <<a href="mailto:meng@cgl.ucsf.edu">meng@cgl.ucsf.edu</a>> wrote:<br>
><br>
> Hi Subha,<br>
> What’s easiest depends on whatyou want to do. If it is just for display purposes, the easiest is to just use “shape sphere,” but that will not allow you to do stufff like measure distances. The “shape” command creates a surface model, not an atom. Example command:<br>
><br>
> shape sphere center 1.5,2.2,0.0<br>
><br>
> … where the 3 comma-sep numbers are the coordinates. You can also specify which coordinate system they should be interpreted in, if you have other models open that have been moved separately from one another. See the “shape” manpage:<br>
> <<a href="http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/shape.html" rel="noreferrer" target="_blank">http://www.rbvi.ucsf.edu/<wbr>chimera/docs/UsersGuide/midas/<wbr>shape.html</a>><br>
><br>
> If you actually wanted to measure distances from that point, however, you would need to add a marker or atom at the coordinates. Unfortunately there is no command equivalent to adding an atom with specific coordinates like you can do in the Build Structure GUI. I did come up with a rather horrible kludge to add a marker at specific coordinates. A marker allows measuring distances but it is not exactly the same as an atom (it's not good for structure-building). The horrible kludge is to make a fake volume model using a specific origin, put values into that volume model, and then measure its center (which allows putting a marker at that position). What’s even worse is that you have to offset the origin of the fake map from the coordinates that you want the marker, because the origin is not the same as the center. For example, here’s a command file to put a marker at 1.5,2.2,0.0:<br>
><br>
> # subtract 1.00,1.01,1.00 from desired coordinates to give needed origin<br>
> #<br>
> vop new junk origin 0.5,1.19,-1.00 size 3 model #10<br>
> mask ones #10 model #11<br>
> measure center #11 mark true model #12<br>
> close #10,11<br>
> getcrd #12<br>
><br>
> (the last command just reports the coordinates, as a check… I expected the need to subtract 1,1,1 but why the middle value needs to have 1.01 subtracted is a mystery to me… determined empirically)<br>
><br>
> <<a href="http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/vop.html#new" rel="noreferrer" target="_blank">http://www.rbvi.ucsf.edu/<wbr>chimera/docs/UsersGuide/midas/<wbr>vop.html#new</a>><br>
> <<a href="http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/mask.html" rel="noreferrer" target="_blank">http://www.rbvi.ucsf.edu/<wbr>chimera/docs/UsersGuide/midas/<wbr>mask.html</a>><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>
> I hope this helps,<br>
> ----------<br>
> Elaine C. Meng, Ph.D.<br>
> UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab<br>
> Department of Pharmaceutical Chemistry<br>
> University of California, San Francisco<br>
><br>
>> On Oct 11, 2016, at 12:03 PM, Subha Kalyaanamoorthy <<a href="mailto:kalyaana@ualberta.ca">kalyaana@ualberta.ca</a>> wrote:<br>
>><br>
>> Hi There,<br>
>> Wondering if there is a way to create a dummy atom on a specified position(xyz coords) using a chimera command line?<br>
>> Thanks,<br>
>> Subha<br>
><br>
><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>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Dr. Subha Kalyaanamoorthy<div>Post Doctoral Fellow</div><div>Faculty of Pharmacy and Pharmaceutical Sciences</div><div>University of Alberta</div><div>Edmonton, Canada.</div><div><br></div></div></div>
</div>