Reaction SMIRKS is the language used for describing generic reactions (transformations). Reaction SMIRKS is a superset of reaction SMILES. Reaction SMIRKS is basically reaction SMILES with allowed SMARTS expressions. Hence, all valid reaction SMIRKS are also valid reaction SMARTS patterns.
The SMIRKS rules are as follows:
|Depiction||Reaction SMIRKS and remark|
Here's a simple transform. It is useful for converting between tautomer representations of Nitro groups. SMIRKS need not represent real chemistry; they are useful tools for manipulating molecules, too.
Our favorite esterification, the complete version.
Our favorite esterification again. This uses the new 4.61 syntax for adding and deleting atoms: unmapped atoms are assumed to come from outside of the environment.
|[$([O,S;+0]C),$([N+0](C)C),$(C=C[O,N,S]:1][c:10]1[cH:8][cH:6][cH:5][cH:7][cH:9]1. [O-:2][N+:4]=[O:3]>>[$([O,S;+0]C),$([N+0](C)C),$(C=C[O,N,S]:1][c:10]1 [cH:8][cH:6][c:5]([cH:7][cH:9]1)[N+:4](=[O:3])[O-:2]
Atomic SMARTS expressions can be used to describe "environmental" factors which affect the generic reaction. In this case, electron donation to the ring favors the reaction.
A Ketal formation (protection reaction). Thecarbonyl oxygen goes away; it is not retained as part of the cyclic ketal.
An alkylation reaction. This uses SMARTS for atom expressions.
In version 4.51, atoms which were involved directly in a transformation (the bonding to that atom changed in the transform) were required to be expressed as SMILES. All other atom expressions could be SMARTS. In version 4.61, this restriction was relaxed to allow the following general syntax for atom expressions which are involved in the reaction:
[<SMILES PART>;<SMARTS PART>:<MAP>]
Using the low-precedence and (";") one can explicitly say the
properties of the atom that change during the transform, while keeping the
ability to generalize the transform with SMARTS, including recursive SMARTS.
a general ammonium ion deprotonation. Prior to version 4.61, it would have
been necessary to represent this concept as two separate SMIRKS in order to
express both aliphatic and aromatic reactions.
Chirality is handled locally in SMIRKS, with SMARTS semantics. For example, the following two transformations both invert carbon tetrahedral stereochemistry: