Dear Professor Halil İbrahim Özdemir, Thank you for your help. The labels shown now are fomatted as "(THR339)", "(SER308)", etc. I wonder how to show them as single-letter codes plus the numbers without the parentheses, like "T339", "S308". Thank you again.
Best, ------------------------------------------------------------------ From:Halil İbrahim Özdemir <ozdemir.gene...@gmail.com> Send Time:2022年1月18日(星期二) 18:50 To:孙业平 <sunyep...@aliyun.com> Subject:Re: [PyMOL] How to label atom at proper positions? Hi Sunyeping, You can easily apply the following script from PyMOL terminal. Have a nice days. # Select all C-Alpha atoms and set the object name as "CAs" select CAs, n. CA # Give Label Them as (Residue Name+Residue Number) label CAs, "(%s%s)" % (resn, resi) # Set Label Positions for object "CAs" set label_position, (3,2,1), CAs Regards, sunyeping via PyMOL-users <pymol-users@lists.sourceforge.net>, 18 Oca 2022 Sal, 13:14 tarihinde şunu yazdı: Dear pymol users, I select a series of CA atoms in a structure in pymol and show them as sphere in pymol and want to label them. If using the label menu at the up-right conner of pymol, the labels shown overlaps with spheres and can not be seen. So I wish to show the labels at a bit distance from the seleccted atoms. Is there a method to do that? I will appreciate to any help! Best regards _______________________________________________ PyMOL-users mailing list Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net Unsubscribe: https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe
_______________________________________________ PyMOL-users mailing list Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net Unsubscribe: https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe