HTPolyNet 1.0.7.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. HTPolyNet/__init__.py +1 -0
  2. HTPolyNet/ambertools.py +94 -0
  3. HTPolyNet/analyze.py +258 -0
  4. HTPolyNet/banner.py +26 -0
  5. HTPolyNet/bondlist.py +206 -0
  6. HTPolyNet/bondtemplate.py +111 -0
  7. HTPolyNet/checkpoint.py +88 -0
  8. HTPolyNet/command.py +42 -0
  9. HTPolyNet/configuration.py +240 -0
  10. HTPolyNet/coordinates.py +1071 -0
  11. HTPolyNet/countTime.py +26 -0
  12. HTPolyNet/curecontroller.py +767 -0
  13. HTPolyNet/dataframetools.py +130 -0
  14. HTPolyNet/driver.py +250 -0
  15. HTPolyNet/expandreactions.py +154 -0
  16. HTPolyNet/gromacs.py +333 -0
  17. HTPolyNet/inputcheck.py +51 -0
  18. HTPolyNet/linkcell.py +322 -0
  19. HTPolyNet/molecule.py +1279 -0
  20. HTPolyNet/plot.py +607 -0
  21. HTPolyNet/postsim.py +444 -0
  22. HTPolyNet/projectfilesystem.py +483 -0
  23. HTPolyNet/reaction.py +282 -0
  24. HTPolyNet/resources/README.md +20 -0
  25. HTPolyNet/resources/__init__.py +0 -0
  26. HTPolyNet/resources/cfg/DGE-PAC-hi.yaml +115 -0
  27. HTPolyNet/resources/cfg/DGE-PAC-lo.yaml +115 -0
  28. HTPolyNet/resources/cfg/FDE-DFDA-hi.yaml +116 -0
  29. HTPolyNet/resources/cfg/FDE-DFDA-lo.yaml +116 -0
  30. HTPolyNet/resources/cfg/GMASTY-hi.yaml +158 -0
  31. HTPolyNet/resources/cfg/GMASTY-lo.yaml +158 -0
  32. HTPolyNet/resources/cfg/README.md +1 -0
  33. HTPolyNet/resources/cfg/STY.yaml +23 -0
  34. HTPolyNet/resources/cfg/pMSTY-hi.yaml +101 -0
  35. HTPolyNet/resources/cfg/pMSTY-lo.yaml +101 -0
  36. HTPolyNet/resources/cfg/pSTY-hi.yaml +101 -0
  37. HTPolyNet/resources/cfg/pSTY-lo.yaml +101 -0
  38. HTPolyNet/resources/example_depot/0-liquid-styrene.tgz +0 -0
  39. HTPolyNet/resources/example_depot/1-polystyrene.tgz +0 -0
  40. HTPolyNet/resources/example_depot/2-polymethylstyrene.tgz +0 -0
  41. HTPolyNet/resources/example_depot/3-bisgma-styrene-thermoset.tgz +0 -0
  42. HTPolyNet/resources/example_depot/4-pacm-dgeba-epoxy-thermoset.tgz +0 -0
  43. HTPolyNet/resources/example_depot/5-dfda-fde-epoxy-thermoset.tgz +0 -0
  44. HTPolyNet/resources/mdp/README.md +1 -0
  45. HTPolyNet/resources/mdp/drag-min.mdp +13 -0
  46. HTPolyNet/resources/mdp/drag-npt.mdp +36 -0
  47. HTPolyNet/resources/mdp/drag-nvt.mdp +31 -0
  48. HTPolyNet/resources/mdp/min.mdp +14 -0
  49. HTPolyNet/resources/mdp/npt.mdp +37 -0
  50. HTPolyNet/resources/mdp/nvt.mdp +29 -0
  51. HTPolyNet/resources/mdp/relax-min.mdp +13 -0
  52. HTPolyNet/resources/mdp/relax-npt.mdp +37 -0
  53. HTPolyNet/resources/mdp/relax-nvt.mdp +31 -0
  54. HTPolyNet/resources/mdp/single-molecule-min.mdp +12 -0
  55. HTPolyNet/resources/mdp/single-molecule-nvt.mdp +25 -0
  56. HTPolyNet/resources/molecules/inputs/DFA.pdb +62 -0
  57. HTPolyNet/resources/molecules/inputs/DGE.mol2 +115 -0
  58. HTPolyNet/resources/molecules/inputs/EMB.mol2 +50 -0
  59. HTPolyNet/resources/molecules/inputs/FDE.pdb +72 -0
  60. HTPolyNet/resources/molecules/inputs/GMA.mol2 +163 -0
  61. HTPolyNet/resources/molecules/inputs/PAC.mol2 +91 -0
  62. HTPolyNet/resources/molecules/inputs/STY.mol2 +44 -0
  63. HTPolyNet/resources/molecules/make-monomers.sh +64 -0
  64. HTPolyNet/resources/molecules/pics/DFA.png +0 -0
  65. HTPolyNet/resources/molecules/pics/DGE.png +0 -0
  66. HTPolyNet/resources/molecules/pics/EMB.png +0 -0
  67. HTPolyNet/resources/molecules/pics/FDE.png +0 -0
  68. HTPolyNet/resources/molecules/pics/GMA.png +0 -0
  69. HTPolyNet/resources/molecules/pics/PAC.png +0 -0
  70. HTPolyNet/resources/molecules/pics/STY.png +0 -0
  71. HTPolyNet/resources/molecules/sample-inputs/DFA.pdb +62 -0
  72. HTPolyNet/resources/molecules/sample-inputs/DGE.mol2 +115 -0
  73. HTPolyNet/resources/molecules/sample-inputs/EMB.mol2 +50 -0
  74. HTPolyNet/resources/molecules/sample-inputs/FDE.pdb +72 -0
  75. HTPolyNet/resources/molecules/sample-inputs/GMA.mol2 +163 -0
  76. HTPolyNet/resources/molecules/sample-inputs/PAC.mol2 +91 -0
  77. HTPolyNet/resources/molecules/sample-inputs/STY.mol2 +44 -0
  78. HTPolyNet/resources/tcl/readbonds.tcl +32 -0
  79. HTPolyNet/resources/tcl/readgrx.tcl +46 -0
  80. HTPolyNet/resources/tcl/render.tcl +74 -0
  81. HTPolyNet/ring.py +155 -0
  82. HTPolyNet/runtime.py +709 -0
  83. HTPolyNet/software.py +106 -0
  84. HTPolyNet/stringthings.py +39 -0
  85. HTPolyNet/topocoord.py +1877 -0
  86. HTPolyNet/topology.py +1288 -0
  87. HTPolyNet/unused_symmetry_stuff.py +291 -0
  88. HTPolyNet/utils.py +405 -0
  89. htpolynet-1.0.7.2.dist-info/METADATA +84 -0
  90. htpolynet-1.0.7.2.dist-info/RECORD +93 -0
  91. htpolynet-1.0.7.2.dist-info/WHEEL +4 -0
  92. htpolynet-1.0.7.2.dist-info/entry_points.txt +2 -0
  93. htpolynet-1.0.7.2.dist-info/licenses/LICENSE +21 -0
@@ -0,0 +1,115 @@
1
+ @<TRIPOS>MOLECULE
2
+ DGE
3
+ 53 54 0 0 0
4
+ SMALL
5
+ GASTEIGER
6
+
7
+ @<TRIPOS>ATOM
8
+ 1 C 0.9601 0.0682 0.1490 C.3 1 DGE -0.0517
9
+ 2 C 2.5158 0.0610 0.0695 C.3 1 DGE 0.0151
10
+ 3 C 2.9888 0.3744 1.5227 C.3 1 DGE -0.0517
11
+ 4 C 3.0435 -1.3437 -0.3149 C.ar 1 DGE -0.0372
12
+ 5 C 2.2654 -2.2043 -1.1002 C.ar 1 DGE -0.0543
13
+ 6 C 2.6154 -3.5414 -1.2810 C.ar 1 DGE -0.0197
14
+ 7 C 3.7559 -4.0699 -0.6824 C.ar 1 DGE 0.1206
15
+ 8 C 4.6062 -3.2065 0.0069 C.ar 1 DGE -0.0197
16
+ 9 C 4.2621 -1.8570 0.1708 C.ar 1 DGE -0.0543
17
+ 10 O 4.1011 -5.3998 -0.7036 O.3 1 DGE -0.4894
18
+ 11 C 3.1002 -6.2627 -1.2708 C.3 1 DGE 0.1151
19
+ 12 C3 3.4888 -7.7350 -1.1214 C.3 1 DGE 0.0864
20
+ 13 O1 4.7488 -7.9743 -1.7458 O.3 1 DGE -0.3887
21
+ 14 C1 3.5559 -8.1826 0.3300 C.3 1 DGE -0.0357
22
+ 15 C 2.8918 1.1840 -0.9221 C.ar 1 DGE -0.0372
23
+ 16 C 3.0523 2.4988 -0.4592 C.ar 1 DGE -0.0543
24
+ 17 C 3.2536 3.5679 -1.3257 C.ar 1 DGE -0.0197
25
+ 18 C 3.2961 3.3733 -2.7046 C.ar 1 DGE 0.1206
26
+ 19 C 3.1537 2.0763 -3.1940 C.ar 1 DGE -0.0197
27
+ 20 C 2.9490 0.9932 -2.3162 C.ar 1 DGE -0.0543
28
+ 21 O 3.4565 4.3802 -3.6269 O.3 1 DGE -0.4894
29
+ 22 C 3.5239 5.7006 -3.0598 C.3 1 DGE 0.1151
30
+ 23 C4 3.6692 6.7696 -4.1450 C.3 1 DGE 0.0864
31
+ 24 O2 4.8809 6.5708 -4.8717 O.3 1 DGE -0.3887
32
+ 25 C2 2.4996 6.7855 -5.1148 C.3 1 DGE -0.0357
33
+ 26 H 0.5945 -0.7080 0.8319 H 1 DGE 0.0241
34
+ 27 H 0.4870 -0.0914 -0.8267 H 1 DGE 0.0241
35
+ 28 H 0.5820 1.0321 0.5106 H 1 DGE 0.0241
36
+ 29 H 2.7964 -0.4694 2.1962 H 1 DGE 0.0241
37
+ 30 H 2.4602 1.2314 1.9559 H 1 DGE 0.0241
38
+ 31 H 4.0596 0.6067 1.5647 H 1 DGE 0.0241
39
+ 32 H 1.3436 -1.8695 -1.5669 H 1 DGE 0.0622
40
+ 33 H 1.9409 -4.1449 -1.8761 H 1 DGE 0.0654
41
+ 34 H 5.5227 -3.5875 0.4515 H 1 DGE 0.0654
42
+ 35 H 4.9462 -1.2317 0.7348 H 1 DGE 0.0622
43
+ 36 H 3.0235 -6.0384 -2.3413 H 1 DGE 0.0722
44
+ 37 H 2.1344 -6.1066 -0.7734 H 1 DGE 0.0722
45
+ 38 H 2.7427 -8.3440 -1.6445 H 1 DGE 0.0624
46
+ 39 H 5.3392 -7.2529 -1.4565 H 1 DGE 0.2099
47
+ 40 H 4.3393 -7.6508 0.8786 H 1 DGE 0.0256
48
+ 41 H 3.7994 -9.2493 0.3821 H 1 DGE 0.0256
49
+ 42 H 2.5983 -8.0235 0.8364 H 1 DGE 0.0256
50
+ 43 H 2.9907 2.7425 0.5967 H 1 DGE 0.0622
51
+ 44 H 3.3496 4.5491 -0.8758 H 1 DGE 0.0654
52
+ 45 H 3.1775 1.8944 -4.2680 H 1 DGE 0.0654
53
+ 46 H 2.8110 0.0055 -2.7501 H 1 DGE 0.0622
54
+ 47 H 4.4071 5.7580 -2.4113 H 1 DGE 0.0722
55
+ 48 H 2.6102 5.9083 -2.4888 H 1 DGE 0.0722
56
+ 49 H 3.7417 7.7485 -3.6575 H 1 DGE 0.0624
57
+ 50 H 4.9306 5.6173 -5.0723 H 1 DGE 0.2099
58
+ 51 H 2.4413 5.8552 -5.6885 H 1 DGE 0.0256
59
+ 52 H 2.6246 7.5977 -5.8389 H 1 DGE 0.0256
60
+ 53 H 1.5529 6.9377 -4.5866 H 1 DGE 0.0256
61
+ @<TRIPOS>BOND
62
+ 1 1 2 1
63
+ 2 2 3 1
64
+ 3 2 4 1
65
+ 4 4 5 ar
66
+ 5 5 6 ar
67
+ 6 6 7 ar
68
+ 7 7 8 ar
69
+ 8 8 9 ar
70
+ 9 4 9 ar
71
+ 10 7 10 1
72
+ 11 10 11 1
73
+ 12 11 12 1
74
+ 13 12 13 1
75
+ 14 12 14 1
76
+ 15 2 15 1
77
+ 16 15 16 ar
78
+ 17 16 17 ar
79
+ 18 17 18 ar
80
+ 19 18 19 ar
81
+ 20 19 20 ar
82
+ 21 15 20 ar
83
+ 22 18 21 1
84
+ 23 21 22 1
85
+ 24 22 23 1
86
+ 25 23 24 1
87
+ 26 23 25 1
88
+ 27 1 26 1
89
+ 28 1 27 1
90
+ 29 1 28 1
91
+ 30 3 29 1
92
+ 31 3 30 1
93
+ 32 3 31 1
94
+ 33 5 32 1
95
+ 34 6 33 1
96
+ 35 8 34 1
97
+ 36 9 35 1
98
+ 37 11 36 1
99
+ 38 11 37 1
100
+ 39 12 38 1
101
+ 40 13 39 1
102
+ 41 14 40 1
103
+ 42 14 41 1
104
+ 43 14 42 1
105
+ 44 16 43 1
106
+ 45 17 44 1
107
+ 46 19 45 1
108
+ 47 20 46 1
109
+ 48 22 47 1
110
+ 49 22 48 1
111
+ 50 23 49 1
112
+ 51 24 50 1
113
+ 52 25 51 1
114
+ 53 25 52 1
115
+ 54 25 53 1
@@ -0,0 +1,50 @@
1
+ @<TRIPOS>MOLECULE
2
+ EMB
3
+ 21 21 0 0 0
4
+ SMALL
5
+ GASTEIGER
6
+
7
+ @<TRIPOS>ATOM
8
+ 1 C -0.7183 1.1964 -0.0469 C.ar 1 EMB -0.0583
9
+ 2 C 0.6786 1.2489 -0.0406 C.ar 1 EMB -0.0586
10
+ 3 C 1.4326 0.0702 -0.0692 C.ar 1 EMB -0.0504
11
+ 4 C 2.9313 0.1119 -0.1179 C.3 1 EMB -0.0397
12
+ 5 C 0.7663 -1.1602 -0.0643 C.ar 1 EMB -0.0586
13
+ 6 C -0.6303 -1.2130 -0.0702 C.ar 1 EMB -0.0583
14
+ 7 C -1.3840 -0.0340 -0.0882 C.ar 1 EMB -0.0476
15
+ 8 C1 -2.8901 -0.0895 -0.1745 C.3 1 EMB -0.0305
16
+ 9 C2 -3.5635 -0.1866 1.1846 C.3 1 EMB -0.0613
17
+ 10 H -1.2827 2.1250 -0.0377 H 1 EMB 0.0620
18
+ 11 H 1.1716 2.2188 -0.0290 H 1 EMB 0.0620
19
+ 12 H 3.3028 1.1393 -0.1869 H 1 EMB 0.0278
20
+ 13 H 3.2926 -0.4300 -0.9987 H 1 EMB 0.0278
21
+ 14 H 3.3531 -0.3437 0.7826 H 1 EMB 0.0278
22
+ 15 H 1.3333 -2.0885 -0.0716 H 1 EMB 0.0620
23
+ 16 H -1.1240 -2.1816 -0.0811 H 1 EMB 0.0620
24
+ 17 H -3.1842 -0.9482 -0.7919 H 1 EMB 0.0311
25
+ 18 H -3.2577 0.7973 -0.7038 H 1 EMB 0.0311
26
+ 19 H -3.2530 -1.0884 1.7216 H 1 EMB 0.0233
27
+ 20 H -4.6512 -0.2259 1.0596 H 1 EMB 0.0233
28
+ 21 H -3.3263 0.6802 1.8094 H 1 EMB 0.0233
29
+ @<TRIPOS>BOND
30
+ 1 1 2 ar
31
+ 2 2 3 ar
32
+ 3 3 4 1
33
+ 4 3 5 ar
34
+ 5 5 6 ar
35
+ 6 6 7 ar
36
+ 7 1 7 ar
37
+ 8 7 8 1
38
+ 9 8 9 1
39
+ 10 1 10 1
40
+ 11 2 11 1
41
+ 12 4 12 1
42
+ 13 4 13 1
43
+ 14 4 14 1
44
+ 15 5 15 1
45
+ 16 6 16 1
46
+ 17 8 17 1
47
+ 18 8 18 1
48
+ 19 9 19 1
49
+ 20 9 20 1
50
+ 21 9 21 1
@@ -0,0 +1,72 @@
1
+ COMPND FDE
2
+ AUTHOR GENERATED BY OPEN BABEL 2.4.1
3
+ HETATM 1 N FDE 1 0.940 -0.043 -0.054 1.00 0.00 N
4
+ HETATM 2 C FDE 1 0.409 -1.288 0.564 1.00 0.00 C
5
+ HETATM 3 C FDE 1 -1.077 -1.426 0.491 1.00 0.00 C
6
+ HETATM 4 O FDE 1 -1.745 -1.434 1.682 1.00 0.00 O
7
+ HETATM 5 C FDE 1 -3.062 -1.602 1.399 1.00 0.00 C
8
+ HETATM 6 C FDE 1 -3.254 -1.695 0.040 1.00 0.00 C
9
+ HETATM 7 C FDE 1 -1.971 -1.578 -0.549 1.00 0.00 C
10
+ HETATM 8 C FDE 1 0.370 1.143 0.656 1.00 0.00 C
11
+ HETATM 9 C3 FDE 1 0.835 2.541 0.164 1.00 0.00 C
12
+ HETATM 10 O FDE 1 0.541 2.732 -1.217 1.00 0.00 O
13
+ HETATM 11 C1 FDE 1 0.150 3.648 0.957 1.00 0.00 C
14
+ HETATM 12 C FDE 1 2.427 -0.011 0.041 1.00 0.00 C
15
+ HETATM 13 C4 FDE 1 3.173 -1.182 -0.644 1.00 0.00 C
16
+ HETATM 14 O FDE 1 2.813 -1.255 -2.023 1.00 0.00 O
17
+ HETATM 15 C2 FDE 1 4.682 -0.989 -0.549 1.00 0.00 C
18
+ HETATM 16 H FDE 1 0.736 -1.362 1.610 1.00 0.00 H
19
+ HETATM 17 H FDE 1 0.810 -2.164 0.041 1.00 0.00 H
20
+ HETATM 18 H FDE 1 -3.724 -1.639 2.253 1.00 0.00 H
21
+ HETATM 19 H FDE 1 -4.201 -1.836 -0.460 1.00 0.00 H
22
+ HETATM 20 H FDE 1 -1.721 -1.610 -1.600 1.00 0.00 H
23
+ HETATM 21 H FDE 1 0.580 1.064 1.730 1.00 0.00 H
24
+ HETATM 22 H FDE 1 -0.719 1.122 0.531 1.00 0.00 H
25
+ HETATM 23 H FDE 1 1.915 2.660 0.294 1.00 0.00 H
26
+ HETATM 24 H FDE 1 -0.374 2.437 -1.367 1.00 0.00 H
27
+ HETATM 25 H FDE 1 -0.934 3.629 0.807 1.00 0.00 H
28
+ HETATM 26 H FDE 1 0.499 4.629 0.616 1.00 0.00 H
29
+ HETATM 27 H FDE 1 0.361 3.558 2.027 1.00 0.00 H
30
+ HETATM 28 H FDE 1 2.740 0.052 1.090 1.00 0.00 H
31
+ HETATM 29 H FDE 1 2.773 0.894 -0.471 1.00 0.00 H
32
+ HETATM 30 H FDE 1 2.922 -2.139 -0.177 1.00 0.00 H
33
+ HETATM 31 H FDE 1 1.926 -0.852 -2.093 1.00 0.00 H
34
+ HETATM 32 H FDE 1 5.004 -0.106 -1.113 1.00 0.00 H
35
+ HETATM 33 H FDE 1 5.206 -1.847 -0.982 1.00 0.00 H
36
+ HETATM 34 H FDE 1 5.003 -0.876 0.492 1.00 0.00 H
37
+ CONECT 1 2 8 12
38
+ CONECT 2 1 3 16 17
39
+ CONECT 3 2 4 7
40
+ CONECT 4 3 5
41
+ CONECT 5 4 6 18
42
+ CONECT 6 5 7 19
43
+ CONECT 7 6 3 20
44
+ CONECT 8 1 9 21 22
45
+ CONECT 9 8 10 11 23
46
+ CONECT 10 9 24
47
+ CONECT 11 9 25 26 27
48
+ CONECT 12 1 13 28 29
49
+ CONECT 13 12 14 15 30
50
+ CONECT 14 13 31
51
+ CONECT 15 13 32 33 34
52
+ CONECT 16 2
53
+ CONECT 17 2
54
+ CONECT 18 5
55
+ CONECT 19 6
56
+ CONECT 20 7
57
+ CONECT 21 8
58
+ CONECT 22 8
59
+ CONECT 23 9
60
+ CONECT 24 10
61
+ CONECT 25 11
62
+ CONECT 26 11
63
+ CONECT 27 11
64
+ CONECT 28 12
65
+ CONECT 29 12
66
+ CONECT 30 13
67
+ CONECT 31 14
68
+ CONECT 32 15
69
+ CONECT 33 15
70
+ CONECT 34 15
71
+ MASTER 0 0 0 0 0 0 0 0 34 0 34 0
72
+ END
@@ -0,0 +1,163 @@
1
+ @<TRIPOS>MOLECULE
2
+ GMA
3
+ 77 78 0 0 0
4
+ SMALL
5
+ GASTEIGER
6
+
7
+ @<TRIPOS>ATOM
8
+ 1 C3 9.6575 -6.1426 -1.5990 C.3 1 GMA -0.0525
9
+ 2 C1 8.4569 -5.8098 -0.7174 C.3 1 GMA 0.0508
10
+ 3 C 8.7577 -6.1482 0.7412 C.3 1 GMA -0.0525
11
+ 4 C 8.0898 -4.3493 -0.8591 C.2 1 GMA 0.3097
12
+ 5 O 8.6705 -3.5346 -1.5673 O.2 1 GMA -0.2506
13
+ 6 O 6.9849 -4.0665 -0.1117 O.3 1 GMA -0.4617
14
+ 7 C 6.5918 -2.6887 -0.1120 C.3 1 GMA 0.1215
15
+ 8 C5 7.4894 -1.8449 0.8101 C.3 1 GMA 0.1230
16
+ 9 C 7.0146 -0.3907 0.7476 C.3 1 GMA 0.1186
17
+ 10 O 7.7674 0.4486 1.6286 O.3 1 GMA -0.4893
18
+ 11 C 7.5168 1.7900 1.4877 C.ar 1 GMA 0.1206
19
+ 12 C 6.4916 2.3318 0.7162 C.ar 1 GMA -0.0197
20
+ 13 C 6.4108 3.7083 0.5068 C.ar 1 GMA -0.0543
21
+ 14 C 7.3403 4.5933 1.0775 C.ar 1 GMA -0.0372
22
+ 15 C 8.3026 4.0383 1.9474 C.ar 1 GMA -0.0543
23
+ 16 C 8.3903 2.6523 2.1444 C.ar 1 GMA -0.0197
24
+ 17 C 7.4122 6.0787 0.6098 C.3 1 GMA 0.0151
25
+ 18 C 6.0203 6.5697 0.1310 C.3 1 GMA -0.0517
26
+ 19 C 7.8254 6.9834 1.7945 C.3 1 GMA -0.0517
27
+ 20 C 8.4043 6.2612 -0.5730 C.ar 1 GMA -0.0372
28
+ 21 C 9.0918 5.1772 -1.1405 C.ar 1 GMA -0.0543
29
+ 22 C 9.9269 5.3322 -2.2475 C.ar 1 GMA -0.0197
30
+ 23 C 10.1035 6.5817 -2.8381 C.ar 1 GMA 0.1206
31
+ 24 C 9.4420 7.6781 -2.2877 C.ar 1 GMA -0.0197
32
+ 25 C 8.6117 7.5233 -1.1656 C.ar 1 GMA -0.0543
33
+ 26 O 10.8835 6.8243 -3.9429 O.3 1 GMA -0.4893
34
+ 27 C 11.5856 5.6746 -4.4340 C.3 1 GMA 0.1186
35
+ 28 C6 12.4650 6.0128 -5.6436 C.3 1 GMA 0.1230
36
+ 29 C 13.2429 4.7694 -6.1047 C.3 1 GMA 0.1215
37
+ 30 O 14.0667 4.2318 -5.0537 O.3 1 GMA -0.4617
38
+ 31 C 13.7680 2.9688 -4.6317 C.2 1 GMA 0.3097
39
+ 32 O 12.8289 2.2997 -5.0395 O.2 1 GMA -0.2506
40
+ 33 C2 14.7216 2.5349 -3.5332 C.3 1 GMA 0.0508
41
+ 34 C4 14.1184 2.8915 -2.1800 C.3 1 GMA -0.0525
42
+ 35 C 15.0042 1.0373 -3.6283 C.3 1 GMA -0.0525
43
+ 36 O 11.6788 6.4934 -6.7422 O.3 1 GMA -0.3850
44
+ 37 O 7.4128 -2.3622 2.1461 O.3 1 GMA -0.3850
45
+ 38 H 9.9199 -7.2028 -1.5218 H 1 GMA 0.0237
46
+ 39 H 10.5357 -5.5513 -1.3152 H 1 GMA 0.0237
47
+ 40 H 9.4388 -5.9251 -2.6501 H 1 GMA 0.0237
48
+ 41 H 7.6020 -6.4028 -1.0657 H 1 GMA 0.0408
49
+ 42 H 9.5465 -5.5024 1.1426 H 1 GMA 0.0237
50
+ 43 H 9.0766 -7.1894 0.8442 H 1 GMA 0.0237
51
+ 44 H 7.8708 -6.0085 1.3688 H 1 GMA 0.0237
52
+ 45 H 5.5611 -2.6697 0.2583 H 1 GMA 0.0725
53
+ 46 H 6.5726 -2.2963 -1.1368 H 1 GMA 0.0725
54
+ 47 H 8.5424 -1.9122 0.5181 H 1 GMA 0.0662
55
+ 48 H 5.9629 -0.3511 1.0564 H 1 GMA 0.0724
56
+ 49 H 7.1202 -0.0438 -0.2893 H 1 GMA 0.0724
57
+ 50 H 5.7552 1.7143 0.2146 H 1 GMA 0.0654
58
+ 51 H 5.6376 4.0542 -0.1723 H 1 GMA 0.0622
59
+ 52 H 9.0515 4.6616 2.4291 H 1 GMA 0.0622
60
+ 53 H 9.1803 2.2474 2.7731 H 1 GMA 0.0654
61
+ 54 H 5.2492 6.3867 0.8881 H 1 GMA 0.0241
62
+ 55 H 5.7095 6.0779 -0.7993 H 1 GMA 0.0241
63
+ 56 H 6.0151 7.6441 -0.0829 H 1 GMA 0.0241
64
+ 57 H 7.1672 6.8241 2.6575 H 1 GMA 0.0241
65
+ 58 H 7.7662 8.0464 1.5354 H 1 GMA 0.0241
66
+ 59 H 8.8563 6.8029 2.1181 H 1 GMA 0.0241
67
+ 60 H 8.9919 4.1675 -0.7522 H 1 GMA 0.0622
68
+ 61 H 10.4095 4.4360 -2.6217 H 1 GMA 0.0654
69
+ 62 H 9.5602 8.6616 -2.7351 H 1 GMA 0.0654
70
+ 63 H 8.1122 8.4072 -0.7764 H 1 GMA 0.0622
71
+ 64 H 10.8540 4.9173 -4.7420 H 1 GMA 0.0724
72
+ 65 H 12.2272 5.2915 -3.6327 H 1 GMA 0.0724
73
+ 66 H 13.1594 6.8143 -5.3694 H 1 GMA 0.0662
74
+ 67 H 13.9056 5.0410 -6.9335 H 1 GMA 0.0725
75
+ 68 H 12.5453 4.0295 -6.5165 H 1 GMA 0.0725
76
+ 69 H 15.6730 3.0644 -3.6648 H 1 GMA 0.0408
77
+ 70 H 13.1550 2.3908 -2.0306 H 1 GMA 0.0237
78
+ 71 H 13.9429 3.9697 -2.1029 H 1 GMA 0.0237
79
+ 72 H 14.7856 2.5971 -1.3632 H 1 GMA 0.0237
80
+ 73 H 14.0881 0.4463 -3.5182 H 1 GMA 0.0237
81
+ 74 H 15.7040 0.7218 -2.8468 H 1 GMA 0.0237
82
+ 75 H 15.4445 0.7851 -4.5991 H 1 GMA 0.0237
83
+ 76 H 10.8989 5.9180 -6.8338 H 1 GMA 0.2101
84
+ 77 H 6.5707 -2.0768 2.5376 H 1 GMA 0.2101
85
+ @<TRIPOS>BOND
86
+ 1 1 2 1
87
+ 2 2 3 1
88
+ 3 2 4 1
89
+ 4 4 5 2
90
+ 5 4 6 1
91
+ 6 6 7 1
92
+ 7 7 8 1
93
+ 8 8 9 1
94
+ 9 9 10 1
95
+ 10 10 11 1
96
+ 11 11 12 ar
97
+ 12 12 13 ar
98
+ 13 13 14 ar
99
+ 14 14 15 ar
100
+ 15 15 16 ar
101
+ 16 11 16 ar
102
+ 17 14 17 1
103
+ 18 17 18 1
104
+ 19 17 19 1
105
+ 20 17 20 1
106
+ 21 20 21 ar
107
+ 22 21 22 ar
108
+ 23 22 23 ar
109
+ 24 23 24 ar
110
+ 25 24 25 ar
111
+ 26 20 25 ar
112
+ 27 23 26 1
113
+ 28 26 27 1
114
+ 29 27 28 1
115
+ 30 28 29 1
116
+ 31 29 30 1
117
+ 32 30 31 1
118
+ 33 31 32 2
119
+ 34 31 33 1
120
+ 35 33 34 1
121
+ 36 33 35 1
122
+ 37 28 36 1
123
+ 38 8 37 1
124
+ 39 1 38 1
125
+ 40 1 39 1
126
+ 41 1 40 1
127
+ 42 2 41 1
128
+ 43 3 42 1
129
+ 44 3 43 1
130
+ 45 3 44 1
131
+ 46 7 45 1
132
+ 47 7 46 1
133
+ 48 8 47 1
134
+ 49 9 48 1
135
+ 50 9 49 1
136
+ 51 12 50 1
137
+ 52 13 51 1
138
+ 53 15 52 1
139
+ 54 16 53 1
140
+ 55 18 54 1
141
+ 56 18 55 1
142
+ 57 18 56 1
143
+ 58 19 57 1
144
+ 59 19 58 1
145
+ 60 19 59 1
146
+ 61 21 60 1
147
+ 62 22 61 1
148
+ 63 24 62 1
149
+ 64 25 63 1
150
+ 65 27 64 1
151
+ 66 27 65 1
152
+ 67 28 66 1
153
+ 68 29 67 1
154
+ 69 29 68 1
155
+ 70 33 69 1
156
+ 71 34 70 1
157
+ 72 34 71 1
158
+ 73 34 72 1
159
+ 74 35 73 1
160
+ 75 35 74 1
161
+ 76 35 75 1
162
+ 77 36 76 1
163
+ 78 37 77 1
@@ -0,0 +1,91 @@
1
+ @<TRIPOS>MOLECULE
2
+ PAC
3
+ 41 42 0 0 0
4
+ SMALL
5
+ GASTEIGER
6
+
7
+ @<TRIPOS>ATOM
8
+ 1 C 1.0203 1.1686 -0.4045 C.3 1 PAC -0.0488
9
+ 2 C -0.3868 1.4530 0.1332 C.3 1 PAC -0.0375
10
+ 3 C2 -0.4239 1.5867 1.6509 C.3 1 PAC 0.0049
11
+ 4 C 0.2189 0.3673 2.3129 C.3 1 PAC -0.0375
12
+ 5 C 1.6627 0.1840 1.8377 C.3 1 PAC -0.0488
13
+ 6 C 1.7559 0.0170 0.3181 C.3 1 PAC -0.0407
14
+ 7 C 3.2445 -0.0611 -0.1651 C.3 1 PAC -0.0474
15
+ 8 C 4.0849 -1.2509 0.3999 C.3 1 PAC -0.0407
16
+ 9 C 5.5341 -1.2664 -0.1535 C.3 1 PAC -0.0488
17
+ 10 C 6.3098 -2.5522 0.1636 C.3 1 PAC -0.0375
18
+ 11 C1 5.4974 -3.8029 -0.1700 C.3 1 PAC 0.0049
19
+ 12 C 4.1937 -3.8000 0.6212 C.3 1 PAC -0.0375
20
+ 13 C 3.3524 -2.5924 0.2247 C.3 1 PAC -0.0488
21
+ 14 N1 6.2599 -5.0172 0.1162 N.3 1 PAC -0.3272
22
+ 15 N2 -1.8168 1.7369 2.0786 N.3 1 PAC -0.3272
23
+ 16 H 1.6047 2.0898 -0.3424 H 1 PAC 0.0268
24
+ 17 H 0.9019 0.9202 -1.4627 H 1 PAC 0.0268
25
+ 18 H -1.0564 0.6483 -0.1927 H 1 PAC 0.0280
26
+ 19 H -0.7633 2.3773 -0.3343 H 1 PAC 0.0280
27
+ 20 H 0.1247 2.4885 1.9532 H 1 PAC 0.0458
28
+ 21 H -0.3534 -0.5388 2.0744 H 1 PAC 0.0280
29
+ 22 H 0.2067 0.4761 3.4022 H 1 PAC 0.0280
30
+ 23 H 2.0776 -0.7078 2.3325 H 1 PAC 0.0268
31
+ 24 H 2.2691 1.0366 2.1678 H 1 PAC 0.0268
32
+ 25 H 1.2371 -0.9012 0.0434 H 1 PAC 0.0301
33
+ 26 H 3.7432 0.8605 0.1294 H 1 PAC 0.0271
34
+ 27 H 3.2593 -0.0975 -1.2596 H 1 PAC 0.0271
35
+ 28 H 4.1835 -1.0879 1.4730 H 1 PAC 0.0301
36
+ 29 H 6.0813 -0.4176 0.2686 H 1 PAC 0.0268
37
+ 30 H 5.5482 -1.1352 -1.2427 H 1 PAC 0.0268
38
+ 31 H 6.5982 -2.5580 1.2292 H 1 PAC 0.0280
39
+ 32 H 7.2463 -2.5515 -0.4099 H 1 PAC 0.0280
40
+ 33 H 5.2588 -3.8065 -1.2451 H 1 PAC 0.0458
41
+ 34 H 4.3975 -3.7699 1.7048 H 1 PAC 0.0280
42
+ 35 H 3.6232 -4.7131 0.4347 H 1 PAC 0.0280
43
+ 36 H 2.4417 -2.5989 0.8401 H 1 PAC 0.0268
44
+ 37 H 3.0264 -2.7222 -0.8175 H 1 PAC 0.0268
45
+ 38 H 6.5386 -5.0249 1.0976 H 1 PAC 0.1185
46
+ 39 H 7.1205 -5.0120 -0.4231 H 1 PAC 0.1185
47
+ 40 H -2.3522 0.9246 1.7729 H 1 PAC 0.1185
48
+ 41 H -2.2309 2.5311 1.5900 H 1 PAC 0.1185
49
+ @<TRIPOS>BOND
50
+ 1 1 2 1
51
+ 2 2 3 1
52
+ 3 3 4 1
53
+ 4 4 5 1
54
+ 5 5 6 1
55
+ 6 1 6 1
56
+ 7 6 7 1
57
+ 8 7 8 1
58
+ 9 8 9 1
59
+ 10 9 10 1
60
+ 11 10 11 1
61
+ 12 11 12 1
62
+ 13 12 13 1
63
+ 14 8 13 1
64
+ 15 11 14 1
65
+ 16 3 15 1
66
+ 17 1 16 1
67
+ 18 1 17 1
68
+ 19 2 18 1
69
+ 20 2 19 1
70
+ 21 3 20 1
71
+ 22 4 21 1
72
+ 23 4 22 1
73
+ 24 5 23 1
74
+ 25 5 24 1
75
+ 26 6 25 1
76
+ 27 7 26 1
77
+ 28 7 27 1
78
+ 29 8 28 1
79
+ 30 9 29 1
80
+ 31 9 30 1
81
+ 32 10 31 1
82
+ 33 10 32 1
83
+ 34 11 33 1
84
+ 35 12 34 1
85
+ 36 12 35 1
86
+ 37 13 36 1
87
+ 38 13 37 1
88
+ 39 14 38 1
89
+ 40 14 39 1
90
+ 41 15 40 1
91
+ 42 15 41 1
@@ -0,0 +1,44 @@
1
+ @<TRIPOS>MOLECULE
2
+ STY
3
+ 18 18 0 0 0
4
+ SMALL
5
+ GASTEIGER
6
+
7
+ @<TRIPOS>ATOM
8
+ 1 C -0.7006 1.1795 -0.0272 C.ar 1 STY -0.0586
9
+ 2 C 0.6928 1.2166 0.0538 C.ar 1 STY -0.0615
10
+ 3 C 1.4223 0.0286 0.0810 C.ar 1 STY -0.0617
11
+ 4 C 0.7581 -1.1951 0.0377 C.ar 1 STY -0.0615
12
+ 5 C -0.6353 -1.2335 -0.0439 C.ar 1 STY -0.0586
13
+ 6 C -1.3772 -0.0454 -0.0907 C.ar 1 STY -0.0476
14
+ 7 C1 -2.8796 -0.0869 -0.2079 C.3 1 STY -0.0305
15
+ 8 C2 -3.5705 -0.1623 1.1447 C.3 1 STY -0.0613
16
+ 9 H -1.2556 2.1152 -0.0496 H 1 STY 0.0620
17
+ 10 H 1.2096 2.1715 0.0912 H 1 STY 0.0618
18
+ 11 H 2.5068 0.0578 0.1356 H 1 STY 0.0618
19
+ 12 H 1.3256 -2.1221 0.0620 H 1 STY 0.0618
20
+ 13 H -1.1387 -2.1963 -0.0798 H 1 STY 0.0620
21
+ 14 H -3.1733 -0.9486 -0.8199 H 1 STY 0.0311
22
+ 15 H -3.2298 0.7998 -0.7503 H 1 STY 0.0311
23
+ 16 H -3.2680 -1.0573 1.6981 H 1 STY 0.0233
24
+ 17 H -4.6567 -0.1988 1.0102 H 1 STY 0.0233
25
+ 18 H -3.3353 0.7117 1.7611 H 1 STY 0.0233
26
+ @<TRIPOS>BOND
27
+ 1 1 2 ar
28
+ 2 2 3 ar
29
+ 3 3 4 ar
30
+ 4 4 5 ar
31
+ 5 5 6 ar
32
+ 6 1 6 ar
33
+ 7 6 7 1
34
+ 8 7 8 1
35
+ 9 1 9 1
36
+ 10 2 10 1
37
+ 11 3 11 1
38
+ 12 4 12 1
39
+ 13 5 13 1
40
+ 14 7 14 1
41
+ 15 7 15 1
42
+ 16 8 16 1
43
+ 17 8 17 1
44
+ 18 8 18 1
@@ -0,0 +1,32 @@
1
+
2
+ # This script is intended to be loaded in an interactive Tcl session in
3
+ # VMD. If "fn" is set to the name of a bonds CSV file (see example),
4
+ # then this will generate the two lists "ai" and "aj" that contain
5
+ # the serial numbers of each atom in each bond. The loop at the
6
+ # end just draws them.
7
+ #
8
+ # Cameron F Abrams cfa22@drexel.edu
9
+
10
+ set fn "proj-0/systems/init-2/2-cure_update-bonds.csv"
11
+ set fp [open $fn "r"]
12
+ set hdr [gets $fp]
13
+ set cols [regexp -all -inline {\S+} $hdr]
14
+ puts "$cols"
15
+ set idx [lsearch $hdr "ai"]
16
+ set jdx [lsearch $hdr "aj"]
17
+ # puts "$idx"
18
+ set ais {}
19
+ set ajs {}
20
+ while {[gets $fp line]>=0} {
21
+ set tok [regexp -all -inline {\S+} $line]
22
+ set ai [lindex $tok $idx]
23
+ lappend ais $ai
24
+ set aj [lindex $tok $jdx]
25
+ lappend ajs $aj
26
+ }
27
+ close $fp
28
+ foreach i $ai j $aj {
29
+ set ri [lindex [[[atomselect top "serial $ai"] get {x y z}]] 0]
30
+ set rj [lindex [[[atomselect top "serial $aj"] get {x y z}]] 0]
31
+ graphics 0 cylinder $ri $rj diameter 0.2
32
+ }
@@ -0,0 +1,46 @@
1
+ # This proc returns a TcL dictionary keyed by attribute name with values that are atom-by-atom
2
+ # Source this file in your vmd script or a TcL interactive session
3
+ # IMPORTANT: If you are using a TcL interactive session, you must SQUASH the output echo or vmd will HANG!
4
+ #
5
+ # One way to do this is to chain the "set" command with creation of an empty list:
6
+ #
7
+ # % set D [get_grx "myfile.grx"]; list
8
+ #
9
+ # That little "list" command chained after the set squashes the console output of the set command
10
+ # You do not want to see the console outuput of this set command if your system has more than
11
+ # a few thousand atoms, trust me.
12
+ #
13
+ # But having this dictionary is useful. Say you want to color your system by molecule index. You can use
14
+ # any editable tag in the atom selection, like "beta":
15
+ #
16
+ # % set a [atomselect top all]
17
+ # % set D [get_grx "myfile.grx"]; list
18
+ # % $a set beta [dict get $D "molecule"]
19
+ #
20
+ # Cameron F. Abrams cfa22@drexel.edu
21
+
22
+ proc get_grx { fn } {
23
+ set D [dict create]
24
+ set fp [open $fn "r"]
25
+ set data [read -nonewline $fp]
26
+ close $fp
27
+ set lines [split $data "\n"]
28
+ set nlines [llength $lines]
29
+ set length_of_last_line [string length [lindex $lines end]]
30
+ while { $length_of_last_line == 0 } {
31
+ set lines [lrange $lines 0 end-1]
32
+ set length_of_last_line [string length [lindex $lines end]]
33
+ }
34
+ set hdr [lindex $lines 0]
35
+ set lines [lrange $lines 1 end]
36
+ set ndatalines [llength $lines]
37
+ set cols [regexp -all -inline {\S+} $hdr]
38
+ for {set i 0} {$i < [llength $cols]} {incr i} {
39
+ set mylist {}
40
+ foreach {ln} $lines {
41
+ lappend mylist [lindex $ln $i]
42
+ }
43
+ set D [dict append D [lindex $cols $i] $mylist]
44
+ }
45
+ return $D
46
+ }