Searching for N-phenyl indoles

User 2466ee5d97

28-07-2009 19:59:50

I just noticed that these substructure queries



OC(=O)c1ccc(Nc2ccccc2)cc1


N(C1=CC=CC=C1)C1=CC=CC=C1



Do not find N-phenylindoles.

ChemAxon fa971619eb

29-07-2009 08:15:02

I think that is because the nitrogen is specified as aliphatic. To allow it to match indoles where the nitrogen is aromatic the bond type to the nitrogen would need to include aromatic. e.g. OC(=O)c1ccc(-[#7]c2ccccc2)cc1


Tim

User 2466ee5d97

29-07-2009 08:38:59

I did wonder that but this works


C1=CC=C(C=C1)N1C=CC2=C1C=CC=C2

User 2466ee5d97

29-07-2009 08:47:03

I tried


OC(=O)c1ccc(-[#7]c2ccccc2)cc1 and it does not work.


I used N-phenylindole as the query and it returned the results as expected, I then deleted the C3 of the indole and used it as the query and it did not return any indoles.

ChemAxon a3d59b832c

29-07-2009 08:58:57

Hi Chris,


 


The Kekulé form of rings is converted to aromatic form during the search process.


If you delete atoms from the Kekulé form of the aromatic ring, you will break aromaticity and it will therefore not find the aromatic rings. However, you can use explicit aromatic or query bond types (like any, single/aromatic, etc) as well. An alternative is to use vague bond search options on the advanced search options panel.


 


See more information about this topic in the documentation:


http://www.chemaxon.com/jchem/doc/user/query_standard.html


http://www.chemaxon.com/jchem/doc/user/query_searchoptions.html#vaguebond


 


Let us know if you have further questions.


 


Best regards,


Szabolcs

User 2466ee5d97

29-07-2009 09:24:22










tdudgeon wrote:

I think that is because the nitrogen is specified as aliphatic. To allow it to match indoles where the nitrogen is aromatic the bond type to the nitrogen would need to include aromatic. e.g. OC(=O)c1ccc(-[#7]c2ccccc2)cc1


Tim



Just realised there was a typo in your SMARTS if you use OC(=O)c1ccc([#7]c2ccccc2)cc1 it does work as required.


Thanks


Chris

ChemAxon fa971619eb

29-07-2009 09:41:11

Well, not a typo really. It depends on eactly what bonds you want to be treated as "single or aromatic".


See the attached for the difference. One extra bond is trated as "single or aromatic" in the second structure (your one).


Tim