Hi Krishan, I wrote a perl script some times ago to do that. It makes
use of PDBSET so the CCP4 suite has to be installed.
Run it with several pdb as inputs ie :
perl renamechain.pl pdb1.pdb pdb2.pdb etc
It will ask you how many chains before, just type zero if you want the
first ID to be 'A', It will create a directory called newchains with the
same pdb files but a different chain ID.
Hope this helps,
Nicolas
On 08/04/2011 12:17, krishan wrote:
> Dear CCP4BB members,
> We are using a script written in python to generate symmetry mates
> for a given pdb file using PYMOL. After generating symmetry mates we
> want to combine all the symmetry molecules in a single PDB file with
> all the chains having unique chain IDs. Since all the symmetry mates
> have same chain ID's I was wondering if some one knows a script that
> can give unique chain ID for each symmetry mate. We are interested in
> script because that dataset that we are handling is large.
> I thank you all in advance for your help.
> Best,
>
> Krishan
|