[chimerax-users] how to apply commands to specific residues

Elaine Meng meng at cgl.ucsf.edu
Fri Jul 29 18:03:06 PDT 2022


Hello, 
Many basic commands can apply to specific residues only (hide, show, color, display style, ...), you just have to say in the command which parts of the structure you want to affect.

How to specify atoms or other items in commands:
<https://rbvi.ucsf.edu/chimerax/docs/user/commands/atomspec.html>

You could first hide everything and then show just the residues you want.  Also depends if you want to show ribbons or the specific atoms.  If both, then here is an example:

hide target ar
show :1-200 target ar

The ":" means residue number, as explained in the page linked above.  In the target option, "a" is for atoms and "r" is for ribbon, as explained the "hide"/"show" help.  
<https://rbvi.ucsf.edu/chimerax/docs/user/commands/show.html>

There are lots of tutorials if you want to learn more about using ChimeraX:
<https://www.rbvi.ucsf.edu/chimerax/tutorials.html>

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 29, 2022, at 3:51 PM, Kwangjun Lee via ChimeraX-users <chimerax-users at cgl.ucsf.edu> wrote:
> 
> Hello,
>  
> Do you have any command that displays a selected region only?
>  
> For example, I have a protein structure AA1 to AA300. I only want to display AA100 to AA200.
>  
> Thanks!




More information about the ChimeraX-users mailing list