File: tautomerTransforms.v1.in

package info (click to toggle)
rdkit 202209.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 203,880 kB
  • sloc: cpp: 334,239; python: 80,247; ansic: 24,579; java: 7,667; sql: 2,123; yacc: 1,884; javascript: 1,358; lex: 1,260; makefile: 576; xml: 229; fortran: 183; cs: 181; sh: 101
file content (145 lines) | stat: -rw-r--r-- 8,001 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
//
//  Copyright (C) 2021 Greg Landrum
//
//   @@ All Rights Reserved @@
//  This file is part of the RDKit.
//  The contents are covered by the terms of the BSD license
//  which is included in the file license.txt, found at the root
//  of the RDKit source tree.
//

// ------------------------
// Distributed with v2021.09 and previous versions
namespace defaults {
// Derived from the transforms in Sitzmann et al.
// https://doi.org/10.1007/s10822-010-9346-4
//	Name	SMARTS	Bonds	Charges
const std::vector<
    std::tuple<std::string, std::string, std::string, std::string>>
    defaultTautomerTransformsv1{
        std::make_tuple(std::string("1,3 (thio)keto/enol f"),
                        std::string("[CX4!H0]-[C]=[O,S,Se,Te;X1]"),
                        std::string(""), std::string("")),
        std::make_tuple(std::string("1,3 (thio)keto/enol r"),
                        std::string("[O,S,Se,Te;X2!H0]-[C]=[C]"),
                        std::string(""), std::string("")),
        std::make_tuple(
            std::string("1,5 (thio)keto/enol f"),
            std::string("[CX4,NX3;!H0]-[C]=[C][CH0]=[O,S,Se,Te;X1]"),
            std::string(""), std::string("")),
        std::make_tuple(std::string("1,5 (thio)keto/enol r"),
                        std::string("[O,S,Se,Te;X2!H0]-[CH0]=[C]-[C]=[C,N]"),
                        std::string(""), std::string("")),
        std::make_tuple(std::string("aliphatic imine f"),
                        std::string("[CX4!H0]-[C]=[NX2]"), std::string(""),
                        std::string("")),
        std::make_tuple(std::string("aliphatic imine r"),
                        std::string("[NX3!H0]-[C]=[CX3]"), std::string(""),
                        std::string("")),
        std::make_tuple(std::string("special imine f"),
                        std::string("[N!H0]-[C]=[CX3R0]"), std::string(""),
                        std::string("")),
        std::make_tuple(std::string("special imine r"),
                        std::string("[CX4!H0]-[c]=[n]"), std::string(""),
                        std::string("")),
        std::make_tuple(std::string("1,3 aromatic heteroatom H shift f"),
                        std::string("[#7+0!H0]-[#6R1]=[O,#7X2+0]"),
                        std::string(""), std::string("")),
        std::make_tuple(std::string("1,3 aromatic heteroatom H shift "),
                        std::string("[O,#7+0;!H0]-[#6R1]=[#7+0X2]"),
                        std::string(""), std::string("")),
        std::make_tuple(
            std::string("1,3 heteroatom H shift"),
            std::string(
                "[#7+0,S,O,Se,Te;!H0]-[#7X2,#6,#15]=[#7+0,#16,#8,Se,Te]"),
            std::string(""), std::string("")),
        std::make_tuple(
            std::string("1,5 aromatic heteroatom H shift"),
            std::string(
                "[#7+0,#16,#8;!H0]-[#6,#7]=[#6]-[#6,#7]=[#7+0,#16,#8;H0]"),
            std::string(""), std::string("")),
        std::make_tuple(std::string("1,5 aromatic heteroatom H shift "),
                        std::string("[#7+0,#16,#8,Se,Te;!H0]-[#6,nX2]=[#6,nX2]-"
                                    "[#6,#7X2]=[#7X2+0,S,O,Se,Te]"),
                        std::string(""), std::string("")),
        std::make_tuple(std::string("1,5 aromatic heteroatom H shift r"),
                        std::string("[#7+0,S,O,Se,Te;!H0]-[#6,#7X2]=[#6,nX2]-[#"
                                    "6,nX2]=[#7+0,#16,#8,Se,Te]"),
                        std::string(""), std::string("")),
        std::make_tuple(
            std::string("1,7 aromatic heteroatom H shift f"),
            std::string("[#7+0,#8,#16,Se,Te;!H0]-[#6,#7X2]=[#6,#"
                        "7X2]-[#6,#7X2]=[#6]-[#6,#7X2]=[#7X2+0,S,O,Se,Te,CX3]"),
            std::string(""), std::string("")),
        std::make_tuple(
            std::string("1,7 aromatic heteroatom H shift r"),
            std::string("[#7+0,S,O,Se,Te,CX4;!H0]-[#6,#7X2]=[#6]-[#"
                        "6,#7X2]=[#6,#7X2]-[#6,#7X2]=[NX2,S,O,Se,Te]"),
            std::string(""), std::string("")),
        std::make_tuple(
            std::string("1,9 aromatic heteroatom H shift f"),
            std::string("[#7+0,O;!H0]-[#6,#7X2]=[#6,#7X2]-[#6,#7X2]"
                        "=[#6,#7X2]-[#6,#7X2]=[#6,#7X2]-[#6,#7X2]=[#7+0,O]"),
            std::string(""), std::string("")),
        std::make_tuple(std::string("1,11 aromatic heteroatom H shift f"),
                        std::string("[#7+0,O;!H0]-[#6,nX2]=[#6,nX2]-[#6,nX2]=[#"
                                    "6,nX2]-[#6,nX2]=[#6,nX2]-[#6,nX2]=[#6,nX2]"
                                    "-[#6,nX2]=[#7X2+0,O]"),
                        std::string(""), std::string("")),
        std::make_tuple(
            std::string("furanone f"),
            std::string("[O,S,N;!H0]-[#6r5]=[#6X3r5;$([#6]([#6r5])=[#6r5])]"),
            std::string(""), std::string("")),
        std::make_tuple(
            std::string("furanone r"),
            std::string("[#6r5!H0;$([#6]([#6r5])[#6r5])]-[#6r5]=[O,S,N]"),
            std::string(""), std::string("")),
        std::make_tuple(std::string("keten/ynol f"),
                        std::string("[C!H0]=[C]=[O,S,Se,Te;X1]"),
                        std::string("#-"), std::string("")),
        std::make_tuple(std::string("keten/ynol r"),
                        std::string("[O,S,Se,Te;!H0X2]-[C]#[C]"),
                        std::string("=="), std::string("")),
        std::make_tuple(std::string("ionic nitro/aci-nitro f"),
                        std::string("[C!H0]-[N+;$([N][O-])]=[O]"),
                        std::string(""), std::string("")),
        std::make_tuple(std::string("ionic nitro/aci-nitro r"),
                        std::string("[O!H0]-[N+;$([N][O-])]=[C]"),
                        std::string(""), std::string("")),
        std::make_tuple(std::string("oxim/nitroso f"),
                        std::string("[O!H0]-[N]=[C]"), std::string(""),
                        std::string("")),
        std::make_tuple(std::string("oxim/nitroso r"),
                        std::string("[C!H0]-[N]=[O]"), std::string(""),
                        std::string("")),
        std::make_tuple(std::string("oxim/nitroso via phenol f"),
                        std::string("[O!H0]-[N]=[C]-[C]=[C]-[C]=[OH0]"),
                        std::string(""), std::string("")),
        std::make_tuple(std::string("oxim/nitroso via phenol r"),
                        std::string("[O!H0]-[c]=[c]-[c]=[c]-[N]=[OH0]"),
                        std::string(""), std::string("")),
        std::make_tuple(std::string("cyano/iso-cyanic acid f"),
                        std::string("[O!H0]-[C]#[N]"), std::string("=="),
                        std::string("")),
        std::make_tuple(std::string("cyano/iso-cyanic acid r"),
                        std::string("[N!H0]=[C]=[O]"), std::string("#-"),
                        std::string("")),
        std::make_tuple(std::string("formamidinesulfinic acid f"),
                        std::string("[O,N;!H0]-[C]=[S,Se,Te;v6]=[O]"),
                        std::string("=--"), std::string("")),
        std::make_tuple(std::string("formamidinesulfinic acid r"),
                        std::string("[O!H0]-[S,Se,Te;v4]-[C]=[O,N]"),
                        std::string("==-"), std::string("")),
        std::make_tuple(std::string("isocyanide f"),
                        std::string("[C-0!H0]#[N+0]"), std::string("#"),
                        std::string("-+")),
        std::make_tuple(std::string("isocyanide r"),
                        std::string("[N+!H0]#[C-]"), std::string("#"),
                        std::string("-+")),
        std::make_tuple(std::string("phosphonic acid f"),
                        std::string("[OH]-[PH0]"), std::string("="),
                        std::string("")),
        std::make_tuple(std::string("phosphonic acid r"),
                        std::string("[PH]=[O]"), std::string("-"),
                        std::string(""))};
}  // namespace defaults