Chemistry Cartridge: MATCHES

Daylight 4.61, dayblob 46107, Oracle Server 8.13

The Chemistry Cartridge adds the MATCHES operator to SQL. When applied to a SMILES-containing column in a table, rows containing structures which match a given SMARTS pattern will be selected. This very powerful search is primarily useful for advanced users. Though this search is highly optimized, it can be relatively slow if all query nodes contain variablity. Note that this search takes a SMARTS (pattern) as input rather than a SMILES (structure). Other examples are also available.


Oracle table: COMPOUND_118616 (nci95 structures)
Search for structures which match the following pattern:

CC(=CC=CC=C(C)C=CC=C(C)C=CC1=C(C)CCCC1(C)C)C=CC=C(C)C=CC2=C(C)CCCC2(C)C


SQLPLUS session follows (show .sql file):


TO_CHAR(SYSDATE,'MM:
--------------------
10:22:1998, 12:51:46

Elapsed: 00:00:00.00
old   2: where Matches(smiles,'&1')=1
new   2: where Matches(smiles,'CC(=CC=CC=C(C)C=CC=C(C)C=CC1=C(C)CCCC1(C)C)C=CC=C(C)C=CC2=C(C)CCCC2(C)C')=1

     ID SMILES
------- ---------------------------------------------------------------------------------
  16714 CC(=CC=CC=C(C)C=CC=C(C)C=CC1=C(C)C(=O)CCC1(C)C)C=CC=C(C)C=CC2=C(C)C(=O)CCC2(C)C
  46634 CC(=CC=CC=C(C)C=CC=C(C)C=CC1=C(C)CCCC1(C)C)C=CC=C(C)C=CC2=C(C)CCCC2(C)C

Elapsed: 00:00:00.78

TO_CHAR(SYSDATE,'MM:
--------------------
10:22:1998, 12:51:46

PRE>
Daylight Chemical Information Systems, Inc.
info@daylight.com