So it seems I was right :D
ID is an atomic property, read from the PDB file, whereas index is an 'internal' identifier. Following Jasons comments, ID is not changed upon additions/deletions, whereas index does.
For your purpose, you probably want to make sure that the IDs are identical for corresponding atoms.
Hope it helps,
TsjerkOn Oct 31, 2010 3:35 PM, "Martin Hediger" <email@example.com> wrote:
Hey, Thanks for your earlier response on the issue.
Its quite important to me right now, since I am trying to interpolate between two states of the same structure and therefore (let me call it 'physical') atom numbering has to be perfectly identical.
I looked into it but i cant quite get my following observation into agreement with what you said.
I have a PDB file with 920 atoms. Starting from the top, with no 'TER' or 'MODEL' or other PDB syntax elements, on line 909 of that file an ATOM is stated (hydrogen), with the number '909' at the "line-909".split() position.
When I open the file in PyMOL and let it display LABELS>ATOM_IDENTIFIERS>ID, I get '909' displayed in the model. Changing the value at '909' in the PDB file to 950, reloading and redisplaying the 'ID' labels, presents '950' also in the PyMOL viewer, even if the ATOM is still on line 909 in the PDB file. How can this behavior be explained with regard to what we were talking about previously? What label-type is required to display the actual, non-label-dependent index of the atom in the system? Does the functionality depend on whether there are more detailed atom descriptors available, like residue type or chain id?
Thanks one more time for any help on this.
Am 25.10.10 17:03, schrieb Jason Vertrees:
> > Hi Martin& Tsjerk, > > There is a another difference between the two aside from the > off-by-o...