| 1 |
import "dreiding.lt" |
| 2 |
|
| 3 |
# The "dreiding.lt" file is usually located in "force_fields" subdirectory |
| 4 |
# of the moltemplate distribution. It contains definitions of the atoms |
| 5 |
# "O_R", "C_R", as well as the bonded and non-bonded interactions between |
| 6 |
# them (and many other atoms). These atom types were chosen using the atom |
| 7 |
# naming conventions explained in "DREIDING_Label_Manual.pdf" file. (This file |
| 8 |
# is either included in the the moltemplate distribution, or avialable at |
| 9 |
# https://github.com/m-bone/moltemplate-DREIDING ) |
| 10 |
|
| 11 |
# WARNING: THE ATOMIC CHARGES ARE INCORRECT |
| 12 |
# For this example, I manually looked up the charge of each atom using the |
| 13 |
# OPLSAA parameters from the "oplsaa.prm" file distributed with TINKER: |
| 14 |
# http://dasher.wustl.edu/tinker/distribution/params/oplsaa.prm |
| 15 |
# PLEASE DO NOT DO THIS! |
| 16 |
# For details how to calculate charges correctly, see: |
| 17 |
# https://github.com/jewettaij/moltemplate/blob/master/examples/all_atom/force_field_DREIDING/README.md |
| 18 |
|
| 19 |
Furan inherits DREIDING { |
| 20 |
# AtomID MolID AtomType Charge X Y Z |
| 21 |
write("Data Atoms") { |
| 22 |
$atom:O0 $mol @atom:O_R -0.19 -0.790540 0.744310 -0.000000 |
| 23 |
$atom:C0 $mol @atom:C_R -0.019 -1.909550 0.055400 0.000000 |
| 24 |
$atom:C1 $mol @atom:C_R -0.019 0.227280 -0.086850 -0.000000 |
| 25 |
$atom:C2 $mol @atom:C_R -0.154 -1.615660 -1.291470 -0.000000 |
| 26 |
$atom:C3 $mol @atom:C_R -0.154 -0.242560 -1.382880 -0.000000 |
| 27 |
$atom:H0 $mol @atom:H 0.142 -2.898760 0.493210 -0.000000 |
| 28 |
$atom:H1 $mol @atom:H 0.126 -2.321770 -2.110980 -0.000000 |
| 29 |
$atom:H2 $mol @atom:H 0.126 0.348690 -2.288750 -0.000000 |
| 30 |
$atom:H3 $mol @atom:H 0.142 1.265790 0.215970 -0.000000 |
| 31 |
} |
| 32 |
write("Data Bond List") { |
| 33 |
$bond:0 $atom:O0 $atom:C0 |
| 34 |
$bond:1 $atom:O0 $atom:C1 |
| 35 |
$bond:2 $atom:C0 $atom:C2 |
| 36 |
$bond:3 $atom:C0 $atom:H0 |
| 37 |
$bond:4 $atom:C1 $atom:C3 |
| 38 |
$bond:5 $atom:C1 $atom:H3 |
| 39 |
$bond:6 $atom:C2 $atom:C3 |
| 40 |
$bond:7 $atom:C2 $atom:H1 |
| 41 |
$bond:8 $atom:C3 $atom:H2 |
| 42 |
} |
| 43 |
} |