User Tools

Site Tools


api

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
api [2023/05/23 18:28] – [Similarity search] flackapi [2023/05/23 18:30] – [Similarity search] flack
Line 851: Line 851:
 Optional fields: Optional fields:
  
-    * **threshold**: float, accepted values between 0.7 and 1.0, default: 0.9+    * **threshold**: float, similarity threshold, accepted values between 0.7 and 1.0, default: 0.9
     * **limit**: integer, accepted values between 1 and 1000, default: 100     * **limit**: integer, accepted values between 1 and 1000, default: 100
     * **collection**: string, accepted values: "full", "in_stock", default: "full". If you specify "in_stock" the search will be performed on the Mcule Purchasable (In Stock) collection which means that Virtual /  Potentially purchasable (60-80%) compounds will be excluded from the hits.     * **collection**: string, accepted values: "full", "in_stock", default: "full". If you specify "in_stock" the search will be performed on the Mcule Purchasable (In Stock) collection which means that Virtual /  Potentially purchasable (60-80%) compounds will be excluded from the hits.
Line 919: Line 919:
 </code> </code>
  
-The **limit** field accepts values between 1 and 1000, the default is 100.+Mandatory fields: 
 + 
 +    * **query**: string, accepted identifiers: mcule ID, SMILES. 
 + 
 +Optional fields: 
 + 
 +    * **limit**: integer, accepted values between 1 and 1000, default100 
 +    * **collection**: string, accepted values: "full", "in_stock", default: "full". If you specify "in_stock" the search will be performed on the Mcule Purchasable (In Stock) collection which means that Virtual /  Potentially purchasable (60-80%) compounds will be excluded from the hits.
  
  
api.txt · Last modified: 2024/05/10 08:12 by bkovats