[phenixbb] pdb hierarchy

Bradley Hintze bradley.hintze at duke.edu
Sat Dec 3 13:26:31 PST 2011


Hi Phenix,

I have a hierarchy question.

I was using the hierarchy and got something that I did not expect. when
running this:

  pdb_io = pdb.input(pdbfile)
  hierarchy = pdb_io.construct_hierarchy()

  for model in hierarchy.models():
    print model.id
    for chain in model.chains():
      print '  ' + chain.id

When I do this I expect the chains in pdbfile to be printed once for each
model in pdbfile. However, when I ran this I got, for example, chain 'A'
printed four times under the same model. Why is this?

Thanks,
Bradley
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://phenix-online.org/pipermail/phenixbb/attachments/20111203/991e9f27/attachment.htm>


More information about the phenixbb mailing list