This file is indexed.

/usr/share/libghemical/3.0.0/builder/amino.txt is in libghemical-data 3.0.0-2ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
// amino acid templates "ARNDCQEGHILKMFPSTWYV" for the sequence builder 20070202 TH

// currently there are hard-coded fixes for these issues:
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
// * atoms 0x10 and 0x11 use incorrect torsion indices (see the index checks);
//   however this does not cause problems when psiPREV = psiNEXT (alpha-helix).
//
// * amino -NH3 group (is made???) by default (using formal_charge).
//
// * identification of met groups in LEU and VAL residues.
//
// * the 2nd ring in TRP residues can be identified in two different ways:
//
// this is the "correct way" (shown below):
//
//    23   29 - 28 - 27
//   /               |
//  22               |
//   \               |
//    21 - 24 - 25 - 26
//   /
// 20
//
// this is the "incorrect way" (shown below):
//
//    23   25 - 26 - 27
//   /     |         |
//  22     |         |
//   \     |         |
//    21 - 24   29 - 28
//   /
// 20

// most of the hydrogens have been left out from this file, and they will be
// added later based on valences and formal charges. only those hydrogens that
// either define the side chain (the GLY case) or define a unique conformation
// have been added here. the hydrogen numbering starts from 0x60.

// the formal charges are set by sb::Build() but are ignored by sb::Identify().

////////////////////////////////////////////////////////////////////////////////////////////////////

MAIN:
TORDEF 0x0000 0xFF02 0xFF01 0xFF00	// +0 psiPREV
TORDEF 0x0001 0x0000 0xFF02 0xFF01	// +1 omega
TORDEF 0x0002 0x0001 0x0000 0xFF02	// +2 phiNEXT
ATOM 0x00 N +0 0xFF02 0xFF01 0xFF00 0.134 116.6 +0 000.0 S (-C(-C(=O)))
ATOM 0x01 C +0 0x0000 0xFF02 0xFF01 0.145 121.9 +1 000.0 S (-N,-C(=O))
ATOM 0x02 C +0 0x0001 0x0000 0xFF02 0.152 111.1 +2 000.0 S (-C(-N),=O)
END

CONN:
END

////////////////////////////////////////////////////////////////////////////////////////////////////

HEAD:
(-C(-C(=O,-N)),nB=1)			// -NH3 or -NH2
(-C(-C(=O,-N),[-N-C-C-C-]),nB=2)	// proline at the beginning of sequence
(-C(-C(=O,-N)),-C(=O,-C(nB=1)))		// acetyl group (ACE) at the beginning of sequence
END

// this is an ACE-group at the beginning of sequence:
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
//   CH3
//   |
// O=C
//   |
//   N-H
//   |
//   C(alpha)
//   |

TAIL:
(-C(-N(-C(=O))),=O,-O(-H))		// -COOH
(-C(-N(-C(=O))),=O,-O)			// -COO (ionic or with a hydrogen missing)
(-C(-N(-C(=O))),=O,-N(-C(nB=1)))	// N-methyl group (NME) at the end of sequence
END

// this is an NME-group at the end of sequence:
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
//   |
//   C(alpha
//   |
//   C=O
//   |
// H-N
//   |
//   CH3

////////////////////////////////////////////////////////////////////////////////////////////////////

BODY_MOD:
ATOM 0x10 O +0 0x0002 0x0001 0x0000 0.123 120.5 +0 180.0 D	// not really tor +0 here!!!
END

HEAD_MOD:
ATOM 0x10 O +0 0x0002 0x0001 0x0000 0.123 120.5 +0 180.0 D	// not really tor +0 here!!!
END

TAIL_MOD:
ATOM 0x10 O +0 0x0002 0x0001 0x0000 0.123 120.5 +0 180.0 D	// not really tor +0 here!!!
ATOM 0x11 O -1 0x0002 0x0001 0x0000 0.123 119.5 +0 000.0 S	// not really tor +0 here!!!
END

////////////////////////////////////////////////////////////////////////////////////////////////////

RES 0x01: ALA A "ALANINE"
ATOM 0x20 C +0 0x0001 0x0000 0xFF02 0.153 109.5 +2 240.0 S
END

////////////////////////////////////////////////////////////////////////////////////////////////////

RES 0x02: ARG R "ARGININE (charged)"
TORDEF 0x0021 0x0020 0x0001 0x0000	// +3
TORDEF 0x0022 0x0021 0x0020 0x0001	// +4
TORDEF 0x0023 0x0022 0x0021 0x0020	// +5
TORDEF 0x0024 0x0023 0x0022 0x0021	// +6
ATOM 0x20 C +0 0x0001 0x0000 0xFF02 0.153 109.5 +2 240.0 S
ATOM 0x21 C +0 0x0020 0x0001 0x0000 0.153 109.5 +3 000.0 S
ATOM 0x22 C +0 0x0021 0x0020 0x0001 0.153 109.5 +4 000.0 S
ATOM 0x23 N +0 0x0022 0x0021 0x0020 0.148 111.0 +5 000.0 S
ATOM 0x24 C +0 0x0023 0x0022 0x0021 0.133 123.0 +6 000.0 S
ATOM 0x25 N +1 0x0024 0x0023 0x0022 0.133 118.0 -1 000.0 D
ATOM 0x26 N +0 0x0024 0x0023 0x0022 0.133 118.0 -1 180.0 S
END

////////////////////////////////////////////////////////////////////////////////////////////////////

RES 0x03: ASN N "ASPARAGINE"
TORDEF 0x0021 0x0020 0x0001 0x0000	// +3
TORDEF 0x0022 0x0021 0x0020 0x0001	// +4
ATOM 0x20 C +0 0x0001 0x0000 0xFF02 0.153 109.5 +2 240.0 S
ATOM 0x21 C +0 0x0020 0x0001 0x0000 0.153 109.5 +3 000.0 S
ATOM 0x22 O +0 0x0021 0x0020 0x0001 0.123 120.5 +4 000.0 D
ATOM 0x23 N +0 0x0021 0x0020 0x0001 0.134 116.6 +4 180.0 S
END

////////////////////////////////////////////////////////////////////////////////////////////////////

RES 0x04: ASP D "ASPARTIC ACID (charged)"
TORDEF 0x0021 0x0020 0x0001 0x0000	// +3
TORDEF 0x0022 0x0021 0x0020 0x0001	// +4
ATOM 0x20 C +0 0x0001 0x0000 0xFF02 0.153 109.5 +2 240.0 S
ATOM 0x21 C +0 0x0020 0x0001 0x0000 0.153 109.5 +3 000.0 S
ATOM 0x22 O +0 0x0021 0x0020 0x0001 0.123 120.5 +4 000.0 D
ATOM 0x23 O -1 0x0021 0x0020 0x0001 0.123 120.5 +4 180.0 S
END

RES 0x04: ASH D "ASPARTIC ACID (neutral)"
TORDEF 0x0021 0x0020 0x0001 0x0000	// +3
TORDEF 0x0022 0x0021 0x0020 0x0001	// +4
TORDEF 0x0060 0x0023 0x0021 0x0020	// +5
ATOM 0x20 C +0 0x0001 0x0000 0xFF02 0.153 109.5 +2 240.0 S
ATOM 0x21 C +0 0x0020 0x0001 0x0000 0.153 109.5 +3 000.0 S
ATOM 0x22 O +0 0x0021 0x0020 0x0001 0.123 120.5 +4 000.0 D
ATOM 0x23 O +0 0x0021 0x0020 0x0001 0.123 120.5 +4 180.0 S
ATOM 0x60 H +0 0x0023 0x0021 0x0020 0.110 120.0 +5 000.0 S
END

////////////////////////////////////////////////////////////////////////////////////////////////////

// the disulphide bridged cysteine residues will be identified
// as CYX residues, because there is no hydrogen that is required
// for CYS ; the formal charges are not tested by sb::Identify().

RES 0x05: CYS C "CYSTEINE"
TORDEF 0x0021 0x0020 0x0001 0x0000	// +3
TORDEF 0x0060 0x0021 0x0020 0x0001	// +4
ATOM 0x20 C +0 0x0001 0x0000 0xFF02 0.153 109.5 +2 240.0 S
ATOM 0x21 S +0 0x0020 0x0001 0x0000 0.181 116.0 +3 000.0 S
ATOM 0x60 H +0 0x0021 0x0020 0x0001 0.110 109.5 +4 000.0 S
END

RES 0x05: CYX C "CYSTEINE (charged)"
TORDEF 0x0021 0x0020 0x0001 0x0000	// +3
ATOM 0x20 C +0 0x0001 0x0000 0xFF02 0.153 109.5 +2 240.0 S
ATOM 0x21 S -1 0x0020 0x0001 0x0000 0.181 116.0 +3 000.0 S
END

////////////////////////////////////////////////////////////////////////////////////////////////////

RES 0x06: GLN Q "GLUTAMINE"
TORDEF 0x0021 0x0020 0x0001 0x0000	// +3
TORDEF 0x0022 0x0021 0x0020 0x0001	// +4
TORDEF 0x0023 0x0022 0x0021 0x0020	// +5
ATOM 0x20 C +0 0x0001 0x0000 0xFF02 0.153 109.5 +2 240.0 S
ATOM 0x21 C +0 0x0020 0x0001 0x0000 0.153 109.5 +3 000.0 S
ATOM 0x22 C +0 0x0021 0x0020 0x0001 0.153 109.5 +4 000.0 S
ATOM 0x23 O +0 0x0022 0x0021 0x0020 0.123 120.5 +5 000.0 D
ATOM 0x24 N +0 0x0022 0x0021 0x0020 0.134 116.6 +5 180.0 S
END

////////////////////////////////////////////////////////////////////////////////////////////////////

RES 0x07: GLU E "GLUTAMIC ACID (charged)"
TORDEF 0x0021 0x0020 0x0001 0x0000	// +3
TORDEF 0x0022 0x0021 0x0020 0x0001	// +4
TORDEF 0x0023 0x0022 0x0021 0x0020	// +5
ATOM 0x20 C +0 0x0001 0x0000 0xFF02 0.153 109.5 +2 240.0 S
ATOM 0x21 C +0 0x0020 0x0001 0x0000 0.153 109.5 +3 000.0 S
ATOM 0x22 C +0 0x0021 0x0020 0x0001 0.153 109.5 +4 000.0 S
ATOM 0x23 O +0 0x0022 0x0021 0x0020 0.123 120.5 +5 000.0 D
ATOM 0x24 O -1 0x0022 0x0021 0x0020 0.123 120.5 +5 180.0 S
END

RES 0x07: GLH E "GLUTAMIC ACID (neutral)"
TORDEF 0x0021 0x0020 0x0001 0x0000	// +3
TORDEF 0x0022 0x0021 0x0020 0x0001	// +4
TORDEF 0x0023 0x0022 0x0021 0x0020	// +5
TORDEF 0x0060 0x0024 0x0022 0x0021	// +6
ATOM 0x20 C +0 0x0001 0x0000 0xFF02 0.153 109.5 +2 240.0 S
ATOM 0x21 C +0 0x0020 0x0001 0x0000 0.153 109.5 +3 000.0 S
ATOM 0x22 C +0 0x0021 0x0020 0x0001 0.153 109.5 +4 000.0 S
ATOM 0x23 O +0 0x0022 0x0021 0x0020 0.123 120.5 +5 000.0 D
ATOM 0x24 O +0 0x0022 0x0021 0x0020 0.123 120.5 +5 180.0 S
ATOM 0x60 H +0 0x0024 0x0022 0x0021 0.110 120.0 +6 000.0 S
END

////////////////////////////////////////////////////////////////////////////////////////////////////

RES 0x08: GLY G "GLYCINE"
ATOM 0x60 H +0 0x0001 0x0000 0xFF02 0.110 109.5 +2 240.0 S
END

////////////////////////////////////////////////////////////////////////////////////////////////////

RES 0x09: HIE H "HISTIDINE (e-form)"
TORDEF 0x0021 0x0020 0x0001 0x0000	// +3
TORDEF 0x0022 0x0021 0x0020 0x0001	// +4
ATOM 0x20 C +0 0x0001 0x0000 0xFF02 0.153 109.5 +2 240.0 S
ATOM 0x21 C +0 0x0020 0x0001 0x0000 0.151 115.0 +3 000.0 S
ATOM 0x22 N +0 0x0021 0x0020 0x0001 0.139 122.5 +4 000.0 S
ATOM 0x23 C +0 0x0022 0x0021 0x0020 0.132 108.0 -1 180.0 D
ATOM 0x24 N +0 0x0023 0x0022 0x0021 0.131 109.0 -1 000.0 S
ATOM 0x25 C +0 0x0024 0x0023 0x0022 0.136 110.0 -1 000.0 S
ATOM 0x60 H +0 0x0024 0x0023 0x0022 0.110 120.0 -1 180.0 S
BOND 0x21 0x25 D
END

RES 0x09: HID H "HISTIDINE (d-form)"
TORDEF 0x0021 0x0020 0x0001 0x0000	// +3
TORDEF 0x0022 0x0021 0x0020 0x0001	// +4
ATOM 0x20 C +0 0x0001 0x0000 0xFF02 0.153 109.5 +2 240.0 S
ATOM 0x21 C +0 0x0020 0x0001 0x0000 0.151 115.0 +3 000.0 S
ATOM 0x22 N +0 0x0021 0x0020 0x0001 0.139 122.5 +4 000.0 S
ATOM 0x23 C +0 0x0022 0x0021 0x0020 0.132 108.0 -1 180.0 S
ATOM 0x24 N +0 0x0023 0x0022 0x0021 0.131 109.0 -1 000.0 D
ATOM 0x25 C +0 0x0024 0x0023 0x0022 0.136 110.0 -1 000.0 S
ATOM 0x60 H +0 0x0022 0x0021 0x0020 0.110 120.0 -1 000.0 S
BOND 0x21 0x25 D
END

RES 0x09: HIP H "HISTIDINE (charged)"
TORDEF 0x0021 0x0020 0x0001 0x0000	// +3
TORDEF 0x0022 0x0021 0x0020 0x0001	// +4
ATOM 0x20 C +0 0x0001 0x0000 0xFF02 0.153 109.5 +2 240.0 S
ATOM 0x21 C +0 0x0020 0x0001 0x0000 0.151 115.0 +3 000.0 S
ATOM 0x22 N +0 0x0021 0x0020 0x0001 0.139 122.5 +4 000.0 S
ATOM 0x23 C +0 0x0022 0x0021 0x0020 0.132 108.0 -1 180.0 S
ATOM 0x24 N +1 0x0023 0x0022 0x0021 0.131 109.0 -1 000.0 D
ATOM 0x25 C +0 0x0024 0x0023 0x0022 0.136 110.0 -1 000.0 S
ATOM 0x60 H +0 0x0022 0x0021 0x0020 0.110 120.0 -1 000.0 S
ATOM 0x61 H +0 0x0024 0x0023 0x0022 0.110 120.0 -1 180.0 S
BOND 0x21 0x25 D
END

////////////////////////////////////////////////////////////////////////////////////////////////////

// this is a CHIRAL amino acid!
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

RES 0x0A: ILE I "ISOLEUCINE"
TORDEF 0x0021 0x0020 0x0001 0x0000	// +3
TORDEF 0x0022 0x0021 0x0020 0x0001	// +4
ATOM 0x20 C +0 0x0001 0x0000 0xFF02 0.153 109.5 +2 240.0 S
ATOM 0x21 C +0 0x0020 0x0001 0x0000 0.153 109.5 +3 000.0 S
ATOM 0x22 C +0 0x0021 0x0020 0x0001 0.153 109.5 +4 000.0 S
ATOM 0x23 C +0 0x0020 0x0001 0x0000 0.153 109.5 +3 240.0 S	// met
END

////////////////////////////////////////////////////////////////////////////////////////////////////

// the -CH3 groups must be always assigned in the
// following way (the H atom is projected down):
//
// 22    23     ; the 20-22-23 turn is clockwise.
//   \  /       ; this is an IUPAC rule...
//    21
//    |
//    20

RES 0x0B: LEU L "LEUCINE"
TORDEF 0x0021 0x0020 0x0001 0x0000	// +3
TORDEF 0x0022 0x0021 0x0020 0x0001	// +4
ATOM 0x20 C +0 0x0001 0x0000 0xFF02 0.153 109.5 +2 240.0 S
ATOM 0x21 C +0 0x0020 0x0001 0x0000 0.153 109.5 +3 000.0 S
ATOM 0x22 C +0 0x0021 0x0020 0x0001 0.153 109.5 +4 000.0 S	// 1st met
ATOM 0x23 C +0 0x0021 0x0020 0x0001 0.153 109.5 +4 120.0 S	// 2nd met
END

////////////////////////////////////////////////////////////////////////////////////////////////////

RES 0x0C: LYS K "LYSINE (charged)"
TORDEF 0x0021 0x0020 0x0001 0x0000	// +3
TORDEF 0x0022 0x0021 0x0020 0x0001	// +4
TORDEF 0x0023 0x0022 0x0021 0x0020	// +5
TORDEF 0x0024 0x0023 0x0022 0x0021	// +6
ATOM 0x20 C +0 0x0001 0x0000 0xFF02 0.153 109.5 +2 240.0 S
ATOM 0x21 C +0 0x0020 0x0001 0x0000 0.153 109.5 +3 000.0 S
ATOM 0x22 C +0 0x0021 0x0020 0x0001 0.153 109.5 +4 000.0 S
ATOM 0x23 C +0 0x0022 0x0021 0x0020 0.153 109.5 +5 000.0 S
ATOM 0x24 N +1 0x0023 0x0022 0x0021 0.147 109.5 +6 000.0 S
ATOM 0x60 H +0 0x0024 0x0023 0x0022 0.110 109.5 -1 060.0 S
ATOM 0x61 H +0 0x0024 0x0023 0x0022 0.110 109.5 -1 180.0 S
ATOM 0x62 H +0 0x0024 0x0023 0x0022 0.110 109.5 -1 300.0 S
END

RES 0x0C: LYN K "LYSINE (neutral)"
TORDEF 0x0021 0x0020 0x0001 0x0000	// +3
TORDEF 0x0022 0x0021 0x0020 0x0001	// +4
TORDEF 0x0023 0x0022 0x0021 0x0020	// +5
TORDEF 0x0024 0x0023 0x0022 0x0021	// +6
TORDEF 0x0060 0x0024 0x0023 0x0022	// +7
ATOM 0x20 C +0 0x0001 0x0000 0xFF02 0.153 109.5 +2 240.0 S
ATOM 0x21 C +0 0x0020 0x0001 0x0000 0.153 109.5 +3 000.0 S
ATOM 0x22 C +0 0x0021 0x0020 0x0001 0.153 109.5 +4 000.0 S
ATOM 0x23 C +0 0x0022 0x0021 0x0020 0.153 109.5 +5 000.0 S
ATOM 0x24 N +0 0x0023 0x0022 0x0021 0.147 109.5 +6 000.0 S
ATOM 0x60 H +0 0x0024 0x0023 0x0022 0.110 109.5 +7 000.0 S
ATOM 0x61 H +0 0x0024 0x0023 0x0022 0.110 109.5 +7 120.0 S
END

////////////////////////////////////////////////////////////////////////////////////////////////////

RES 0x0D: MET M "METHIONINE"
TORDEF 0x0021 0x0020 0x0001 0x0000	// +3
TORDEF 0x0022 0x0021 0x0020 0x0001	// +4
TORDEF 0x0023 0x0022 0x0021 0x0020	// +5
ATOM 0x20 C +0 0x0001 0x0000 0xFF02 0.153 109.5 +2 240.0 S
ATOM 0x21 C +0 0x0020 0x0001 0x0000 0.153 109.5 +3 000.0 S
ATOM 0x22 S +0 0x0021 0x0020 0x0001 0.181 110.0 +4 000.0 S
ATOM 0x23 C +0 0x0022 0x0021 0x0020 0.178 100.5 +5 000.0 S
END

////////////////////////////////////////////////////////////////////////////////////////////////////

// has 2-fold symmetry so that...
// ...d-atoms are equivalent and
// ...e-atoms are equivalent

RES 0x0E: PHE F "PHENYLALANINE"
TORDEF 0x0021 0x0020 0x0001 0x0000	// +3
TORDEF 0x0022 0x0021 0x0020 0x0001	// +4
ATOM 0x20 C +0 0x0001 0x0000 0xFF02 0.153 109.5 +2 240.0 S
ATOM 0x21 C +0 0x0020 0x0001 0x0000 0.151 115.0 +3 000.0 S
ATOM 0x22 C +0 0x0021 0x0020 0x0001 0.140 120.0 +4 000.0 D	// d
ATOM 0x23 C +0 0x0022 0x0021 0x0020 0.140 120.0 -1 180.0 S	// e
ATOM 0x24 C +0 0x0023 0x0022 0x0021 0.140 120.0 -1 000.0 D
ATOM 0x25 C +0 0x0024 0x0023 0x0022 0.140 120.0 -1 000.0 S	// e
ATOM 0x26 C +0 0x0025 0x0024 0x0023 0.140 120.0 -1 000.0 D	// d
BOND 0x21 0x26 S
END

////////////////////////////////////////////////////////////////////////////////////////////////////

// the torsion +3 value should be set to about 15.0 deg!
// the torsion +4 value should be set to about 0.0 deg!

RES 0x0F: PRO P "PROLINE"
TORDEF 0x0021 0x0020 0x0001 0x0000	// +3
TORDEF 0x0022 0x0021 0x0020 0x0001	// +4
ATOM 0x20 C +0 0x0001 0x0000 0xFF02 0.150 109.5 +2 240.0 S
ATOM 0x21 C +0 0x0020 0x0001 0x0000 0.151 109.5 +3 000.0 S
ATOM 0x22 C +0 0x0021 0x0020 0x0001 0.150 106.0 +4 000.0 S
BOND 0x00 0x22 S
END

////////////////////////////////////////////////////////////////////////////////////////////////////

RES 0x10: SER S "SERINE"
TORDEF 0x0021 0x0020 0x0001 0x0000	// +3
TORDEF 0x0060 0x0021 0x0020 0x0001	// +4
ATOM 0x20 C +0 0x0001 0x0000 0xFF02 0.150 109.5 +2 240.0 S
ATOM 0x21 O +0 0x0020 0x0001 0x0000 0.143 109.5 +3 000.0 S
ATOM 0x60 H +0 0x0021 0x0020 0x0001 0.110 109.5 +4 000.0 S
END

////////////////////////////////////////////////////////////////////////////////////////////////////

// this is a CHIRAL amino acid!
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

RES 0x11: THR T "THREONINE"
TORDEF 0x0021 0x0020 0x0001 0x0000	// +3
TORDEF 0x0060 0x0021 0x0020 0x0001	// +4
ATOM 0x20 C +0 0x0001 0x0000 0xFF02 0.150 109.5 +2 240.0 S
ATOM 0x21 O +0 0x0020 0x0001 0x0000 0.143 109.5 +3 000.0 S
ATOM 0x22 C +0 0x0020 0x0001 0x0000 0.150 109.5 +3 240.0 S	// met
ATOM 0x60 H +0 0x0021 0x0020 0x0001 0.110 109.5 +4 000.0 S
END

////////////////////////////////////////////////////////////////////////////////////////////////////

//    23   29 - 28 - 27		this is how
//   /               |		the builder
//  22               |		makes the
//   \               |		2nd ring.
//    21 - 24 - 25 - 26
//   /
// 20

RES 0x12: TRP W "TRYPTOPHAN"
TORDEF 0x0021 0x0020 0x0001 0x0000	// +3
TORDEF 0x0022 0x0021 0x0020 0x0001	// +4
ATOM 0x20 C +0 0x0001 0x0000 0xFF02 0.150 109.5 +2 240.0 S
ATOM 0x21 C +0 0x0020 0x0001 0x0000 0.151 115.0 +3 000.0 S
ATOM 0x22 C +0 0x0021 0x0020 0x0001 0.134 127.0 +4 000.0 D
ATOM 0x23 N +0 0x0022 0x0021 0x0020 0.143 107.0 -1 180.0 S
ATOM 0x24 C +0 0x0021 0x0020 0x0001 0.140 127.5 +4 180.0 S
ATOM 0x25 C +0 0x0024 0x0021 0x0020 0.140 129.5 -1 000.0 S
ATOM 0x26 C +0 0x0025 0x0024 0x0021 0.141 117.0 -1 180.0 D
ATOM 0x27 C +0 0x0026 0x0025 0x0024 0.135 122.0 -1 000.0 S
ATOM 0x28 C +0 0x0027 0x0026 0x0025 0.139 121.0 -1 000.0 D
ATOM 0x29 C +0 0x0028 0x0027 0x0026 0.140 116.0 -1 000.0 S
BOND 0x23 0x29 S
BOND 0x24 0x29 D
END

////////////////////////////////////////////////////////////////////////////////////////////////////

// has 2-fold symmetry so that...
// ...d-atoms are equivalent and
// ...e-atoms are equivalent

RES 0x13: TYR Y "TYROSINE"
TORDEF 0x0021 0x0020 0x0001 0x0000	// +3
TORDEF 0x0022 0x0021 0x0020 0x0001	// +4
TORDEF 0x0060 0x0027 0x0024 0x0023	// +5
ATOM 0x20 C +0 0x0001 0x0000 0xFF02 0.153 109.5 +2 240.0 S
ATOM 0x21 C +0 0x0020 0x0001 0x0000 0.151 115.0 +3 000.0 S
ATOM 0x22 C +0 0x0021 0x0020 0x0001 0.140 120.0 +4 000.0 D	// d
ATOM 0x23 C +0 0x0022 0x0021 0x0020 0.140 120.0 -1 180.0 S	// e
ATOM 0x24 C +0 0x0023 0x0022 0x0021 0.140 120.0 -1 000.0 D
ATOM 0x25 C +0 0x0024 0x0023 0x0022 0.140 120.0 -1 000.0 S	// e
ATOM 0x26 C +0 0x0025 0x0024 0x0023 0.140 120.0 -1 000.0 D	// d
ATOM 0x27 O +0 0x0024 0x0023 0x0022 0.136 120.0 -1 180.0 S
ATOM 0x60 H +0 0x0027 0x0024 0x0023 0.110 120.0 +5 000.0 S
BOND 0x21 0x26 S
END

////////////////////////////////////////////////////////////////////////////////////////////////////

// the -CH3 groups must be always assigned in the
// following way (the H atom is projected down):
//
// 21    22     ; the 01-21-22 turn is clockwise.
//   \  /       ; this is an IUPAC rule...
//    20
//    |
//    01

RES 0x14: VAL V "VALINE"
TORDEF 0x0021 0x0020 0x0001 0x0000	// +3
ATOM 0x20 C +0 0x0001 0x0000 0xFF02 0.153 109.5 +2 240.0 S
ATOM 0x21 C +0 0x0020 0x0001 0x0000 0.153 109.5 +3 000.0 S	// 1st met
ATOM 0x22 C +0 0x0020 0x0001 0x0000 0.153 109.5 +3 120.0 S	// 2nd met
END

////////////////////////////////////////////////////////////////////////////////////////////////////

END