On Feb 2, 2009, at 1:39 AM, Daniel Russel wrote:
On Feb 2, 2009, at 1:23 AM, Keren Lasker wrote:
I see your point, but when you write a pdb file after reading it -
sometime you want to keep the same atom indexes for analysis - can
it be an option when reading a pdb file to store the indexes as
well ? ( like in modeller)
Easy enough to add although it might be good enough to ensure that
the hierarchy is traversed for writing in the same order in which
it is read from the file.
Then the numbers will be the same and you don't have the issue of
what to do with invalid indexes.
This is true if you do not read two pdbs separately to the same
model and ask for the indexes of the second one.