03-macro_surface_listrelease.mdl 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. /****************************************************************************
  2. * Test 03: Surface macromolecule list release.
  3. *
  4. * This test is to ensure that surface macromolecule list releases work
  5. * properly. The information is validated based on the time 0 viz and
  6. * reaction data output. The complexes are at the center of each face, the
  7. * middle of each edge, and on each corner of the box. The subunits should
  8. * conform to the corners of the box as appropriate. Molecule positions
  9. * will be validated, as will the counts of molecules actually released in
  10. * each orientation, and the fraction of dimer pairs exhibiting each
  11. * possible orientation combination.
  12. *
  13. * Author: Jed Wing <[email protected]>
  14. * Date: 2008-04-04
  15. ****************************************************************************/
  16. basename = "03-macro_surface_listrelease"
  17. countdir = "dat/" & basename & "/"
  18. vizdir = "./viz_dat/" & basename & "/"
  19. sprintf(seed, "%04g", SEED)
  20. dt = 1e-6
  21. iterations=1
  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_2D = 0 }
  31. }
  32. DEFINE_COMPLEX_MOLECULE camkii {
  33. NUMBER_OF_SUBUNITS = [2, 6]
  34. SUBUNIT[1 , 1 ] = camkii_subunit'
  35. SUBUNIT[2 , 1 ] = camkii_subunit,
  36. SUBUNIT[1:2, 2 ] = camkii_subunit,
  37. SUBUNIT[1:2, 3:6] = camkii_subunit'
  38. SHAPE {
  39. SUBUNIT[1, 1] = [-.1100, .0000, 0]
  40. SUBUNIT[1, 2] = [-.0678, .0866, 0]
  41. SUBUNIT[1, 3] = [ .0678, .0866, 0]
  42. SUBUNIT[1, 4] = [ .1100, .0000, 0]
  43. SUBUNIT[1, 5] = [ .0678, -.0866, 0]
  44. SUBUNIT[1, 6] = [-.0678, -.0866, 0]
  45. SUBUNIT[2, 1] = [-.1100, .0000, 0]
  46. SUBUNIT[2, 2] = [-.0678, .0866, 0]
  47. SUBUNIT[2, 3] = [ .0678, .0866, 0]
  48. SUBUNIT[2, 4] = [ .1100, .0000, 0]
  49. SUBUNIT[2, 5] = [ .0678, -.0866, 0]
  50. SUBUNIT[2, 6] = [-.0678, -.0866, 0]
  51. }
  52. SUBUNIT_RELATIONSHIPS {
  53. dimer_partner = [+1, 0]
  54. }
  55. RATE_RULES {
  56. }
  57. }
  58. mainbox OBJECT {
  59. b BOX {
  60. CORNERS = [ -0.5, -0.5, -0.5 ], [ 0.5, 0.5, 0.5 ]
  61. }
  62. }
  63. INSTANTIATE world OBJECT
  64. {
  65. mainbox OBJECT mainbox {
  66. }
  67. rs1 RELEASE_SITE {
  68. SHAPE = LIST
  69. MOLECULE_POSITIONS {
  70. camkii' [-0.5, -0.5, -0.5]
  71. camkii' [-0.5, -0.5, 0.5]
  72. camkii' [-0.5, 0.5, -0.5]
  73. camkii' [-0.5, 0.5, 0.5]
  74. camkii' [ 0.5, -0.5, -0.5]
  75. camkii' [ 0.5, -0.5, 0.5]
  76. camkii' [ 0.5, 0.5, -0.5]
  77. camkii' [ 0.5, 0.5, 0.5]
  78. camkii' [-0.5, -0.5, 0.0]
  79. camkii' [-0.5, 0.5, 0.0]
  80. camkii' [ 0.5, -0.5, 0.0]
  81. camkii' [ 0.5, 0.5, 0.0]
  82. camkii' [-0.5, 0.0, -0.5]
  83. camkii' [-0.5, 0.0, 0.5]
  84. camkii' [ 0.5, 0.0, -0.5]
  85. camkii' [ 0.5, 0.0, 0.5]
  86. camkii' [ 0.0, -0.5, -0.5]
  87. camkii' [ 0.0, -0.5, 0.5]
  88. camkii' [ 0.0, 0.5, -0.5]
  89. camkii' [ 0.0, 0.5, 0.5]
  90. camkii' [ 0.0, -0.5, 0.0]
  91. camkii' [ 0.0, 0.5, 0.0]
  92. camkii' [ 0.0, 0.0, -0.5]
  93. camkii' [ 0.0, 0.0, 0.5]
  94. camkii' [-0.5, 0.0, 0.0]
  95. camkii' [-0.5, 0.0, 0.0]
  96. }
  97. }
  98. }
  99. VIZ_OUTPUT
  100. {
  101. MODE = ASCII
  102. FILENAME = "molecules"
  103. MOLECULES {
  104. NAME_LIST { camkii=1 camkii_subunit=2 }
  105. ITERATION_NUMBERS { ALL_DATA @ [0] }
  106. }
  107. }
  108. REACTION_DATA_OUTPUT
  109. {
  110. OUTPUT_BUFFER_SIZE = 1000
  111. ITERATION_LIST=[0]
  112. HEADER = "# "
  113. {
  114. COUNT[camkii, WORLD] : "complexes",
  115. COUNT[camkii_subunit, WORLD] : "subunits",
  116. COUNT[SUBUNIT{camkii : camkii_subunit' [dimer_partner == camkii_subunit']}, WORLD] : "00",
  117. COUNT[SUBUNIT{camkii : camkii_subunit' [dimer_partner == camkii_subunit,]}, WORLD] : "01",
  118. COUNT[SUBUNIT{camkii : camkii_subunit, [dimer_partner == camkii_subunit,]}, WORLD] : "11"
  119. } => "counts.txt"
  120. }