Re: [PyMOL] Capping of multiple pdb file using python script in pymol

2021-10-13 Thread shivani sharma
ino_acid(obj + " and resi 10 and name N", 'ace') > > Hope that helps. > > Cheers, > Thomas > > > > On Oct 9, 2021, at 21:18, shivani sharma wrote: > > > > Hi everyone, > > > > I am trying to cap (with ace and nme) various *.

[PyMOL] Capping of multiple pdb file using python script in pymol

2021-10-09 Thread shivani sharma
Hi everyone, I am trying to cap (with ace and nme) various *.pdbs. I made a folder, where I have placed *.py file and *.pdb files. When I load the run following script: from pymol import cmd, editor from glob import glob for filename in glob("*.pdb"): cmd.load(filename) editor.attach_amin