Similarity search in a python database using rdkit

37 Views Asked by At

How to run a similarity search in a database and the output should be a table with molecules which passed a specific treshold?

I tried this

query = sql.SQL("""
        SELECT *, morganbv_fp(smiles::qmol) %% morganbv_fp(%s::qmol) AS similarity
        FROM {}
        WHERE morganbv_fp(smiles::qmol) %% morganbv_fp(%s::qmol) > %s
        ORDER BY similarity DESC
0

There are 0 best solutions below