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 revisionBoth sides next revision
api [2023/01/25 20:45] flackapi [2023/05/23 18:28] – [Similarity search] flack
Line 845: Line 845:
 </code> </code>
  
-The **threshold** field accepts values between 0.7 and 1.0, the default is 0.9.+Mandatory fields:
  
-The **limit** field accepts values between 1 and 1000, the default is 100.+    * **query**: string, accepted identifiers: mcule ID, SMILES. 
 + 
 +Optional fields: 
 + 
 +    * **threshold**: float, accepted values between 0.7 and 1.0, default: 0.9 
 +    * **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: 2023/06/03 07:19 by flack