Hi all,
(Hopefully) easy question here. I would like to modify the chain of a selection before writing it to a pdb file, but I can't seem to find how to adjust the chain name. I'm using v16, if it matters.
My procedure:
u = mda.Universe(mypdb.pdb)
myatoms = u.select_atoms('segid SEG')
myatoms.chains = 'A'
myatoms.writepdb('newpdb.pdb')
However, there doesn't appear to be a chain or chains attribute. I know MDAnalysis has this information, as when I write the PDB file, there is a chain listed. How do I access this information to change it?
Thank you very much,
Theresa