[chimerax-users] Saving chains as separate PDB files

Tom Goddard goddard at sonic.net
Mon Jul 25 18:45:36 PDT 2022


For saving a separate PDB file for each chain when you have many chains, the split and save command can do the job

	split #1
	save [NAME].pdb model #1

The split command makes separate models for each chain and the [NAME] in the save command saves each using the model names which include the chain identifier.

	Tom


> On Jul 25, 2022, at 6:38 PM, Elaine Meng via ChimeraX-users <chimerax-users at cgl.ucsf.edu> wrote:
> 
> Hi Daniel,
> One way to do that is to select only the chain of interest, then use the dialog (menu: File... Save) to save PDB file type with the option to save only selected atoms.  Then repeat the process with each of the other chains that you want to save.  
> 
> There are several ways to select, including the menu (Select... Chains...[depends on what chains are in your structure]) or a command (for example "select /A" to select chain A).
> 
> <https://rbvi.ucsf.edu/chimerax/docs/user/selection.html>
> <https://rbvi.ucsf.edu/chimerax/docs/user/menu.html#select>
> <https://rbvi.ucsf.edu/chimerax/docs/user/commands/select.html#new>
> 
> 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 25, 2022, at 6:21 PM, Daniel VillanuevaAvalos via ChimeraX-users <chimerax-users at cgl.ucsf.edu> wrote:
>> 
>> Thank you. I simply will not display hydrogen atoms in my animation. 
>> One thing that I am trying to do but cannot figure out how to do is to save all the chains as separate pdb files. I am looking into the command:save documentation but cannot find if it is possible. 
>> 
>> Thank you, 
>> Daniel. 
>> 
> 
> 
> _______________________________________________
> ChimeraX-users mailing list
> ChimeraX-users at cgl.ucsf.edu
> Manage subscription:
> https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users
> 




More information about the ChimeraX-users mailing list