[chimerax-users] rename a ligand from UNK 999

Rangarajan, Amith Amith.Rangarajan at ucsf.edu
Tue Jan 25 10:55:52 PST 2022


thanks !
________________________________
From: Elaine Meng <meng at cgl.ucsf.edu>
Sent: Tuesday, January 25, 2022 9:03 AM
To: Rangarajan, Amith <Amith.Rangarajan at ucsf.edu>
Cc: ChimeraX Users Help <ChimeraX-users at 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 at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimerax-users/attachments/20220125/59ef1104/attachment.html>


More information about the ChimeraX-users mailing list