[Chimera-users] Assigning id to a chain with no id
Eric Pettersen
pett at cgl.ucsf.edu
Tue Jul 7 10:58:24 PDT 2020
Hi Aleena,
If you have some structures open with blank IDs that you want to change to 'A', I believe the Python code is:
from ChangeChainIDs import changeChains
from chimera import openModels, Molecule
changeChains(openModels.list(modelTypes=[Molecule]), [(' ', 'A')])
--Eric
Eric Pettersen
UCSF Computer Graphics Lab
> On Jul 7, 2020, at 5:48 AM, Aleena Jose <aleena.jose at students.iiserpune.ac.in> wrote:
>
> Hi Elaine,
>
> Thanks a lot for your reply. The problem is that I have got hundreds of such pdbs with no id chains after random scanning mutagenesis. I wish I could solve it using a python script.
>
> Regards
> Aleena.
>
> On Mon, Jul 6, 2020, 9:32 PM Elaine Meng <meng at cgl.ucsf.edu <mailto:meng at cgl.ucsf.edu>> wrote:
> HI Aleena,
> You can do it with the "Change Chain IDs" graphical interface, open from menu: Tools... Structure Editing... Change Chain IDs. That dialog will list the chain with no ID separately (something like "principal chain") and you can click to choose it in that interface, then enter a new ID.
>
> <http://www.rbvi.ucsf.edu/chimera/docs/ContributedSoftware/editing/changechains.html <http://www.rbvi.ucsf.edu/chimera/docs/ContributedSoftware/editing/changechains.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 Jul 4, 2020, at 2:41 PM, Aleena Jose <aleena.jose at students.iiserpune.ac.in <mailto:aleena.jose at students.iiserpune.ac.in>> wrote:
> >
> > Hi,
> > I need help with chimera. In my pdb I have a chain with no id and I want to assign it a new id. I tried using 'changechain' command but I am getting error messages because I don't have any specific from-chain id. I don't know what exactly to give as from-chain id or is there any other command that could help me?
> > Thanks,
> > Aleena.
>
> _______________________________________________
> Chimera-users mailing list: Chimera-users at cgl.ucsf.edu
> Manage subscription: https://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20200707/4ff3c08b/attachment.html>
More information about the Chimera-users
mailing list