Hi Michael -

Assuming you already have your atoms selected in a selection called e.g. `sele` 
and you want the new residue name to be e.g. `XYZ`, you can achieve this on the 
PyMOL command line:

alter sele, resn='XYZ'
save XYZ.pdb, sele

Hope that helps.

Cheers,
Jared
On March 27, 2019 at 8:36:13 PM, Michael Morgan (michaelmorgan...@gmail.com) 
wrote:

Dear all,

 

I need assign some residue names in a PDB file. Basically, I need the 
following: select a group of atoms, assign a residue name to the group and save 
into the PDB file. Can this be done by pymol or vmd? Editing the original PDB 
Text is not a good idea because it is very difficult to pick the group of atoms.

 

Thank you very much.

 

Michael

_______________________________________________  
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

Reply via email to