[Chimera-users] Selection command for atoms in different models

Woodbrey Anne awoodbrey at lallemand.com
Tue Dec 14 14:19:20 PST 2021


Hi,
Is there a way to select residues from 2 different models using a single line of command?

For example, I want to select residues 230 and 260 of Model 0 and residues 232 and 262 of Model 1. I then want to display the side chains, color magenta, then color by heteroatom.
This is what my current (annoying) workflow is:
select #0:230,260
Actions --> Color --> Magenta
Actions --> Color --> By heteroatom
select #1:232,262
Actions --> Color --> Magenta
Actions --> Color --> By heteroatom
I know I can do the following instead:
disp #0:230,260
color magenta #0:230,260
color byhet #0:230,260
              Repeat for #1:232,262
...but it doesn't really save any time.

I want to select all 4 residues at once without having to ctrl + shift + click on them all. Please tell me there's a way!

Thank you,
Annie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20211214/1f2fdfa1/attachment.html>


More information about the Chimera-users mailing list