-
Notifications
You must be signed in to change notification settings - Fork 22
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
Quick script to obtain molecular embeddings #27
Comments
Hi @fengjiang02, I can provide a Python pseudocode, which should cover sufficient information for you to get the embedding. SMILES / 2D Graph
3D Graph
Feel free to let me know if this is still unclear to you. |
Thank you :) I have also noticed some of your models on Hugging Face. I wonder if it is possible to directly obtain molecular structure information through Hugging Face? For example, your “MoleculeSTM_graph_property_prediction“ model makes it easy to get embeddings, but it is not yet clear whether it contains structural information... |
Hi @fengjiang02, I see your questions. It is definitely do-able, just I haven't implemented them yet, and users may need to hack the code a little bit. It's not very hard for users who are familiar with pytorch-geometric. Are you able to solve the problems using the codes above? |
Is there a shortcut script that inputs a molecule's SMILES or its 2D/3D structure and outputs the embedding of that molecule? Thank you.
The text was updated successfully, but these errors were encountered: