Re: [chimerax-users] rename a ligand from UNK 999

Dear ChimeraX users, When i add a pdb file to chimera , the resulting model displays the ligand as UNK 999 and when i am having multiple models , it will help to be able to edit the UNK to name the ligand. is there a way to do it ? thanks , amith

Hi Amith, If it was just one file, I would probably just text-edit the residue name in the PDB file before opening it. However, if you would rather avoid text-editing the file or you need to process a large number of files, you can do it in ChimeraX with a "setattr" command. For example, to rename all residues named UNK to LIG instead: setattr :UNK residues name LIG See <https://rbvi.ucsf.edu/chimerax/docs/user/commands/setattr.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 Jan 25, 2022, at 3:00 AM, Rangarajan, Amith via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:
This Message Is From an External Sender This message came from outside your organization. Dear ChimeraX users,
When i add a pdb file to chimera , the resulting model displays the ligand as UNK 999 and when i am having multiple models , it will help to be able to edit the UNK to name the ligand.
is there a way to do it ?
thanks , amith

thanks ! ________________________________ From: Elaine Meng <meng@cgl.ucsf.edu> Sent: Tuesday, January 25, 2022 9:03 AM To: Rangarajan, Amith <Amith.Rangarajan@ucsf.edu> Cc: ChimeraX Users Help <ChimeraX-users@cgl.ucsf.edu> Subject: Re: [chimerax-users] rename a ligand from UNK 999 Hi Amith, If it was just one file, I would probably just text-edit the residue name in the PDB file before opening it. However, if you would rather avoid text-editing the file or you need to process a large number of files, you can do it in ChimeraX with a "setattr" command. For example, to rename all residues named UNK to LIG instead: setattr :UNK residues name LIG See <https://rbvi.ucsf.edu/chimerax/docs/user/commands/setattr.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 Jan 25, 2022, at 3:00 AM, Rangarajan, Amith via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:
This Message Is From an External Sender This message came from outside your organization. Dear ChimeraX users,
When i add a pdb file to chimera , the resulting model displays the ligand as UNK 999 and when i am having multiple models , it will help to be able to edit the UNK to name the ligand.
is there a way to do it ?
thanks , amith
participants (2)
-
Elaine Meng
-
Rangarajan, Amith