Skip to content
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

Request for missing code #2

Open
MarissaRao opened this issue Oct 21, 2024 · 3 comments
Open

Request for missing code #2

MarissaRao opened this issue Oct 21, 2024 · 3 comments

Comments

@MarissaRao
Copy link

Fantastic work!

However, I’m a bit confused about the GNN encoding and 3D feature aspects of your project.

Although GNN encoding is referenced in your article, I couldn’t find the corresponding code in your project or training scripts.

What’s more, I noticed in your article that you compared 3D features with 2D features (like MAT-2D and MAT-3D), but there are only specific Python files for generating 2D-MAT or 2D-UniMol features. How can I obtain the 3D molecular features?

Do you happen to have any additional code that incorporates GNN encoding and 3D feature during the training process? If so, I would greatly appreciate it if you could share it.

Thank you so much!

@WillHua127
Copy link
Owner

# AllChem.EmbedMolecule(mol, maxAttempts=500)

This line allows you to generate 3d conformers using MAT. As for UniMol, you may refer to their official repository to generate 3D conformers.

@MarissaRao
Copy link
Author

Thank you for your response.
And could you please explain how to incorporate GNN encoding during the training process? I would greatly appreciate any guidance you could provide.
Looking forward to your reply. Thank you once again!

@WillHua127
Copy link
Owner

You can either follow simple graph convolution, where you propagate features before doing the convolution. Or you can use pre-trained EGNN to encode molecules (like using ESM to encode proteins), there are multiple ones available on Github. Or you can pre-train GNN on your own, and use it for encoding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants