select by atom type in given model
I have three models of the same protein. How can I select C3 carbons in a given model? When I do sel #3 C3 I get an error "Expected a Keyword". Therefore I have to select C3 in ALL models sel C3 and then do ~sel #1,2 for example, which deselects in models 1, 2. If I do "sel C3" and ctrl-click "in" model 1(only model 1 is visible), say, it deselects in all models. Is there a way to just select all C3 in model 3 in one single command? Is there a "keyword" for atom type (analogous to @ for atom names)? This would be very useful, for example, in command (cxc) files, where I wouldn't have to delineate all the models. (I suppose I could do ~sel #1,2,4,5,6,7,8 in a command file. This is ugly.) Thanks Steve
Hi Steve, Does sel #3 & C3 do what you are looking for? BW, Dan On 31 Jul 2026, at 14:30, Steven Brawer via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote: I have three models of the same protein. How can I select C3 carbons in a given model? When I do sel #3 C3 I get an error "Expected a Keyword". Therefore I have to select C3 in ALL models sel C3 and then do ~sel #1,2 for example, which deselects in models 1, 2. If I do "sel C3" and ctrl-click "in" model 1(only model 1 is visible), say, it deselects in all models. Is there a way to just select all C3 in model 3 in one single command? Is there a "keyword" for atom type (analogous to @ for atom names)? This would be very useful, for example, in command (cxc) files, where I wouldn't have to delineate all the models. (I suppose I could do ~sel #1,2,4,5,6,7,8 in a command file. This is ugly.) Thanks Steve _______________________________________________ ChimeraX-users mailing list -- chimerax-users@cgl.ucsf.edu To unsubscribe send an email to chimerax-users-leave@cgl.ucsf.edu Archives: https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.cgl.u... ——— Dr. Daniel N. Grba Research Associate | MRC MBU, University of Cambridge Keith Peters Building, Biomedical Campus, Cambridge, CB2 0XY e-mail: dng26@cam.ac.uk
participants (2)
-
Daniel Grba -
Steven Brawer