Thank you Jarrett,

Then the command

alter vh, resi=str(int(resi)+0)

should work, right? But it doesn’t because there are residue numbers with 
letters. Is there a command that will either remove the letters or won’t pay 
attention to them and renumber sequentially.

Regards,


From: Jarrett Johnson <[email protected]>
Sent: Monday, June 15, 2020 11:38 AM
To: Oganesyan, Vaheh <[email protected]>
Cc: [email protected]
Subject: Re: [PyMOL] renumber

Hello,

The command shown on this page  
https://pymolwiki.org/index.php/Renumber<https://pymolwiki.org/index.php/Renumber>
 is not one that comes with PyMOL by default. Try downloading the script and 
importing it via the `run` command in the PyMOL command-line:

run renumber.py

and then you should be able to use the command as shown on the Wiki page.

Hope that helps,
Jarrett J.

On Mon, Jun 15, 2020 at 11:29 AM Oganesyan, Vaheh 
<[email protected]<mailto:[email protected]>> wrote:

Hello PyMOLers,

Wiki uses renumber command to alter residue numbers, but PyMOL doesn’t 
recognize it. Is it that Wiki is old, or my PyMOL version is dusty?


Regards,

Vaheh

_______________________________________________
PyMOL-users mailing list
Archives: 
http://www.mail-archive.com/[email protected]<http://www.mail-archive.com/[email protected]>
Unsubscribe: 
https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe<https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe>


--

Jarrett Johnson | Senior Developer
[Schrodinger Logo]<https://www.schrodinger.com/>

_______________________________________________
PyMOL-users mailing list
Archives: http://www.mail-archive.com/[email protected]
Unsubscribe: 
https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe

Reply via email to