
Hi, I am very new chimera and I am having to use it for a project at university. I have to create a picture from chimera and then list commands so anybody can recreate it just by typing in the commands in the command box. The problem I am having is: once I have rotated and zoomed manually using the mouse I don't know how to recreate that position and view by using typed commands. I can't even seem to find anywhere the coordinates of the new rotation. Could you please help me? How do I recreate the zoom and rotation using commands only, so that anyone wanting to recreate the view I have can do it just by typing in a list of commands after loading my original PDB file? Kind regards Drew Richardson ID: 27927431 (1st year biochemistry)

Hi Drew, You may look at the “savepos" command. https://www.cgl.ucsf.edu/chimera/current/docs/UsersGuide/framecommand.html This saves positions of your structure with some name and you can recall this position by using the command line. Best regards, Gabor --- Gabor Papai IGBMC Integrated Structural Biology 1, rue Laurent Fries, Bp 10142 67404 Illkirch, France Tel: +33-3-69485288 On 01 Feb 2017, at 17:48, drew richardson <drew_andalso_lou@hotmail.com<mailto:drew_andalso_lou@hotmail.com>> wrote: Hi, I am very new chimera and I am having to use it for a project at university. I have to create a picture from chimera and then list commands so anybody can recreate it just by typing in the commands in the command box. The problem I am having is: once I have rotated and zoomed manually using the mouse I don't know how to recreate that position and view by using typed commands. I can't even seem to find anywhere the coordinates of the new rotation. Could you please help me? How do I recreate the zoom and rotation using commands only, so that anyone wanting to recreate the view I have can do it just by typing in a list of commands after loading my original PDB file? Kind regards Drew Richardson ID: 27927431 (1st year biochemistry) _______________________________________________ Chimera-users mailing list: Chimera-users@cgl.ucsf.edu<mailto:Chimera-users@cgl.ucsf.edu> Manage subscription: http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users

Hi Drew, Welcome to Chimera! Although you can save and reset positions with “savepos” and “reset” commands, the positions are only saved within your session, so you would have to save a session file (which also saves the current position automatically) and others would have to open that session file to get the same exact positions. However, I understand the advantages of simply sharing a series of commands instead of a whole session file. Unfortunately if you have moved things around with the mouse it is not simple to figure out the commands to give you the same position. What I have done in the past is to (try to) regenerate model position(s) using only commands (“move” to translate, “turn” to rotate, “scale” to zoom, “window” or “focus” to center the view on items of interest, “matchmaker” to superimpose, etc.). The alternative is to just share the commands to do everything EXCEPT the positioning, and leave that up to the other people to do interactively, like you did. There is also a “matrixget” command to write transformation matrices to a file, and “matrixset” to apply that file to set model positions, but that again has the disadvantage of requiring you to share a separate file. Command manual pages here: <http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/framecommand.html> I hope this helps, Elaine ----- Elaine C. Meng, Ph.D. UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab Department of Pharmaceutical Chemistry University of California, San Francisco
On Feb 1, 2017, at 8:48 AM, drew richardson <drew_andalso_lou@hotmail.com> wrote:
Hi, I am very new chimera and I am having to use it for a project at university. I have to create a picture from chimera and then list commands so anybody can recreate it just by typing in the commands in the command box.
The problem I am having is: once I have rotated and zoomed manually using the mouse I don't know how to recreate that position and view by using typed commands. I can't even seem to find anywhere the coordinates of the new rotation.
Could you please help me? How do I recreate the zoom and rotation using commands only, so that anyone wanting to recreate the view I have can do it just by typing in a list of commands after loading my original PDB file? Kind regards
rew Richardson

Hi Elaine, Thank you so much for getting back to me so quickly. Your reply was most useful. I eventually made a slightly different image just from the commands you suggested. Kind Regards Drew Drew Richardson ID: 27927431 (1st year biochemistry) ________________________________ From: Elaine Meng <meng@cgl.ucsf.edu> Sent: 01 February 2017 18:57 To: drew richardson Cc: chimera-users@cgl.ucsf.edu Subject: Re: [Chimera-users] Help with coordinates please Hi Drew, Welcome to Chimera! Although you can save and reset positions with "savepos" and "reset" commands, the positions are only saved within your session, so you would have to save a session file (which also saves the current position automatically) and others would have to open that session file to get the same exact positions. However, I understand the advantages of simply sharing a series of commands instead of a whole session file. Unfortunately if you have moved things around with the mouse it is not simple to figure out the commands to give you the same position. What I have done in the past is to (try to) regenerate model position(s) using only commands ("move" to translate, "turn" to rotate, "scale" to zoom, "window" or "focus" to center the view on items of interest, "matchmaker" to superimpose, etc.). The alternative is to just share the commands to do everything EXCEPT the positioning, and leave that up to the other people to do interactively, like you did. There is also a "matrixget" command to write transformation matrices to a file, and "matrixset" to apply that file to set model positions, but that again has the disadvantage of requiring you to share a separate file. Command manual pages here: <http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/framecommand.html> Commands Index - University of California, San Francisco<http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/framecommand.html> www.rbvi.ucsf.edu Commands Index. Commands are entered into Chimera's Command Line. Past commands can be accessed from the Command History, and commands can be placed in an executable ... I hope this helps, Elaine ----- Elaine C. Meng, Ph.D. UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab Department of Pharmaceutical Chemistry University of California, San Francisco
On Feb 1, 2017, at 8:48 AM, drew richardson <drew_andalso_lou@hotmail.com> wrote:
Hi, I am very new chimera and I am having to use it for a project at university. I have to create a picture from chimera and then list commands so anybody can recreate it just by typing in the commands in the command box.
The problem I am having is: once I have rotated and zoomed manually using the mouse I don't know how to recreate that position and view by using typed commands. I can't even seem to find anywhere the coordinates of the new rotation.
Could you please help me? How do I recreate the zoom and rotation using commands only, so that anyone wanting to recreate the view I have can do it just by typing in a list of commands after loading my original PDB file? Kind regards
rew Richardson
participants (3)
-
drew richardson
-
Elaine Meng
-
Gabor PAPAI