grnsight 5.1.0 → 6.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1034) hide show
  1. package/.eslintrc.yml +2 -0
  2. package/.travis.yml +2 -0
  3. package/database/README.md +87 -0
  4. package/database/expression-database/README.md +60 -0
  5. package/database/expression-database/schema.sql +71 -0
  6. package/database/expression-database/scripts/loader.py +186 -0
  7. package/database/expression-database/scripts/preprocessing.py +197 -0
  8. package/database/network-database/README.md +88 -0
  9. package/database/network-database/schema.sql +25 -0
  10. package/database/network-database/scripts/filter_genes.py +76 -0
  11. package/database/network-database/scripts/generate_network.py +185 -0
  12. package/database/network-database/scripts/generate_sgd_network_from_yeastract_network.py +120 -0
  13. package/database/network-database/scripts/loader.py +79 -0
  14. package/gdb/PG_VERSION +1 -0
  15. package/gdb/base/1/112 +0 -0
  16. package/gdb/base/1/113 +0 -0
  17. package/gdb/base/1/1247 +0 -0
  18. package/gdb/base/1/1247_fsm +0 -0
  19. package/gdb/base/1/1247_vm +0 -0
  20. package/gdb/base/1/1249 +0 -0
  21. package/gdb/base/1/1249_fsm +0 -0
  22. package/gdb/base/1/1249_vm +0 -0
  23. package/gdb/base/1/1255 +0 -0
  24. package/gdb/base/1/1255_fsm +0 -0
  25. package/gdb/base/1/1255_vm +0 -0
  26. package/gdb/base/1/1259 +0 -0
  27. package/gdb/base/1/1259_fsm +0 -0
  28. package/gdb/base/1/1259_vm +0 -0
  29. package/gdb/base/1/13852 +0 -0
  30. package/gdb/base/1/13852_fsm +0 -0
  31. package/gdb/base/1/13852_vm +0 -0
  32. package/gdb/base/1/13855 +0 -0
  33. package/gdb/base/1/13856 +0 -0
  34. package/gdb/base/1/13857 +0 -0
  35. package/gdb/base/1/13857_fsm +0 -0
  36. package/gdb/base/1/13857_vm +0 -0
  37. package/gdb/base/1/13860 +0 -0
  38. package/gdb/base/1/13861 +0 -0
  39. package/gdb/base/1/13862 +0 -0
  40. package/gdb/base/1/13862_fsm +0 -0
  41. package/gdb/base/1/13862_vm +0 -0
  42. package/gdb/base/1/13865 +0 -0
  43. package/gdb/base/1/13866 +0 -0
  44. package/gdb/base/1/13867 +0 -0
  45. package/gdb/base/1/13867_fsm +0 -0
  46. package/gdb/base/1/13867_vm +0 -0
  47. package/gdb/base/1/13870 +0 -0
  48. package/gdb/base/1/13871 +0 -0
  49. package/gdb/base/1/1417 +0 -0
  50. package/gdb/base/1/1418 +0 -0
  51. package/gdb/base/1/174 +0 -0
  52. package/gdb/base/1/175 +0 -0
  53. package/gdb/base/1/2187 +0 -0
  54. package/gdb/base/1/2224 +0 -0
  55. package/gdb/base/1/2228 +0 -0
  56. package/gdb/base/1/2328 +0 -0
  57. package/gdb/base/1/2336 +0 -0
  58. package/gdb/base/1/2337 +0 -0
  59. package/gdb/base/1/2579 +0 -0
  60. package/gdb/base/1/2600 +0 -0
  61. package/gdb/base/1/2600_fsm +0 -0
  62. package/gdb/base/1/2600_vm +0 -0
  63. package/gdb/base/1/2601 +0 -0
  64. package/gdb/base/1/2601_fsm +0 -0
  65. package/gdb/base/1/2601_vm +0 -0
  66. package/gdb/base/1/2602 +0 -0
  67. package/gdb/base/1/2602_fsm +0 -0
  68. package/gdb/base/1/2602_vm +0 -0
  69. package/gdb/base/1/2603 +0 -0
  70. package/gdb/base/1/2603_fsm +0 -0
  71. package/gdb/base/1/2603_vm +0 -0
  72. package/gdb/base/1/2604 +0 -0
  73. package/gdb/base/1/2605 +0 -0
  74. package/gdb/base/1/2605_fsm +0 -0
  75. package/gdb/base/1/2605_vm +0 -0
  76. package/gdb/base/1/2606 +0 -0
  77. package/gdb/base/1/2606_fsm +0 -0
  78. package/gdb/base/1/2606_vm +0 -0
  79. package/gdb/base/1/2607 +0 -0
  80. package/gdb/base/1/2607_fsm +0 -0
  81. package/gdb/base/1/2607_vm +0 -0
  82. package/gdb/base/1/2608 +0 -0
  83. package/gdb/base/1/2608_fsm +0 -0
  84. package/gdb/base/1/2608_vm +0 -0
  85. package/gdb/base/1/2609 +0 -0
  86. package/gdb/base/1/2609_fsm +0 -0
  87. package/gdb/base/1/2609_vm +0 -0
  88. package/gdb/base/1/2610 +0 -0
  89. package/gdb/base/1/2610_fsm +0 -0
  90. package/gdb/base/1/2610_vm +0 -0
  91. package/gdb/base/1/2611 +0 -0
  92. package/gdb/base/1/2612 +0 -0
  93. package/gdb/base/1/2612_fsm +0 -0
  94. package/gdb/base/1/2612_vm +0 -0
  95. package/gdb/base/1/2613 +0 -0
  96. package/gdb/base/1/2615 +0 -0
  97. package/gdb/base/1/2615_fsm +0 -0
  98. package/gdb/base/1/2615_vm +0 -0
  99. package/gdb/base/1/2616 +0 -0
  100. package/gdb/base/1/2616_fsm +0 -0
  101. package/gdb/base/1/2616_vm +0 -0
  102. package/gdb/base/1/2617 +0 -0
  103. package/gdb/base/1/2617_fsm +0 -0
  104. package/gdb/base/1/2617_vm +0 -0
  105. package/gdb/base/1/2618 +0 -0
  106. package/gdb/base/1/2618_fsm +0 -0
  107. package/gdb/base/1/2618_vm +0 -0
  108. package/gdb/base/1/2619 +0 -0
  109. package/gdb/base/1/2619_fsm +0 -0
  110. package/gdb/base/1/2619_vm +0 -0
  111. package/gdb/base/1/2620 +0 -0
  112. package/gdb/base/1/2650 +0 -0
  113. package/gdb/base/1/2651 +0 -0
  114. package/gdb/base/1/2652 +0 -0
  115. package/gdb/base/1/2653 +0 -0
  116. package/gdb/base/1/2654 +0 -0
  117. package/gdb/base/1/2655 +0 -0
  118. package/gdb/base/1/2656 +0 -0
  119. package/gdb/base/1/2657 +0 -0
  120. package/gdb/base/1/2658 +0 -0
  121. package/gdb/base/1/2659 +0 -0
  122. package/gdb/base/1/2660 +0 -0
  123. package/gdb/base/1/2661 +0 -0
  124. package/gdb/base/1/2662 +0 -0
  125. package/gdb/base/1/2663 +0 -0
  126. package/gdb/base/1/2664 +0 -0
  127. package/gdb/base/1/2665 +0 -0
  128. package/gdb/base/1/2666 +0 -0
  129. package/gdb/base/1/2667 +0 -0
  130. package/gdb/base/1/2668 +0 -0
  131. package/gdb/base/1/2669 +0 -0
  132. package/gdb/base/1/2670 +0 -0
  133. package/gdb/base/1/2673 +0 -0
  134. package/gdb/base/1/2673_fsm +0 -0
  135. package/gdb/base/1/2674 +0 -0
  136. package/gdb/base/1/2674_fsm +0 -0
  137. package/gdb/base/1/2675 +0 -0
  138. package/gdb/base/1/2678 +0 -0
  139. package/gdb/base/1/2679 +0 -0
  140. package/gdb/base/1/2680 +0 -0
  141. package/gdb/base/1/2681 +0 -0
  142. package/gdb/base/1/2682 +0 -0
  143. package/gdb/base/1/2683 +0 -0
  144. package/gdb/base/1/2684 +0 -0
  145. package/gdb/base/1/2685 +0 -0
  146. package/gdb/base/1/2686 +0 -0
  147. package/gdb/base/1/2687 +0 -0
  148. package/gdb/base/1/2688 +0 -0
  149. package/gdb/base/1/2689 +0 -0
  150. package/gdb/base/1/2690 +0 -0
  151. package/gdb/base/1/2691 +0 -0
  152. package/gdb/base/1/2692 +0 -0
  153. package/gdb/base/1/2693 +0 -0
  154. package/gdb/base/1/2696 +0 -0
  155. package/gdb/base/1/2699 +0 -0
  156. package/gdb/base/1/2701 +0 -0
  157. package/gdb/base/1/2702 +0 -0
  158. package/gdb/base/1/2703 +0 -0
  159. package/gdb/base/1/2704 +0 -0
  160. package/gdb/base/1/2753 +0 -0
  161. package/gdb/base/1/2753_fsm +0 -0
  162. package/gdb/base/1/2753_vm +0 -0
  163. package/gdb/base/1/2754 +0 -0
  164. package/gdb/base/1/2755 +0 -0
  165. package/gdb/base/1/2756 +0 -0
  166. package/gdb/base/1/2757 +0 -0
  167. package/gdb/base/1/2830 +0 -0
  168. package/gdb/base/1/2831 +0 -0
  169. package/gdb/base/1/2832 +0 -0
  170. package/gdb/base/1/2833 +0 -0
  171. package/gdb/base/1/2834 +0 -0
  172. package/gdb/base/1/2835 +0 -0
  173. package/gdb/base/1/2836 +0 -0
  174. package/gdb/base/1/2836_fsm +0 -0
  175. package/gdb/base/1/2836_vm +0 -0
  176. package/gdb/base/1/2837 +0 -0
  177. package/gdb/base/1/2838 +0 -0
  178. package/gdb/base/1/2838_fsm +0 -0
  179. package/gdb/base/1/2838_vm +0 -0
  180. package/gdb/base/1/2839 +0 -0
  181. package/gdb/base/1/2840 +0 -0
  182. package/gdb/base/1/2840_fsm +0 -0
  183. package/gdb/base/1/2840_vm +0 -0
  184. package/gdb/base/1/2841 +0 -0
  185. package/gdb/base/1/2995 +0 -0
  186. package/gdb/base/1/2996 +0 -0
  187. package/gdb/base/1/3079 +0 -0
  188. package/gdb/base/1/3079_fsm +0 -0
  189. package/gdb/base/1/3079_vm +0 -0
  190. package/gdb/base/1/3080 +0 -0
  191. package/gdb/base/1/3081 +0 -0
  192. package/gdb/base/1/3085 +0 -0
  193. package/gdb/base/1/3118 +0 -0
  194. package/gdb/base/1/3119 +0 -0
  195. package/gdb/base/1/3164 +0 -0
  196. package/gdb/base/1/3256 +0 -0
  197. package/gdb/base/1/3257 +0 -0
  198. package/gdb/base/1/3258 +0 -0
  199. package/gdb/base/1/3350 +0 -0
  200. package/gdb/base/1/3351 +0 -0
  201. package/gdb/base/1/3379 +0 -0
  202. package/gdb/base/1/3380 +0 -0
  203. package/gdb/base/1/3381 +0 -0
  204. package/gdb/base/1/3394 +0 -0
  205. package/gdb/base/1/3394_fsm +0 -0
  206. package/gdb/base/1/3394_vm +0 -0
  207. package/gdb/base/1/3395 +0 -0
  208. package/gdb/base/1/3429 +0 -0
  209. package/gdb/base/1/3430 +0 -0
  210. package/gdb/base/1/3431 +0 -0
  211. package/gdb/base/1/3433 +0 -0
  212. package/gdb/base/1/3439 +0 -0
  213. package/gdb/base/1/3440 +0 -0
  214. package/gdb/base/1/3455 +0 -0
  215. package/gdb/base/1/3456 +0 -0
  216. package/gdb/base/1/3456_fsm +0 -0
  217. package/gdb/base/1/3456_vm +0 -0
  218. package/gdb/base/1/3466 +0 -0
  219. package/gdb/base/1/3467 +0 -0
  220. package/gdb/base/1/3468 +0 -0
  221. package/gdb/base/1/3501 +0 -0
  222. package/gdb/base/1/3502 +0 -0
  223. package/gdb/base/1/3503 +0 -0
  224. package/gdb/base/1/3534 +0 -0
  225. package/gdb/base/1/3541 +0 -0
  226. package/gdb/base/1/3541_fsm +0 -0
  227. package/gdb/base/1/3541_vm +0 -0
  228. package/gdb/base/1/3542 +0 -0
  229. package/gdb/base/1/3574 +0 -0
  230. package/gdb/base/1/3575 +0 -0
  231. package/gdb/base/1/3576 +0 -0
  232. package/gdb/base/1/3596 +0 -0
  233. package/gdb/base/1/3597 +0 -0
  234. package/gdb/base/1/3598 +0 -0
  235. package/gdb/base/1/3599 +0 -0
  236. package/gdb/base/1/3600 +0 -0
  237. package/gdb/base/1/3600_fsm +0 -0
  238. package/gdb/base/1/3600_vm +0 -0
  239. package/gdb/base/1/3601 +0 -0
  240. package/gdb/base/1/3601_fsm +0 -0
  241. package/gdb/base/1/3601_vm +0 -0
  242. package/gdb/base/1/3602 +0 -0
  243. package/gdb/base/1/3602_fsm +0 -0
  244. package/gdb/base/1/3602_vm +0 -0
  245. package/gdb/base/1/3603 +0 -0
  246. package/gdb/base/1/3603_fsm +0 -0
  247. package/gdb/base/1/3603_vm +0 -0
  248. package/gdb/base/1/3604 +0 -0
  249. package/gdb/base/1/3605 +0 -0
  250. package/gdb/base/1/3606 +0 -0
  251. package/gdb/base/1/3607 +0 -0
  252. package/gdb/base/1/3608 +0 -0
  253. package/gdb/base/1/3609 +0 -0
  254. package/gdb/base/1/3712 +0 -0
  255. package/gdb/base/1/3764 +0 -0
  256. package/gdb/base/1/3764_fsm +0 -0
  257. package/gdb/base/1/3764_vm +0 -0
  258. package/gdb/base/1/3766 +0 -0
  259. package/gdb/base/1/3767 +0 -0
  260. package/gdb/base/1/3997 +0 -0
  261. package/gdb/base/1/4143 +0 -0
  262. package/gdb/base/1/4144 +0 -0
  263. package/gdb/base/1/4145 +0 -0
  264. package/gdb/base/1/4146 +0 -0
  265. package/gdb/base/1/4147 +0 -0
  266. package/gdb/base/1/4148 +0 -0
  267. package/gdb/base/1/4149 +0 -0
  268. package/gdb/base/1/4150 +0 -0
  269. package/gdb/base/1/4151 +0 -0
  270. package/gdb/base/1/4152 +0 -0
  271. package/gdb/base/1/4153 +0 -0
  272. package/gdb/base/1/4154 +0 -0
  273. package/gdb/base/1/4155 +0 -0
  274. package/gdb/base/1/4156 +0 -0
  275. package/gdb/base/1/4157 +0 -0
  276. package/gdb/base/1/4158 +0 -0
  277. package/gdb/base/1/4159 +0 -0
  278. package/gdb/base/1/4160 +0 -0
  279. package/gdb/base/1/4163 +0 -0
  280. package/gdb/base/1/4164 +0 -0
  281. package/gdb/base/1/4165 +0 -0
  282. package/gdb/base/1/4166 +0 -0
  283. package/gdb/base/1/4167 +0 -0
  284. package/gdb/base/1/4168 +0 -0
  285. package/gdb/base/1/4169 +0 -0
  286. package/gdb/base/1/4170 +0 -0
  287. package/gdb/base/1/4171 +0 -0
  288. package/gdb/base/1/4172 +0 -0
  289. package/gdb/base/1/4173 +0 -0
  290. package/gdb/base/1/4174 +0 -0
  291. package/gdb/base/1/5002 +0 -0
  292. package/gdb/base/1/548 +0 -0
  293. package/gdb/base/1/549 +0 -0
  294. package/gdb/base/1/6102 +0 -0
  295. package/gdb/base/1/6104 +0 -0
  296. package/gdb/base/1/6106 +0 -0
  297. package/gdb/base/1/6110 +0 -0
  298. package/gdb/base/1/6111 +0 -0
  299. package/gdb/base/1/6112 +0 -0
  300. package/gdb/base/1/6113 +0 -0
  301. package/gdb/base/1/6117 +0 -0
  302. package/gdb/base/1/6175 +0 -0
  303. package/gdb/base/1/6176 +0 -0
  304. package/gdb/base/1/826 +0 -0
  305. package/gdb/base/1/827 +0 -0
  306. package/gdb/base/1/828 +0 -0
  307. package/gdb/base/1/PG_VERSION +1 -0
  308. package/gdb/base/1/pg_filenode.map +0 -0
  309. package/gdb/base/14033/112 +0 -0
  310. package/gdb/base/14033/113 +0 -0
  311. package/gdb/base/14033/1247 +0 -0
  312. package/gdb/base/14033/1247_fsm +0 -0
  313. package/gdb/base/14033/1247_vm +0 -0
  314. package/gdb/base/14033/1249 +0 -0
  315. package/gdb/base/14033/1249_fsm +0 -0
  316. package/gdb/base/14033/1249_vm +0 -0
  317. package/gdb/base/14033/1255 +0 -0
  318. package/gdb/base/14033/1255_fsm +0 -0
  319. package/gdb/base/14033/1255_vm +0 -0
  320. package/gdb/base/14033/1259 +0 -0
  321. package/gdb/base/14033/1259_fsm +0 -0
  322. package/gdb/base/14033/1259_vm +0 -0
  323. package/gdb/base/14033/13852 +0 -0
  324. package/gdb/base/14033/13852_fsm +0 -0
  325. package/gdb/base/14033/13852_vm +0 -0
  326. package/gdb/base/14033/13855 +0 -0
  327. package/gdb/base/14033/13856 +0 -0
  328. package/gdb/base/14033/13857 +0 -0
  329. package/gdb/base/14033/13857_fsm +0 -0
  330. package/gdb/base/14033/13857_vm +0 -0
  331. package/gdb/base/14033/13860 +0 -0
  332. package/gdb/base/14033/13861 +0 -0
  333. package/gdb/base/14033/13862 +0 -0
  334. package/gdb/base/14033/13862_fsm +0 -0
  335. package/gdb/base/14033/13862_vm +0 -0
  336. package/gdb/base/14033/13865 +0 -0
  337. package/gdb/base/14033/13866 +0 -0
  338. package/gdb/base/14033/13867 +0 -0
  339. package/gdb/base/14033/13867_fsm +0 -0
  340. package/gdb/base/14033/13867_vm +0 -0
  341. package/gdb/base/14033/13870 +0 -0
  342. package/gdb/base/14033/13871 +0 -0
  343. package/gdb/base/14033/1417 +0 -0
  344. package/gdb/base/14033/1418 +0 -0
  345. package/gdb/base/14033/174 +0 -0
  346. package/gdb/base/14033/175 +0 -0
  347. package/gdb/base/14033/2187 +0 -0
  348. package/gdb/base/14033/2224 +0 -0
  349. package/gdb/base/14033/2228 +0 -0
  350. package/gdb/base/14033/2328 +0 -0
  351. package/gdb/base/14033/2336 +0 -0
  352. package/gdb/base/14033/2337 +0 -0
  353. package/gdb/base/14033/2579 +0 -0
  354. package/gdb/base/14033/2600 +0 -0
  355. package/gdb/base/14033/2600_fsm +0 -0
  356. package/gdb/base/14033/2600_vm +0 -0
  357. package/gdb/base/14033/2601 +0 -0
  358. package/gdb/base/14033/2601_fsm +0 -0
  359. package/gdb/base/14033/2601_vm +0 -0
  360. package/gdb/base/14033/2602 +0 -0
  361. package/gdb/base/14033/2602_fsm +0 -0
  362. package/gdb/base/14033/2602_vm +0 -0
  363. package/gdb/base/14033/2603 +0 -0
  364. package/gdb/base/14033/2603_fsm +0 -0
  365. package/gdb/base/14033/2603_vm +0 -0
  366. package/gdb/base/14033/2604 +0 -0
  367. package/gdb/base/14033/2605 +0 -0
  368. package/gdb/base/14033/2605_fsm +0 -0
  369. package/gdb/base/14033/2605_vm +0 -0
  370. package/gdb/base/14033/2606 +0 -0
  371. package/gdb/base/14033/2606_fsm +0 -0
  372. package/gdb/base/14033/2606_vm +0 -0
  373. package/gdb/base/14033/2607 +0 -0
  374. package/gdb/base/14033/2607_fsm +0 -0
  375. package/gdb/base/14033/2607_vm +0 -0
  376. package/gdb/base/14033/2608 +0 -0
  377. package/gdb/base/14033/2608_fsm +0 -0
  378. package/gdb/base/14033/2608_vm +0 -0
  379. package/gdb/base/14033/2609 +0 -0
  380. package/gdb/base/14033/2609_fsm +0 -0
  381. package/gdb/base/14033/2609_vm +0 -0
  382. package/gdb/base/14033/2610 +0 -0
  383. package/gdb/base/14033/2610_fsm +0 -0
  384. package/gdb/base/14033/2610_vm +0 -0
  385. package/gdb/base/14033/2611 +0 -0
  386. package/gdb/base/14033/2612 +0 -0
  387. package/gdb/base/14033/2612_fsm +0 -0
  388. package/gdb/base/14033/2612_vm +0 -0
  389. package/gdb/base/14033/2613 +0 -0
  390. package/gdb/base/14033/2615 +0 -0
  391. package/gdb/base/14033/2615_fsm +0 -0
  392. package/gdb/base/14033/2615_vm +0 -0
  393. package/gdb/base/14033/2616 +0 -0
  394. package/gdb/base/14033/2616_fsm +0 -0
  395. package/gdb/base/14033/2616_vm +0 -0
  396. package/gdb/base/14033/2617 +0 -0
  397. package/gdb/base/14033/2617_fsm +0 -0
  398. package/gdb/base/14033/2617_vm +0 -0
  399. package/gdb/base/14033/2618 +0 -0
  400. package/gdb/base/14033/2618_fsm +0 -0
  401. package/gdb/base/14033/2618_vm +0 -0
  402. package/gdb/base/14033/2619 +0 -0
  403. package/gdb/base/14033/2619_fsm +0 -0
  404. package/gdb/base/14033/2619_vm +0 -0
  405. package/gdb/base/14033/2620 +0 -0
  406. package/gdb/base/14033/2650 +0 -0
  407. package/gdb/base/14033/2651 +0 -0
  408. package/gdb/base/14033/2652 +0 -0
  409. package/gdb/base/14033/2653 +0 -0
  410. package/gdb/base/14033/2654 +0 -0
  411. package/gdb/base/14033/2655 +0 -0
  412. package/gdb/base/14033/2656 +0 -0
  413. package/gdb/base/14033/2657 +0 -0
  414. package/gdb/base/14033/2658 +0 -0
  415. package/gdb/base/14033/2659 +0 -0
  416. package/gdb/base/14033/2660 +0 -0
  417. package/gdb/base/14033/2661 +0 -0
  418. package/gdb/base/14033/2662 +0 -0
  419. package/gdb/base/14033/2663 +0 -0
  420. package/gdb/base/14033/2664 +0 -0
  421. package/gdb/base/14033/2665 +0 -0
  422. package/gdb/base/14033/2666 +0 -0
  423. package/gdb/base/14033/2667 +0 -0
  424. package/gdb/base/14033/2668 +0 -0
  425. package/gdb/base/14033/2669 +0 -0
  426. package/gdb/base/14033/2670 +0 -0
  427. package/gdb/base/14033/2673 +0 -0
  428. package/gdb/base/14033/2673_fsm +0 -0
  429. package/gdb/base/14033/2674 +0 -0
  430. package/gdb/base/14033/2674_fsm +0 -0
  431. package/gdb/base/14033/2675 +0 -0
  432. package/gdb/base/14033/2678 +0 -0
  433. package/gdb/base/14033/2679 +0 -0
  434. package/gdb/base/14033/2680 +0 -0
  435. package/gdb/base/14033/2681 +0 -0
  436. package/gdb/base/14033/2682 +0 -0
  437. package/gdb/base/14033/2683 +0 -0
  438. package/gdb/base/14033/2684 +0 -0
  439. package/gdb/base/14033/2685 +0 -0
  440. package/gdb/base/14033/2686 +0 -0
  441. package/gdb/base/14033/2687 +0 -0
  442. package/gdb/base/14033/2688 +0 -0
  443. package/gdb/base/14033/2689 +0 -0
  444. package/gdb/base/14033/2690 +0 -0
  445. package/gdb/base/14033/2691 +0 -0
  446. package/gdb/base/14033/2692 +0 -0
  447. package/gdb/base/14033/2693 +0 -0
  448. package/gdb/base/14033/2696 +0 -0
  449. package/gdb/base/14033/2699 +0 -0
  450. package/gdb/base/14033/2701 +0 -0
  451. package/gdb/base/14033/2702 +0 -0
  452. package/gdb/base/14033/2703 +0 -0
  453. package/gdb/base/14033/2704 +0 -0
  454. package/gdb/base/14033/2753 +0 -0
  455. package/gdb/base/14033/2753_fsm +0 -0
  456. package/gdb/base/14033/2753_vm +0 -0
  457. package/gdb/base/14033/2754 +0 -0
  458. package/gdb/base/14033/2755 +0 -0
  459. package/gdb/base/14033/2756 +0 -0
  460. package/gdb/base/14033/2757 +0 -0
  461. package/gdb/base/14033/2830 +0 -0
  462. package/gdb/base/14033/2831 +0 -0
  463. package/gdb/base/14033/2832 +0 -0
  464. package/gdb/base/14033/2833 +0 -0
  465. package/gdb/base/14033/2834 +0 -0
  466. package/gdb/base/14033/2835 +0 -0
  467. package/gdb/base/14033/2836 +0 -0
  468. package/gdb/base/14033/2836_fsm +0 -0
  469. package/gdb/base/14033/2836_vm +0 -0
  470. package/gdb/base/14033/2837 +0 -0
  471. package/gdb/base/14033/2838 +0 -0
  472. package/gdb/base/14033/2838_fsm +0 -0
  473. package/gdb/base/14033/2838_vm +0 -0
  474. package/gdb/base/14033/2839 +0 -0
  475. package/gdb/base/14033/2840 +0 -0
  476. package/gdb/base/14033/2840_fsm +0 -0
  477. package/gdb/base/14033/2840_vm +0 -0
  478. package/gdb/base/14033/2841 +0 -0
  479. package/gdb/base/14033/2995 +0 -0
  480. package/gdb/base/14033/2996 +0 -0
  481. package/gdb/base/14033/3079 +0 -0
  482. package/gdb/base/14033/3079_fsm +0 -0
  483. package/gdb/base/14033/3079_vm +0 -0
  484. package/gdb/base/14033/3080 +0 -0
  485. package/gdb/base/14033/3081 +0 -0
  486. package/gdb/base/14033/3085 +0 -0
  487. package/gdb/base/14033/3118 +0 -0
  488. package/gdb/base/14033/3119 +0 -0
  489. package/gdb/base/14033/3164 +0 -0
  490. package/gdb/base/14033/3256 +0 -0
  491. package/gdb/base/14033/3257 +0 -0
  492. package/gdb/base/14033/3258 +0 -0
  493. package/gdb/base/14033/3350 +0 -0
  494. package/gdb/base/14033/3351 +0 -0
  495. package/gdb/base/14033/3379 +0 -0
  496. package/gdb/base/14033/3380 +0 -0
  497. package/gdb/base/14033/3381 +0 -0
  498. package/gdb/base/14033/3394 +0 -0
  499. package/gdb/base/14033/3394_fsm +0 -0
  500. package/gdb/base/14033/3394_vm +0 -0
  501. package/gdb/base/14033/3395 +0 -0
  502. package/gdb/base/14033/3429 +0 -0
  503. package/gdb/base/14033/3430 +0 -0
  504. package/gdb/base/14033/3431 +0 -0
  505. package/gdb/base/14033/3433 +0 -0
  506. package/gdb/base/14033/3439 +0 -0
  507. package/gdb/base/14033/3440 +0 -0
  508. package/gdb/base/14033/3455 +0 -0
  509. package/gdb/base/14033/3456 +0 -0
  510. package/gdb/base/14033/3456_fsm +0 -0
  511. package/gdb/base/14033/3456_vm +0 -0
  512. package/gdb/base/14033/3466 +0 -0
  513. package/gdb/base/14033/3467 +0 -0
  514. package/gdb/base/14033/3468 +0 -0
  515. package/gdb/base/14033/3501 +0 -0
  516. package/gdb/base/14033/3502 +0 -0
  517. package/gdb/base/14033/3503 +0 -0
  518. package/gdb/base/14033/3534 +0 -0
  519. package/gdb/base/14033/3541 +0 -0
  520. package/gdb/base/14033/3541_fsm +0 -0
  521. package/gdb/base/14033/3541_vm +0 -0
  522. package/gdb/base/14033/3542 +0 -0
  523. package/gdb/base/14033/3574 +0 -0
  524. package/gdb/base/14033/3575 +0 -0
  525. package/gdb/base/14033/3576 +0 -0
  526. package/gdb/base/14033/3596 +0 -0
  527. package/gdb/base/14033/3597 +0 -0
  528. package/gdb/base/14033/3598 +0 -0
  529. package/gdb/base/14033/3599 +0 -0
  530. package/gdb/base/14033/3600 +0 -0
  531. package/gdb/base/14033/3600_fsm +0 -0
  532. package/gdb/base/14033/3600_vm +0 -0
  533. package/gdb/base/14033/3601 +0 -0
  534. package/gdb/base/14033/3601_fsm +0 -0
  535. package/gdb/base/14033/3601_vm +0 -0
  536. package/gdb/base/14033/3602 +0 -0
  537. package/gdb/base/14033/3602_fsm +0 -0
  538. package/gdb/base/14033/3602_vm +0 -0
  539. package/gdb/base/14033/3603 +0 -0
  540. package/gdb/base/14033/3603_fsm +0 -0
  541. package/gdb/base/14033/3603_vm +0 -0
  542. package/gdb/base/14033/3604 +0 -0
  543. package/gdb/base/14033/3605 +0 -0
  544. package/gdb/base/14033/3606 +0 -0
  545. package/gdb/base/14033/3607 +0 -0
  546. package/gdb/base/14033/3608 +0 -0
  547. package/gdb/base/14033/3609 +0 -0
  548. package/gdb/base/14033/3712 +0 -0
  549. package/gdb/base/14033/3764 +0 -0
  550. package/gdb/base/14033/3764_fsm +0 -0
  551. package/gdb/base/14033/3764_vm +0 -0
  552. package/gdb/base/14033/3766 +0 -0
  553. package/gdb/base/14033/3767 +0 -0
  554. package/gdb/base/14033/3997 +0 -0
  555. package/gdb/base/14033/4143 +0 -0
  556. package/gdb/base/14033/4144 +0 -0
  557. package/gdb/base/14033/4145 +0 -0
  558. package/gdb/base/14033/4146 +0 -0
  559. package/gdb/base/14033/4147 +0 -0
  560. package/gdb/base/14033/4148 +0 -0
  561. package/gdb/base/14033/4149 +0 -0
  562. package/gdb/base/14033/4150 +0 -0
  563. package/gdb/base/14033/4151 +0 -0
  564. package/gdb/base/14033/4152 +0 -0
  565. package/gdb/base/14033/4153 +0 -0
  566. package/gdb/base/14033/4154 +0 -0
  567. package/gdb/base/14033/4155 +0 -0
  568. package/gdb/base/14033/4156 +0 -0
  569. package/gdb/base/14033/4157 +0 -0
  570. package/gdb/base/14033/4158 +0 -0
  571. package/gdb/base/14033/4159 +0 -0
  572. package/gdb/base/14033/4160 +0 -0
  573. package/gdb/base/14033/4163 +0 -0
  574. package/gdb/base/14033/4164 +0 -0
  575. package/gdb/base/14033/4165 +0 -0
  576. package/gdb/base/14033/4166 +0 -0
  577. package/gdb/base/14033/4167 +0 -0
  578. package/gdb/base/14033/4168 +0 -0
  579. package/gdb/base/14033/4169 +0 -0
  580. package/gdb/base/14033/4170 +0 -0
  581. package/gdb/base/14033/4171 +0 -0
  582. package/gdb/base/14033/4172 +0 -0
  583. package/gdb/base/14033/4173 +0 -0
  584. package/gdb/base/14033/4174 +0 -0
  585. package/gdb/base/14033/5002 +0 -0
  586. package/gdb/base/14033/548 +0 -0
  587. package/gdb/base/14033/549 +0 -0
  588. package/gdb/base/14033/6102 +0 -0
  589. package/gdb/base/14033/6104 +0 -0
  590. package/gdb/base/14033/6106 +0 -0
  591. package/gdb/base/14033/6110 +0 -0
  592. package/gdb/base/14033/6111 +0 -0
  593. package/gdb/base/14033/6112 +0 -0
  594. package/gdb/base/14033/6113 +0 -0
  595. package/gdb/base/14033/6117 +0 -0
  596. package/gdb/base/14033/6175 +0 -0
  597. package/gdb/base/14033/6176 +0 -0
  598. package/gdb/base/14033/826 +0 -0
  599. package/gdb/base/14033/827 +0 -0
  600. package/gdb/base/14033/828 +0 -0
  601. package/gdb/base/14033/PG_VERSION +1 -0
  602. package/gdb/base/14033/pg_filenode.map +0 -0
  603. package/gdb/base/14034/112 +0 -0
  604. package/gdb/base/14034/113 +0 -0
  605. package/gdb/base/14034/1247 +0 -0
  606. package/gdb/base/14034/1247_fsm +0 -0
  607. package/gdb/base/14034/1247_vm +0 -0
  608. package/gdb/base/14034/1249 +0 -0
  609. package/gdb/base/14034/1249_fsm +0 -0
  610. package/gdb/base/14034/1249_vm +0 -0
  611. package/gdb/base/14034/1255 +0 -0
  612. package/gdb/base/14034/1255_fsm +0 -0
  613. package/gdb/base/14034/1255_vm +0 -0
  614. package/gdb/base/14034/1259 +0 -0
  615. package/gdb/base/14034/1259_fsm +0 -0
  616. package/gdb/base/14034/1259_vm +0 -0
  617. package/gdb/base/14034/13852 +0 -0
  618. package/gdb/base/14034/13852_fsm +0 -0
  619. package/gdb/base/14034/13852_vm +0 -0
  620. package/gdb/base/14034/13855 +0 -0
  621. package/gdb/base/14034/13856 +0 -0
  622. package/gdb/base/14034/13857 +0 -0
  623. package/gdb/base/14034/13857_fsm +0 -0
  624. package/gdb/base/14034/13857_vm +0 -0
  625. package/gdb/base/14034/13860 +0 -0
  626. package/gdb/base/14034/13861 +0 -0
  627. package/gdb/base/14034/13862 +0 -0
  628. package/gdb/base/14034/13862_fsm +0 -0
  629. package/gdb/base/14034/13862_vm +0 -0
  630. package/gdb/base/14034/13865 +0 -0
  631. package/gdb/base/14034/13866 +0 -0
  632. package/gdb/base/14034/13867 +0 -0
  633. package/gdb/base/14034/13867_fsm +0 -0
  634. package/gdb/base/14034/13867_vm +0 -0
  635. package/gdb/base/14034/13870 +0 -0
  636. package/gdb/base/14034/13871 +0 -0
  637. package/gdb/base/14034/1417 +0 -0
  638. package/gdb/base/14034/1418 +0 -0
  639. package/gdb/base/14034/16386 +0 -0
  640. package/gdb/base/14034/16389 +0 -0
  641. package/gdb/base/14034/16390 +0 -0
  642. package/gdb/base/14034/16391 +0 -0
  643. package/gdb/base/14034/16393 +0 -0
  644. package/gdb/base/14034/16396 +0 -0
  645. package/gdb/base/14034/16397 +0 -0
  646. package/gdb/base/14034/16398 +0 -0
  647. package/gdb/base/14034/16400 +0 -0
  648. package/gdb/base/14034/16403 +0 -0
  649. package/gdb/base/14034/16404 +0 -0
  650. package/gdb/base/14034/16420 +0 -0
  651. package/gdb/base/14034/16423 +0 -0
  652. package/gdb/base/14034/16424 +0 -0
  653. package/gdb/base/14034/16425 +0 -0
  654. package/gdb/base/14034/16427 +0 -0
  655. package/gdb/base/14034/16430 +0 -0
  656. package/gdb/base/14034/16431 +0 -0
  657. package/gdb/base/14034/16432 +0 -0
  658. package/gdb/base/14034/16434 +0 -0
  659. package/gdb/base/14034/16437 +0 -0
  660. package/gdb/base/14034/16438 +0 -0
  661. package/gdb/base/14034/16439 +0 -0
  662. package/gdb/base/14034/16446 +0 -0
  663. package/gdb/base/14034/16449 +0 -0
  664. package/gdb/base/14034/16450 +0 -0
  665. package/gdb/base/14034/16451 +0 -0
  666. package/gdb/base/14034/16458 +0 -0
  667. package/gdb/base/14034/16461 +0 -0
  668. package/gdb/base/14034/16462 +0 -0
  669. package/gdb/base/14034/16463 +0 -0
  670. package/gdb/base/14034/16475 +0 -0
  671. package/gdb/base/14034/16478 +0 -0
  672. package/gdb/base/14034/16479 +0 -0
  673. package/gdb/base/14034/16480 +0 -0
  674. package/gdb/base/14034/174 +0 -0
  675. package/gdb/base/14034/175 +0 -0
  676. package/gdb/base/14034/2187 +0 -0
  677. package/gdb/base/14034/2224 +0 -0
  678. package/gdb/base/14034/2228 +0 -0
  679. package/gdb/base/14034/2328 +0 -0
  680. package/gdb/base/14034/2336 +0 -0
  681. package/gdb/base/14034/2337 +0 -0
  682. package/gdb/base/14034/2579 +0 -0
  683. package/gdb/base/14034/2600 +0 -0
  684. package/gdb/base/14034/2600_fsm +0 -0
  685. package/gdb/base/14034/2600_vm +0 -0
  686. package/gdb/base/14034/2601 +0 -0
  687. package/gdb/base/14034/2601_fsm +0 -0
  688. package/gdb/base/14034/2601_vm +0 -0
  689. package/gdb/base/14034/2602 +0 -0
  690. package/gdb/base/14034/2602_fsm +0 -0
  691. package/gdb/base/14034/2602_vm +0 -0
  692. package/gdb/base/14034/2603 +0 -0
  693. package/gdb/base/14034/2603_fsm +0 -0
  694. package/gdb/base/14034/2603_vm +0 -0
  695. package/gdb/base/14034/2604 +0 -0
  696. package/gdb/base/14034/2605 +0 -0
  697. package/gdb/base/14034/2605_fsm +0 -0
  698. package/gdb/base/14034/2605_vm +0 -0
  699. package/gdb/base/14034/2606 +0 -0
  700. package/gdb/base/14034/2606_fsm +0 -0
  701. package/gdb/base/14034/2606_vm +0 -0
  702. package/gdb/base/14034/2607 +0 -0
  703. package/gdb/base/14034/2607_fsm +0 -0
  704. package/gdb/base/14034/2607_vm +0 -0
  705. package/gdb/base/14034/2608 +0 -0
  706. package/gdb/base/14034/2608_fsm +0 -0
  707. package/gdb/base/14034/2608_vm +0 -0
  708. package/gdb/base/14034/2609 +0 -0
  709. package/gdb/base/14034/2609_fsm +0 -0
  710. package/gdb/base/14034/2609_vm +0 -0
  711. package/gdb/base/14034/2610 +0 -0
  712. package/gdb/base/14034/2610_fsm +0 -0
  713. package/gdb/base/14034/2610_vm +0 -0
  714. package/gdb/base/14034/2611 +0 -0
  715. package/gdb/base/14034/2612 +0 -0
  716. package/gdb/base/14034/2612_fsm +0 -0
  717. package/gdb/base/14034/2612_vm +0 -0
  718. package/gdb/base/14034/2613 +0 -0
  719. package/gdb/base/14034/2615 +0 -0
  720. package/gdb/base/14034/2615_fsm +0 -0
  721. package/gdb/base/14034/2615_vm +0 -0
  722. package/gdb/base/14034/2616 +0 -0
  723. package/gdb/base/14034/2616_fsm +0 -0
  724. package/gdb/base/14034/2616_vm +0 -0
  725. package/gdb/base/14034/2617 +0 -0
  726. package/gdb/base/14034/2617_fsm +0 -0
  727. package/gdb/base/14034/2617_vm +0 -0
  728. package/gdb/base/14034/2618 +0 -0
  729. package/gdb/base/14034/2618_fsm +0 -0
  730. package/gdb/base/14034/2618_vm +0 -0
  731. package/gdb/base/14034/2619 +0 -0
  732. package/gdb/base/14034/2619_fsm +0 -0
  733. package/gdb/base/14034/2619_vm +0 -0
  734. package/gdb/base/14034/2620 +0 -0
  735. package/gdb/base/14034/2650 +0 -0
  736. package/gdb/base/14034/2651 +0 -0
  737. package/gdb/base/14034/2652 +0 -0
  738. package/gdb/base/14034/2653 +0 -0
  739. package/gdb/base/14034/2654 +0 -0
  740. package/gdb/base/14034/2655 +0 -0
  741. package/gdb/base/14034/2656 +0 -0
  742. package/gdb/base/14034/2657 +0 -0
  743. package/gdb/base/14034/2658 +0 -0
  744. package/gdb/base/14034/2659 +0 -0
  745. package/gdb/base/14034/2660 +0 -0
  746. package/gdb/base/14034/2661 +0 -0
  747. package/gdb/base/14034/2662 +0 -0
  748. package/gdb/base/14034/2663 +0 -0
  749. package/gdb/base/14034/2664 +0 -0
  750. package/gdb/base/14034/2665 +0 -0
  751. package/gdb/base/14034/2666 +0 -0
  752. package/gdb/base/14034/2667 +0 -0
  753. package/gdb/base/14034/2668 +0 -0
  754. package/gdb/base/14034/2669 +0 -0
  755. package/gdb/base/14034/2670 +0 -0
  756. package/gdb/base/14034/2673 +0 -0
  757. package/gdb/base/14034/2673_fsm +0 -0
  758. package/gdb/base/14034/2674 +0 -0
  759. package/gdb/base/14034/2674_fsm +0 -0
  760. package/gdb/base/14034/2675 +0 -0
  761. package/gdb/base/14034/2678 +0 -0
  762. package/gdb/base/14034/2679 +0 -0
  763. package/gdb/base/14034/2680 +0 -0
  764. package/gdb/base/14034/2681 +0 -0
  765. package/gdb/base/14034/2682 +0 -0
  766. package/gdb/base/14034/2683 +0 -0
  767. package/gdb/base/14034/2684 +0 -0
  768. package/gdb/base/14034/2685 +0 -0
  769. package/gdb/base/14034/2686 +0 -0
  770. package/gdb/base/14034/2687 +0 -0
  771. package/gdb/base/14034/2688 +0 -0
  772. package/gdb/base/14034/2689 +0 -0
  773. package/gdb/base/14034/2690 +0 -0
  774. package/gdb/base/14034/2691 +0 -0
  775. package/gdb/base/14034/2692 +0 -0
  776. package/gdb/base/14034/2693 +0 -0
  777. package/gdb/base/14034/2696 +0 -0
  778. package/gdb/base/14034/2699 +0 -0
  779. package/gdb/base/14034/2701 +0 -0
  780. package/gdb/base/14034/2702 +0 -0
  781. package/gdb/base/14034/2703 +0 -0
  782. package/gdb/base/14034/2704 +0 -0
  783. package/gdb/base/14034/2753 +0 -0
  784. package/gdb/base/14034/2753_fsm +0 -0
  785. package/gdb/base/14034/2753_vm +0 -0
  786. package/gdb/base/14034/2754 +0 -0
  787. package/gdb/base/14034/2755 +0 -0
  788. package/gdb/base/14034/2756 +0 -0
  789. package/gdb/base/14034/2757 +0 -0
  790. package/gdb/base/14034/2830 +0 -0
  791. package/gdb/base/14034/2831 +0 -0
  792. package/gdb/base/14034/2832 +0 -0
  793. package/gdb/base/14034/2833 +0 -0
  794. package/gdb/base/14034/2834 +0 -0
  795. package/gdb/base/14034/2835 +0 -0
  796. package/gdb/base/14034/2836 +0 -0
  797. package/gdb/base/14034/2836_fsm +0 -0
  798. package/gdb/base/14034/2836_vm +0 -0
  799. package/gdb/base/14034/2837 +0 -0
  800. package/gdb/base/14034/2838 +0 -0
  801. package/gdb/base/14034/2838_fsm +0 -0
  802. package/gdb/base/14034/2838_vm +0 -0
  803. package/gdb/base/14034/2839 +0 -0
  804. package/gdb/base/14034/2840 +0 -0
  805. package/gdb/base/14034/2840_fsm +0 -0
  806. package/gdb/base/14034/2840_vm +0 -0
  807. package/gdb/base/14034/2841 +0 -0
  808. package/gdb/base/14034/2995 +0 -0
  809. package/gdb/base/14034/2996 +0 -0
  810. package/gdb/base/14034/3079 +0 -0
  811. package/gdb/base/14034/3079_fsm +0 -0
  812. package/gdb/base/14034/3079_vm +0 -0
  813. package/gdb/base/14034/3080 +0 -0
  814. package/gdb/base/14034/3081 +0 -0
  815. package/gdb/base/14034/3085 +0 -0
  816. package/gdb/base/14034/3118 +0 -0
  817. package/gdb/base/14034/3119 +0 -0
  818. package/gdb/base/14034/3164 +0 -0
  819. package/gdb/base/14034/3256 +0 -0
  820. package/gdb/base/14034/3257 +0 -0
  821. package/gdb/base/14034/3258 +0 -0
  822. package/gdb/base/14034/3350 +0 -0
  823. package/gdb/base/14034/3351 +0 -0
  824. package/gdb/base/14034/3379 +0 -0
  825. package/gdb/base/14034/3380 +0 -0
  826. package/gdb/base/14034/3381 +0 -0
  827. package/gdb/base/14034/3394 +0 -0
  828. package/gdb/base/14034/3394_fsm +0 -0
  829. package/gdb/base/14034/3394_vm +0 -0
  830. package/gdb/base/14034/3395 +0 -0
  831. package/gdb/base/14034/3429 +0 -0
  832. package/gdb/base/14034/3430 +0 -0
  833. package/gdb/base/14034/3431 +0 -0
  834. package/gdb/base/14034/3433 +0 -0
  835. package/gdb/base/14034/3439 +0 -0
  836. package/gdb/base/14034/3440 +0 -0
  837. package/gdb/base/14034/3455 +0 -0
  838. package/gdb/base/14034/3456 +0 -0
  839. package/gdb/base/14034/3456_fsm +0 -0
  840. package/gdb/base/14034/3456_vm +0 -0
  841. package/gdb/base/14034/3466 +0 -0
  842. package/gdb/base/14034/3467 +0 -0
  843. package/gdb/base/14034/3468 +0 -0
  844. package/gdb/base/14034/3501 +0 -0
  845. package/gdb/base/14034/3502 +0 -0
  846. package/gdb/base/14034/3503 +0 -0
  847. package/gdb/base/14034/3534 +0 -0
  848. package/gdb/base/14034/3541 +0 -0
  849. package/gdb/base/14034/3541_fsm +0 -0
  850. package/gdb/base/14034/3541_vm +0 -0
  851. package/gdb/base/14034/3542 +0 -0
  852. package/gdb/base/14034/3574 +0 -0
  853. package/gdb/base/14034/3575 +0 -0
  854. package/gdb/base/14034/3576 +0 -0
  855. package/gdb/base/14034/3596 +0 -0
  856. package/gdb/base/14034/3597 +0 -0
  857. package/gdb/base/14034/3598 +0 -0
  858. package/gdb/base/14034/3599 +0 -0
  859. package/gdb/base/14034/3600 +0 -0
  860. package/gdb/base/14034/3600_fsm +0 -0
  861. package/gdb/base/14034/3600_vm +0 -0
  862. package/gdb/base/14034/3601 +0 -0
  863. package/gdb/base/14034/3601_fsm +0 -0
  864. package/gdb/base/14034/3601_vm +0 -0
  865. package/gdb/base/14034/3602 +0 -0
  866. package/gdb/base/14034/3602_fsm +0 -0
  867. package/gdb/base/14034/3602_vm +0 -0
  868. package/gdb/base/14034/3603 +0 -0
  869. package/gdb/base/14034/3603_fsm +0 -0
  870. package/gdb/base/14034/3603_vm +0 -0
  871. package/gdb/base/14034/3604 +0 -0
  872. package/gdb/base/14034/3605 +0 -0
  873. package/gdb/base/14034/3606 +0 -0
  874. package/gdb/base/14034/3607 +0 -0
  875. package/gdb/base/14034/3608 +0 -0
  876. package/gdb/base/14034/3609 +0 -0
  877. package/gdb/base/14034/3712 +0 -0
  878. package/gdb/base/14034/3764 +0 -0
  879. package/gdb/base/14034/3764_fsm +0 -0
  880. package/gdb/base/14034/3764_vm +0 -0
  881. package/gdb/base/14034/3766 +0 -0
  882. package/gdb/base/14034/3767 +0 -0
  883. package/gdb/base/14034/3997 +0 -0
  884. package/gdb/base/14034/4143 +0 -0
  885. package/gdb/base/14034/4144 +0 -0
  886. package/gdb/base/14034/4145 +0 -0
  887. package/gdb/base/14034/4146 +0 -0
  888. package/gdb/base/14034/4147 +0 -0
  889. package/gdb/base/14034/4148 +0 -0
  890. package/gdb/base/14034/4149 +0 -0
  891. package/gdb/base/14034/4150 +0 -0
  892. package/gdb/base/14034/4151 +0 -0
  893. package/gdb/base/14034/4152 +0 -0
  894. package/gdb/base/14034/4153 +0 -0
  895. package/gdb/base/14034/4154 +0 -0
  896. package/gdb/base/14034/4155 +0 -0
  897. package/gdb/base/14034/4156 +0 -0
  898. package/gdb/base/14034/4157 +0 -0
  899. package/gdb/base/14034/4158 +0 -0
  900. package/gdb/base/14034/4159 +0 -0
  901. package/gdb/base/14034/4160 +0 -0
  902. package/gdb/base/14034/4163 +0 -0
  903. package/gdb/base/14034/4164 +0 -0
  904. package/gdb/base/14034/4165 +0 -0
  905. package/gdb/base/14034/4166 +0 -0
  906. package/gdb/base/14034/4167 +0 -0
  907. package/gdb/base/14034/4168 +0 -0
  908. package/gdb/base/14034/4169 +0 -0
  909. package/gdb/base/14034/4170 +0 -0
  910. package/gdb/base/14034/4171 +0 -0
  911. package/gdb/base/14034/4172 +0 -0
  912. package/gdb/base/14034/4173 +0 -0
  913. package/gdb/base/14034/4174 +0 -0
  914. package/gdb/base/14034/5002 +0 -0
  915. package/gdb/base/14034/548 +0 -0
  916. package/gdb/base/14034/549 +0 -0
  917. package/gdb/base/14034/6102 +0 -0
  918. package/gdb/base/14034/6104 +0 -0
  919. package/gdb/base/14034/6106 +0 -0
  920. package/gdb/base/14034/6110 +0 -0
  921. package/gdb/base/14034/6111 +0 -0
  922. package/gdb/base/14034/6112 +0 -0
  923. package/gdb/base/14034/6113 +0 -0
  924. package/gdb/base/14034/6117 +0 -0
  925. package/gdb/base/14034/6175 +0 -0
  926. package/gdb/base/14034/6176 +0 -0
  927. package/gdb/base/14034/826 +0 -0
  928. package/gdb/base/14034/827 +0 -0
  929. package/gdb/base/14034/828 +0 -0
  930. package/gdb/base/14034/PG_VERSION +1 -0
  931. package/gdb/base/14034/pg_filenode.map +0 -0
  932. package/gdb/base/14034/pg_internal.init +0 -0
  933. package/gdb/global/1213 +0 -0
  934. package/gdb/global/1213_fsm +0 -0
  935. package/gdb/global/1213_vm +0 -0
  936. package/gdb/global/1214 +0 -0
  937. package/gdb/global/1214_fsm +0 -0
  938. package/gdb/global/1214_vm +0 -0
  939. package/gdb/global/1232 +0 -0
  940. package/gdb/global/1233 +0 -0
  941. package/gdb/global/1260 +0 -0
  942. package/gdb/global/1260_fsm +0 -0
  943. package/gdb/global/1260_vm +0 -0
  944. package/gdb/global/1261 +0 -0
  945. package/gdb/global/1261_fsm +0 -0
  946. package/gdb/global/1261_vm +0 -0
  947. package/gdb/global/1262 +0 -0
  948. package/gdb/global/1262_fsm +0 -0
  949. package/gdb/global/1262_vm +0 -0
  950. package/gdb/global/2396 +0 -0
  951. package/gdb/global/2396_fsm +0 -0
  952. package/gdb/global/2396_vm +0 -0
  953. package/gdb/global/2397 +0 -0
  954. package/gdb/global/2671 +0 -0
  955. package/gdb/global/2672 +0 -0
  956. package/gdb/global/2676 +0 -0
  957. package/gdb/global/2677 +0 -0
  958. package/gdb/global/2694 +0 -0
  959. package/gdb/global/2695 +0 -0
  960. package/gdb/global/2697 +0 -0
  961. package/gdb/global/2698 +0 -0
  962. package/gdb/global/2846 +0 -0
  963. package/gdb/global/2847 +0 -0
  964. package/gdb/global/2964 +0 -0
  965. package/gdb/global/2965 +0 -0
  966. package/gdb/global/2966 +0 -0
  967. package/gdb/global/2967 +0 -0
  968. package/gdb/global/3592 +0 -0
  969. package/gdb/global/3593 +0 -0
  970. package/gdb/global/4060 +0 -0
  971. package/gdb/global/4061 +0 -0
  972. package/gdb/global/4175 +0 -0
  973. package/gdb/global/4176 +0 -0
  974. package/gdb/global/4177 +0 -0
  975. package/gdb/global/4178 +0 -0
  976. package/gdb/global/4181 +0 -0
  977. package/gdb/global/4182 +0 -0
  978. package/gdb/global/4183 +0 -0
  979. package/gdb/global/4184 +0 -0
  980. package/gdb/global/4185 +0 -0
  981. package/gdb/global/4186 +0 -0
  982. package/gdb/global/6000 +0 -0
  983. package/gdb/global/6001 +0 -0
  984. package/gdb/global/6002 +0 -0
  985. package/gdb/global/6100 +0 -0
  986. package/gdb/global/6114 +0 -0
  987. package/gdb/global/6115 +0 -0
  988. package/gdb/global/pg_control +0 -0
  989. package/gdb/global/pg_filenode.map +0 -0
  990. package/gdb/global/pg_internal.init +0 -0
  991. package/gdb/pg_hba.conf +98 -0
  992. package/gdb/pg_ident.conf +42 -0
  993. package/gdb/pg_logical/replorigin_checkpoint +0 -0
  994. package/gdb/pg_multixact/members/0000 +0 -0
  995. package/gdb/pg_multixact/offsets/0000 +0 -0
  996. package/gdb/pg_stat/db_0.stat +0 -0
  997. package/gdb/pg_stat/db_14034.stat +0 -0
  998. package/gdb/pg_stat/global.stat +0 -0
  999. package/gdb/pg_subtrans/0000 +0 -0
  1000. package/gdb/pg_wal/000000010000000000000001 +0 -0
  1001. package/gdb/pg_xact/0000 +0 -0
  1002. package/gdb/postgresql.auto.conf +2 -0
  1003. package/gdb/postgresql.conf +796 -0
  1004. package/gdb/postmaster.opts +1 -0
  1005. package/package.json +12 -12
  1006. package/server/app.js +3 -1
  1007. package/server/controllers/additional-sheet-parser.js +2 -2
  1008. package/server/controllers/custom-workbook-controller.js +67 -0
  1009. package/server/controllers/demo-workbooks.js +4 -4
  1010. package/server/controllers/exporters/xlsx.js +29 -52
  1011. package/server/controllers/expression-database-controller.js +19 -0
  1012. package/server/controllers/network-database-controller.js +18 -0
  1013. package/server/controllers/spreadsheet-controller.js +8 -8
  1014. package/server/dals/expression-dal.js +131 -0
  1015. package/server/dals/network-dal.js +101 -0
  1016. package/test/additional-sheet-parser-tests.js +1 -1
  1017. package/test/api-tests.js +2 -5
  1018. package/test/export-tests.js +13 -2
  1019. package/test/test.js +56 -19
  1020. package/web-client/public/gene/api.js +1 -1
  1021. package/web-client/public/js/api/grnsight-api.js +88 -0
  1022. package/web-client/public/js/constants.js +7 -4
  1023. package/web-client/public/js/generateNetwork.js +222 -0
  1024. package/web-client/public/js/grnsight.js +2 -0
  1025. package/web-client/public/js/grnsight.min.js +79 -43
  1026. package/web-client/public/js/grnstate.js +2 -1
  1027. package/web-client/public/js/setup-load-and-import-handlers.js +185 -153
  1028. package/web-client/public/js/update-app.js +67 -101
  1029. package/web-client/public/js/upload.js +420 -244
  1030. package/web-client/public/stylesheets/grnsight.styl +198 -3
  1031. package/web-client/views/components/demo.pug +10 -0
  1032. package/web-client/views/info.pug +1 -1
  1033. package/web-client/views/upload.pug +126 -133
  1034. package/server/controllers/database-controller.js +0 -129
@@ -648,6 +648,16 @@ const inputWorkbook = {
648
648
  }
649
649
  };
650
650
 
651
+ inputWorkbook.exportSheets = {
652
+ networks: {
653
+ "network": inputWorkbook.network,
654
+ "network_weights": inputWorkbook.networkWeights
655
+ },
656
+ "optimization_parameters": inputWorkbook.meta,
657
+ "two_column_sheets": inputWorkbook.test,
658
+ expression: inputWorkbook.exportExpression
659
+ };
660
+
651
661
  describe("Export to spreadsheet", function () {
652
662
  it("should export a workbook to a spreadsheet object properly", function () {
653
663
  const expectedSheet = [
@@ -783,8 +793,9 @@ describe("Export to spreadsheet", function () {
783
793
 
784
794
  it("should export a workbook exactly as the import",
785
795
  function () {
786
- test.importFileSameAsExportFile(
787
- "test-files/additional-sheet-test-files/optimization-diagnostics-default.xlsx");
796
+ // Commented out temporarily while reworking the export of the optimization diagnostics sheet
797
+ // test.importFileSameAsExportFile(
798
+ // "test-files/additional-sheet-test-files/optimization-diagnostics-default.xlsx");
788
799
  test.importFileSameAsExportFile(
789
800
  "test-files/expression-data-test-sheets/expression_sheet_missing_data_ok_export_exact.xlsx");
790
801
  test.importFileSameAsExportFile(
package/test/test.js CHANGED
@@ -526,8 +526,8 @@ var twoColumnIdError = function (input, frequency) {
526
526
  var sheet = xlsx.parse(input);
527
527
  var workbook = parseAdditionalSheet(sheet);
528
528
  var twoColumnIdErrorCount = 0;
529
- for (let page in workbook.test) {
530
- twoColumnIdErrorCount += workbook.test[page].errors.filter(function (x) {
529
+ for (let page in workbook.twoColumnSheets) {
530
+ twoColumnIdErrorCount += workbook.twoColumnSheets[page].errors.filter(function (x) {
531
531
  return x.errorCode === "MISLABELED_ID_CELL";
532
532
  }).length;
533
533
  }
@@ -538,8 +538,8 @@ var additionalSheetIncorrectColumnHeaderError = function (input, frequency) {
538
538
  var sheet = xlsx.parse(input);
539
539
  var workbook = parseAdditionalSheet(sheet);
540
540
  var additionalSheetIncorrectColumnHeaderErrorCount = 0;
541
- for (let page in workbook.test) {
542
- additionalSheetIncorrectColumnHeaderErrorCount += workbook.test[page].errors.filter(
541
+ for (let page in workbook.twoColumnSheets) {
542
+ additionalSheetIncorrectColumnHeaderErrorCount += workbook.twoColumnSheets[page].errors.filter(
543
543
  (x) => x.errorCode === "INCORRECT_COLUMN_HEADER").length;
544
544
  }
545
545
  additionalSheetIncorrectColumnHeaderErrorCount += workbook.meta.errors.filter(
@@ -555,8 +555,8 @@ var additionalSheetMissingColumnHeaderError = function (input, frequency) {
555
555
  var sheet = xlsx.parse(input);
556
556
  var workbook = parseAdditionalSheet(sheet);
557
557
  var additionalSheetMissingColumnHeaderErrorCount = 0;
558
- for (let page in workbook.test) {
559
- additionalSheetMissingColumnHeaderErrorCount += workbook.test[page].errors.filter(
558
+ for (let page in workbook.twoColumnSheets) {
559
+ additionalSheetMissingColumnHeaderErrorCount += workbook.twoColumnSheets[page].errors.filter(
560
560
  (x) => x.errorCode === "MISSING_COLUMN_HEADER").length;
561
561
  }
562
562
  additionalSheetMissingColumnHeaderErrorCount += workbook.meta.errors.filter(
@@ -572,8 +572,8 @@ var twoColumnInvalidGeneTypeError = function (input, frequency) {
572
572
  var sheet = xlsx.parse(input);
573
573
  var workbook = parseAdditionalSheet(sheet);
574
574
  var twoColumnInvalidGeneTypeErrorCount = 0;
575
- for (let page in workbook.test) {
576
- twoColumnInvalidGeneTypeErrorCount += workbook.test[page].errors.filter(function (x) {
575
+ for (let page in workbook.twoColumnSheets) {
576
+ twoColumnInvalidGeneTypeErrorCount += workbook.twoColumnSheets[page].errors.filter(function (x) {
577
577
  return x.errorCode === "INVALID_GENE_TYPE";
578
578
  }).length;
579
579
  }
@@ -584,8 +584,8 @@ var twoColumnInvalidValueError = function (input, frequency) {
584
584
  var sheet = xlsx.parse(input);
585
585
  var workbook = parseAdditionalSheet(sheet);
586
586
  var twoColumnInvalidValueErrorCount = 0;
587
- for (let page in workbook.test) {
588
- twoColumnInvalidValueErrorCount += workbook.test[page].errors.filter(function (x) {
587
+ for (let page in workbook.twoColumnSheets) {
588
+ twoColumnInvalidValueErrorCount += workbook.twoColumnSheets[page].errors.filter(function (x) {
589
589
  return x.errorCode === "INVALID_VALUE";
590
590
  }).length;
591
591
  }
@@ -596,8 +596,8 @@ var twoColumnInvalidGeneLengthError = function (input, frequency) {
596
596
  var sheet = xlsx.parse(input);
597
597
  var workbook = parseAdditionalSheet(sheet);
598
598
  var twoColumnInvalidGeneLengthErrorCount = 0;
599
- for (let page in workbook.test) {
600
- twoColumnInvalidGeneLengthErrorCount += workbook.test[page].errors.filter(function (x) {
599
+ for (let page in workbook.twoColumnSheets) {
600
+ twoColumnInvalidGeneLengthErrorCount += workbook.twoColumnSheets[page].errors.filter(function (x) {
601
601
  return x.errorCode === "INVALID_GENE_LENGTH";
602
602
  }).length;
603
603
  }
@@ -608,8 +608,8 @@ var twoColumnSpecialCharacterError = function (input, frequency) {
608
608
  var sheet = xlsx.parse(input);
609
609
  var workbook = parseAdditionalSheet(sheet);
610
610
  var twoColumnSpecialCharacterErrorCount = 0;
611
- for (let page in workbook.test) {
612
- twoColumnSpecialCharacterErrorCount += workbook.test[page].errors.filter(function (x) {
611
+ for (let page in workbook.twoColumnSheets) {
612
+ twoColumnSpecialCharacterErrorCount += workbook.twoColumnSheets[page].errors.filter(function (x) {
613
613
  return x.errorCode === "INVALID_CHARACTER";
614
614
  }).length;
615
615
  }
@@ -622,8 +622,8 @@ var additionalSheetExtraneousDataWarning = function (input, frequency) {
622
622
  var sheet = xlsx.parse(input);
623
623
  var workbook = parseAdditionalSheet(sheet);
624
624
  var additionalSheetExtraneousDataWarningCount = 0;
625
- for (let page in workbook.test) {
626
- additionalSheetExtraneousDataWarningCount += workbook.test[page].warnings.filter(function (x) {
625
+ for (let page in workbook.twoColumnSheets) {
626
+ additionalSheetExtraneousDataWarningCount += workbook.twoColumnSheets[page].warnings.filter(function (x) {
627
627
  return x.warningCode === "EXTRANEOUS_DATA";
628
628
  }).length;
629
629
  }
@@ -716,7 +716,26 @@ var invalidMSEDataWarning = function (input, frequency) {
716
716
  var importExportReImportNoErrorsOrWarnings = function (input) {
717
717
  var sheet = xlsx.parse(input);
718
718
  var inputWorkbook = spreadsheetController.crossSheetInteractions(sheet);
719
- inputWorkbook["exportExpression"] = inputWorkbook.expression;
719
+ inputWorkbook.exportSheets = {
720
+ "optimization_parameters": inputWorkbook.meta,
721
+ expression: inputWorkbook.expression,
722
+ networks: {}
723
+ };
724
+ if (inputWorkbook.network) {
725
+ inputWorkbook.exportSheets.networks["network"] = inputWorkbook.network;
726
+ }
727
+ if (inputWorkbook.networkOptimizedWeights) {
728
+ inputWorkbook.exportSheets.networks["network_optimized_weights"] = inputWorkbook.networkOptimizedWeights;
729
+ }
730
+ if (inputWorkbook.networkWeights) {
731
+ inputWorkbook.exportSheets.networks["network_weights"] = inputWorkbook.networkWeights;
732
+ }
733
+ if (inputWorkbook.twoColumnSheets) {
734
+ inputWorkbook.exportSheets["two_column_sheets"] = inputWorkbook.twoColumnSheets;
735
+ }
736
+ if (inputWorkbook.meta2) {
737
+ inputWorkbook.exportSheets["optimization_diagnostics"] = inputWorkbook.meta2;
738
+ }
720
739
  var exportedWorkbook = exportController.grnsightToXlsx(inputWorkbook);
721
740
  var sheet2 = xlsx.parse(exportedWorkbook);
722
741
  var reImportedWorkbook = spreadsheetController.crossSheetInteractions(sheet2);
@@ -726,8 +745,26 @@ var importExportReImportNoErrorsOrWarnings = function (input) {
726
745
  var importFileSameAsExportFile = function (input) {
727
746
  var sheet = xlsx.parse(input);
728
747
  var inputWorkbook = spreadsheetController.crossSheetInteractions(sheet);
729
- inputWorkbook["exportExpression"] = inputWorkbook.expression;
730
- inputWorkbook["exportNetworkType"] = inputWorkbook.sheetType;
748
+ inputWorkbook.exportSheets = {
749
+ "optimization_parameters": inputWorkbook.meta,
750
+ expression: inputWorkbook.expression,
751
+ networks: {}
752
+ };
753
+ if (inputWorkbook.network) {
754
+ inputWorkbook.exportSheets.networks["network"] = inputWorkbook.network;
755
+ }
756
+ if (inputWorkbook.networkOptimizedWeights) {
757
+ inputWorkbook.exportSheets.networks["network_optimized_weights"] = inputWorkbook.networkOptimizedWeights;
758
+ }
759
+ if (inputWorkbook.networkWeights) {
760
+ inputWorkbook.exportSheets.networks["network_weights"] = inputWorkbook.networkWeights;
761
+ }
762
+ if (inputWorkbook.twoColumnSheets) {
763
+ inputWorkbook.exportSheets["two_column_sheets"] = inputWorkbook.twoColumnSheets;
764
+ }
765
+ if (inputWorkbook.meta2) {
766
+ inputWorkbook.exportSheets["optimization_diagnostics"] = inputWorkbook.meta2;
767
+ }
731
768
  var exportedWorkbook = exportController.grnsightToXlsx(inputWorkbook);
732
769
  var sheet2 = xlsx.parse(exportedWorkbook);
733
770
  sheet.sort((a, b) => (a.name > b.name) ? 1 : -1);
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
 
3
3
  // Using "use strict" global
4
- const serviceRoot = $("#service-root").attr("value");
4
+ const serviceRoot = $(".service-root").attr("value");
5
5
  const serializer = new XMLSerializer();
6
6
  const XMLParser = function (data) {
7
7
  return serializer.serializeToString(data).replace(/\<.*?\>\s?/g, "");
@@ -0,0 +1,88 @@
1
+ import { responseCustomWorkbookData } from "../setup-load-and-import-handlers";
2
+ // General DB Access Functions
3
+ const buildQueryURL = function(path, parameters) {
4
+ const searchParams = new URLSearchParams("");
5
+ for (let p in parameters) {
6
+ searchParams.append(p, parameters[p]);
7
+ }
8
+ return `${path}?${searchParams.toString()}`;
9
+ };
10
+
11
+ const responseData = (database, formData, queryURL) => {
12
+ return new Promise(function(resolve) {
13
+ const uploadRoute = queryURL;
14
+ const fullUrl = [$(".service-root").val(), uploadRoute].join("/");
15
+ (formData
16
+ ? $.ajax({
17
+ url: fullUrl,
18
+ data: formData,
19
+ processData: false,
20
+ contentType: false,
21
+ type: "GET",
22
+ crossDomain: true,
23
+ })
24
+ : $.getJSON(fullUrl)
25
+ )
26
+ .done((data) => {
27
+ resolve(data);
28
+ })
29
+ .error(function() {
30
+ console.log(
31
+ `Error in accessing ${database} database. Result may just be loading.`
32
+ );
33
+ });
34
+ });
35
+ };
36
+
37
+ // Expression DB Access Functions
38
+
39
+ const queryExpressionDatabase = (query) => {
40
+ const queryURL = buildQueryURL("expressiondb", query);
41
+ return responseData("expression", "", queryURL);
42
+ };
43
+
44
+ // Network DB Access Functions
45
+
46
+ const queryNetworkDatabase = (query) => {
47
+ const queryURL = buildQueryURL("networkdb", query);
48
+ return responseData("network", "", queryURL);
49
+ };
50
+
51
+ // Upload Custom Workbook Functions
52
+
53
+ const uploadCustomWorkbook = (workbook, grnState) => {
54
+ const queryURL = buildQueryURL("upload-custom-workbook", workbook);
55
+ return responseCustomWorkbookData(grnState, queryURL, workbook.name);
56
+ };
57
+
58
+ const constructFullUrl = (queryURL) =>
59
+ [$(".service-root").val(), queryURL].join("/");
60
+
61
+ const getWorkbookFromForm = (formData, queryURL) => {
62
+ const fullUrl = constructFullUrl(queryURL);
63
+
64
+ // The presence of formData is taken to indicate a POST.
65
+ return formData
66
+ ? $.ajax({
67
+ url: fullUrl,
68
+ data: formData,
69
+ processData: false,
70
+ contentType: false,
71
+ type: "POST",
72
+ crossDomain: true,
73
+ })
74
+ : $.getJSON(fullUrl);
75
+ };
76
+
77
+ const getWorkbookFromUrl = (queryURL) => {
78
+ const fullUrl = constructFullUrl(queryURL);
79
+ return $.getJSON(fullUrl);
80
+ };
81
+
82
+ export {
83
+ queryExpressionDatabase,
84
+ queryNetworkDatabase,
85
+ uploadCustomWorkbook,
86
+ getWorkbookFromForm,
87
+ getWorkbookFromUrl,
88
+ };
@@ -5,16 +5,19 @@ export const FILE_NAME = "#fileName";
5
5
  export const GREY_EDGES_DASHED_MENU = "#grey-edges-dashed-menu";
6
6
  export const GREY_EDGES_DASHED_SIDEBAR = "#dashedGrayLineButton";
7
7
 
8
- export const UNWEIGHTED_DEMO_ID = "#unweighted";
8
+ export const CREATE_NETWORK_CLASS = ".create-network";
9
+ export const CREATE_NETWORK_MODAL = "#generateNetworkModal";
10
+
11
+ export const UNWEIGHTED_DEMO_ID = ".unweighted";
9
12
  export const UNWEIGHTED_DEMO_PATH = "demo/unweighted";
10
13
  export const UNWEIGHTED_DEMO_NAME = "Demo #1: Unweighted GRN (15 genes, 28 edges)";
11
- export const WEIGHTED_DEMO_ID = "#weighted";
14
+ export const WEIGHTED_DEMO_ID = ".weighted";
12
15
  export const WEIGHTED_DEMO_PATH = "demo/weighted";
13
16
  export const WEIGHTED_DEMO_NAME = "Demo #2: Weighted GRN (15 genes, 28 edges, Dahlquist Lab unpublished data)";
14
- export const SCHADE_INPUT_ID = "#schadeInput";
17
+ export const SCHADE_INPUT_ID = ".schadeInput";
15
18
  export const SCHADE_INPUT_PATH = "demo/schadeInput";
16
19
  export const SCHADE_INPUT_NAME = "Demo #3: Unweighted GRN (21 genes, 31 edges)";
17
- export const SCHADE_OUTPUT_ID = "#schadeOutput";
20
+ export const SCHADE_OUTPUT_ID = ".schadeOutput";
18
21
  export const SCHADE_OUTPUT_PATH = "demo/schadeOutput";
19
22
  export const SCHADE_OUTPUT_NAME = "Demo #4: Weighted GRN (21 genes, 31 edges, Schade et al. 2004 data)";
20
23
 
@@ -0,0 +1,222 @@
1
+ /* eslint-disable max-len */
2
+ import {CREATE_NETWORK_CLASS, CREATE_NETWORK_MODAL} from "./constants";
3
+ import { queryNetworkDatabase, uploadCustomWorkbook } from "./api/grnsight-api";
4
+ import { grnState } from "./grnstate";
5
+
6
+ export const generateNetwork = function () {
7
+ const GENE_EXCEPTIONS = {
8
+ "DUR1,2" : "DUR12",
9
+ "IMP2'" : "IMP21",
10
+ "ARG5,6" : "ARG56",
11
+ "ADE5,7" : "ADE57",
12
+ "MF(ALPHA)1" : "YPL187W",
13
+ "MF(ALPHA)2" : "YGL089C"
14
+ };
15
+ const createHTMLforForm = (sources) => {
16
+ let result = `
17
+ <div id=\'generateNetworkFormContainer\' '>
18
+ <h2 id=\'generateNetwork\'>Generate Network</h2>
19
+ <div class=\'form-group\'>
20
+ <label for=\'network-source\' id=\'network-source-label\'>Network Source</label>
21
+ <select class=\'network-dropdown btn btn-default\' id=\'network-source\'>
22
+ `;
23
+ if (sources.length !== 1) {
24
+ result += "<option value=\'none\' selected=\'true\' disabled>Select Network Source</option>";
25
+ for (let source in sources) {
26
+ result += `
27
+ <option value=\'${sources[source]}\'>${sources[source]}</option>
28
+ `;
29
+ }
30
+ } else {
31
+ result += `
32
+ <option value=\'${sources[0]}\' selected=\'true\' disabled hidden>${sources[0]}</option>
33
+ `;
34
+ }
35
+ result += `</select>
36
+ <p>Warning: changing network source will clear the list of genes below.</p>
37
+ </div>
38
+ <div class=\'form-group\' id=\'getNetworkGenesForm\'>
39
+ <form id=\'getNetworkGenesForm\' class=\'NetworkGenesForm\' >
40
+ <label for=\'network-search-bar\' id=\'network-source-label\'>Select genes</label>
41
+ <input type=\'text\' id=\'network-search-bar\' name=\'network-search-bar\'></input>
42
+ <button id=\'enter-search\' type=\'submit\' class=\'search-button btn btn-default\'>
43
+ <span class=\'glyphicon glyphicon-search\'></span>
44
+ </button>
45
+ </form>
46
+ </div>
47
+ <div id=\'selected-genes-container\'>
48
+ <div id=\'selected-genes\'>
49
+ <p>Added genes go here! Click on a gene to remove it.</p>
50
+ </div>
51
+ `;
52
+ return result;
53
+ };
54
+ const createGeneButtons = function () {
55
+ let result = `<div id=\'selected-genes\'>
56
+ <p>Added genes go below! Click on a gene to remove it.</p>
57
+ <div id=\'custom-network-genes-container\'>
58
+ `;
59
+ for (let gene in grnState.customWorkbook.genes) {
60
+ result += `
61
+ <div class=\'custom-network-gene\' id=${gene}>
62
+ <p class=\'custom-network-gene-display-id\'>
63
+ ${grnState.customWorkbook.genes[gene]}
64
+ </p>
65
+ <p class=\'custom-network-gene-id\'>
66
+ (${gene})
67
+ </p>
68
+ </div>
69
+ `;
70
+ }
71
+
72
+ result += "</div></div>";
73
+ return result;
74
+ };
75
+ const displayCurrentGenes = function () {
76
+ $("#selected-genes").remove();
77
+ $("#selected-genes-container").append(createGeneButtons());
78
+ for (let gene in grnState.customWorkbook.genes) {
79
+ $(`#${gene}`).on("click", (ev) => {
80
+ ev.stopPropagation();
81
+ $(`#${gene}`).remove();
82
+ delete grnState.customWorkbook.genes[gene];
83
+ });
84
+ }
85
+ };
86
+
87
+ const validGene = function (gene) {
88
+ if (/^[A-Z0-9_-]{1,12}$/.test(gene)) {
89
+ return gene;
90
+ }
91
+ if (Object.keys(GENE_EXCEPTIONS).includes(gene)) {
92
+ return GENE_EXCEPTIONS[gene];
93
+ }
94
+ return "";
95
+ };
96
+ const addGene = function () {
97
+ const searchGene = `${$("#network-search-bar").val()}`.toUpperCase();
98
+ $("#network-search-bar").val("");
99
+ const gene = validGene(searchGene);
100
+ if (gene === "") {
101
+ alert(`Gene: ${searchGene} is not to GRNsight specifications. Genes must be 12 characters or less,
102
+ containing "-", "_", and alpha-numeric characters only`);
103
+ } else {
104
+ let source = grnState.customWorkbook.source;
105
+ let headers = {
106
+ type:"NetworkGeneFromSource",
107
+ gene: gene,
108
+ source:grnState.customWorkbook.sources[source].source,
109
+ timestamp:grnState.customWorkbook.sources[source].timestamp
110
+ };
111
+ queryNetworkDatabase(headers).then(function (response) {
112
+ if (response.geneId !== null && response.displayGeneId !== null) {
113
+ grnState.customWorkbook.genes[response.geneId] = response.displayGeneId;
114
+ displayCurrentGenes();
115
+ } else {
116
+ alert(
117
+ `Gene: ${searchGene} was not found in this database. Please check for any typos and try again.`
118
+ );
119
+ }
120
+ }).catch(function (error) {
121
+ console.log(error.stack);
122
+ console.log(error.name);
123
+ console.log(error.message);
124
+ });
125
+
126
+ }
127
+ };
128
+
129
+ const createHTMLforModalButtons = () => {
130
+ return `
131
+ <div id=\'generateNetworkFooter\' class=\'modal-footer-div\'>
132
+ <div>
133
+ <input type=\'button\' class=\'btn btn-default\' id=\'submit-network\' value=\'Generate Network\'/>
134
+ <input type=\'button\' class=\'btn btn-default\' data-dismiss=\'modal\' value=\'Cancel\' />
135
+ </div>
136
+ </div>
137
+ `;
138
+ };
139
+
140
+ const displayGenerateNetworkModal = function () {
141
+ $("#generateNetworkFormContainer").remove();
142
+ $("#generateNetworkFooter").remove();
143
+ $("#generateNetworkFooter-container").append(createHTMLforModalButtons());
144
+ grnState.customWorkbook = {
145
+ genes : {},
146
+ source : null,
147
+ sources : null
148
+ };
149
+ // get sources from database
150
+ queryNetworkDatabase({type:"NetworkSource"}).then(function (response) {
151
+ $("#generateNetworkQuestions-container").append(createHTMLforForm(Object.keys(response.sources)));
152
+ grnState.customWorkbook.sources = response.sources;
153
+ grnState.customWorkbook.source = Object.keys(response.sources).length >= 1 ?
154
+ Object.keys(response.sources)[0] : null;
155
+ }).catch(function (error) {
156
+ console.log(error.stack);
157
+ console.log(error.name);
158
+ console.log(error.message);
159
+ });
160
+ $(CREATE_NETWORK_MODAL).modal("show");
161
+ };
162
+
163
+ $("body").on("click", CREATE_NETWORK_CLASS, function (event) {
164
+ event.preventDefault();
165
+ event.stopPropagation();
166
+ displayGenerateNetworkModal();
167
+ });
168
+
169
+ $("body").on("change", "#network-source", function (event) {
170
+ grnState.customWorkbook.source = $("#network-source").val();
171
+ grnState.customWorkbook.genes = {};
172
+ event.stopPropagation();
173
+ displayCurrentGenes();
174
+ });
175
+ $("body").on("click", "#submit-network", function () {
176
+ let genesAmount = Object.keys(grnState.customWorkbook.genes).length;
177
+ if (genesAmount === 0 ) {
178
+ alert("Network must have at least 1 gene");
179
+ } else if (genesAmount > 75) {
180
+ alert(`GRNsight is only capable of handling 75 genes at most. Your proposed network contains
181
+ ${genesAmount} genes. Please remove some genes from your proposed network.`);
182
+ } else {
183
+ const genes = Object.keys(grnState.customWorkbook.genes).map(g => grnState.customWorkbook.genes[g]);
184
+ const source = grnState.customWorkbook.source;
185
+ const headers = {
186
+ type:"GenerateNetwork",
187
+ genes: genes.join(","),
188
+ source:grnState.customWorkbook.sources[source].source,
189
+ timestamp:grnState.customWorkbook.sources[source].timestamp
190
+ };
191
+ queryNetworkDatabase(headers).then(function (response) {
192
+ grnState.customWorkbook.links = response.links;
193
+ const links = Object.entries(grnState.customWorkbook.links);
194
+ const genesAmount = genes.length;
195
+ const edgesAmount = links.flatMap( (entry) => entry[1].map((target) => [entry[0], target])).length;
196
+ if (edgesAmount > 100) {
197
+ alert(`GRNsight is only capable of handling 100 edges at most. Your proposed network contains
198
+ ${edgesAmount} regulatory connections. Please remove some genes from your proposed network.`);
199
+ } else {
200
+ const name = `Custom Workbook: UnweightedGRN(${genesAmount} genes, ${edgesAmount} edges)`;
201
+ const workbook = {name, genes, links : links.map( l => `${l[0]}->${l[1]}`).join(",")};
202
+ uploadCustomWorkbook(workbook, grnState);
203
+ $(CREATE_NETWORK_MODAL).modal("hide");
204
+ }
205
+ }).catch(function (error) {
206
+ console.log(error.stack);
207
+ console.log(error.name);
208
+ console.log(error.message);
209
+ });
210
+ }
211
+ });
212
+
213
+ $("body").on("click", "#enter-search", function (event) {
214
+ try {
215
+ event.preventDefault();
216
+ event.stopPropagation();
217
+ addGene();
218
+ } catch (error) {
219
+ console.log(error);
220
+ }
221
+ });
222
+ };
@@ -1,5 +1,6 @@
1
1
  import { displayStatistics } from "./graph-statistics"; // eslint-disable-line no-unused-vars
2
2
  import { upload } from "./upload";
3
+ import { generateNetwork } from "./generateNetwork";
3
4
 
4
5
  import { grnState } from "./grnstate";
5
6
  import { updateApp } from "./update-app";
@@ -9,3 +10,4 @@ setupHandlers(grnState);
9
10
  updateApp(grnState);
10
11
 
11
12
  upload();
13
+ generateNetwork();