
Hi Marco, There is an option when saving PDB to save only the currently selected atoms. In the dialog from menu: File... Save, if you choose "Files of type:" to be "PDB" then you can check the option "Save selected atoms only" Or, you can use the "save" command with "selectedOnly true" <https://rbvi.ucsf.edu/chimerax/docs/user/commands/save.html#pdb> You may know this part already: If you want only whole residues instead of just atoms in the zone that could be fragments of residues, then choose the "residues" option in the dialog from menu: Select... Zone, or use the "select zone" command with "residues true" or use the command-line residue zone specifier, e.g. select ligand :<4.5 & protein ... as explained <https://rbvi.ucsf.edu/chimerax/docs/user/commands/select.html#zone> <https://rbvi.ucsf.edu/chimerax/docs/user/commands/atomspec.html#zones> I hope this helps, Elaine ----- Elaine C. Meng, Ph.D. UCSF Chimera(X) team Department of Pharmaceutical Chemistry University of California, San Francisco
On May 6, 2024, at 4:06 AM, Marco Sette via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:
Dear all, May I save in a file the residues colored by the Select Zone command? Best, Marco