General search options
In this document the general search options are summarized and their usage is shown in different search interfaces.
Search typeSets different search options according to a predefined search type. For full explanation see detailed description of search types . |
MolSearchOptions mso = new MolSearchOptions( SearchConstants.SUBSTRUCTURE / Default search type is SearchConstants.SUBSTRUCTURE. JChemSearchOptions searchOptions = new JChemSearchOptions( SearchConstants.SUBSTRUCTURE / Default search type is SearchConstants.SUBSTRUCTURE. Use the jc_compare operator with t:s/f/ff/d/i/u/na
Use the following command line parameter: -t:s/f/ff/d/i/u/c, where
Option can be specified on Query>main options tab by selecting Search type. Default value is "Substructure".
|
See the availability of the option in further ChemAxon products: |
Order sensitive hitsSpecifies whether the same set of target atoms found in a different order should be considered as a different hit. |
MolSearchOptions searchOptions = new MolSearchOptions(SearchConstants.SUBSTRUCTURE); Default value is false. Not applicable. Use the following command line parameter: --orderSensitive Not applicable. |
See the availability of the option in further ChemAxon products: |
Pre-assignment of query and target atomsSpecifies an extra prerequisite of the structure search that queryAtom must match to targetAtom only or queryAtoms[0] must match to targetAtoms[0] only AND queryAtoms[1] must match to targetAtoms[1], etc. If this is impossible, the search methods will report no matching. The use of this method makes the search more effective than checking the hits afterwards. |
MolSearchOptions searchOptions = new MolSearchOptions(SearchConstants.SUBSTRUCTURE); |
See the availability of the option in further ChemAxon products: |
Distinct first atom matching enable/disableOption ensuring that upon the findNext() call the first atom must be stepped as well. Option is considered only in case of searching a recursive SMARTS query. |
MolSearchOptions searchOptions = new MolSearchOptions(SearchConstants.SUBSTRUCTURE); Default value is false. Not applicable. Use the following command line parameter: --distinctFirstAtomMatching:n/y Default value is n. |
See the availability of the option in further ChemAxon products: |
Standardization configurationSets standardizer object to be used for the query and target molecules, Chemical Terms configuration and re-standardization of query tautomers at tautomer searching.Default is no standardization, but query standardization is always switched on at tautomer search. See detailes of standardization in Standardizer manual. |
MolSearch searcher = new MolSearch(); Use the jc_compare operator with
Use the following command line parameter: -S "file name" / "action string" or --standardize "file name" / "action string" Default option is: -S 'aromatize'. Set -S '' to skip standardization. Option can be set on Query>advanced options tab by adding Additional Cartridge-style search option:
|
See the availability of the option in further ChemAxon products: |
Halt on errorSpecifies whether the search is aborted on error or continues searching on error finding and returning as many hits as possible. Halt on error option controlls the handling of record-wise, target dependent errors. In case of general errors: incompatible query, query - search option pair or license error the search is always stopped. Default value in case of Markush tables is HaltOnErrorOption.NO or n (do not halt on error), while in case of other table types HaltOnErrorOption.YES or y (halt on error). |
Not applicable. It can be specified as a constructor parameter. JChemSearchOptions searchOptions = new JChemSearchOptions(); Default parameter is HaltOnErrorOption .DEFAULT. Use the following command line parameter: --haltOnError:y/n |
See the availability of the option in further ChemAxon products: |