Ah, sure. For this I would recommend using quaternion rotation. Basically
each amino acid is assigned an xyz frame that is positioned in a way that
depends upon the setting of the "quaternionFrame" -- C, P, or N. Then the
moveto command has the keyword QUATERNION, which can be followed by a
residue number:
set quaternionFrame "C"
moveto quaternion {5}
This orients the molecule relative to that residue.
On Mon, Jun 6, 2011 at 5:57 PM, M K <[email protected]> wrote:
> Dear all,
>
> Form my web-page that incorporates Jmol applet I would like to issue
> command to show particular residue of protein (to rotate molecule by the
> appropriate angle) in response to the pressing the button by user.
> Is there the appropriate command in Jmol?
> If not, I guess I could write a script which rotate molecule by the
> appropriate angel. But where is the zero angle of molecule? How is it
> defined?
>
> Thanks,
> seven32
>
>
> ------------------------------------------------------------------------------
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
--
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107
If nature does not answer first what we want,
it is better to take what answer we get.
-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users