[Biopython] adding multiple models to one PDB

PC patrick.cossins at inbox.com
Tue Feb 24 22:45:24 UTC 2015


Hi,

I have the following PDB's

A.pdb
B.pdb
C.pdb
D.pdb

I can align B, C , D with A but I want to write ALL four structures in one file to open in a views like pymol.

	io = Bio.PDB.PDBIO()
	io.set_structure(moving_structure) 
	io.save("moved.pdb")

This has one file, on the second iteration I want to append to moved.pdb the other pdb's.
How can I do that in biopython?

Thank you,
Patrick

____________________________________________________________
FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
Check it out at http://www.inbox.com/earth





More information about the Biopython mailing list