[Biopython] adding multiple models to one PDB

João Rodrigues j.p.g.l.m.rodrigues at gmail.com
Tue Feb 24 22:48:22 UTC 2015


Hi Patrick,

You will need to create a new Structure and add these models as individual
models.

Cheers,

João

PC <patrick.cossins at inbox.com> escreveu no dia Tue Feb 24 2015 at 11:45:59
PM:

> 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
>
>
>
> _______________________________________________
> Biopython mailing list  -  Biopython at mailman.open-bio.org
> http://mailman.open-bio.org/mailman/listinfo/biopython
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.open-bio.org/pipermail/biopython/attachments/20150224/ab4c78b9/attachment.html>


More information about the Biopython mailing list