[chimerax-users] rename a ligand from UNK 999
Elaine Meng
meng at cgl.ucsf.edu
Tue Jan 25 09:03:35 PST 2022
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
More information about the ChimeraX-users
mailing list