Skip to content

Need Tanimoto Similarity Search in the rdkit/rdkit-js like RDKIT #293

Description

@caok2709

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.

Activity

  1. changed the title [-]Need Tanimoto Similarity function in the rdkit/rdkit-js like RDKIT[/-] [+]Need Tanimoto Similarity Search in the rdkit/rdkit-js like RDKIT[/+] on Jan 9, 2023
  2. caok2709 commented on Jan 9, 2023

    @caok2709
    Author

    @MichelML Happy new year. Please let me know if this function can be release in the rdkit-js any soon.

  3. MichelML commented on Jan 9, 2023

    @MichelML
    Contributor

    Thanks @caok2709 , @ptosco isn't this possible already with the SubstructLibrary? Happy to add an example if it is indeed possible.

  4. ptosco commented on Jan 9, 2023

    @ptosco

    @MichelML It isn't. SubstructLibrary only retrieves molecule that contain the specified substructure, using pattern fingerprints as a pre-filter to improve performance. Currently rdkit-js has no functionality for similarity searches.

  5. caok2709 commented on Jan 10, 2023

    @caok2709
    Author

    @ptosco @MichelML Will it be possible to add Tanimoto Similarity search functionality in the next version?

  6. MichelML commented on Sep 23, 2023

    @MichelML
    Contributor

    @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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions