~ubuntu-branches/ubuntu/vivid/openbabel/vivid-proposed

« back to all changes in this revision

Viewing changes to src/atomtyp.txt

  • Committer: Bazaar Package Importer
  • Author(s): Michael Banck
  • Date: 2002-02-01 01:19:44 UTC
  • Revision ID: james.westby@ubuntu.com-20020201011944-4a9guzcsnpezzawx
Tags: upstream-1.99
ImportĀ upstreamĀ versionĀ 1.99

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
################################################################################
 
2
#                            OELib file: atomtyp.txt                           #
 
3
#                                                                              #
 
4
# INTHYB: used to assign the internal hybridization values for atoms           #
 
5
# IMPVAL: used to assign the implicit valence of an atom                       #
 
6
# EXTTYP: used to assign the external type of an atom for translation to       #
 
7
#         package specific types (I.E. Sybyl Mol2)                             #
 
8
#                                                                              #
 
9
# The LAST PATTERN MATCHED is used to assign values with the corresponding     #
 
10
# INTHYB, IMPVAL, and EXTTYP values.  Additions to this file should be placed  #
 
11
# in the EXTRA DEFINITIONS section                                             #
 
12
#                                                                              #
 
13
################################################################################
 
14
 
 
15
INTHYB  [C]                             3       #sp3 carbon
 
16
INTHYB  [c,$(C=*)]                      2       #sp2 carbon
 
17
INTHYB  [$([#6]([#8D1])[#8D1])]         2       #sp2 carbon
 
18
INTHYB  [$(C#*),$(C(=*)=*)]             1       #sp  carbon
 
19
INTHYB  [N]                             3       #sp3 nitrogen
 
20
INTHYB  [n,$(N=*),$(N[#6,#7,#8]=,:,#*)] 2       #sp2 nitrogen
 
21
INTHYB  [$(N#*),$([ND2](=*)=*)]         1       #sp  nitrogen
 
22
INTHYB  [O]                             3       #sp3 oxygen
 
23
INTHYB  [o,$(O=*),$(O[#6,#7,#8]=,:*)]   2       #sp2 oxygen
 
24
INTHYB  [$([#8D1][#6][#8D1])]           2       #sp2 oxygen
 
25
INTHYB  [$(O#*)]                        1       #sp  oxygen
 
26
INTHYB  [D4]                            3       #any 4 valent atom
 
27
 
 
28
INTHYB  [P]                             3       #sp3 phosphorus
 
29
INTHYB  [#15;$([PD1]=*)]                2       #sp2 phosphorus
 
30
INTHYB  [S]                             3       #sp3 sulfur
 
31
INTHYB  [#16;s,$([SD1]=*)]              2       #sp2 sulfur
 
32
INTHYB  [B]                             2       #sp2 boron
 
33
INTHYB  [BD4]                           3       #sp3 boron
 
34
#
 
35
#IMPLICIT VALENCE RULES
 
36
#
 
37
IMPVAL  [#6^3]                  4
 
38
IMPVAL  [#6^2]                  3
 
39
IMPVAL  [#6^1]                  2
 
40
IMPVAL  [#6^3-]                 3
 
41
IMPVAL  [#6^2-]                 2
 
42
IMPVAL  [c+]                    2
 
43
 
 
44
IMPVAL  [#8^3]                          2
 
45
IMPVAL  [#8^2]                          2
 
46
IMPVAL  [$([#8]=*)]                     1
 
47
IMPVAL  [#8-]                           1
 
48
IMPVAL  [$([#8D1]~[#7D3]~[#8D1])]       1
 
49
IMPVAL  [$([#8D1]~[#6]~[#8D1])]         1
 
50
 
 
51
IMPVAL  [N^3]                   3
 
52
IMPVAL  [N^3+]                  4
 
53
IMPVAL  [N^2]                   3
 
54
IMPVAL  [N^2-,N^3-]             2
 
55
IMPVAL  [ND1^1]                 1
 
56
IMPVAL  [ND2^1]                 2
 
57
IMPVAL  [$(N([OD1])*)]          3
 
58
IMPVAL  [$(NC=O)]               3
 
59
IMPVAL  [$(N(~[OD1])~[OD1])]    3
 
60
IMPVAL  [$([Nr0]C=[Nr0])]       3
 
61
IMPVAL  [$(N=*)]                2
 
62
IMPVAL  [$([Nr0]=C[Nr0])]       3 
 
63
#IMPVAL [$([Nr0]=C[Nr0])]       2 #uncomment this line for cansmi testing
 
64
IMPVAL  [$([#7D1-]=*)]          1
 
65
IMPVAL  [n]                     2
 
66
IMPVAL  [n-]                    2
 
67
IMPVAL  [n+]                    3
 
68
 
 
69
IMPVAL  [#15D4]                 4
 
70
IMPVAL  [#15D3]                 3
 
71
IMPVAL  [#15D2]                 3
 
72
IMPVAL  [#15D1^3]               3
 
73
IMPVAL  [#15D1^2]               3
 
74
IMPVAL  [$([#15]=[#6])]         2
 
75
IMPVAL  [pD2]                   2
 
76
 
 
77
IMPVAL  [#16D4]                 4
 
78
IMPVAL  [#16D3]                 3
 
79
IMPVAL  [#16D2]                 2
 
80
IMPVAL  [$([#16D1]-*)]          2
 
81
IMPVAL  [#16D1^2]               1
 
82
IMPVAL  [s]                     2
 
83
IMPVAL  [#16D1-]                1
 
84
 
 
85
IMPVAL  [#5]                    3
 
86
IMPVAL  [as]                    3
 
87
#
 
88
#EXTERNAL TYPE RULES
 
89
#
 
90
EXTTYP  [#7^3]                          N3
 
91
EXTTYP  [#7X4+]                         N3+
 
92
EXTTYP  [#7^2]                          Npl
 
93
EXTTYP  [#7^1]                          N1
 
94
EXTTYP  [$(N=*)]                        N2
 
95
EXTTYP  [$([Nr0]C(=[Nr0])[Nr0])]        Ng+
 
96
EXTTYP  [$([Nr0]=C([Nr0])[Nr0])]        Ng+
 
97
EXTTYP  [$([ND1]=C[ND1])]               Ng+
 
98
EXTTYP  [$([ND1]C=[ND1])]               Ng+
 
99
EXTTYP  [$(N(O)*)]                      Nox
 
100
EXTTYP  [$(NC=[O,S])]                   Nam
 
101
EXTTYP  [$(N(~[OD1])~[OD1])]            Ntr
 
102
EXTTYP  [n]                             Nar
 
103
 
 
104
EXTTYP  [#6^3]                          C3
 
105
EXTTYP  [#6^2]                          C2
 
106
EXTTYP  [$(C(=O)[OD1])]                 Cac
 
107
EXTTYP  [c]                             Car
 
108
EXTTYP  [#6^1]                          C1
 
109
EXTTYP  [#6+]                           C+
 
110
EXTTYP  [#6-]                           C-
 
111
 
 
112
EXTTYP  [#8^3]                          O3
 
113
EXTTYP  [#8^2]                          O2
 
114
EXTTYP  [$(Oa)]                         O2
 
115
#Uncomment the following 2 lines for correct sybyl atom typing
 
116
#EXTTYP [$([OD2]C=[O,S])]               O3      #ester oxygen
 
117
#EXTTYP  [$(Oa)]                        O3      #aromatic ether
 
118
EXTTYP  [#8-]                           O-
 
119
EXTTYP  [$([#8D1]~[#6]~[#8D1])]         O.co2  
 
120
 
 
121
EXTTYP  [#15]                                   P
 
122
EXTTYP  [#15X4+]                                P3+
 
123
EXTTYP  [#15;$([#15D4](~[OD1])(~[OD1])~[OD1])]  Pac
 
124
EXTTYP  [#15;$([#15D3](~[OD1])~[OD1])]          Pac
 
125
 
 
126
EXTTYP  [#16]                                   S3
 
127
EXTTYP  [#16D3+,#16X3+]                         S3+
 
128
EXTTYP  [#16;s,$([SD1]=*)]                      S2
 
129
EXTTYP  [#16D4;$(S(=O)(=O))]                    So2
 
130
EXTTYP  [#16D3;$(S(=O))]                        Sox
 
131
EXTTYP  [#16;$([#16D4](~[OD1])(~[OD1])~[OD1])]  Sac
 
132
EXTTYP  [#16;$([#16D3](~[OD1])~[OD1])]          Sac
 
133
 
 
134
EXTTYP  [#5]                            B2
 
135
EXTTYP  [#5D4]                          B3
 
136
 
 
137
######################## Add Extra Definitions Here ##############################
 
138
 
 
139
 
 
140
############################# End Extra Definitions ##############################
 
141
 
 
142
 
 
143
 
 
144
 
 
145
 
 
146
 
 
147
 
 
148