-
Notifications
You must be signed in to change notification settings - Fork 43
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
How to implement SA_score calculation? #4
Comments
Cheng, The sascorer.py is reproduced directly from the RDKit implementation. As an example, see the following:
The first time you call |
@connorcoley Hi Connor, appreciated much for your pretty helpful response. It works well on my end now! Thanks! Cheng |
Hi @connorcoley I am having some issues testing SAScore on a subset of compounds I am testing. |
The SA Score is a contribution in RDKit, which is a simpler and more direct way to use it: https://github.com/rdkit/rdkit/blob/master/Contrib/SA_Score/sascorer.py |
Hello Connor,
Thanks for your email.
So I copied that snippet you shared and saved it as a score.py inside the
score folder and activated the environment as well, I have numpy and RDKit
installed inside this environment.
I just ran python score.py CC(=O)OC(CC(=O)[O-])C[N+](C)(C)C
Getting this error:
(sccsore) ***@***.*** scscore]$ python test2.py
CC(=O)OC(CC(=O)[O-])C[N+](C)(C)C
-bash: syntax error near unexpected token `('
(sccsore) ***@***.*** scscore]$
…On Wed, Jun 21, 2023 at 10:07 AM Connor Coley ***@***.***> wrote:
The SA Score is a contribution in RDKit, which is a simpler and more
direct way to use it:
https://github.com/rdkit/rdkit/blob/master/Contrib/SA_Score/sascorer.py
<https://github.com/rdkit/rdkit/blob/master/Contrib/SA_Score/sascorer.py>
—
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AZOA6WZ4LQWIEDPTSDJPGD3XMMS5VANCNFSM4EYMANTA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Hi Connor,
I checked your paper, and the SI table, where you compared the SCScore and SA_score for a library of SMILES-format molecules. I would like to compare those two as well for my library of molecules. However, I have no idea how to implement SA_score calculation using your provided script i.e. "sascorer.py". Would you mind provide a simple example (e.g a SMILES formated molecule) about how to use that for SA_score calculation? Thank you much!
Cheng
The text was updated successfully, but these errors were encountered: