User b22f714996
26-05-2005 07:27:44
Hello...
Sorry to bother again but I have 2 questions concerning the search capabilities of JChemSearch (API).
I saw that I have the option to restrict the maximum number of hits in a search. But is there a way to randomize the result? What I mean is, if I submit a substructure search query and limit the maximal number of hits to 100, I will always get the first 100 hits. I would like to get 100 random hits (since there are many more in the database). So is there are other way to do this except for search the total database and the do a "ORDER BY RAND() LIMIT 100" on the result table?
My second question concerns the similarity search in JChemSearch. I saw in the examples of Evaluator this neat piece about scaffold hopping. The rules for this are defined as:
Now to do this I just tried to perform two searches on my database (the database consists of a structure table, a table for the pharmacophore fingerprint descriptor and one for the structural fingerprint). First on the structural fingerprint and afterwards on the pharmacophore fingerprint. This is quite slow since it has to iterate through the whole table twice... Is there a way to combine this in just one search?
Thanks a lot for your help...
tobias
Sorry to bother again but I have 2 questions concerning the search capabilities of JChemSearch (API).
I saw that I have the option to restrict the maximum number of hits in a search. But is there a way to randomize the result? What I mean is, if I submit a substructure search query and limit the maximal number of hits to 100, I will always get the first 100 hits. I would like to get 100 random hits (since there are many more in the database). So is there are other way to do this except for search the total database and the do a "ORDER BY RAND() LIMIT 100" on the result table?
My second question concerns the similarity search in JChemSearch. I saw in the examples of Evaluator this neat piece about scaffold hopping. The rules for this are defined as:
Code: |
dissimilarity("ChemicalFingerprint", refmol) - dissimilarity("PharmacophoreFingerprint", refmol) > 0.6 |
Now to do this I just tried to perform two searches on my database (the database consists of a structure table, a table for the pharmacophore fingerprint descriptor and one for the structural fingerprint). First on the structural fingerprint and afterwards on the pharmacophore fingerprint. This is quite slow since it has to iterate through the whole table twice... Is there a way to combine this in just one search?
Thanks a lot for your help...
tobias