-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
RdkitConformerFeaturizer #3378
RdkitConformerFeaturizer #3378
Conversation
The main issue which I think we need to discuss is the handling of conformers in the featurization. We input one smiles, and get get out The other question is whether we want to enable limits on the RMSD error for a conformer to be returned, because if you set self.num_conformers too high you will get unrealistic molecules. Not sure how important that is, or if we can leave that up to the user to decide. |
(18, 3) | ||
""" | ||
|
||
def __init__(self, num_conformers: int = 1): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you a docstring?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Documenting offline discussion, @tonydavis629 to proceed with fixed number of conformers, a quality rejection threshold for conformers, and to either round-robin repeat or use Nones in the case that there are insufficient high quality conformers.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, feel free to merge in once CI is clear
Description
This PR implements a featurizer which uses RDkit to generate conformers and 3d coordinates
Type of change
Please check the option that is related to your PR.
Checklist
yapf -i <modified file>
and check no errors (yapf version must be 0.32.0)mypy -p deepchem
and check no errorsflake8 <modified file> --count
and check no errorspython -m doctest <modified file>
and check no errors