-
Notifications
You must be signed in to change notification settings - Fork 28
xyz2mol ? #121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thank you very much! I was working on z-matrix format (src/geometry/internal.jl), but not so active now. |
the xyz files are used a lot in QM calculations. Typically the format is:
comment line can be anything, but can be used to store some molecular information like charge and multiplicity. https://en.wikipedia.org/wiki/XYZ_file_format FYI I was based my initial attempt on this line 62 https://github.com/TUHH-TVT/openCOSMO-RS_conformer_pipeline/blob/main/ConformerGenerator.py |
It looks quite difficult for me. One possible starting point is minimum spanning tree algorithm, but short distance paths does not always mean covalent bonds. |
Yes it's a bit of a tricky problem and it tock a while for it get into rdkit. Jenson group wrote xyz2mol in python https://github.com/jensengroup/xyz2mol which was based on this publication DOI: 10.1002/bkcs.10334 This was then ported over to C++ https://greglandrum.github.io/rdkit-blog/posts/2022-12-18-introducing-rdDetermineBonds.html I believe the code does assign connectivity with a distance matrix but you're completely right it does require somewhat sensible conformations. |
I think this project is great but something I think could be really useful would be converting xyz file to a MolGraph, I had a unsuccessful attempt at it and I was wondering if you could suggest a way to create a MolGraph I was thinking via a dictionary
Many thanks,
Nick
The text was updated successfully, but these errors were encountered: