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

tautomer.TautomerEnumerator() function #38

Open
mmagithub opened this issue Sep 1, 2020 · 6 comments
Open

tautomer.TautomerEnumerator() function #38

mmagithub opened this issue Sep 1, 2020 · 6 comments

Comments

@mmagithub
Copy link

Hi,
I am trying to enumerate tautomers using the tautomer.TautomerEnumerator() function. I am wondering if the returned list is sorted by scores so that the best-scoring tautomer in the list will have an index of zero, as it is not clear from the documentation, and if so, can I just limit to the most canonical tautomer by specifying the maximum tautomer parameter to 1

Thanks

@mcs07
Copy link
Owner

mcs07 commented Sep 1, 2020

I'm afraid that won't work. Specifying max_tautomers will actually just stop the enumeration once that many have been enumerated, so there's no guarantee that the best scoring tautomer has been found. So the only way to be sure is to enumerate fully first, and then score every enumerated tautomer.

@mmagithub
Copy link
Author

mmagithub commented Sep 2, 2020

thanks. does molvs has a function to score and sort these enumerated tautomers in an easy way. I tried to look at the documentation but could not figure out if a function like this exist. thanks

@UnixJunkie
Copy link

Cf. MolVS/molvs/tautomer.py
class TautomerCanonicalizer.canonicalize

@mmagithub
Copy link
Author

Thanks. But my understanding is that the canonical tautomer is not essentially the most stable (or most energetically favorable). Other than canonicalization, is there is something else we can do to get the most energetically favorable tautomer, assuming standard conditions and neutral pH ?

@UnixJunkie
Copy link

UnixJunkie commented Sep 2, 2020

Maybe score them using a force field like MMFF94 in rdkit?

@mmagithub
Copy link
Author

Interesting, will try that. thanks for the suggestion.

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

3 participants