invalid-35.mdl 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. /****************************************************************************
  2. * Macromolecule parser error handling 35: Complex redefined.
  3. *
  4. * Expect an error regarding the second definition of the complex.
  5. *
  6. * Author: Jed Wing <[email protected]>
  7. * Date: 2008-04-04
  8. ****************************************************************************/
  9. dt = 1e-6
  10. iterations=1250000
  11. sprintf(seed_str,"%04g",SEED)
  12. INCLUDE_FILE="parameters.mdl"
  13. TIME_STEP = dt
  14. ITERATIONS = iterations
  15. GRID_DENSITY = 15000
  16. ACCURATE_3D_REACTIONS = FALSE
  17. PARTITION_X = [[-0.5001 TO 0.50001 STEP 0.02]]
  18. PARTITION_Y = [[-0.5001 TO 0.50001 STEP 0.02]]
  19. PARTITION_Z = [[-0.5001 TO 0.50001 STEP 0.02]]
  20. DEFINE_MOLECULES {
  21. camkii_subunit { DIFFUSION_CONSTANT_3D = 0 }
  22. camkii_subunitB { DIFFUSION_CONSTANT_3D = 0 }
  23. cam { DIFFUSION_CONSTANT_3D = cam_diffusion }
  24. }
  25. DEFINE_COMPLEX_MOLECULE camkii {
  26. NUMBER_OF_SUBUNITS = [2, 6]
  27. SUBUNIT[1:2, 1:6] = camkii_subunit
  28. SHAPE {
  29. SUBUNIT[1, 1] = [-10.0, 0.0, 5.0]
  30. SUBUNIT[1, 2] = [ -5.0, 8.66, 5.0]
  31. SUBUNIT[1, 3] = [ 5.0, 8.66, 5.0]
  32. SUBUNIT[1, 4] = [ 10.0, 0.0, 5.0]
  33. SUBUNIT[1, 5] = [ 5.0, -8.66, 5.0]
  34. SUBUNIT[1, 6] = [ -5.0, -8.66, 5.0]
  35. SUBUNIT[2, 1] = [-10.0, 0.0, -5.0]
  36. SUBUNIT[2, 2] = [ -5.0, 8.66, -5.0]
  37. SUBUNIT[2, 3] = [ 5.0, 8.66, -5.0]
  38. SUBUNIT[2, 4] = [ 10.0, 0.0, -5.0]
  39. SUBUNIT[2, 5] = [ 5.0, -8.66, -5.0]
  40. SUBUNIT[2, 6] = [ -5.0, -8.66, -5.0]
  41. }
  42. SUBUNIT_RELATIONSHIPS {
  43. ring_negative = [ 0, -1]
  44. ring_positive = [ 0, +1]
  45. dimer_partner = [+1, 0]
  46. }
  47. RATE_RULES {
  48. coop_binding_rate {
  49. dimer_partner != camkii_subunit : fw_rate * TMP_spec_F
  50. DEFAULT : fw_rate
  51. }
  52. coop_unbinding_rate {
  53. dimer_partner != camkii_subunit : bw_rate * TMP_spec_B
  54. DEFAULT : bw_rate
  55. }
  56. }
  57. }
  58. DEFINE_COMPLEX_MOLECULE camkii {
  59. NUMBER_OF_SUBUNITS = [2, 6]
  60. SUBUNIT[1:2, 1:6] = camkii_subunit
  61. SHAPE {
  62. SUBUNIT[1, 1] = [-10.0, 0.0, 5.0]
  63. SUBUNIT[1, 2] = [ -5.0, 8.66, 5.0]
  64. SUBUNIT[1, 3] = [ 5.0, 8.66, 5.0]
  65. SUBUNIT[1, 4] = [ 10.0, 0.0, 5.0]
  66. SUBUNIT[1, 5] = [ 5.0, -8.66, 5.0]
  67. SUBUNIT[1, 6] = [ -5.0, -8.66, 5.0]
  68. SUBUNIT[2, 1] = [-10.0, 0.0, -5.0]
  69. SUBUNIT[2, 2] = [ -5.0, 8.66, -5.0]
  70. SUBUNIT[2, 3] = [ 5.0, 8.66, -5.0]
  71. SUBUNIT[2, 4] = [ 10.0, 0.0, -5.0]
  72. SUBUNIT[2, 5] = [ 5.0, -8.66, -5.0]
  73. SUBUNIT[2, 6] = [ -5.0, -8.66, -5.0]
  74. }
  75. SUBUNIT_RELATIONSHIPS {
  76. ring_negative = [ 0, -1]
  77. ring_positive = [ 0, +1]
  78. dimer_partner = [+1, 0]
  79. }
  80. RATE_RULES {
  81. coop_binding_rate {
  82. dimer_partner != camkii_subunit : fw_rate * TMP_spec_F
  83. DEFAULT : fw_rate
  84. }
  85. coop_unbinding_rate {
  86. dimer_partner != camkii_subunit : bw_rate * TMP_spec_B
  87. DEFAULT : bw_rate
  88. }
  89. }
  90. }
  91. DEFINE_REACTIONS {
  92. (camkii_subunit) + cam <-> (camkii_subunitB) [> COMPLEX_RATE camkii coop_binding_rate,
  93. < COMPLEX_RATE camkii coop_unbinding_rate]
  94. }
  95. mainbox OBJECT {
  96. b BOX {
  97. CORNERS = [ -0.5, -0.5, -0.5 ], [ 0.5, 0.5, 0.5 ]
  98. }
  99. }
  100. INSTANTIATE world OBJECT
  101. {
  102. mainbox OBJECT mainbox {
  103. }
  104. rs1 RELEASE_SITE {
  105. SHAPE = world.mainbox.b[ALL]
  106. MOLECULE = camkii
  107. NUMBER_TO_RELEASE = num_complexes
  108. }
  109. rs2 RELEASE_SITE {
  110. SHAPE = world.mainbox.b[ALL]
  111. MOLECULE = cam
  112. NUMBER_TO_RELEASE = num_cam
  113. }
  114. }
  115. VIZ_OUTPUT {
  116. MODE = DREAMM_V3
  117. FILENAME = "./viz_dat/test_box"
  118. MOLECULES
  119. {
  120. NAME_LIST { ALL_MOLECULES }
  121. ITERATION_NUMBERS {
  122. POSITIONS @ [[0 TO 100 STEP 10], [200 TO 1000 STEP 100], [2000 TO 100000 STEP 1000], [200000 TO iterations STEP 100000]]
  123. }
  124. }
  125. MESHES
  126. {
  127. NAME_LIST { ALL_MESHES }
  128. ITERATION_NUMBERS {
  129. ALL_DATA @ [0]
  130. }
  131. }
  132. }