[chimerax-users] how to turn molecule centering a specific atom in ChimeraX

Elaine Meng meng at cgl.ucsf.edu
Tue Jul 7 15:15:19 PDT 2020


Hi Inchul,
You can select an atom with Ctrl-click and then use menu: Actions... Set Pivot.

You can also set the center of rotation to the selected atom with command:

cofr sel

...which is exactly the same as using the menu item mentioned above, and in fact using the menu will show that command in the Log.
<http://rbvi.ucsf.edu/chimerax/docs/user/commands/cofr.html>

Or you can name the atom(s) directly instead of selecting it, for example, command:

cofr #1/A:253 at ca

... model 1 chain A residue 253 atom name CA.  Command-line atom specification is described here, with several examples:
<http://rbvi.ucsf.edu/chimerax/docs/user/commands/atomspec.html>

Or, if you want something more similar to Pymol and you often want to change the center of rotation, you can assign a mouse button to change the center of rotation to the atom that is clicked with that button.  In the "Right Mouse" tab of Toolbar icons across the top of the window, there is "set pivot" icon which looks like a red circle with an arrow going around it and a red dot in the middle.  You can click that to assign the right mouse button to that function.  The mouse-mode icons and their meanings are given here.
<http://rbvi.ucsf.edu/chimerax/docs/user/tools/mousemodes.html>

Or, you can assign other mouse buttons (not just right button) alone or in combination with Ctrl, Shift, etc. to that function using the "mousemode" command.
<http://rbvi.ucsf.edu/chimerax/docs/user/commands/ui.html#mousemode>

I hope this helps,
Elaine
-----
Elaine C. Meng, Ph.D.                       
UCSF Chimera(X) team
Department of Pharmaceutical Chemistry
University of California, San Francisco


> On Jul 7, 2020, at 1:46 PM, Shin Inchul <Inchul.Shin at utsa.edu> wrote:
> 
> Hi,
> 
> I was trying to turn molecule around specific atom. Since I am a beginner of ChimeraX, I would like to have some working examples in the command line.
> Without it, I have difficulties in applying the usage as appeared in the user guide.
> In PyMOL, mouse middle button click on a atom sets the centering on the atom then use rotate command.
> 
> I appreciate all the supports provided.
> 
> Thank you.
> Inchul




More information about the ChimeraX-users mailing list