MolSearch API MolSearchOptions searchOptions = new MolSearchOptions(SearchConstants.SUBSTRUCTURE); searchOptions.setVagueBondLevel( SearchConstants.VAGUE_BOND_OFF / SearchConstants.VAGUE_BOND_HALF / SearchConstants.VAGUE_BOND_LEVEL1/ SearchConstants.VAGUE_BOND_LEVEL2 / SearchConstants.VAGUE_BOND_LEVEL3 / SearchConstants.VAGUE_BOND_LEVEL4 ); // ... MolSearch searcher = new MolSearch(); searcher.setSearchOptions(searchOptions);JChemSearch API JChemSearchOptions searchOptions = new JChemSearchOptions(SearchConstants.SUBSTRUCTURE); searchOptions.setVagueBondLevel( SearchConstants.VAGUE_BOND_OFF / SearchConstants.VAGUE_BOND_HALF /SearchConstants.VAGUE_BOND_LEVEL1 / SearchConstants.VAGUE_BOND_LEVEL2 / SearchConstants.VAGUE_BOND_LEVEL3 / SearchConstants.VAGUE_BOND_LEVEL4 ); // ... JChemSearch searcher = new JChemSearch(); searcher.setSearchOptions(searchOptions); JChem Oracle CartridgeUse the jc_compare operator with vagueBond:n/h/1/2/3/4 n: off h: handling of certain 5-membered ambiguous aromatic rings like [C,N]1C=CC=C1 (default from version 15.9.14); 1: handling of certain 5-membered ambiguous aromatic rings like [C,N]1C=CC=C1 and 1-atom-long aromatic ring ligands and bridging bonds between two aromatic rings (default in versions prior to 15.9.14); 2: all single and double ring bonds match aromatic; 3: all single and double bonds match aromatic; 4: ignore all bond types.jcsearch command line toolUse the following command line parameter:--vagueBond:n/h/1/2/3/4 n: off h: handling of certain 5-membered ambiguous aromatic rings like [C,N]1C=CC=C1 (default from version 15.9.14); 1: handling of certain 5-membered ambiguous aromatic rings like [C,N]1C=CC=C1 and 1-atom-long aromatic ring ligands and bridging bonds between two aromatic rings (default in versions prior to 15.9.14); 2: all single and double ring bonds match aromatic; 3: all single and double bonds match aromatic; 4: ignore all bond types. |