invalid-39.mdl 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. /****************************************************************************
  2. * Macromolecule parser error handling 39: Can't place macromolecule.
  3. *
  4. * The macromolecule here does not fit inside the region into which it's
  5. * being released. Thus, the release should fail. The test succeeds if the
  6. * program exits with an error message rather than looping infinitely or
  7. * succeeding in placing the molecules.
  8. *
  9. * Author: Jed Wing <[email protected]>
  10. * Date: 2008-04-04
  11. ****************************************************************************/
  12. dt = 1e-6
  13. iterations=1250000
  14. sprintf(seed_str,"%04g",SEED)
  15. INCLUDE_FILE="parameters.mdl"
  16. WARNINGS
  17. {
  18. COMPLEX_PLACEMENT_FAILURE = ERROR
  19. COMPLEX_PLACEMENT_FAILURE_THRESHOLD = 5
  20. }
  21. COMPLEX_PLACEMENT_ATTEMPTS = 10
  22. TIME_STEP = dt
  23. ITERATIONS = iterations
  24. GRID_DENSITY = 15000
  25. ACCURATE_3D_REACTIONS = FALSE
  26. PARTITION_X = [[-0.5001 TO 0.50001 STEP 0.02]]
  27. PARTITION_Y = [[-0.5001 TO 0.50001 STEP 0.02]]
  28. PARTITION_Z = [[-0.5001 TO 0.50001 STEP 0.02]]
  29. DEFINE_MOLECULES {
  30. camkii_subunit { DIFFUSION_CONSTANT_3D = 0 }
  31. camkii_subunitB { DIFFUSION_CONSTANT_3D = 0 }
  32. cam { DIFFUSION_CONSTANT_3D = cam_diffusion }
  33. }
  34. DEFINE_COMPLEX_MOLECULE camkii {
  35. NUMBER_OF_SUBUNITS = [2, 6]
  36. SUBUNIT[1:2, 1:6] = camkii_subunit
  37. SHAPE {
  38. SUBUNIT[1, 1] = [-10.0, 0.0, 5.0]
  39. SUBUNIT[1, 2] = [ -5.0, 8.66, 5.0]
  40. SUBUNIT[1, 3] = [ 5.0, 8.66, 5.0]
  41. SUBUNIT[1, 4] = [ 10.0, 0.0, 5.0]
  42. SUBUNIT[1, 5] = [ 5.0, -8.66, 5.0]
  43. SUBUNIT[1, 6] = [ -5.0, -8.66, 5.0]
  44. SUBUNIT[2, 1] = [-10.0, 0.0, -5.0]
  45. SUBUNIT[2, 2] = [ -5.0, 8.66, -5.0]
  46. SUBUNIT[2, 3] = [ 5.0, 8.66, -5.0]
  47. SUBUNIT[2, 4] = [ 10.0, 0.0, -5.0]
  48. SUBUNIT[2, 5] = [ 5.0, -8.66, -5.0]
  49. SUBUNIT[2, 6] = [ -5.0, -8.66, -5.0]
  50. }
  51. SUBUNIT_RELATIONSHIPS {
  52. ring_negative = [ 0, -1]
  53. ring_positive = [ 0, +1]
  54. dimer_partner = [+1, 0]
  55. }
  56. RATE_RULES {
  57. coop_binding_rate {
  58. dimer_partner != camkii_subunit : fw_rate * TMP_spec_F
  59. DEFAULT : fw_rate
  60. }
  61. coop_unbinding_rate {
  62. dimer_partner != camkii_subunit : bw_rate * TMP_spec_B
  63. DEFAULT : bw_rate
  64. }
  65. }
  66. }
  67. DEFINE_REACTIONS {
  68. (camkii_subunit) + cam <-> (camkii_subunitB) [> COMPLEX_RATE camkii coop_binding_rate,
  69. < COMPLEX_RATE camkii coop_unbinding_rate]
  70. }
  71. mainbox OBJECT {
  72. b BOX {
  73. CORNERS = [ -0.5, -0.5, -0.5 ], [ 0.5, 0.5, 0.5 ]
  74. }
  75. }
  76. INSTANTIATE world OBJECT
  77. {
  78. mainbox OBJECT mainbox {
  79. }
  80. rs1 RELEASE_SITE {
  81. SHAPE = world.mainbox.b[ALL]
  82. MOLECULE = camkii
  83. NUMBER_TO_RELEASE = num_complexes
  84. }
  85. rs2 RELEASE_SITE {
  86. SHAPE = world.mainbox.b[ALL]
  87. MOLECULE = cam
  88. NUMBER_TO_RELEASE = num_cam
  89. }
  90. }
  91. VIZ_OUTPUT {
  92. MODE = DREAMM_V3
  93. FILENAME = "./viz_dat/test_box"
  94. MOLECULES
  95. {
  96. NAME_LIST { ALL_MOLECULES }
  97. ITERATION_NUMBERS {
  98. POSITIONS @ [[0 TO 100 STEP 10], [200 TO 1000 STEP 100], [2000 TO 100000 STEP 1000], [200000 TO iterations STEP 100000]]
  99. }
  100. }
  101. MESHES
  102. {
  103. NAME_LIST { ALL_MESHES }
  104. ITERATION_NUMBERS {
  105. ALL_DATA @ [0]
  106. }
  107. }
  108. }