From: John Stone (
Date: Fri Dec 20 2013 - 17:06:46 CST

  I think that you're going to want to use the merge structures
plugin (in the VMD extensions menu) or something similar to merge
the two PDBs from the outset. Once merged, you can make the atom
selection operations you listed below and save it all out to a new file.

  John Stone

On Thu, Dec 12, 2013 at 01:06:36AM -0800, Ramin Ekhteiari wrote:
> Hi,
> I am working on a pdb file that has different segment id but with same
> chain id,
> I'm trying to change the chain id of the each segments,
> I do the following commands,
> >> mol new file.pdb
> set A [atomselect top "segment proa"]
> set B [atomselect top "segment prob"]
> set $A chain A
> set $B chain B
> ***Now I want to save them as one pdb file***
> Would be grateful for any help
> Cheers,
> Ramin

NIH Center for Macromolecular Modeling and Bioinformatics
Beckman Institute for Advanced Science and Technology
University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801           Phone: 217-244-3349