invalid-28.mdl 4.0 KB

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