substructure matching method in JAVA API

User d1c1a30031

27-04-2016 00:24:39

1) Which substructure matching method in JAVA Class corresponds to JCSubstrutureMatchCount in EXCEL? findAllHits or getMatchCount()?


2) substructure search using getMatchCount() in JAVA and JCSubstrutureMatchCount() in EXCEL return different results. See example below.


I have a list of substructures, including CH(aromatic), =CH- (ring). The SMARTS for CH(aromatic) and =CH- (ring) are: [cH1;a] and [CR1H1D2], respectively


target Compound: Benzene


Results returned in EXCEL is 6 matches of CH(aromatic) which is correct. However, in my JAVA code, it returns 6 matches of =CH- (ring). aromatize(true) was used to the compound.


So, what's the problem here?


 


Thanks,


Zhe

ChemAxon 990acf0dec

27-04-2016 12:29:43

Hi Zhe,


The JCSubstrutureMatchCount JC4XL function applies the getMatchCount() method.


Best regard,


Akos

User d1c1a30031

27-04-2016 18:46:58










apapp wrote:

Hi Zhe,


The JCSubstrutureMatchCount JC4XL function applies the getMatchCount() method.


Best regard,


Akos



Hi Akos,


Thank you so much for help. One following up question is how JCSubstuctureMatchCount handles aromatization? Thanks.


Zhe

ChemAxon abe887c64e

02-05-2016 12:34:03

Hi Zhe,


By default, general aromatization is taken into account.


Best regards,


Krisztina