Similarity specific search options
In this section search options concerning similarity are summarized and their usage is shown in different search interfaces.
Dissimilarity metricsSets the metric to be used during similarity search. |
Not applicable. JChemSearchOptions searchOptions = new JChemSearchOptions(SearchConstants.SIMILARITY); Default value is null, which means using the default metric. Use the jc_compare operator with dissimilarityMetric. The values accepted as <metric> depend on the structureType.
Example: select count(*) from nci_1k where jc_compare(structure, 'C[C@H](CS)C(=O)N1CCC[C@H]1C(O)=O |r|', Not applicable. |
See the availability of the option in further ChemAxon products: |
Dissimilarity threshold for similarity searchSets the property dissimilarity threshold. Sets the threshold for similarity searches. Lower threshold results less hits which are more similar to the query structure. |
Not applicable. JChemSearchOptions searchOptions = new JChemSearchOptions(SearchConstants.SIMILARITY); Default value is 0.3. Use the jc_compare operator with simThreshold:float. The following SQL query returns the number of structures in nci_250k, whose similarity with Brc1ccccc1 is greater then 0.9: SELECT count(*) FROM nci_250k WHERE jc_compare(smiles, 'Brc1ccccc1', 't:i simThreshold:0.9') = 1; It can be set when the search type (similarity) is specified: -t:i[:dissimilarity_threshold] |
See the availability of the option in further ChemAxon products: |