-
Notifications
You must be signed in to change notification settings - Fork 36
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
Need Tanimoto Similarity Search in the rdkit/rdkit-js like RDKIT #293
Comments
@MichelML Happy new year. Please let me know if this function can be release in the rdkit-js any soon. |
@MichelML It isn't. SubstructLibrary only retrieves molecule that contain the specified substructure, using pattern fingerprints as a pre-filter to improve performance. Currently |
@ptosco how complex would it be to include similarity search in the minimallib? It seems like a common use case and something we would use at our company as well. |
Is your feature request related to a problem? Please describe.
No.
Describe the solution you'd like
Right now, it looks like rdkit-js only have the ability to do the Substructure Search.
However, we need to have Tanimoto Similarity search. For example:
You send a smiles string/or rdkit.get_mol(smiles string) + the similarity level (like 80% or any similarity level you want), then the code will search through an array of smiles just like what Substructure Search did. Then the function will tell if it can reach the similarity level of not.
Describe alternatives you've considered
I reviewed the source code of RDKIT. It looks the function is already there: DataStructs.TanimotoSimilarity.
Will you be able to migrate the function and put it in the rdkit-js?
Additional context
None.
The text was updated successfully, but these errors were encountered: