[Biopython] Problem writing a PDB with multiple models
Hongbo Zhu 朱宏博
macrozhu at gmail.com
Tue Oct 27 13:40:35 UTC 2015
if you look at PDBIO.py :
if model_flag:
fp.write("MODEL %s\n" % model.serial_num)
so model.serial_num is written, not model.id.
Although the BioPython FAQ says:
What is a model id?
The model id is an integer which denotes the rank of the model in the
PDB/mmCIF file. The model is starts at 0. Crystal structures generally have
only one model (with id 0), while NMR files usually have several models.
So perhaps one of them should be updated?
hongbo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.open-bio.org/pipermail/biopython/attachments/20151027/5fd25ffa/attachment.html>
More information about the Biopython
mailing list