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

Atom Feature for Non-Tetrahedral Stereochemistry #411

Closed
shenoynikhil opened this issue Mar 3, 2023 · 3 comments
Closed

Atom Feature for Non-Tetrahedral Stereochemistry #411

shenoynikhil opened this issue Mar 3, 2023 · 3 comments

Comments

@shenoynikhil
Copy link

With this rdkit/rdkit#5084 being introduced, the atom.GetChiralTag() call can return additional chiralities like

CHI_OCTAHEDRAL
CHI_TRIGONALBIPYRAMIDAL
CHI_SQUAREPLANAR
CHI_ALLENE

This gives an error if I use the ogb.atom_to_feature_vector call. I am not sure what other places in the code will be affected by this, but I see an addition to this list being one of the changes.

@shenoynikhil
Copy link
Author

I've opened a PR with suggested changes. Feel free to continue the PR.

@weihua916
Copy link
Contributor

Thanks for the PR. While it is nice to introduce advanced features, I also want to maintain backward compatibility with existing models. I think it makes sense to include these features once they are proven useful for ML tasks. What do you think? Did you find these features actually influence/improve ML model performance?

@shenoynikhil
Copy link
Author

shenoynikhil commented Mar 5, 2023

I also want to maintain backward compatibility with existing models

I think the thing that would change in terms of backward compatibility is the scope of msc. The idx for 'CHI_UNSPECIFIED', 'CHI_TETRAHEDRAL_CW', 'CHI_TETRAHEDRAL_CCW', 'CHI_OTHER', would be the same as before.

Did you find these features actually influence/improve ML model performance?

I actually faced this issue when I was trying to set features for Molecule3D. Not so sure how much this would affect performance.

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