invalid-22.mdl 4.2 KB

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