User 870ab5b546
22-08-2006 12:38:41
Am I missing something obvious here?
Target structure:
Query structure:
Use these parameters:
ourSearch.setExactChargeMatching(true);
ourSearch.setExactIsotopeMatching(true);
ourSearch.setExactRadicalMatching(true);
if (ourSearch.isMatchCountInRelation(">=", 1))
Result: The query is not found in the target. (The target is not a more specific case of the query.)
or use these parameters:
s1.setOption(SearchConstants.OPTION_CHARGE_MATCHING,
SearchConstants.CHARGE_MATCHING_EXACT);
s1.setOption(SearchConstants.OPTION_ISOTOPE_MATCHING,
SearchConstants.ISOTOPE_MATCHING_EXACT);
s1.setOption(SearchConstants.OPTION_RADICAL_MATCHING,
SearchConstants.RADICAL_MATCHING_EXACT);
boolean res1 = s1.isMatching();
and get this result: matchExact_JChem: JChem search result is false
Target structure:
Code: |
Marvin 08220608342D 11 12 0 0 0 0 999 V2000 -1.3438 1.3250 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 -2.0582 0.9125 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 -2.0582 0.0875 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 -1.3438 -0.3250 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 -0.6293 0.0875 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 -0.6293 0.9125 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 0.0852 1.3250 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 0.0852 -0.3250 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 0.7996 0.0875 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 0.7996 0.9125 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 -1.3438 2.1500 0.0000 Cl 0 0 0 0 0 0 0 0 0 0 0 0 1 2 2 0 0 0 0 1 6 1 0 0 0 0 2 3 1 0 0 0 0 3 4 2 0 0 0 0 4 5 1 0 0 0 0 7 6 1 0 0 0 0 5 6 2 0 0 0 0 5 8 1 0 0 0 0 7 10 2 0 0 0 0 8 9 2 0 0 0 0 9 10 1 0 0 0 0 1 11 1 0 0 0 0 M END |
Query structure:
Code: |
Marvin 08220608342D 11 12 0 0 0 0 999 V2000 -2.6207 1.1000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 -2.6207 0.2750 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 -1.9063 -0.1375 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 -1.9063 1.5125 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 -1.9063 2.3375 0.0000 Cl 0 0 0 0 0 0 0 0 0 0 0 0 -1.1918 1.1000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 -0.4773 1.5125 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 -1.1918 0.2750 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 -0.4773 -0.1375 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 0.2372 0.2750 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 0.2372 1.1000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 4 1 2 0 0 0 0 4 6 1 0 0 0 0 1 2 1 0 0 0 0 2 3 2 0 0 0 0 3 8 1 0 0 0 0 4 5 1 0 0 0 0 6 7 1 0 0 0 0 8 6 2 0 0 0 0 8 9 1 0 0 0 0 9 10 2 0 0 0 0 11 7 2 0 0 0 0 10 11 1 0 0 0 0 M END |
Use these parameters:
ourSearch.setExactChargeMatching(true);
ourSearch.setExactIsotopeMatching(true);
ourSearch.setExactRadicalMatching(true);
if (ourSearch.isMatchCountInRelation(">=", 1))
Result: The query is not found in the target. (The target is not a more specific case of the query.)
or use these parameters:
s1.setOption(SearchConstants.OPTION_CHARGE_MATCHING,
SearchConstants.CHARGE_MATCHING_EXACT);
s1.setOption(SearchConstants.OPTION_ISOTOPE_MATCHING,
SearchConstants.ISOTOPE_MATCHING_EXACT);
s1.setOption(SearchConstants.OPTION_RADICAL_MATCHING,
SearchConstants.RADICAL_MATCHING_EXACT);
boolean res1 = s1.isMatching();
and get this result: matchExact_JChem: JChem search result is false