| 1 |
# Define the "H" monomer type ("H" <--> "hydrophobic") |
| 2 |
|
| 3 |
import "forcefield.lt" # defines "HPForceField" |
| 4 |
|
| 5 |
H inherits HPForceField { |
| 6 |
|
| 7 |
# atom-id(name) mol-id atom-type charge x y z |
| 8 |
write("Data Atoms") { |
| 9 |
$atom:ca $mol:... @atom:CA 0.0 0.000 1.0000 0.0000000 |
| 10 |
$atom:r $mol:... @atom:HR 0.0 0.000 4.4000 0.0000000 |
| 11 |
} |
| 12 |
|
| 13 |
write("Data Bond List") { |
| 14 |
$bond:cr $atom:ca $atom:r |
| 15 |
} |
| 16 |
|
| 17 |
} |
| 18 |
|
| 19 |
|
| 20 |
# Note: The "..." in "$mol:..." tells moltemplate that this molecule may |
| 21 |
# be a part of a larger molecule, and (if so) to use the larger |
| 22 |
# molecule's id number as it's own. |