How does MolToPDBFile() determine the order of atoms? #7114
-
it seems that molecules with similar structures can always get similar results in terms of atom order, for example, i noticed that for several molecules that have a benzene ring, the carbon atom on that benzene ring always have the same index across all those moleculres. so i wonder if there is a specific rule that rdkit/pdb file follows. |
Beta Was this translation helpful? Give feedback.
Answered by
greglandrum
Jan 31, 2024
Replies: 1 comment
-
@fyy623 the atoms are written to the PDB output in the same order they are in the molecule.
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
fyy623
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@fyy623 the atoms are written to the PDB output in the same order they are in the molecule.
Here's an example, three different atom orderings for ethanol: