File: fragmentPatterns.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 (76 lines) | stat: -rw-r--r-- 3,170 bytes parent folder | download | duplicates (3)
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
//
//  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.
//

namespace defaults {
//   Name	SMARTS
const std::vector<std::pair<std::string, std::string>> defaultFragments = {
    {"hydrogen", "[H]"},
    {"fluorine", "[F]"},
    {"chlorine", "[Cl]"},
    {"bromine", "[Br]"},
    {"iodine", "[I]"},
    {"lithium", "[Li]"},
    {"sodium", "[Na]"},
    {"potassium", "[K]"},
    {"calcium", "[Ca]"},
    {"magnesium", "[Mg]"},
    {"aluminium", "[Al]"},
    {"barium", "[Ba]"},
    {"bismuth", "[Bi]"},
    {"silver", "[Ag]"},
    {"strontium", "[Sr]"},
    {"zinc", "[Zn]"},
    {"ammonia/ammonium", "[#7]"},
    {"water/hydroxide", "[#8]"},
    {"methyl amine", "[#6]-[#7]"},
    {"sulfide", "S"},
    {"nitrate", "[#7](=[#8])(-[#8])-[#8]"},
    {"phosphate", "[P](=[#8])(-[#8])(-[#8])-[#8]"},
    {"hexafluorophosphate", "[P](-[#9])(-[#9])(-[#9])(-[#9])(-[#9])-[#9]"},
    {"sulfate", "[S](=[#8])(=[#8])(-[#8])-[#8]"},
    {"methyl sulfonate", "[#6]-[S](=[#8])(=[#8])(-[#8])"},
    {"trifluoromethanesulfonic acid",
     "[#8]-[S](=[#8])(=[#8])-[#6](-[#9])(-[#9])-[#9]"},
    {"trifluoroacetic acid", "[#9]-[#6](-[#9])(-[#9])-[#6](=[#8])-[#8]"},
    {"1,2-dichloroethane", "[Cl]-[#6]-[#6]-[Cl]"},
    {"1,2-dimethoxyethane", "[#6]-[#8]-[#6]-[#6]-[#8]-[#6]"},
    {"1,4-dioxane", "[#6]-1-[#6]-[#8]-[#6]-[#6]-[#8]-1"},
    {"1-methyl-2-pyrrolidinone", "[#6]-[#7]-1-[#6]-[#6]-[#6]-[#6]-1=[#8]"},
    {"2-butanone", "[#6]-[#6]-[#6](-[#6])=[#8]"},
    {"acetate/acetic acid", "[#8]-[#6](-[#6])=[#8]"},
    {"acetone", "[#6]-[#6](-[#6])=[#8]"},
    {"acetonitrile", "[#6]-[#6]#[N]"},
    {"benzene", "[#6]1[#6][#6][#6][#6][#6]1"},
    {"butanol", "[#8]-[#6]-[#6]-[#6]-[#6]"},
    {"t-butanol", "[#8]-[#6](-[#6])(-[#6])-[#6]"},
    {"chloroform", "[Cl]-[#6](-[Cl])-[Cl]"},
    {"cycloheptane", "[#6]-1-[#6]-[#6]-[#6]-[#6]-[#6]-[#6]-1"},
    {"cyclohexane", "[#6]-1-[#6]-[#6]-[#6]-[#6]-[#6]-1"},
    {"dichloromethane", "[Cl]-[#6]-[Cl]"},
    {"diethyl ether", "[#6]-[#6]-[#8]-[#6]-[#6]"},
    {"diisopropyl ether", "[#6]-[#6](-[#6])-[#8]-[#6](-[#6])-[#6]"},
    {"dimethyl formamide", "[#6]-[#7](-[#6])-[#6]=[#8]"},
    {"dimethyl sulfoxide", "[#6]-[S](-[#6])=[#8]"},
    {"ethanol", "[#8]-[#6]-[#6]"},
    {"ethyl acetate", "[#6]-[#6]-[#8]-[#6](-[#6])=[#8]"},
    {"formic acid", "[#8]-[#6]=[#8]"},
    {"heptane", "[#6]-[#6]-[#6]-[#6]-[#6]-[#6]-[#6]"},
    {"hexane", "[#6]-[#6]-[#6]-[#6]-[#6]-[#6]"},
    {"isopropanol", "[#8]-[#6](-[#6])-[#6]"},
    {"methanol", "[#8]-[#6]"},
    {"N,N-dimethylacetamide", "[#6]-[#7](-[#6])-[#6](-[#6])=[#8]"},
    {"pentane", "[#6]-[#6]-[#6]-[#6]-[#6]"},
    {"propanol", "[#8]-[#6]-[#6]-[#6]"},
    {"pyridine", "[#6]-1=[#6]-[#6]=[#7]-[#6]=[#6]-1"},
    {"t-butyl methyl ether", "[#6]-[#8]-[#6](-[#6])(-[#6])-[#6]"},
    {"tetrahydrofurane", "[#6]-1-[#6]-[#6]-[#8]-[#6]-1"},
    {"toluene", "[#6]-[#6]~1~[#6]~[#6]~[#6]~[#6]~[#6]~1"},
    {"xylene", "[#6]-[#6]~1~[#6](-[#6])~[#6]~[#6]~[#6]~[#6]~1"}};
    } // namespace defaults