<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Hi Elaine and Tom,</p>
<p><br>
</p>
<p>Thanks for your suggestions. They were very helpful. A combination of the meshmol and align and the "old way" works well. There is still an arbitrary rotation in the visible plane. (Is there an align command that works along the x axis rather than the line
of sight?) To take care of that I choose two "atoms" along an orthogonal axis, align those, and then if necessary 'turn y 90'. It's not automatic but seems to be precise.</p>
<p><br>
</p>
<p>best wishes,</p>
<p>Michael<br>
</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Tom Goddard <goddard@sonic.net><br>
<b>Sent:</b> Saturday, January 9, 2021 2:06:03 AM<br>
<b>To:</b> Chimera<br>
<b>Cc:</b> Michael Elbaum<br>
<b>Subject:</b> Re: [Chimera-users] view along a crystal axis</font>
<div> </div>
</div>
<div>Hi Michael,
<div class=""><br class="">
</div>
<div class=""> A small additional trick can let you align the view along an axis. You can turn the unit cell outline into a stick display made of fake atoms and bonds using the "meshmol" command. Then you can select two of the outline corner atoms and use
the align command.</div>
<div class=""><br class="">
</div>
<div class=""> Tom</div>
<div class=""><br class="">
</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>open 1a0s</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span># Use menu Tools / Higher-Order Structure / Unit Cell to show copies and cell outline</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span># Ctrl-click on cell outline to select it</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>meshmol #0 1</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span># Select two corner "atoms" of the meshmol outline, ctrl click, then shift ctrl click.</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>align sel</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>set projection orthographic</div>
<div class=""><br class="">
<div><img apple-inline="yes" id="B3D5206F-3D7E-440D-9B92-B1CD038A4AD0" class="" src="cid:38EFE46A-46C7-4C59-8C75-8BD4719342A8"><br class="">
<blockquote type="cite" class="">
<div class="">On Jan 8, 2021, at 9:32 AM, Elaine Meng <<a href="mailto:meng@cgl.ucsf.edu" class="">meng@cgl.ucsf.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">Hi Michael,<br class="">
I can't think of a direct way to align the view on a crystallographic axis... there is an "align" command to exactly align specified atoms along the line of sight in the center of the window:<br class="">
<br class="">
<<a href="https://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/align.html" class="">https://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/align.html</a>><br class="">
<br class="">
However, there may not be atoms that lie exactly along or parallel to the crystallographic axis, or it may not be easy to identify them. <br class="">
<br class="">
One roundabout way might be to use the Crystal Contacts tool (in menu under Tools... Higher-Order Structure) and click "Show Contacts" which shows the outline as markers and links. Markers are essentially fake atoms, so you could select the two corners of
the outline box you want to align (Ctrl-click, Shift-Ctrl-click) and then use command "align sel" ... then hide or delete the markers and links after you get the desired alignment.<br class="">
<br class="">
<<a href="https://www.rbvi.ucsf.edu/chimera/docs/ContributedSoftware/crystalcontacts/crystalcontacts.html" class="">https://www.rbvi.ucsf.edu/chimera/docs/ContributedSoftware/crystalcontacts/crystalcontacts.html</a>><br class="">
<br class="">
You might not want that in the center of the window, however, so additional translation ("move" commands) may be required afterwards.<br class="">
<<a href="https://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/move.html" class="">https://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/move.html</a>><br class="">
<br class="">
I couldn't do the "atom" selection with the box shown by Unit Cell because I think it is just a mesh and the whole box gets selected instead of corners.<br class="">
<br class="">
Other related commands...<br class="">
<br class="">
Command "reset" will give coordinate Z axis along the line of sight.<br class="">
<br class="">
Command "set projection orthographic" may be helpful to turn off perspective.<br class="">
<br class="">
Since the alignment is somewhat of a rigamarole, you may prefer to keep doing it your current way!<br class="">
<br class="">
I hope this helps,<br class="">
Elaine<br class="">
-----<br class="">
Elaine C. Meng, Ph.D. <br class="">
UCSF Chimera(X) team<br class="">
Department of Pharmaceutical Chemistry<br class="">
University of California, San Francisco<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
<blockquote type="cite" class="">On Jan 8, 2021, at 6:09 AM, Michael Elbaum <<a href="mailto:michael.elbaum@weizmann.ac.il" class="">michael.elbaum@weizmann.ac.il</a>> wrote:<br class="">
<br class="">
Hi. I would like to view a lattice of molecules generated by "Unit Cell" along a given axis. Is there a way to set the view accordingly, say along a, b, or c axis? Other than showing the I'm showing the outline box and eye-balling, but probably there's a
more precise way to do this.<br class="">
thanks for your help,<br class="">
Michael<br class="">
_______________________________________________<br class="">
Chimera-users mailing list: <a href="mailto:Chimera-users@cgl.ucsf.edu" class="">
Chimera-users@cgl.ucsf.edu</a><br class="">
Manage subscription: <a href="https://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users" class="">
https://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users</a><br class="">
</blockquote>
<br class="">
<br class="">
_______________________________________________<br class="">
Chimera-users mailing list: <a href="mailto:Chimera-users@cgl.ucsf.edu" class="">
Chimera-users@cgl.ucsf.edu</a><br class="">
Manage subscription: <a href="https://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users" class="">
https://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users</a><br class="">
<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</body>
</html>