Re: [Rdkit-discuss] Rdkit atom indexing vs indexing in written pdb file

2017-02-01 Thread Susan Leung
indexing vs indexing in written pdb file Dear Susan, If I understand what's going on correctly, you have run across the difference between 0-based and 1-based indexing. See https://en.wikipedia.org/wiki/Zero-based_numbering . RDKit, like most programming libraries and languages, index based

Re: [Rdkit-discuss] Rdkit atom indexing vs indexing in written pdb file

2017-02-01 Thread Andrew Dalke
Dear Susan, If I understand what's going on correctly, you have run across the difference between 0-based and 1-based indexing. See https://en.wikipedia.org/wiki/Zero-based_numbering . RDKit, like most programming libraries and languages, index based on an offset from the beginning, so 0

[Rdkit-discuss] Rdkit atom indexing vs indexing in written pdb file

2017-02-01 Thread Susan Leung
Dear all, I am producing rdkit conformers and writing them to pdb files but am finding the atom indexing in rdkit is different from the written pdb. I would like this because I want to do a substructure search (using rdkit) to give me a handle on these atoms in the pdbfile. Apologies if this