Functional Group

ester ester Oxygen: carbonyl family

Within: carboxylic ester (incl. lactone).

Definition

Query graph 1 of ester

anchor: one occurrence is one distinct set of these atoms. Unhighlighted atoms must be present but are not part of the group. Atoms are written as the pattern requires them: OH, NH2 and O− mean exactly those hydrogens and that charge. The note beside each atom gives its number in the table and, for a carbon, what its letter alone does not: sp3, sp2 or sp from the number of its connections, or aromatic / aliphatic where the pattern requires one (no note: either will do). Lower-case letters are aromatic atoms; * is any atom, a any aromatic atom.

#AtomConditions
1 anchor carbon 3 connections (hydrogens included)
must be in one of the environments [#6]-[#6] or [#6;H1]
2 anchor oxygen (non-aromatic) 1 connection (hydrogens included)
3 anchor oxygen 2 connections (hydrogens included); 0 hydrogens
4 carbon

Bonds: 1–2 double; 1–3 single; 3–4 single.

Anchor atoms: 1, 2, 3. An environment is a SMARTS pattern that must (or must not) match around the atom, beginning at it; it is shown as written.

SMARTS: [#6X3;$([#6]-[#6]),$([#6;H1])](=[OX1])-[#8X2;H0]-[#6]

Matched with RDKit’s substructure matcher on the molecule with implicit hydrogens and RDKit’s default aromaticity model, in the most aromatic resonance form.

Precedence

Not counted where its anchor atoms lie inside a match of: lactone, anhydride, carbonate, carbamate, pyranone (2-/4-pyrone, coumarin).

Takes precedence over: ether (aliphatic), aryl ether.

The comparison is with every match of the other group before any precedence is applied, so the result does not depend on the order in which groups are tried.

Examples

Each is a test of the definition, checked on every change to it: the stated count must be found exactly. Each counted occurrence is highlighted in its own colour.

CC(=O)OC
n = 1 CC(=O)OC
COC=O
n = 1 COC=O
CCOC(=O)c1ccccc1
n = 1 CCOC(=O)c1ccccc1
COC(=O)CC(=O)OC
n = 2 COC(=O)CC(=O)OC
CC(=O)Oc1ccccc1
n = 1 CC(=O)Oc1ccccc1

Near misses

Molecules this group must not be found in (n = 0), also tested on every change. “Matched instead” names a group that takes precedence over this one there: this group’s pattern fits, at the grey atoms, but those lie inside the other group’s match. “Groups found” are simply the groups this molecule has; they did not replace this one.

CC(=O)O
n = 0 CC(=O)O
Groups found: carboxylic acid
COC
n = 0 COC
Groups found: ether (aliphatic)
O=C1CCCO1
n = 0 O=C1CCCO1
Matched instead as: lactone
COC(=O)OC
n = 0 COC(=O)OC
Groups found: carbonate
CC(=O)OC(C)=O
n = 0 CC(=O)OC(C)=O
Matched instead as: anhydride
COC(N)=O
n = 0 COC(N)=O
Groups found: carbamate

In the ATB

  • 3,943 annotated compounds have it;
  • 218 of them have experimental reference data;
  • 149 are monofunctional: this is their only group, once (rings count as groups, so a phenol is not).

The annotated compounds are those with experimental reference data plus small, neutral organic compounds (up to 12 heavy atoms), not every ATB molecule. Through the API: GET /api/v1/molecules?functional_group=ester.

Annotation scheme 2.