@sjcrh/proteinpaint-client 2.196.0 → 2.198.0

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 (957) hide show
  1. package/dist/2dmaf-R3PFZNRN.js +1373 -0
  2. package/dist/AIProjectAdmin-DM3KG6SR.js +958 -0
  3. package/dist/AppHeader-6DZQ6YZX.js +835 -0
  4. package/dist/BoxPlot-76NINVX4.js +1217 -0
  5. package/dist/CorrelationVolcano-U5UMJNH5.js +619 -0
  6. package/dist/DE-AXNYWIQK.js +95 -0
  7. package/dist/DEinput-JH6YY6LS.js +301 -0
  8. package/dist/DifferentialAnalysis-25P4CGIY.js +242 -0
  9. package/dist/DifferentialAnalysis-25P4CGIY.js.map +7 -0
  10. package/dist/Disco-NVMLF3BK.js +3392 -0
  11. package/dist/Disco-NVMLF3BK.js.map +7 -0
  12. package/dist/Disco.UI-C7CZINUQ.js +249 -0
  13. package/dist/DmrPlot-WROR4ENM.js +642 -0
  14. package/dist/GB-JUABODPH.js +1394 -0
  15. package/dist/GB-JUABODPH.js.map +7 -0
  16. package/dist/GSEA-Y5R2THIJ.js +846 -0
  17. package/dist/GSEA-Y5R2THIJ.js.map +7 -0
  18. package/dist/GeneExpInput-JDU6EI7K.js +367 -0
  19. package/dist/Geomap-J763OK2F.js +89 -0
  20. package/dist/Geomap-J763OK2F.js.map +7 -0
  21. package/dist/HicApp-UNIJLH4B.js +2250 -0
  22. package/dist/IDCViewer-KVPCIUDW.js +10803 -0
  23. package/dist/IDCViewer-KVPCIUDW.js.map +7 -0
  24. package/dist/NumBinaryEditor-WMN2GGO4.js +271 -0
  25. package/dist/NumBinaryEditor.unit.spec-TAMXV6SE.js +286 -0
  26. package/dist/NumContEditor-XYIOJY4E.js +109 -0
  27. package/dist/NumContEditor.unit.spec-WDZ75BHO.js +169 -0
  28. package/dist/NumCustomBinEditor-5SY3C4TY.js +38 -0
  29. package/dist/NumCustomBinEditor.unit.spec-XHTAIXR3.js +284 -0
  30. package/dist/NumDiscreteEditor-NRDRX4FD.js +179 -0
  31. package/dist/NumDiscreteEditor.unit.spec-2CJW7OAT.js +202 -0
  32. package/dist/NumRegularBinEditor-DUDVTNDC.js +38 -0
  33. package/dist/NumRegularBinEditor.unit.spec-H3GNQHMN.js +227 -0
  34. package/dist/NumSplineEditor-7Q4AC7KH.js +198 -0
  35. package/dist/NumSplineEditor.unit.spec-YRZK5PH5.js +199 -0
  36. package/dist/NumericDensity-NTNWUESG.js +38 -0
  37. package/dist/NumericDensity.unit.spec-5I5U6T6P.js +221 -0
  38. package/dist/NumericHandler-MEW2KMPX.js +39 -0
  39. package/dist/NumericHandler.unit.spec-JFX4BPRG.js +219 -0
  40. package/dist/ProteomeInput-K2ZHR2U6.js +395 -0
  41. package/dist/ProteomeInput-K2ZHR2U6.js.map +7 -0
  42. package/dist/RunChart2-BEBDU7RC.js +758 -0
  43. package/dist/SC-XCBFJVUJ.js +1120 -0
  44. package/dist/SC-XCBFJVUJ.js.map +7 -0
  45. package/dist/Volcano-4Y4TP3UX.js +1385 -0
  46. package/dist/Volcano-4Y4TP3UX.js.map +7 -0
  47. package/dist/WSIViewer-ZLQU62PD.js +48562 -0
  48. package/dist/WsiSamplesPlot-JMBSITOM.js +165 -0
  49. package/dist/adSandbox-664IRCRL.js +38 -0
  50. package/dist/animatedBubbleChart-TX7NW34K.js +555 -0
  51. package/dist/app-63WJ3BMP.js +37 -0
  52. package/dist/app-77FIZHCG.js +49 -0
  53. package/dist/app.js +19 -19
  54. package/dist/bam-IETNVAYD.js +860 -0
  55. package/dist/barchart-YUVXJNH4.js +47 -0
  56. package/dist/barchart.data-P4EIQXGE.js +22 -0
  57. package/dist/barchart.events-JPVCLTIG.js +47 -0
  58. package/dist/barchart.integration.spec-ZH7DEQI2.js +2196 -0
  59. package/dist/barchart2-XO2FG76J.js +314 -0
  60. package/dist/bars.renderer-AUIWUJDH.js +12 -0
  61. package/dist/block-NBTCOT3H.js +6255 -0
  62. package/dist/block-NBTCOT3H.js.map +7 -0
  63. package/dist/block.init-X7Y2EEVR.js +38 -0
  64. package/dist/block.mds.expressionrank-BIAOZIZ3.js +359 -0
  65. package/dist/block.mds.geneboxplot-CNICDVLK.js +828 -0
  66. package/dist/block.mds.junction-PQXCTSUI.js +1545 -0
  67. package/dist/block.mds.svcnv-32KMVTCT.js +6801 -0
  68. package/dist/block.svg-LRTOYQK2.js +164 -0
  69. package/dist/block.tk.aicheck-HDV7ZIUD.js +283 -0
  70. package/dist/block.tk.ase-JIDWKMYI.js +365 -0
  71. package/dist/block.tk.bam-5X3OS5HB.js +1906 -0
  72. package/dist/block.tk.bedgraphdot-T7JX7YQL.js +384 -0
  73. package/dist/block.tk.bigwig.ui-OSAYEBAE.js +212 -0
  74. package/dist/block.tk.hicstraw-DEY3VQFK.js +823 -0
  75. package/dist/block.tk.junction-7UAFEZSJ.js +2364 -0
  76. package/dist/block.tk.junction.textmatrixui-27LHS33U.js +199 -0
  77. package/dist/block.tk.ld-DF2PI7OO.js +99 -0
  78. package/dist/block.tk.menu-L2D5KBIV.js +1029 -0
  79. package/dist/block.tk.pgv-QO56SKBV.js +944 -0
  80. package/dist/brainImaging-NIPQWFWO.js +423 -0
  81. package/dist/brainRegions-ZNZ2WHSU.js +221 -0
  82. package/dist/bubbleHeatmap-ERWNEKZB.js +383 -0
  83. package/dist/chunk-2GYWFQML.js +299 -0
  84. package/dist/chunk-2HYJ4GDH.js +50 -0
  85. package/dist/chunk-2MG6XE6R.js +272 -0
  86. package/dist/chunk-2X6W4E3W.js +1507 -0
  87. package/dist/chunk-2X6W4E3W.js.map +7 -0
  88. package/dist/chunk-33K5PA52.js +54 -0
  89. package/dist/chunk-37XDBPOP.js +26 -0
  90. package/dist/chunk-3EWB3246.js +58 -0
  91. package/dist/chunk-3RSKOPIY.js +100 -0
  92. package/dist/chunk-3XVVN66M.js +4085 -0
  93. package/dist/chunk-3XVVN66M.js.map +7 -0
  94. package/dist/chunk-4DPVT4NE.js +1102 -0
  95. package/dist/chunk-4IH7DORZ.js +98 -0
  96. package/dist/chunk-4QNBFIIR.js +399 -0
  97. package/dist/chunk-4STKL6SR.js +217 -0
  98. package/dist/chunk-4TZIVSL5.js +34 -0
  99. package/dist/chunk-5ABGFJSP.js +467 -0
  100. package/dist/chunk-5AZNP47R.js +302 -0
  101. package/dist/chunk-5RL2OHXX.js +5070 -0
  102. package/dist/chunk-5RL2OHXX.js.map +7 -0
  103. package/dist/chunk-5VOPABBA.js +20941 -0
  104. package/dist/chunk-5VOPABBA.js.map +7 -0
  105. package/dist/chunk-6BB43SIB.js +102 -0
  106. package/dist/chunk-7OHRR2IE.js +276 -0
  107. package/dist/chunk-ARBHWDMY.js +226 -0
  108. package/dist/chunk-ARBHWDMY.js.map +7 -0
  109. package/dist/chunk-ASATD4T7.js +14 -0
  110. package/dist/chunk-AZ47Q7BX.js +1223 -0
  111. package/dist/chunk-AZ47Q7BX.js.map +7 -0
  112. package/dist/chunk-B5B3LZB3.js +236 -0
  113. package/dist/chunk-BHGISFCA.js +2681 -0
  114. package/dist/chunk-BMBOZ64T.js +2786 -0
  115. package/dist/chunk-BOZJHPJP.js +216 -0
  116. package/dist/chunk-CDD7LYJM.js +194 -0
  117. package/dist/chunk-CTQ3IUCA.js +2327 -0
  118. package/dist/chunk-D7TID3HR.js +158 -0
  119. package/dist/chunk-DBKNWR4J.js +1561 -0
  120. package/dist/chunk-DBKNWR4J.js.map +7 -0
  121. package/dist/chunk-E55LLYRX.js +55 -0
  122. package/dist/chunk-ESGXULRH.js +386 -0
  123. package/dist/chunk-EZ4LZ6ZT.js +117 -0
  124. package/dist/chunk-F3SJTVP5.js +4284 -0
  125. package/dist/chunk-F5IXNJO7.js +222 -0
  126. package/dist/chunk-FJYECRHW.js +448 -0
  127. package/dist/chunk-FPNRUQOU.js +833 -0
  128. package/dist/chunk-G5S4R77D.js +1942 -0
  129. package/dist/chunk-G5S4R77D.js.map +7 -0
  130. package/dist/chunk-G764NXQN.js +170 -0
  131. package/dist/chunk-GAPI4MML.js +148 -0
  132. package/dist/chunk-HLUZOZXJ.js +272 -0
  133. package/dist/chunk-HOKIK2FR.js +375 -0
  134. package/dist/chunk-I6WR4CG7.js +323 -0
  135. package/dist/chunk-I6WR4CG7.js.map +7 -0
  136. package/dist/chunk-KLGL6XZD.js +129 -0
  137. package/dist/chunk-KTKZSYIH.js +24 -0
  138. package/dist/chunk-KTKZSYIH.js.map +7 -0
  139. package/dist/chunk-L7IRWUKT.js +480 -0
  140. package/dist/chunk-LFCYMSVA.js +314 -0
  141. package/dist/chunk-LFCYMSVA.js.map +7 -0
  142. package/dist/chunk-LX6G7HJJ.js +617 -0
  143. package/dist/chunk-M2G5R4WB.js +142 -0
  144. package/dist/chunk-M4TTGGT4.js +102 -0
  145. package/dist/chunk-M6EF3WVV.js +1825 -0
  146. package/dist/chunk-M6KHT3MM.js +146 -0
  147. package/dist/chunk-MCZFHWIR.js +230 -0
  148. package/dist/chunk-MFQACKYU.js +448 -0
  149. package/dist/chunk-MVGAGTM3.js +343 -0
  150. package/dist/chunk-NELOT3NJ.js +119 -0
  151. package/dist/chunk-NRKMXULC.js +54 -0
  152. package/dist/chunk-NSTL4MY2.js +2110 -0
  153. package/dist/chunk-NSTL4MY2.js.map +7 -0
  154. package/dist/chunk-NYRZNRG5.js +177 -0
  155. package/dist/chunk-ONPKE6DC.js +368 -0
  156. package/dist/chunk-OXVLWQ6M.js +556 -0
  157. package/dist/chunk-OXVLWQ6M.js.map +7 -0
  158. package/dist/chunk-PFRWS4CR.js +203 -0
  159. package/dist/chunk-PJKQUXEN.js +1275 -0
  160. package/dist/chunk-Q2L44HK3.js +6364 -0
  161. package/dist/chunk-QNHT74XC.js +1245 -0
  162. package/dist/chunk-QNHT74XC.js.map +7 -0
  163. package/dist/chunk-RKO6BL5N.js +446 -0
  164. package/dist/chunk-T25QNZHB.js +254 -0
  165. package/dist/chunk-U7TBYVIQ.js +31 -0
  166. package/dist/chunk-UGRQXBL4.js +381 -0
  167. package/dist/chunk-USFSHSCJ.js +477 -0
  168. package/dist/chunk-VJ6UFVGC.js +2833 -0
  169. package/dist/chunk-W3WPPOXH.js +292 -0
  170. package/dist/chunk-WFCSOTBO.js +263 -0
  171. package/dist/chunk-WHP4AKDM.js +185 -0
  172. package/dist/chunk-WHP4AKDM.js.map +7 -0
  173. package/dist/chunk-WZ2L57MB.js +102 -0
  174. package/dist/chunk-XPY6AWXO.js +787 -0
  175. package/dist/chunk-XPY6AWXO.js.map +7 -0
  176. package/dist/chunk-Y4UAKFWC.js +37 -0
  177. package/dist/chunk-YQBS2ZCK.js +514 -0
  178. package/dist/chunk-Z5U6HOE4.js +190 -0
  179. package/dist/chunk-Z5U6HOE4.js.map +7 -0
  180. package/dist/chunk-ZNEJUKJW.js +140 -0
  181. package/dist/chunk-ZNEJUKJW.js.map +7 -0
  182. package/dist/chunk-ZTHM2TKP.js +176 -0
  183. package/dist/condition-2PASYSUC.js +332 -0
  184. package/dist/controls-5IMJ6K5L.js +41 -0
  185. package/dist/controls.config-P5PG2DHW.js +39 -0
  186. package/dist/correlation-U3EDLNHR.js +102 -0
  187. package/dist/cuminc-2HUFEROK.js +1149 -0
  188. package/dist/cuminc.integration.spec-WFWAPTDA.js +678 -0
  189. package/dist/cuminc.integration.spec-WFWAPTDA.js.map +7 -0
  190. package/dist/customdata.inputui-ZHWNEPFH.js +289 -0
  191. package/dist/dataDownload-VBSJBKMP.js +330 -0
  192. package/dist/dataDownload.integration.spec-LUFSETOP.js +193 -0
  193. package/dist/databrowser.ui-6H2KMSTJ.js +433 -0
  194. package/dist/dictionary-V37LXFIP.js +118 -0
  195. package/dist/dnaMethylation-OIZMHMLK.js +38 -0
  196. package/dist/dnaMethylation.integration.spec-CWPTJ74H.js +203 -0
  197. package/dist/dofetch-IWPZQB5N.js +51 -0
  198. package/dist/e2pca-7SLIAGYW.js +350 -0
  199. package/dist/ep-7L6KF6K4.js +1256 -0
  200. package/dist/expclust.gdc.spec-JT452Q3G.js +307 -0
  201. package/dist/facet-CXOUU5AS.js +521 -0
  202. package/dist/forms2-VPNCLQOY.js +539 -0
  203. package/dist/gb-P4VRXRED.js +88 -0
  204. package/dist/geneExpClustering-FQTCKRJJ.js +249 -0
  205. package/dist/geneExpression-BHO5326K.js +313 -0
  206. package/dist/geneExpression-ZMERB64E.js +38 -0
  207. package/dist/geneExpression.unit.spec-CNVHZWNG.js +102 -0
  208. package/dist/geneORA-FXVUCXGX.js +278 -0
  209. package/dist/geneRanking-SFK4UBKQ.js +553 -0
  210. package/dist/geneVariant-IYEHB4H7.js +41 -0
  211. package/dist/geneVariant-LIRRLUFR.js +39 -0
  212. package/dist/geneVariant.integration.spec-Y2NPNTYX.js +198 -0
  213. package/dist/genefusion.ui-L3HIJM3N.js +309 -0
  214. package/dist/geneset-A6VUFX63.js +208 -0
  215. package/dist/genomeBrowser.spec-CB4HHHBN.js +281 -0
  216. package/dist/grin2-FKBIMH5N.js +75 -0
  217. package/dist/grin2-V36KLEBU.js +1143 -0
  218. package/dist/grin2-V36KLEBU.js.map +7 -0
  219. package/dist/hierCluster-QFPRMHVA.js +63 -0
  220. package/dist/hierCluster-YWC3XYPV.js +59 -0
  221. package/dist/hierCluster.config-F7YYZNM3.js +40 -0
  222. package/dist/hierCluster.integration.spec-AF4L3YT6.js +488 -0
  223. package/dist/hierCluster.interactivity-RPY74PK6.js +54 -0
  224. package/dist/hierCluster.renderers-LOKHZ3V2.js +21 -0
  225. package/dist/imagePlot-BBEXA754.js +163 -0
  226. package/dist/importPlot-7QGANZGK.js +8 -0
  227. package/dist/isoformExpression-4SLLCVFD.js +40 -0
  228. package/dist/isoformExpression.unit.spec-GEL4JJ64.js +208 -0
  229. package/dist/launch.adhoc-LWLBQJS5.js +42 -0
  230. package/dist/leftlabel.sample-RTEZOIH2.js +264 -0
  231. package/dist/legacyDataset-VLD7ZYWI.js +119 -0
  232. package/dist/lollipop-XKQK5QZU.js +171 -0
  233. package/dist/maf-AZQPPWDO.js +459 -0
  234. package/dist/maftimeline-7MSVYKQU.js +593 -0
  235. package/dist/matrix-BGLWC25D.js +58 -0
  236. package/dist/matrix-IQR5SRMK.js +63 -0
  237. package/dist/matrix.cells-5C57NWOY.js +28 -0
  238. package/dist/matrix.config-2DQXAN2E.js +41 -0
  239. package/dist/matrix.data-ADCGF5H6.js +25 -0
  240. package/dist/matrix.groups-V4ITQ5F7.js +27 -0
  241. package/dist/matrix.integration.spec-IBNOO2WP.js +3072 -0
  242. package/dist/matrix.integration.spec-IBNOO2WP.js.map +7 -0
  243. package/dist/matrix.interactivity-JNELJFOV.js +42 -0
  244. package/dist/matrix.layout-WBVIV6GR.js +44 -0
  245. package/dist/matrix.legend-YHOWPK77.js +22 -0
  246. package/dist/matrix.renderers-5BGVRR3M.js +38 -0
  247. package/dist/matrix.serieses-2GZJOASZ.js +21 -0
  248. package/dist/matrix.sort-WKIWPJKP.js +27 -0
  249. package/dist/matrix.sort.unit.spec-L2E4D4AS.js +472 -0
  250. package/dist/matrix.sorterUi-TEJWWJ64.js +18 -0
  251. package/dist/matrix.sorterUi.unit.spec-SHP7C4P7.js +342 -0
  252. package/dist/mavb-4MXNYUEO.js +732 -0
  253. package/dist/mds.fimo-WHIJIBOI.js +518 -0
  254. package/dist/mds.samplescatterplot-BRJ6NG2D.js +1550 -0
  255. package/dist/mds.survivalplot-OPCMB5PB.js +483 -0
  256. package/dist/numericDictTermCluster-7MIFOP2K.js +65 -0
  257. package/dist/oncomatrix-BGG6BEUI.js +295 -0
  258. package/dist/oncomatrix.spec-LYQ4L4F3.js +448 -0
  259. package/dist/plot.2dvaf-6WVCP2ZI.js +377 -0
  260. package/dist/plot.app-MLBP6WFP.js +41 -0
  261. package/dist/plot.barplot-JEPRZSCU.js +102 -0
  262. package/dist/plot.boxplot-GNFW42VM.js +152 -0
  263. package/dist/plot.brainImaging-5ACNSD45.js +51 -0
  264. package/dist/plot.disco-Q2V2KKIH.js +102 -0
  265. package/dist/plot.dzi-KVT6S7K7.js +33 -0
  266. package/dist/plot.ssgq-4N3KFJQ2.js +139 -0
  267. package/dist/plot.vaf2cov-ITRG5U43.js +259 -0
  268. package/dist/plot.wsi-26YZNU4V.js +36 -0
  269. package/dist/polar2-J7GVUK4X.js +231 -0
  270. package/dist/profileForms-VXV2JLXU.js +446 -0
  271. package/dist/profilePlot-ZZYZK4SY.js +54 -0
  272. package/dist/proteinView-7KN532D3.js +1568 -0
  273. package/dist/qualitative-MLRVLIAU.js +43 -0
  274. package/dist/radar2-WM2ZBOH3.js +326 -0
  275. package/dist/radarFacility2-3SBR2JJ3.js +334 -0
  276. package/dist/regression-WMRPQJW2.js +56 -0
  277. package/dist/regression.inputs-VWZKSYNY.js +48 -0
  278. package/dist/regression.inputs.term-OWE6GWHM.js +48 -0
  279. package/dist/regression.inputs.values.table-4INNZQI2.js +45 -0
  280. package/dist/regression.integration.spec-XKQ2JOOT.js +784 -0
  281. package/dist/regression.results-VZBYMBYC.js +40 -0
  282. package/dist/regression.spec-DU3UTDCJ.js +708 -0
  283. package/dist/render-N5FOF247.js +38 -0
  284. package/dist/report-DW3OHB67.js +222 -0
  285. package/dist/sampleScatter.spec-REFSK2V4.js +202 -0
  286. package/dist/sampleView-ICOT2R6O.js +48 -0
  287. package/dist/samplelst-TJEVASYG.js +111 -0
  288. package/dist/samplematrix-6DAWCXQ3.js +2198 -0
  289. package/dist/sc-53LNOB7N.js +86 -0
  290. package/dist/scatter-DKYSS4DL.js +851 -0
  291. package/dist/selectGenomeWithTklst-WTX66TV3.js +134 -0
  292. package/dist/singleCellCellType-D2CN2BHQ.js +38 -0
  293. package/dist/singleCellCellType.unit.spec-LADUCI4R.js +160 -0
  294. package/dist/singleCellGeneExpression-YR2ZT34W.js +38 -0
  295. package/dist/singleCellGeneExpression.unit.spec-BM63M432.js +153 -0
  296. package/dist/singleCellPlot-3ICIOILE.js +54 -0
  297. package/dist/singlecell-6ZUFA3BQ.js +86 -0
  298. package/dist/singlecell-KX7W4U57.js +1572 -0
  299. package/dist/snp-VIURB7L3.js +38 -0
  300. package/dist/snp.unit.spec-ACZNZUNS.js +176 -0
  301. package/dist/snplocus-3LW4ZUZR.js +208 -0
  302. package/dist/spliceevent.a53ss.diagram-AKTZGWNM.js +151 -0
  303. package/dist/spliceevent.exonskip.diagram-XZHXB77R.js +283 -0
  304. package/dist/spliceevent.exonskip.diagram-XZHXB77R.js.map +7 -0
  305. package/dist/spliceevent.noeventdiagram-YTXWWNTJ.js +460 -0
  306. package/dist/ssGSEA-THW4WFMI.js +38 -0
  307. package/dist/ssGSEA.unit.spec-HTRGQI2K.js +88 -0
  308. package/dist/summarizeCnvGeneexp-RFYC3H2Z.js +163 -0
  309. package/dist/summarizeGeneexpSurvival-DQBZUTQ6.js +114 -0
  310. package/dist/summarizeMutationCnv-7AYEMHAI.js +164 -0
  311. package/dist/summarizeMutationDiagnosis-AKFJDSAF.js +40 -0
  312. package/dist/summarizeMutationSurvival-QJHZRQBZ.js +99 -0
  313. package/dist/summary-A5P7AYK4.js +49 -0
  314. package/dist/summary.integration.spec-HQISXGNL.js +414 -0
  315. package/dist/summaryInput-HP675QOQ.js +235 -0
  316. package/dist/sunburst-65LSYRXX.js +284 -0
  317. package/dist/survival-QNEI6YVK.js +46 -0
  318. package/dist/survival-UI74VXSM.js +58 -0
  319. package/dist/survival.integration.spec-X5N3JQXS.js +915 -0
  320. package/dist/survival.integration.spec-X5N3JQXS.js.map +7 -0
  321. package/dist/svgraph-PSX2NER3.js +1387 -0
  322. package/dist/svmr-QDQ33EFX.js +3842 -0
  323. package/dist/table-LWAI27UO.js +200 -0
  324. package/dist/termCollection-3JHR74FG.js +179 -0
  325. package/dist/termCollection-CDF5LYUG.js +38 -0
  326. package/dist/termCollection.unit.spec-HOJKYWHF.js +208 -0
  327. package/dist/tk-GL4QCL4K.js +1019 -0
  328. package/dist/tk-GL4QCL4K.js.map +7 -0
  329. package/dist/tk-OEQFO73V.js +46 -0
  330. package/dist/tp.ui-SHNERDGC.js +1459 -0
  331. package/dist/tvs.dt-CZDC4TSR.js +39 -0
  332. package/dist/tvs.dtcnv.categorical-OPBDHZGB.js +40 -0
  333. package/dist/tvs.dtcnv.continuous-AR6P4EP3.js +72 -0
  334. package/dist/tvs.dtfusion-2YQ7N6FQ.js +40 -0
  335. package/dist/tvs.dtitd-ATCHW735.js +40 -0
  336. package/dist/tvs.dtitd-ATCHW735.js.map +7 -0
  337. package/dist/tvs.dtsnvindel-WHHWAATJ.js +40 -0
  338. package/dist/tvs.dtsv-3UMCW65O.js +40 -0
  339. package/dist/tvs.numeric-TOEPASWN.js +21 -0
  340. package/dist/tvs.samplelst-M7XKXRTZ.js +104 -0
  341. package/dist/tvs.termCollection-WT4WZMYR.js +159 -0
  342. package/dist/violin-2YGXTBDS.js +46 -0
  343. package/dist/violin.integration.spec-YWNHVAGS.js +1425 -0
  344. package/dist/violin.interactivity-J6BE2UQL.js +38 -0
  345. package/dist/violin.renderer-3GRUWP2U.js +40 -0
  346. package/dist/vocabulary-2INCVPYJ.js +41 -0
  347. package/package.json +3 -3
  348. package/dist/2dmaf-SKNV7IHT.js +0 -1373
  349. package/dist/AIProjectAdmin-AOTVRBNH.js +0 -958
  350. package/dist/AppHeader-M2ZSS3M3.js +0 -835
  351. package/dist/BoxPlot-P3EECSQA.js +0 -1217
  352. package/dist/CorrelationVolcano-YCQ5S6MT.js +0 -619
  353. package/dist/DE-RBMOQZCR.js +0 -95
  354. package/dist/DEinput-PTW6RS6U.js +0 -301
  355. package/dist/DifferentialAnalysis-M6IDWPYX.js +0 -245
  356. package/dist/DifferentialAnalysis-M6IDWPYX.js.map +0 -7
  357. package/dist/Disco-GUKDAHUY.js +0 -3297
  358. package/dist/Disco-GUKDAHUY.js.map +0 -7
  359. package/dist/Disco.UI-YBIMV7RH.js +0 -249
  360. package/dist/DmrPlot-JQPLLU6P.js +0 -642
  361. package/dist/GB-UOTFNVJE.js +0 -1353
  362. package/dist/GB-UOTFNVJE.js.map +0 -7
  363. package/dist/GeneExpInput-3OPDDCXR.js +0 -367
  364. package/dist/HicApp-VFOWRP6G.js +0 -2250
  365. package/dist/IDCViewer-Y7EOIIBG.js +0 -10455
  366. package/dist/IDCViewer-Y7EOIIBG.js.map +0 -7
  367. package/dist/NumBinaryEditor-RL44SO3T.js +0 -271
  368. package/dist/NumBinaryEditor.unit.spec-P73PGAX5.js +0 -286
  369. package/dist/NumContEditor-MIC7M73G.js +0 -109
  370. package/dist/NumContEditor.unit.spec-5XZH7OCG.js +0 -169
  371. package/dist/NumCustomBinEditor-W357XTIR.js +0 -38
  372. package/dist/NumCustomBinEditor.unit.spec-CJMK4CYW.js +0 -284
  373. package/dist/NumDiscreteEditor-PRSUMS3I.js +0 -179
  374. package/dist/NumDiscreteEditor.unit.spec-A6R56P3Z.js +0 -202
  375. package/dist/NumRegularBinEditor-7OHUEUCC.js +0 -38
  376. package/dist/NumRegularBinEditor.unit.spec-NOAX42UZ.js +0 -227
  377. package/dist/NumSplineEditor-XI7AT5LM.js +0 -198
  378. package/dist/NumSplineEditor.unit.spec-ZH4M2N2C.js +0 -199
  379. package/dist/NumericDensity-X6IHQAW3.js +0 -38
  380. package/dist/NumericDensity.unit.spec-EKVD4AUG.js +0 -221
  381. package/dist/NumericHandler-5ONBWFJ5.js +0 -39
  382. package/dist/NumericHandler.unit.spec-SHI6E4VA.js +0 -219
  383. package/dist/ProteomeInput-HN46MIBP.js +0 -396
  384. package/dist/ProteomeInput-HN46MIBP.js.map +0 -7
  385. package/dist/RunChart2-Y6IY6MW2.js +0 -758
  386. package/dist/SC-JYF564FK.js +0 -1130
  387. package/dist/SC-JYF564FK.js.map +0 -7
  388. package/dist/Volcano-WZGAUYGY.js +0 -1380
  389. package/dist/Volcano-WZGAUYGY.js.map +0 -7
  390. package/dist/WSIViewer-RLLL7MAL.js +0 -48562
  391. package/dist/WsiSamplesPlot-FU3TCOTY.js +0 -165
  392. package/dist/adSandbox-ZINST5DE.js +0 -38
  393. package/dist/animatedBubbleChart-PIQWCVBJ.js +0 -555
  394. package/dist/app-N42SVGI2.js +0 -37
  395. package/dist/app-RWN4XLCP.js +0 -49
  396. package/dist/bam-QTSTXJ4N.js +0 -860
  397. package/dist/barchart-27BYTRVI.js +0 -47
  398. package/dist/barchart.data-OUNVH4JU.js +0 -22
  399. package/dist/barchart.events-PY4CEDSO.js +0 -47
  400. package/dist/barchart.integration.spec-H4WGHQ7R.js +0 -2196
  401. package/dist/barchart2-TIOTRAC2.js +0 -314
  402. package/dist/bars.renderer-57KSYAAT.js +0 -12
  403. package/dist/block-YPM767A4.js +0 -6226
  404. package/dist/block-YPM767A4.js.map +0 -7
  405. package/dist/block.init-LRZ3QAGC.js +0 -38
  406. package/dist/block.mds.expressionrank-IV7JLC52.js +0 -359
  407. package/dist/block.mds.geneboxplot-IBCE5XZU.js +0 -828
  408. package/dist/block.mds.junction-ISSCJHNF.js +0 -1545
  409. package/dist/block.mds.svcnv-ZEBVBTL7.js +0 -6801
  410. package/dist/block.svg-FYWA5VYH.js +0 -164
  411. package/dist/block.tk.aicheck-AD6DTKXR.js +0 -283
  412. package/dist/block.tk.ase-LO2J4KRE.js +0 -365
  413. package/dist/block.tk.bam-XGX22FCN.js +0 -1906
  414. package/dist/block.tk.bedgraphdot-SUIRFNFL.js +0 -384
  415. package/dist/block.tk.bigwig.ui-2Q7FAK3V.js +0 -212
  416. package/dist/block.tk.hicstraw-4MVP2PCL.js +0 -823
  417. package/dist/block.tk.junction-F54FTEPB.js +0 -2364
  418. package/dist/block.tk.junction.textmatrixui-ETROZJVK.js +0 -199
  419. package/dist/block.tk.ld-NJEDKSTU.js +0 -99
  420. package/dist/block.tk.menu-LZOY4FKT.js +0 -1029
  421. package/dist/block.tk.pgv-I3XHJ7VU.js +0 -944
  422. package/dist/brainImaging-BGP6VRFV.js +0 -423
  423. package/dist/brainRegions-AAN7LM2Y.js +0 -221
  424. package/dist/bubbleHeatmap-HNEU4CYA.js +0 -383
  425. package/dist/chunk-25XCVML7.js +0 -236
  426. package/dist/chunk-2XV6U42J.js +0 -100
  427. package/dist/chunk-36NAWXQ7.js +0 -5067
  428. package/dist/chunk-36NAWXQ7.js.map +0 -7
  429. package/dist/chunk-3LYZMOLO.js +0 -58
  430. package/dist/chunk-427UL37G.js +0 -222
  431. package/dist/chunk-4C3XRI6J.js +0 -54
  432. package/dist/chunk-4O6H4ZHL.js +0 -514
  433. package/dist/chunk-53JJ7SXN.js +0 -276
  434. package/dist/chunk-5CR24RTX.js +0 -381
  435. package/dist/chunk-5HMX4NUJ.js +0 -217
  436. package/dist/chunk-5QTJUPFS.js +0 -26
  437. package/dist/chunk-5V2BMEAS.js +0 -55
  438. package/dist/chunk-6MBTPVIM.js +0 -1275
  439. package/dist/chunk-6MQWYMPB.js +0 -183
  440. package/dist/chunk-6MQWYMPB.js.map +0 -7
  441. package/dist/chunk-7D3WX34I.js +0 -1230
  442. package/dist/chunk-7D3WX34I.js.map +0 -7
  443. package/dist/chunk-7FSIZZOX.js +0 -176
  444. package/dist/chunk-7KRS7L4U.js +0 -1443
  445. package/dist/chunk-7KRS7L4U.js.map +0 -7
  446. package/dist/chunk-A3URBFXN.js +0 -119
  447. package/dist/chunk-A45KH7LP.js +0 -254
  448. package/dist/chunk-B4GS7OLB.js +0 -4284
  449. package/dist/chunk-BKPDYW5T.js +0 -177
  450. package/dist/chunk-BWQV2OBL.js +0 -102
  451. package/dist/chunk-BXGQXLHP.js +0 -2786
  452. package/dist/chunk-CDJAHMAN.js +0 -299
  453. package/dist/chunk-CXHLROWX.js +0 -37
  454. package/dist/chunk-EKKQMKQI.js +0 -102
  455. package/dist/chunk-EPWIJEMK.js +0 -158
  456. package/dist/chunk-F7Y67LK7.js +0 -230
  457. package/dist/chunk-FDBVAL6K.js +0 -14
  458. package/dist/chunk-FISP5YN2.js +0 -292
  459. package/dist/chunk-G3FSS7GR.js +0 -477
  460. package/dist/chunk-GE4NJDV4.js +0 -98
  461. package/dist/chunk-GYGU4UT5.js +0 -34
  462. package/dist/chunk-I5IPJG2R.js +0 -148
  463. package/dist/chunk-I73KUUYG.js +0 -287
  464. package/dist/chunk-I73KUUYG.js.map +0 -7
  465. package/dist/chunk-IFK24IXL.js +0 -194
  466. package/dist/chunk-ILE6ML2D.js +0 -50
  467. package/dist/chunk-IRKP6IZ4.js +0 -216
  468. package/dist/chunk-J6ZOUCWN.js +0 -170
  469. package/dist/chunk-JFRSVFWO.js +0 -736
  470. package/dist/chunk-JFRSVFWO.js.map +0 -7
  471. package/dist/chunk-JNBJG57F.js +0 -448
  472. package/dist/chunk-K5UVG3FQ.js +0 -117
  473. package/dist/chunk-KE5B34CS.js +0 -102
  474. package/dist/chunk-L6A2BEXB.js +0 -2681
  475. package/dist/chunk-LQJMCE7G.js +0 -467
  476. package/dist/chunk-LSWU6EAQ.js +0 -31
  477. package/dist/chunk-LWEGSYDD.js +0 -226
  478. package/dist/chunk-LWEGSYDD.js.map +0 -7
  479. package/dist/chunk-LYVLF6HO.js +0 -1825
  480. package/dist/chunk-MBUQ34CF.js +0 -189
  481. package/dist/chunk-MBUQ34CF.js.map +0 -7
  482. package/dist/chunk-MN3KDNHC.js +0 -617
  483. package/dist/chunk-MNIBZTQE.js +0 -146
  484. package/dist/chunk-MTHEEXT2.js +0 -1450
  485. package/dist/chunk-MTHEEXT2.js.map +0 -7
  486. package/dist/chunk-MTZSN3H4.js +0 -302
  487. package/dist/chunk-N7O7NPUO.js +0 -534
  488. package/dist/chunk-N7O7NPUO.js.map +0 -7
  489. package/dist/chunk-NNFAUP2I.js +0 -315
  490. package/dist/chunk-NNFAUP2I.js.map +0 -7
  491. package/dist/chunk-OF5FE6GT.js +0 -142
  492. package/dist/chunk-OVSKJROY.js +0 -815
  493. package/dist/chunk-OVSKJROY.js.map +0 -7
  494. package/dist/chunk-PJ3FCJBZ.js +0 -480
  495. package/dist/chunk-PU2Q4SZR.js +0 -2327
  496. package/dist/chunk-PZPS56Z6.js +0 -343
  497. package/dist/chunk-QKR3ZD3S.js +0 -833
  498. package/dist/chunk-QMXCK4Y5.js +0 -203
  499. package/dist/chunk-ROJ3LJLE.js +0 -448
  500. package/dist/chunk-SLHWUFAW.js +0 -1943
  501. package/dist/chunk-SLHWUFAW.js.map +0 -7
  502. package/dist/chunk-SOTB4FRE.js +0 -2098
  503. package/dist/chunk-SOTB4FRE.js.map +0 -7
  504. package/dist/chunk-TJYRBEBK.js +0 -2878
  505. package/dist/chunk-TJYRBEBK.js.map +0 -7
  506. package/dist/chunk-U3G4JGKJ.js +0 -54
  507. package/dist/chunk-UN3O2MNB.js +0 -375
  508. package/dist/chunk-VDZ5QOF6.js +0 -446
  509. package/dist/chunk-VO5XZ2EG.js +0 -129
  510. package/dist/chunk-VRH7NP6R.js +0 -263
  511. package/dist/chunk-VTMJGRT5.js +0 -272
  512. package/dist/chunk-W5X6C7LY.js +0 -399
  513. package/dist/chunk-WJGUNGFK.js +0 -272
  514. package/dist/chunk-WKT46ZJ6.js +0 -368
  515. package/dist/chunk-WQCQWUUP.js +0 -2833
  516. package/dist/chunk-WY2PGUVX.js +0 -20898
  517. package/dist/chunk-WY2PGUVX.js.map +0 -7
  518. package/dist/chunk-WZ2U5QXJ.js +0 -6364
  519. package/dist/chunk-WZUWK5Q6.js +0 -1102
  520. package/dist/chunk-XPMTUVSS.js +0 -1220
  521. package/dist/chunk-XPMTUVSS.js.map +0 -7
  522. package/dist/chunk-YYFQPGIE.js +0 -386
  523. package/dist/condition-GVIEMQG7.js +0 -332
  524. package/dist/controls-73K3XBDR.js +0 -41
  525. package/dist/controls.config-FQKY2LRE.js +0 -39
  526. package/dist/correlation-AOAXIUFJ.js +0 -102
  527. package/dist/cuminc-OD2PPCEK.js +0 -1149
  528. package/dist/cuminc.integration.spec-TMIFW7EO.js +0 -678
  529. package/dist/cuminc.integration.spec-TMIFW7EO.js.map +0 -7
  530. package/dist/customdata.inputui-SWLGLATL.js +0 -289
  531. package/dist/dataDownload-456HL2OE.js +0 -330
  532. package/dist/dataDownload.integration.spec-5YS4MWK5.js +0 -193
  533. package/dist/databrowser.ui-7APC5MNM.js +0 -433
  534. package/dist/dictionary-A3HA5MVK.js +0 -118
  535. package/dist/dnaMethylation-6ONBKARD.js +0 -38
  536. package/dist/dnaMethylation.integration.spec-T3WEGVX3.js +0 -203
  537. package/dist/dofetch-RVPQUMVX.js +0 -51
  538. package/dist/e2pca-75WZ46XG.js +0 -350
  539. package/dist/ep-QG5CWPTW.js +0 -1256
  540. package/dist/expclust.gdc.spec-KBBQJR4M.js +0 -307
  541. package/dist/facet-QGB2Q7YV.js +0 -521
  542. package/dist/forms2-CJGDCWYH.js +0 -539
  543. package/dist/gb-NEFAHKQI.js +0 -88
  544. package/dist/geneExpClustering-ZVR44UZC.js +0 -249
  545. package/dist/geneExpression-25EX4DFK.js +0 -313
  546. package/dist/geneExpression-FALOA4GC.js +0 -38
  547. package/dist/geneExpression.unit.spec-BQLELQUS.js +0 -102
  548. package/dist/geneORA-K2B7JYWD.js +0 -278
  549. package/dist/geneRanking-6AXL5ZJS.js +0 -553
  550. package/dist/geneVariant-RZFDP5J5.js +0 -41
  551. package/dist/geneVariant-UIBZ5UIQ.js +0 -39
  552. package/dist/geneVariant.integration.spec-4EZQMPQB.js +0 -198
  553. package/dist/genefusion.ui-YK4TNS2P.js +0 -309
  554. package/dist/geneset-47J4D5ID.js +0 -208
  555. package/dist/genomeBrowser.spec-LFFWRIWG.js +0 -281
  556. package/dist/grin2-DQB2WW3C.js +0 -75
  557. package/dist/grin2-TZFU4JM3.js +0 -1078
  558. package/dist/grin2-TZFU4JM3.js.map +0 -7
  559. package/dist/gsea-KKLAMLMG.js +0 -47
  560. package/dist/hierCluster-3MZEJG6B.js +0 -59
  561. package/dist/hierCluster-YGBC4XCZ.js +0 -63
  562. package/dist/hierCluster.config-A4N54K3A.js +0 -40
  563. package/dist/hierCluster.integration.spec-GLKXFZDM.js +0 -488
  564. package/dist/hierCluster.interactivity-4TPWGIVC.js +0 -54
  565. package/dist/hierCluster.renderers-WUWSXXHU.js +0 -21
  566. package/dist/imagePlot-JRPYOV3Q.js +0 -163
  567. package/dist/importPlot-A3PFUP6K.js +0 -8
  568. package/dist/isoformExpression-5L4O3WKL.js +0 -40
  569. package/dist/isoformExpression.unit.spec-SLB6XIX4.js +0 -208
  570. package/dist/launch.adhoc-QI7TPYSC.js +0 -42
  571. package/dist/leftlabel.sample-OSIRTJFW.js +0 -264
  572. package/dist/legacyDataset-TNIIJABK.js +0 -119
  573. package/dist/lollipop-LAELXNQY.js +0 -171
  574. package/dist/maf-HZAYVZFO.js +0 -459
  575. package/dist/maftimeline-BLBNUGAL.js +0 -593
  576. package/dist/matrix-LVJSHXDM.js +0 -58
  577. package/dist/matrix-S5QQV4JU.js +0 -63
  578. package/dist/matrix.cells-JUTRYPG4.js +0 -28
  579. package/dist/matrix.config-ZTWWYNIZ.js +0 -41
  580. package/dist/matrix.data-BREYB54F.js +0 -25
  581. package/dist/matrix.groups-WMHTLOXC.js +0 -27
  582. package/dist/matrix.integration.spec-S6FIEE2X.js +0 -3072
  583. package/dist/matrix.integration.spec-S6FIEE2X.js.map +0 -7
  584. package/dist/matrix.interactivity-TMBVAM5M.js +0 -42
  585. package/dist/matrix.layout-POK5NOUV.js +0 -44
  586. package/dist/matrix.legend-6XVQ67AC.js +0 -22
  587. package/dist/matrix.renderers-G5FQZZ73.js +0 -38
  588. package/dist/matrix.serieses-XNLQSQS6.js +0 -21
  589. package/dist/matrix.sort-XNES23OQ.js +0 -27
  590. package/dist/matrix.sort.unit.spec-65BDBQUV.js +0 -472
  591. package/dist/matrix.sorterUi-WC2YX7S7.js +0 -18
  592. package/dist/matrix.sorterUi.unit.spec-GZQBW7F7.js +0 -342
  593. package/dist/mavb-T2UCRWWM.js +0 -732
  594. package/dist/mds.fimo-65UUK7ER.js +0 -518
  595. package/dist/mds.samplescatterplot-4NHGQBJF.js +0 -1550
  596. package/dist/mds.survivalplot-WVAHDM3Z.js +0 -483
  597. package/dist/numericDictTermCluster-CXASCSQ6.js +0 -65
  598. package/dist/oncomatrix-5WMOICWR.js +0 -295
  599. package/dist/oncomatrix.spec-POVBNFJR.js +0 -448
  600. package/dist/plot.2dvaf-63K5RSIU.js +0 -377
  601. package/dist/plot.app-V5IY25QS.js +0 -41
  602. package/dist/plot.barplot-IQTYHNFE.js +0 -102
  603. package/dist/plot.boxplot-2RMTO7AS.js +0 -152
  604. package/dist/plot.brainImaging-DLUHAHHG.js +0 -51
  605. package/dist/plot.disco-WK6GDLNF.js +0 -102
  606. package/dist/plot.dzi-3V3FWE7U.js +0 -33
  607. package/dist/plot.ssgq-TENK2RP4.js +0 -139
  608. package/dist/plot.vaf2cov-P2QOOZGZ.js +0 -259
  609. package/dist/plot.wsi-BVRGJF4E.js +0 -36
  610. package/dist/polar2-NNOZOQQJ.js +0 -231
  611. package/dist/profileForms-RS4GEZZV.js +0 -446
  612. package/dist/profilePlot-3DLME3NH.js +0 -54
  613. package/dist/proteinView-NPKJAQAI.js +0 -1568
  614. package/dist/qualitative-S45RXXRJ.js +0 -43
  615. package/dist/radar2-EX7YBNMT.js +0 -326
  616. package/dist/radarFacility2-WU5O6O77.js +0 -334
  617. package/dist/regression-7MCOYJVD.js +0 -56
  618. package/dist/regression.inputs-QHSWJ23R.js +0 -48
  619. package/dist/regression.inputs.term-EJ4Z5Q5O.js +0 -48
  620. package/dist/regression.inputs.values.table-YKMAWNXN.js +0 -45
  621. package/dist/regression.integration.spec-XOX7OXXA.js +0 -784
  622. package/dist/regression.results-YKPOTPCC.js +0 -40
  623. package/dist/regression.spec-YIIY2AZA.js +0 -708
  624. package/dist/report-JEJFCWUU.js +0 -222
  625. package/dist/sampleScatter.spec-LBAZBDYA.js +0 -202
  626. package/dist/sampleView-WKZT5ZFE.js +0 -48
  627. package/dist/samplelst-HXM3H6M4.js +0 -111
  628. package/dist/samplematrix-LCGHK2EK.js +0 -2198
  629. package/dist/sc-3OE2G4BU.js +0 -86
  630. package/dist/scatter-AGVUDTTU.js +0 -851
  631. package/dist/selectGenomeWithTklst-WF2XZ6GH.js +0 -134
  632. package/dist/singleCellCellType-2SRGROMS.js +0 -38
  633. package/dist/singleCellCellType.unit.spec-DCGHNRJI.js +0 -160
  634. package/dist/singleCellGeneExpression-RASZA4NO.js +0 -38
  635. package/dist/singleCellGeneExpression.unit.spec-5MRGH2OO.js +0 -153
  636. package/dist/singleCellPlot-TIYA3GNM.js +0 -54
  637. package/dist/singlecell-CFA43TTU.js +0 -1572
  638. package/dist/singlecell-JS5SIZHY.js +0 -86
  639. package/dist/snp-VXZXPMKS.js +0 -38
  640. package/dist/snp.unit.spec-TR5TCO7X.js +0 -176
  641. package/dist/snplocus-VLPH5Y65.js +0 -208
  642. package/dist/spliceevent.a53ss.diagram-PATK67SH.js +0 -151
  643. package/dist/spliceevent.exonskip.diagram-7B3SEOAJ.js +0 -277
  644. package/dist/spliceevent.exonskip.diagram-7B3SEOAJ.js.map +0 -7
  645. package/dist/spliceevent.noeventdiagram-4NPNZUEN.js +0 -460
  646. package/dist/ssGSEA-XMW5BLAU.js +0 -38
  647. package/dist/ssGSEA.unit.spec-ASUWKVUT.js +0 -88
  648. package/dist/summarizeCnvGeneexp-KWRFGX32.js +0 -163
  649. package/dist/summarizeGeneexpSurvival-FIPIMEJR.js +0 -114
  650. package/dist/summarizeMutationCnv-IUYRVLZG.js +0 -164
  651. package/dist/summarizeMutationDiagnosis-ZFJPCABL.js +0 -40
  652. package/dist/summarizeMutationSurvival-HFHYB7DT.js +0 -99
  653. package/dist/summary-AZUNEZ5I.js +0 -49
  654. package/dist/summary.integration.spec-WLBAJL44.js +0 -414
  655. package/dist/summaryInput-NJWVXDXW.js +0 -235
  656. package/dist/sunburst-PXGF4WM6.js +0 -284
  657. package/dist/survival-RAU4XCKG.js +0 -58
  658. package/dist/survival-ZZ4QLZHK.js +0 -46
  659. package/dist/survival.integration.spec-GBQ5X362.js +0 -915
  660. package/dist/survival.integration.spec-GBQ5X362.js.map +0 -7
  661. package/dist/svgraph-7UCFRL6A.js +0 -1387
  662. package/dist/svmr-DB3RY2ID.js +0 -3842
  663. package/dist/table-HJRWWXGM.js +0 -200
  664. package/dist/termCollection-AW7M6DTP.js +0 -38
  665. package/dist/termCollection-WPON7RG3.js +0 -179
  666. package/dist/termCollection.unit.spec-254ESHOE.js +0 -208
  667. package/dist/tk-SUAFM5YA.js +0 -46
  668. package/dist/tp.ui-ELEQGSK2.js +0 -1459
  669. package/dist/tvs.dt-DCXY66YY.js +0 -39
  670. package/dist/tvs.dtcnv.categorical-SFQZMYX7.js +0 -40
  671. package/dist/tvs.dtcnv.continuous-AUZNJMC3.js +0 -72
  672. package/dist/tvs.dtfusion-5F7MYFHZ.js +0 -40
  673. package/dist/tvs.dtsnvindel-JJSPL4PH.js +0 -40
  674. package/dist/tvs.dtsv-DARTSV5H.js +0 -40
  675. package/dist/tvs.numeric-KYAU5OV3.js +0 -21
  676. package/dist/tvs.samplelst-HHBIO26C.js +0 -104
  677. package/dist/tvs.termCollection-KCMALH6B.js +0 -159
  678. package/dist/violin-C26FW5WK.js +0 -46
  679. package/dist/violin.integration.spec-QQ43XWHQ.js +0 -1425
  680. package/dist/violin.interactivity-H2BHC6M4.js +0 -38
  681. package/dist/violin.renderer-GSG2I7AV.js +0 -40
  682. package/dist/vocabulary-3G525O5V.js +0 -41
  683. /package/dist/{2dmaf-SKNV7IHT.js.map → 2dmaf-R3PFZNRN.js.map} +0 -0
  684. /package/dist/{AIProjectAdmin-AOTVRBNH.js.map → AIProjectAdmin-DM3KG6SR.js.map} +0 -0
  685. /package/dist/{AppHeader-M2ZSS3M3.js.map → AppHeader-6DZQ6YZX.js.map} +0 -0
  686. /package/dist/{BoxPlot-P3EECSQA.js.map → BoxPlot-76NINVX4.js.map} +0 -0
  687. /package/dist/{CorrelationVolcano-YCQ5S6MT.js.map → CorrelationVolcano-U5UMJNH5.js.map} +0 -0
  688. /package/dist/{DE-RBMOQZCR.js.map → DE-AXNYWIQK.js.map} +0 -0
  689. /package/dist/{DEinput-PTW6RS6U.js.map → DEinput-JH6YY6LS.js.map} +0 -0
  690. /package/dist/{Disco.UI-YBIMV7RH.js.map → Disco.UI-C7CZINUQ.js.map} +0 -0
  691. /package/dist/{DmrPlot-JQPLLU6P.js.map → DmrPlot-WROR4ENM.js.map} +0 -0
  692. /package/dist/{GeneExpInput-3OPDDCXR.js.map → GeneExpInput-JDU6EI7K.js.map} +0 -0
  693. /package/dist/{HicApp-VFOWRP6G.js.map → HicApp-UNIJLH4B.js.map} +0 -0
  694. /package/dist/{NumBinaryEditor-RL44SO3T.js.map → NumBinaryEditor-WMN2GGO4.js.map} +0 -0
  695. /package/dist/{NumBinaryEditor.unit.spec-P73PGAX5.js.map → NumBinaryEditor.unit.spec-TAMXV6SE.js.map} +0 -0
  696. /package/dist/{NumContEditor-MIC7M73G.js.map → NumContEditor-XYIOJY4E.js.map} +0 -0
  697. /package/dist/{NumContEditor.unit.spec-5XZH7OCG.js.map → NumContEditor.unit.spec-WDZ75BHO.js.map} +0 -0
  698. /package/dist/{NumCustomBinEditor-W357XTIR.js.map → NumCustomBinEditor-5SY3C4TY.js.map} +0 -0
  699. /package/dist/{NumCustomBinEditor.unit.spec-CJMK4CYW.js.map → NumCustomBinEditor.unit.spec-XHTAIXR3.js.map} +0 -0
  700. /package/dist/{NumDiscreteEditor-PRSUMS3I.js.map → NumDiscreteEditor-NRDRX4FD.js.map} +0 -0
  701. /package/dist/{NumDiscreteEditor.unit.spec-A6R56P3Z.js.map → NumDiscreteEditor.unit.spec-2CJW7OAT.js.map} +0 -0
  702. /package/dist/{NumRegularBinEditor-7OHUEUCC.js.map → NumRegularBinEditor-DUDVTNDC.js.map} +0 -0
  703. /package/dist/{NumRegularBinEditor.unit.spec-NOAX42UZ.js.map → NumRegularBinEditor.unit.spec-H3GNQHMN.js.map} +0 -0
  704. /package/dist/{NumSplineEditor-XI7AT5LM.js.map → NumSplineEditor-7Q4AC7KH.js.map} +0 -0
  705. /package/dist/{NumSplineEditor.unit.spec-ZH4M2N2C.js.map → NumSplineEditor.unit.spec-YRZK5PH5.js.map} +0 -0
  706. /package/dist/{NumericDensity-X6IHQAW3.js.map → NumericDensity-NTNWUESG.js.map} +0 -0
  707. /package/dist/{NumericDensity.unit.spec-EKVD4AUG.js.map → NumericDensity.unit.spec-5I5U6T6P.js.map} +0 -0
  708. /package/dist/{NumericHandler-5ONBWFJ5.js.map → NumericHandler-MEW2KMPX.js.map} +0 -0
  709. /package/dist/{NumericHandler.unit.spec-SHI6E4VA.js.map → NumericHandler.unit.spec-JFX4BPRG.js.map} +0 -0
  710. /package/dist/{RunChart2-Y6IY6MW2.js.map → RunChart2-BEBDU7RC.js.map} +0 -0
  711. /package/dist/{WSIViewer-RLLL7MAL.js.map → WSIViewer-ZLQU62PD.js.map} +0 -0
  712. /package/dist/{WsiSamplesPlot-FU3TCOTY.js.map → WsiSamplesPlot-JMBSITOM.js.map} +0 -0
  713. /package/dist/{adSandbox-ZINST5DE.js.map → adSandbox-664IRCRL.js.map} +0 -0
  714. /package/dist/{animatedBubbleChart-PIQWCVBJ.js.map → animatedBubbleChart-TX7NW34K.js.map} +0 -0
  715. /package/dist/{app-N42SVGI2.js.map → app-63WJ3BMP.js.map} +0 -0
  716. /package/dist/{app-RWN4XLCP.js.map → app-77FIZHCG.js.map} +0 -0
  717. /package/dist/{bam-QTSTXJ4N.js.map → bam-IETNVAYD.js.map} +0 -0
  718. /package/dist/{barchart-27BYTRVI.js.map → barchart-YUVXJNH4.js.map} +0 -0
  719. /package/dist/{barchart.data-OUNVH4JU.js.map → barchart.data-P4EIQXGE.js.map} +0 -0
  720. /package/dist/{barchart.events-PY4CEDSO.js.map → barchart.events-JPVCLTIG.js.map} +0 -0
  721. /package/dist/{barchart.integration.spec-H4WGHQ7R.js.map → barchart.integration.spec-ZH7DEQI2.js.map} +0 -0
  722. /package/dist/{barchart2-TIOTRAC2.js.map → barchart2-XO2FG76J.js.map} +0 -0
  723. /package/dist/{bars.renderer-57KSYAAT.js.map → bars.renderer-AUIWUJDH.js.map} +0 -0
  724. /package/dist/{block.init-LRZ3QAGC.js.map → block.init-X7Y2EEVR.js.map} +0 -0
  725. /package/dist/{block.mds.expressionrank-IV7JLC52.js.map → block.mds.expressionrank-BIAOZIZ3.js.map} +0 -0
  726. /package/dist/{block.mds.geneboxplot-IBCE5XZU.js.map → block.mds.geneboxplot-CNICDVLK.js.map} +0 -0
  727. /package/dist/{block.mds.junction-ISSCJHNF.js.map → block.mds.junction-PQXCTSUI.js.map} +0 -0
  728. /package/dist/{block.mds.svcnv-ZEBVBTL7.js.map → block.mds.svcnv-32KMVTCT.js.map} +0 -0
  729. /package/dist/{block.svg-FYWA5VYH.js.map → block.svg-LRTOYQK2.js.map} +0 -0
  730. /package/dist/{block.tk.aicheck-AD6DTKXR.js.map → block.tk.aicheck-HDV7ZIUD.js.map} +0 -0
  731. /package/dist/{block.tk.ase-LO2J4KRE.js.map → block.tk.ase-JIDWKMYI.js.map} +0 -0
  732. /package/dist/{block.tk.bam-XGX22FCN.js.map → block.tk.bam-5X3OS5HB.js.map} +0 -0
  733. /package/dist/{block.tk.bedgraphdot-SUIRFNFL.js.map → block.tk.bedgraphdot-T7JX7YQL.js.map} +0 -0
  734. /package/dist/{block.tk.bigwig.ui-2Q7FAK3V.js.map → block.tk.bigwig.ui-OSAYEBAE.js.map} +0 -0
  735. /package/dist/{block.tk.hicstraw-4MVP2PCL.js.map → block.tk.hicstraw-DEY3VQFK.js.map} +0 -0
  736. /package/dist/{block.tk.junction-F54FTEPB.js.map → block.tk.junction-7UAFEZSJ.js.map} +0 -0
  737. /package/dist/{block.tk.junction.textmatrixui-ETROZJVK.js.map → block.tk.junction.textmatrixui-27LHS33U.js.map} +0 -0
  738. /package/dist/{block.tk.ld-NJEDKSTU.js.map → block.tk.ld-DF2PI7OO.js.map} +0 -0
  739. /package/dist/{block.tk.menu-LZOY4FKT.js.map → block.tk.menu-L2D5KBIV.js.map} +0 -0
  740. /package/dist/{block.tk.pgv-I3XHJ7VU.js.map → block.tk.pgv-QO56SKBV.js.map} +0 -0
  741. /package/dist/{brainImaging-BGP6VRFV.js.map → brainImaging-NIPQWFWO.js.map} +0 -0
  742. /package/dist/{brainRegions-AAN7LM2Y.js.map → brainRegions-ZNZ2WHSU.js.map} +0 -0
  743. /package/dist/{bubbleHeatmap-HNEU4CYA.js.map → bubbleHeatmap-ERWNEKZB.js.map} +0 -0
  744. /package/dist/{chunk-CDJAHMAN.js.map → chunk-2GYWFQML.js.map} +0 -0
  745. /package/dist/{chunk-ILE6ML2D.js.map → chunk-2HYJ4GDH.js.map} +0 -0
  746. /package/dist/{chunk-VTMJGRT5.js.map → chunk-2MG6XE6R.js.map} +0 -0
  747. /package/dist/{chunk-4C3XRI6J.js.map → chunk-33K5PA52.js.map} +0 -0
  748. /package/dist/{chunk-5QTJUPFS.js.map → chunk-37XDBPOP.js.map} +0 -0
  749. /package/dist/{chunk-3LYZMOLO.js.map → chunk-3EWB3246.js.map} +0 -0
  750. /package/dist/{chunk-2XV6U42J.js.map → chunk-3RSKOPIY.js.map} +0 -0
  751. /package/dist/{chunk-WZUWK5Q6.js.map → chunk-4DPVT4NE.js.map} +0 -0
  752. /package/dist/{chunk-GE4NJDV4.js.map → chunk-4IH7DORZ.js.map} +0 -0
  753. /package/dist/{chunk-W5X6C7LY.js.map → chunk-4QNBFIIR.js.map} +0 -0
  754. /package/dist/{chunk-5HMX4NUJ.js.map → chunk-4STKL6SR.js.map} +0 -0
  755. /package/dist/{chunk-GYGU4UT5.js.map → chunk-4TZIVSL5.js.map} +0 -0
  756. /package/dist/{chunk-LQJMCE7G.js.map → chunk-5ABGFJSP.js.map} +0 -0
  757. /package/dist/{chunk-MTZSN3H4.js.map → chunk-5AZNP47R.js.map} +0 -0
  758. /package/dist/{chunk-KE5B34CS.js.map → chunk-6BB43SIB.js.map} +0 -0
  759. /package/dist/{chunk-53JJ7SXN.js.map → chunk-7OHRR2IE.js.map} +0 -0
  760. /package/dist/{chunk-FDBVAL6K.js.map → chunk-ASATD4T7.js.map} +0 -0
  761. /package/dist/{chunk-25XCVML7.js.map → chunk-B5B3LZB3.js.map} +0 -0
  762. /package/dist/{chunk-L6A2BEXB.js.map → chunk-BHGISFCA.js.map} +0 -0
  763. /package/dist/{chunk-BXGQXLHP.js.map → chunk-BMBOZ64T.js.map} +0 -0
  764. /package/dist/{chunk-IRKP6IZ4.js.map → chunk-BOZJHPJP.js.map} +0 -0
  765. /package/dist/{chunk-IFK24IXL.js.map → chunk-CDD7LYJM.js.map} +0 -0
  766. /package/dist/{chunk-PU2Q4SZR.js.map → chunk-CTQ3IUCA.js.map} +0 -0
  767. /package/dist/{chunk-EPWIJEMK.js.map → chunk-D7TID3HR.js.map} +0 -0
  768. /package/dist/{chunk-5V2BMEAS.js.map → chunk-E55LLYRX.js.map} +0 -0
  769. /package/dist/{chunk-YYFQPGIE.js.map → chunk-ESGXULRH.js.map} +0 -0
  770. /package/dist/{chunk-K5UVG3FQ.js.map → chunk-EZ4LZ6ZT.js.map} +0 -0
  771. /package/dist/{chunk-B4GS7OLB.js.map → chunk-F3SJTVP5.js.map} +0 -0
  772. /package/dist/{chunk-427UL37G.js.map → chunk-F5IXNJO7.js.map} +0 -0
  773. /package/dist/{chunk-ROJ3LJLE.js.map → chunk-FJYECRHW.js.map} +0 -0
  774. /package/dist/{chunk-QKR3ZD3S.js.map → chunk-FPNRUQOU.js.map} +0 -0
  775. /package/dist/{chunk-J6ZOUCWN.js.map → chunk-G764NXQN.js.map} +0 -0
  776. /package/dist/{chunk-I5IPJG2R.js.map → chunk-GAPI4MML.js.map} +0 -0
  777. /package/dist/{chunk-WJGUNGFK.js.map → chunk-HLUZOZXJ.js.map} +0 -0
  778. /package/dist/{chunk-UN3O2MNB.js.map → chunk-HOKIK2FR.js.map} +0 -0
  779. /package/dist/{chunk-VO5XZ2EG.js.map → chunk-KLGL6XZD.js.map} +0 -0
  780. /package/dist/{chunk-PJ3FCJBZ.js.map → chunk-L7IRWUKT.js.map} +0 -0
  781. /package/dist/{chunk-MN3KDNHC.js.map → chunk-LX6G7HJJ.js.map} +0 -0
  782. /package/dist/{chunk-OF5FE6GT.js.map → chunk-M2G5R4WB.js.map} +0 -0
  783. /package/dist/{chunk-EKKQMKQI.js.map → chunk-M4TTGGT4.js.map} +0 -0
  784. /package/dist/{chunk-LYVLF6HO.js.map → chunk-M6EF3WVV.js.map} +0 -0
  785. /package/dist/{chunk-MNIBZTQE.js.map → chunk-M6KHT3MM.js.map} +0 -0
  786. /package/dist/{chunk-F7Y67LK7.js.map → chunk-MCZFHWIR.js.map} +0 -0
  787. /package/dist/{chunk-JNBJG57F.js.map → chunk-MFQACKYU.js.map} +0 -0
  788. /package/dist/{chunk-PZPS56Z6.js.map → chunk-MVGAGTM3.js.map} +0 -0
  789. /package/dist/{chunk-A3URBFXN.js.map → chunk-NELOT3NJ.js.map} +0 -0
  790. /package/dist/{chunk-U3G4JGKJ.js.map → chunk-NRKMXULC.js.map} +0 -0
  791. /package/dist/{chunk-BKPDYW5T.js.map → chunk-NYRZNRG5.js.map} +0 -0
  792. /package/dist/{chunk-WKT46ZJ6.js.map → chunk-ONPKE6DC.js.map} +0 -0
  793. /package/dist/{chunk-QMXCK4Y5.js.map → chunk-PFRWS4CR.js.map} +0 -0
  794. /package/dist/{chunk-6MBTPVIM.js.map → chunk-PJKQUXEN.js.map} +0 -0
  795. /package/dist/{chunk-WZ2U5QXJ.js.map → chunk-Q2L44HK3.js.map} +0 -0
  796. /package/dist/{chunk-VDZ5QOF6.js.map → chunk-RKO6BL5N.js.map} +0 -0
  797. /package/dist/{chunk-A45KH7LP.js.map → chunk-T25QNZHB.js.map} +0 -0
  798. /package/dist/{chunk-LSWU6EAQ.js.map → chunk-U7TBYVIQ.js.map} +0 -0
  799. /package/dist/{chunk-5CR24RTX.js.map → chunk-UGRQXBL4.js.map} +0 -0
  800. /package/dist/{chunk-G3FSS7GR.js.map → chunk-USFSHSCJ.js.map} +0 -0
  801. /package/dist/{chunk-WQCQWUUP.js.map → chunk-VJ6UFVGC.js.map} +0 -0
  802. /package/dist/{chunk-FISP5YN2.js.map → chunk-W3WPPOXH.js.map} +0 -0
  803. /package/dist/{chunk-VRH7NP6R.js.map → chunk-WFCSOTBO.js.map} +0 -0
  804. /package/dist/{chunk-BWQV2OBL.js.map → chunk-WZ2L57MB.js.map} +0 -0
  805. /package/dist/{chunk-CXHLROWX.js.map → chunk-Y4UAKFWC.js.map} +0 -0
  806. /package/dist/{chunk-4O6H4ZHL.js.map → chunk-YQBS2ZCK.js.map} +0 -0
  807. /package/dist/{chunk-7FSIZZOX.js.map → chunk-ZTHM2TKP.js.map} +0 -0
  808. /package/dist/{condition-GVIEMQG7.js.map → condition-2PASYSUC.js.map} +0 -0
  809. /package/dist/{controls-73K3XBDR.js.map → controls-5IMJ6K5L.js.map} +0 -0
  810. /package/dist/{controls.config-FQKY2LRE.js.map → controls.config-P5PG2DHW.js.map} +0 -0
  811. /package/dist/{correlation-AOAXIUFJ.js.map → correlation-U3EDLNHR.js.map} +0 -0
  812. /package/dist/{cuminc-OD2PPCEK.js.map → cuminc-2HUFEROK.js.map} +0 -0
  813. /package/dist/{customdata.inputui-SWLGLATL.js.map → customdata.inputui-ZHWNEPFH.js.map} +0 -0
  814. /package/dist/{dataDownload-456HL2OE.js.map → dataDownload-VBSJBKMP.js.map} +0 -0
  815. /package/dist/{dataDownload.integration.spec-5YS4MWK5.js.map → dataDownload.integration.spec-LUFSETOP.js.map} +0 -0
  816. /package/dist/{databrowser.ui-7APC5MNM.js.map → databrowser.ui-6H2KMSTJ.js.map} +0 -0
  817. /package/dist/{dictionary-A3HA5MVK.js.map → dictionary-V37LXFIP.js.map} +0 -0
  818. /package/dist/{dnaMethylation-6ONBKARD.js.map → dnaMethylation-OIZMHMLK.js.map} +0 -0
  819. /package/dist/{dnaMethylation.integration.spec-T3WEGVX3.js.map → dnaMethylation.integration.spec-CWPTJ74H.js.map} +0 -0
  820. /package/dist/{dofetch-RVPQUMVX.js.map → dofetch-IWPZQB5N.js.map} +0 -0
  821. /package/dist/{e2pca-75WZ46XG.js.map → e2pca-7SLIAGYW.js.map} +0 -0
  822. /package/dist/{ep-QG5CWPTW.js.map → ep-7L6KF6K4.js.map} +0 -0
  823. /package/dist/{expclust.gdc.spec-KBBQJR4M.js.map → expclust.gdc.spec-JT452Q3G.js.map} +0 -0
  824. /package/dist/{facet-QGB2Q7YV.js.map → facet-CXOUU5AS.js.map} +0 -0
  825. /package/dist/{forms2-CJGDCWYH.js.map → forms2-VPNCLQOY.js.map} +0 -0
  826. /package/dist/{gb-NEFAHKQI.js.map → gb-P4VRXRED.js.map} +0 -0
  827. /package/dist/{geneExpClustering-ZVR44UZC.js.map → geneExpClustering-FQTCKRJJ.js.map} +0 -0
  828. /package/dist/{geneExpression-25EX4DFK.js.map → geneExpression-BHO5326K.js.map} +0 -0
  829. /package/dist/{geneExpression-FALOA4GC.js.map → geneExpression-ZMERB64E.js.map} +0 -0
  830. /package/dist/{geneExpression.unit.spec-BQLELQUS.js.map → geneExpression.unit.spec-CNVHZWNG.js.map} +0 -0
  831. /package/dist/{geneORA-K2B7JYWD.js.map → geneORA-FXVUCXGX.js.map} +0 -0
  832. /package/dist/{geneRanking-6AXL5ZJS.js.map → geneRanking-SFK4UBKQ.js.map} +0 -0
  833. /package/dist/{geneVariant-RZFDP5J5.js.map → geneVariant-IYEHB4H7.js.map} +0 -0
  834. /package/dist/{geneVariant-UIBZ5UIQ.js.map → geneVariant-LIRRLUFR.js.map} +0 -0
  835. /package/dist/{geneVariant.integration.spec-4EZQMPQB.js.map → geneVariant.integration.spec-Y2NPNTYX.js.map} +0 -0
  836. /package/dist/{genefusion.ui-YK4TNS2P.js.map → genefusion.ui-L3HIJM3N.js.map} +0 -0
  837. /package/dist/{geneset-47J4D5ID.js.map → geneset-A6VUFX63.js.map} +0 -0
  838. /package/dist/{genomeBrowser.spec-LFFWRIWG.js.map → genomeBrowser.spec-CB4HHHBN.js.map} +0 -0
  839. /package/dist/{grin2-DQB2WW3C.js.map → grin2-FKBIMH5N.js.map} +0 -0
  840. /package/dist/{gsea-KKLAMLMG.js.map → hierCluster-QFPRMHVA.js.map} +0 -0
  841. /package/dist/{hierCluster-3MZEJG6B.js.map → hierCluster-YWC3XYPV.js.map} +0 -0
  842. /package/dist/{hierCluster-YGBC4XCZ.js.map → hierCluster.config-F7YYZNM3.js.map} +0 -0
  843. /package/dist/{hierCluster.integration.spec-GLKXFZDM.js.map → hierCluster.integration.spec-AF4L3YT6.js.map} +0 -0
  844. /package/dist/{hierCluster.config-A4N54K3A.js.map → hierCluster.interactivity-RPY74PK6.js.map} +0 -0
  845. /package/dist/{hierCluster.interactivity-4TPWGIVC.js.map → hierCluster.renderers-LOKHZ3V2.js.map} +0 -0
  846. /package/dist/{imagePlot-JRPYOV3Q.js.map → imagePlot-BBEXA754.js.map} +0 -0
  847. /package/dist/{hierCluster.renderers-WUWSXXHU.js.map → importPlot-7QGANZGK.js.map} +0 -0
  848. /package/dist/{importPlot-A3PFUP6K.js.map → isoformExpression-4SLLCVFD.js.map} +0 -0
  849. /package/dist/{isoformExpression.unit.spec-SLB6XIX4.js.map → isoformExpression.unit.spec-GEL4JJ64.js.map} +0 -0
  850. /package/dist/{isoformExpression-5L4O3WKL.js.map → launch.adhoc-LWLBQJS5.js.map} +0 -0
  851. /package/dist/{leftlabel.sample-OSIRTJFW.js.map → leftlabel.sample-RTEZOIH2.js.map} +0 -0
  852. /package/dist/{legacyDataset-TNIIJABK.js.map → legacyDataset-VLD7ZYWI.js.map} +0 -0
  853. /package/dist/{lollipop-LAELXNQY.js.map → lollipop-XKQK5QZU.js.map} +0 -0
  854. /package/dist/{maf-HZAYVZFO.js.map → maf-AZQPPWDO.js.map} +0 -0
  855. /package/dist/{maftimeline-BLBNUGAL.js.map → maftimeline-7MSVYKQU.js.map} +0 -0
  856. /package/dist/{launch.adhoc-QI7TPYSC.js.map → matrix-BGLWC25D.js.map} +0 -0
  857. /package/dist/{matrix-LVJSHXDM.js.map → matrix-IQR5SRMK.js.map} +0 -0
  858. /package/dist/{matrix-S5QQV4JU.js.map → matrix.cells-5C57NWOY.js.map} +0 -0
  859. /package/dist/{matrix.cells-JUTRYPG4.js.map → matrix.config-2DQXAN2E.js.map} +0 -0
  860. /package/dist/{matrix.config-ZTWWYNIZ.js.map → matrix.data-ADCGF5H6.js.map} +0 -0
  861. /package/dist/{matrix.data-BREYB54F.js.map → matrix.groups-V4ITQ5F7.js.map} +0 -0
  862. /package/dist/{matrix.groups-WMHTLOXC.js.map → matrix.interactivity-JNELJFOV.js.map} +0 -0
  863. /package/dist/{matrix.interactivity-TMBVAM5M.js.map → matrix.layout-WBVIV6GR.js.map} +0 -0
  864. /package/dist/{matrix.layout-POK5NOUV.js.map → matrix.legend-YHOWPK77.js.map} +0 -0
  865. /package/dist/{matrix.legend-6XVQ67AC.js.map → matrix.renderers-5BGVRR3M.js.map} +0 -0
  866. /package/dist/{matrix.renderers-G5FQZZ73.js.map → matrix.serieses-2GZJOASZ.js.map} +0 -0
  867. /package/dist/{matrix.serieses-XNLQSQS6.js.map → matrix.sort-WKIWPJKP.js.map} +0 -0
  868. /package/dist/{matrix.sort.unit.spec-65BDBQUV.js.map → matrix.sort.unit.spec-L2E4D4AS.js.map} +0 -0
  869. /package/dist/{matrix.sort-XNES23OQ.js.map → matrix.sorterUi-TEJWWJ64.js.map} +0 -0
  870. /package/dist/{matrix.sorterUi.unit.spec-GZQBW7F7.js.map → matrix.sorterUi.unit.spec-SHP7C4P7.js.map} +0 -0
  871. /package/dist/{mavb-T2UCRWWM.js.map → mavb-4MXNYUEO.js.map} +0 -0
  872. /package/dist/{mds.fimo-65UUK7ER.js.map → mds.fimo-WHIJIBOI.js.map} +0 -0
  873. /package/dist/{mds.samplescatterplot-4NHGQBJF.js.map → mds.samplescatterplot-BRJ6NG2D.js.map} +0 -0
  874. /package/dist/{mds.survivalplot-WVAHDM3Z.js.map → mds.survivalplot-OPCMB5PB.js.map} +0 -0
  875. /package/dist/{numericDictTermCluster-CXASCSQ6.js.map → numericDictTermCluster-7MIFOP2K.js.map} +0 -0
  876. /package/dist/{oncomatrix-5WMOICWR.js.map → oncomatrix-BGG6BEUI.js.map} +0 -0
  877. /package/dist/{oncomatrix.spec-POVBNFJR.js.map → oncomatrix.spec-LYQ4L4F3.js.map} +0 -0
  878. /package/dist/{plot.2dvaf-63K5RSIU.js.map → plot.2dvaf-6WVCP2ZI.js.map} +0 -0
  879. /package/dist/{matrix.sorterUi-WC2YX7S7.js.map → plot.app-MLBP6WFP.js.map} +0 -0
  880. /package/dist/{plot.barplot-IQTYHNFE.js.map → plot.barplot-JEPRZSCU.js.map} +0 -0
  881. /package/dist/{plot.boxplot-2RMTO7AS.js.map → plot.boxplot-GNFW42VM.js.map} +0 -0
  882. /package/dist/{plot.brainImaging-DLUHAHHG.js.map → plot.brainImaging-5ACNSD45.js.map} +0 -0
  883. /package/dist/{plot.disco-WK6GDLNF.js.map → plot.disco-Q2V2KKIH.js.map} +0 -0
  884. /package/dist/{plot.dzi-3V3FWE7U.js.map → plot.dzi-KVT6S7K7.js.map} +0 -0
  885. /package/dist/{plot.ssgq-TENK2RP4.js.map → plot.ssgq-4N3KFJQ2.js.map} +0 -0
  886. /package/dist/{plot.vaf2cov-P2QOOZGZ.js.map → plot.vaf2cov-ITRG5U43.js.map} +0 -0
  887. /package/dist/{plot.wsi-BVRGJF4E.js.map → plot.wsi-26YZNU4V.js.map} +0 -0
  888. /package/dist/{polar2-NNOZOQQJ.js.map → polar2-J7GVUK4X.js.map} +0 -0
  889. /package/dist/{profileForms-RS4GEZZV.js.map → profileForms-VXV2JLXU.js.map} +0 -0
  890. /package/dist/{plot.app-V5IY25QS.js.map → profilePlot-ZZYZK4SY.js.map} +0 -0
  891. /package/dist/{proteinView-NPKJAQAI.js.map → proteinView-7KN532D3.js.map} +0 -0
  892. /package/dist/{profilePlot-3DLME3NH.js.map → qualitative-MLRVLIAU.js.map} +0 -0
  893. /package/dist/{radar2-EX7YBNMT.js.map → radar2-WM2ZBOH3.js.map} +0 -0
  894. /package/dist/{radarFacility2-WU5O6O77.js.map → radarFacility2-3SBR2JJ3.js.map} +0 -0
  895. /package/dist/{qualitative-S45RXXRJ.js.map → regression-WMRPQJW2.js.map} +0 -0
  896. /package/dist/{regression-7MCOYJVD.js.map → regression.inputs-VWZKSYNY.js.map} +0 -0
  897. /package/dist/{regression.inputs-QHSWJ23R.js.map → regression.inputs.term-OWE6GWHM.js.map} +0 -0
  898. /package/dist/{regression.inputs.term-EJ4Z5Q5O.js.map → regression.inputs.values.table-4INNZQI2.js.map} +0 -0
  899. /package/dist/{regression.integration.spec-XOX7OXXA.js.map → regression.integration.spec-XKQ2JOOT.js.map} +0 -0
  900. /package/dist/{regression.inputs.values.table-YKMAWNXN.js.map → regression.results-VZBYMBYC.js.map} +0 -0
  901. /package/dist/{regression.spec-YIIY2AZA.js.map → regression.spec-DU3UTDCJ.js.map} +0 -0
  902. /package/dist/{regression.results-YKPOTPCC.js.map → render-N5FOF247.js.map} +0 -0
  903. /package/dist/{report-JEJFCWUU.js.map → report-DW3OHB67.js.map} +0 -0
  904. /package/dist/{sampleScatter.spec-LBAZBDYA.js.map → sampleScatter.spec-REFSK2V4.js.map} +0 -0
  905. /package/dist/{sampleView-WKZT5ZFE.js.map → sampleView-ICOT2R6O.js.map} +0 -0
  906. /package/dist/{samplelst-HXM3H6M4.js.map → samplelst-TJEVASYG.js.map} +0 -0
  907. /package/dist/{samplematrix-LCGHK2EK.js.map → samplematrix-6DAWCXQ3.js.map} +0 -0
  908. /package/dist/{sc-3OE2G4BU.js.map → sc-53LNOB7N.js.map} +0 -0
  909. /package/dist/{scatter-AGVUDTTU.js.map → scatter-DKYSS4DL.js.map} +0 -0
  910. /package/dist/{selectGenomeWithTklst-WF2XZ6GH.js.map → selectGenomeWithTklst-WTX66TV3.js.map} +0 -0
  911. /package/dist/{singleCellCellType-2SRGROMS.js.map → singleCellCellType-D2CN2BHQ.js.map} +0 -0
  912. /package/dist/{singleCellCellType.unit.spec-DCGHNRJI.js.map → singleCellCellType.unit.spec-LADUCI4R.js.map} +0 -0
  913. /package/dist/{singleCellGeneExpression-RASZA4NO.js.map → singleCellGeneExpression-YR2ZT34W.js.map} +0 -0
  914. /package/dist/{singleCellGeneExpression.unit.spec-5MRGH2OO.js.map → singleCellGeneExpression.unit.spec-BM63M432.js.map} +0 -0
  915. /package/dist/{singleCellPlot-TIYA3GNM.js.map → singleCellPlot-3ICIOILE.js.map} +0 -0
  916. /package/dist/{singlecell-JS5SIZHY.js.map → singlecell-6ZUFA3BQ.js.map} +0 -0
  917. /package/dist/{singlecell-CFA43TTU.js.map → singlecell-KX7W4U57.js.map} +0 -0
  918. /package/dist/{snp-VXZXPMKS.js.map → snp-VIURB7L3.js.map} +0 -0
  919. /package/dist/{snp.unit.spec-TR5TCO7X.js.map → snp.unit.spec-ACZNZUNS.js.map} +0 -0
  920. /package/dist/{snplocus-VLPH5Y65.js.map → snplocus-3LW4ZUZR.js.map} +0 -0
  921. /package/dist/{spliceevent.a53ss.diagram-PATK67SH.js.map → spliceevent.a53ss.diagram-AKTZGWNM.js.map} +0 -0
  922. /package/dist/{spliceevent.noeventdiagram-4NPNZUEN.js.map → spliceevent.noeventdiagram-YTXWWNTJ.js.map} +0 -0
  923. /package/dist/{ssGSEA-XMW5BLAU.js.map → ssGSEA-THW4WFMI.js.map} +0 -0
  924. /package/dist/{ssGSEA.unit.spec-ASUWKVUT.js.map → ssGSEA.unit.spec-HTRGQI2K.js.map} +0 -0
  925. /package/dist/{summarizeCnvGeneexp-KWRFGX32.js.map → summarizeCnvGeneexp-RFYC3H2Z.js.map} +0 -0
  926. /package/dist/{summarizeGeneexpSurvival-FIPIMEJR.js.map → summarizeGeneexpSurvival-DQBZUTQ6.js.map} +0 -0
  927. /package/dist/{summarizeMutationCnv-IUYRVLZG.js.map → summarizeMutationCnv-7AYEMHAI.js.map} +0 -0
  928. /package/dist/{summarizeMutationDiagnosis-ZFJPCABL.js.map → summarizeMutationDiagnosis-AKFJDSAF.js.map} +0 -0
  929. /package/dist/{summarizeMutationSurvival-HFHYB7DT.js.map → summarizeMutationSurvival-QJHZRQBZ.js.map} +0 -0
  930. /package/dist/{summary-AZUNEZ5I.js.map → summary-A5P7AYK4.js.map} +0 -0
  931. /package/dist/{summary.integration.spec-WLBAJL44.js.map → summary.integration.spec-HQISXGNL.js.map} +0 -0
  932. /package/dist/{summaryInput-NJWVXDXW.js.map → summaryInput-HP675QOQ.js.map} +0 -0
  933. /package/dist/{sunburst-PXGF4WM6.js.map → sunburst-65LSYRXX.js.map} +0 -0
  934. /package/dist/{survival-ZZ4QLZHK.js.map → survival-QNEI6YVK.js.map} +0 -0
  935. /package/dist/{survival-RAU4XCKG.js.map → survival-UI74VXSM.js.map} +0 -0
  936. /package/dist/{svgraph-7UCFRL6A.js.map → svgraph-PSX2NER3.js.map} +0 -0
  937. /package/dist/{svmr-DB3RY2ID.js.map → svmr-QDQ33EFX.js.map} +0 -0
  938. /package/dist/{table-HJRWWXGM.js.map → table-LWAI27UO.js.map} +0 -0
  939. /package/dist/{termCollection-WPON7RG3.js.map → termCollection-3JHR74FG.js.map} +0 -0
  940. /package/dist/{termCollection-AW7M6DTP.js.map → termCollection-CDF5LYUG.js.map} +0 -0
  941. /package/dist/{termCollection.unit.spec-254ESHOE.js.map → termCollection.unit.spec-HOJKYWHF.js.map} +0 -0
  942. /package/dist/{tk-SUAFM5YA.js.map → tk-OEQFO73V.js.map} +0 -0
  943. /package/dist/{tp.ui-ELEQGSK2.js.map → tp.ui-SHNERDGC.js.map} +0 -0
  944. /package/dist/{tvs.dt-DCXY66YY.js.map → tvs.dt-CZDC4TSR.js.map} +0 -0
  945. /package/dist/{tvs.dtcnv.categorical-SFQZMYX7.js.map → tvs.dtcnv.categorical-OPBDHZGB.js.map} +0 -0
  946. /package/dist/{tvs.dtcnv.continuous-AUZNJMC3.js.map → tvs.dtcnv.continuous-AR6P4EP3.js.map} +0 -0
  947. /package/dist/{tvs.dtfusion-5F7MYFHZ.js.map → tvs.dtfusion-2YQ7N6FQ.js.map} +0 -0
  948. /package/dist/{tvs.dtsnvindel-JJSPL4PH.js.map → tvs.dtsnvindel-WHHWAATJ.js.map} +0 -0
  949. /package/dist/{tvs.dtsv-DARTSV5H.js.map → tvs.dtsv-3UMCW65O.js.map} +0 -0
  950. /package/dist/{tvs.numeric-KYAU5OV3.js.map → tvs.numeric-TOEPASWN.js.map} +0 -0
  951. /package/dist/{tvs.samplelst-HHBIO26C.js.map → tvs.samplelst-M7XKXRTZ.js.map} +0 -0
  952. /package/dist/{tvs.termCollection-KCMALH6B.js.map → tvs.termCollection-WT4WZMYR.js.map} +0 -0
  953. /package/dist/{violin-C26FW5WK.js.map → violin-2YGXTBDS.js.map} +0 -0
  954. /package/dist/{violin.integration.spec-QQ43XWHQ.js.map → violin.integration.spec-YWNHVAGS.js.map} +0 -0
  955. /package/dist/{violin.interactivity-H2BHC6M4.js.map → violin.interactivity-J6BE2UQL.js.map} +0 -0
  956. /package/dist/{violin.renderer-GSG2I7AV.js.map → violin.renderer-3GRUWP2U.js.map} +0 -0
  957. /package/dist/{vocabulary-3G525O5V.js.map → vocabulary-2INCVPYJ.js.map} +0 -0
@@ -1,2327 +0,0 @@
1
- import {
2
- vcf2dstk
3
- } from "./chunk-QMXCK4Y5.js";
4
- import {
5
- getsjcharts
6
- } from "./chunk-MKAF2BHB.js";
7
- import {
8
- parseheader,
9
- parseline
10
- } from "./chunk-53JJ7SXN.js";
11
- import {
12
- bulk_badline,
13
- disappear2 as disappear,
14
- filetypeselect,
15
- newpane,
16
- newpane3,
17
- renderSandboxFormDiv,
18
- sayerror,
19
- tkt
20
- } from "./chunk-WY2PGUVX.js";
21
- import {
22
- invalidcoord,
23
- string2pos
24
- } from "./chunk-HJ6L54YS.js";
25
- import {
26
- dofetch,
27
- init_bulk_flag,
28
- parsesample
29
- } from "./chunk-LYVLF6HO.js";
30
- import {
31
- dtcloss,
32
- dtcnv,
33
- dtdel,
34
- dtfusionrna,
35
- dtitd,
36
- dtnloss,
37
- dtsnvindel,
38
- dtsv,
39
- mclasscloss,
40
- mclasscnvgain,
41
- mclasscnvloh,
42
- mclasscnvloss,
43
- mclassdel,
44
- mclassfusionrna,
45
- mclassitd,
46
- mclassnloss,
47
- mclasssv,
48
- mclasstester,
49
- validtkt
50
- } from "./chunk-7KRS7L4U.js";
51
- import {
52
- category10_default
53
- } from "./chunk-TJYRBEBK.js";
54
- import {
55
- ordinal
56
- } from "./chunk-SOTB4FRE.js";
57
- import {
58
- select_default
59
- } from "./chunk-I6Y4O3RR.js";
60
-
61
- // ../shared/utils/dist/src/bulk.snv.js
62
- function parseheader2(line, flag2) {
63
- const header = line.toLowerCase().split(" ");
64
- if (header.length <= 1) return "invalid file header for snv/indel";
65
- const htry = (...args) => {
66
- for (const s of args) {
67
- const i2 = header.indexOf(s);
68
- if (i2 != -1) return i2;
69
- }
70
- return -1;
71
- };
72
- let i = htry("annovar_gene", "annovar_sj_gene", "gene", "genename", "gene_symbol", "hugo_symbol");
73
- if (i == -1) return "gene missing from header";
74
- header[i] = "gene";
75
- i = htry("annovar_aachange", "amino_acid_change", "annovar_sj_aachange", "aachange", "protein_change", "variant");
76
- if (i == -1) return "amino_acid_change missing from header";
77
- header[i] = "mname";
78
- i = htry("annovar_class", "class", "mclass", "variant_class", "variant_classification", "annovar_sj_class");
79
- if (i == -1) return "variant_class missing from header";
80
- header[i] = "class";
81
- i = htry("chromosome", "chr");
82
- if (i == -1) return "chromosome missing from header";
83
- header[i] = "chr";
84
- i = htry("wu_hg19_pos", "start", "start_position", "chr_position", "position");
85
- if (i == -1) return "start missing from header";
86
- header[i] = "pos";
87
- i = htry(
88
- "annovar_isoform",
89
- "mrna_accession",
90
- "mrna accession",
91
- "refseq_mrna_id",
92
- "annovar_sj_filter_isoform",
93
- "refseq",
94
- "isoform"
95
- );
96
- if (i == -1) return "isoform missing from header";
97
- header[i] = "isoform";
98
- i = htry("sample", "sample_name", "tumor_sample_barcode");
99
- if (i != -1) header[i] = "sample";
100
- i = htry("patient", "donor", "target_case_id");
101
- if (i != -1) header[i] = "patient";
102
- i = htry("quantitative_measurements");
103
- if (i != -1) header[i] = "qmset";
104
- i = htry("mutant_reads_in_case", "mutant_in_tumor", "tumor_readcount_alt");
105
- if (i != -1) header[i] = "maf_tumor_v1";
106
- i = htry("total_reads_in_case", "total_in_tumor", "tumor_readcount_total");
107
- if (i != -1) header[i] = "maf_tumor_v2";
108
- i = htry("mutant_reads_in_control", "mutant_in_normal", "normal_readcount_alt");
109
- if (i != -1) header[i] = "maf_normal_v1";
110
- i = htry("total_reads_in_control", "total_in_normal", "normal_readcount_total");
111
- if (i != -1) header[i] = "maf_normal_v2";
112
- i = htry("cdna_change");
113
- if (i != -1) header[i] = "cdna_change";
114
- i = htry("sampletype", "sample type", "sample_type");
115
- if (i != -1) header[i] = "sampletype";
116
- i = htry("origin");
117
- if (i != -1) header[i] = "origin";
118
- i = htry("cancer", "disease", "diagnosis");
119
- if (i != -1) header[i] = "disease";
120
- flag2.snv.header = header;
121
- flag2.snv.loaded = true;
122
- return false;
123
- }
124
- function parseline2(linei, line, flag2) {
125
- if (line == "" || line[0] == "#") return;
126
- const lst = line.split(" ");
127
- const m = {};
128
- for (let j = 0; j < flag2.snv.header.length; j++) {
129
- if (lst[j] == void 0) break;
130
- m[flag2.snv.header[j]] = lst[j];
131
- }
132
- if (!m.gene) {
133
- flag2.snv.badlines.push([linei, "missing gene", lst]);
134
- return;
135
- }
136
- if (m.gene.toUpperCase() == "UNKNOWN") {
137
- flag2.snv.badlines.push([linei, "gene name is UNKNOWN", lst]);
138
- return;
139
- }
140
- if (!m.isoform) {
141
- flag2.snv.badlines.push([linei, "missing isoform", lst]);
142
- return;
143
- }
144
- if (!m.mname) {
145
- m.mname = m.cdna_change;
146
- if (!m.mname) {
147
- flag2.snv.badlines.push([linei, "missing amino acid change", lst]);
148
- return;
149
- }
150
- } else {
151
- if (m.mname.indexOf("p.") == 0) {
152
- m.mname = m.mname.replace(/^p\./, "");
153
- }
154
- }
155
- if (!m.class) {
156
- flag2.snv.badlines.push([linei, "missing mutation class", lst]);
157
- return;
158
- }
159
- let _c = flag2.mclasslabel2key[m.class.toUpperCase()];
160
- if (_c) {
161
- m.class = _c;
162
- } else {
163
- _c = mclasstester(m.class);
164
- if (_c) {
165
- m.class = _c;
166
- } else {
167
- flag2.snv.badlines.push([linei, "wrong mutation class: " + m.class, lst]);
168
- return;
169
- }
170
- }
171
- if (parsesample(m, flag2, linei, lst)) {
172
- return;
173
- }
174
- if (!m.chr) {
175
- flag2.snv.badlines.push([linei, "missing chromosome", lst]);
176
- return;
177
- }
178
- if (m.chr.toLowerCase().indexOf("chr") != 0) {
179
- m.chr = "chr" + m.chr;
180
- }
181
- if (!m.pos) {
182
- flag2.snv.badlines.push([linei, "missing chromosome position", lst]);
183
- return;
184
- }
185
- const v = Number.parseInt(m.pos);
186
- if (Number.isNaN(v)) {
187
- flag2.snv.badlines.push([linei, "invalid chromosome position", lst]);
188
- return;
189
- }
190
- m.pos = v - 1;
191
- if (m.maf_tumor_v2 != void 0 && m.maf_tumor_v1 != void 0) {
192
- if (m.maf_tumor_v2 == "") {
193
- } else {
194
- const v1 = Number.parseInt(m.maf_tumor_v1), v2 = Number.parseInt(m.maf_tumor_v2);
195
- if (Number.isNaN(v1) || Number.isNaN(v2)) {
196
- flag2.snv.badlines.push([linei, "invalid maf_tumor mutant and/or total read count", lst]);
197
- return;
198
- }
199
- m.maf_tumor = { f: v1 / v2, v1, v2 };
200
- }
201
- delete m.maf_tumor_v1;
202
- delete m.maf_tumor_v2;
203
- }
204
- if (m.maf_normal_v1 != void 0 && m.maf_normal_v2 != void 0) {
205
- if (m.maf_normal_v2 == "") {
206
- } else {
207
- const v1 = Number.parseInt(m.maf_normal_v1), v2 = Number.parseInt(m.maf_normal_v2);
208
- if (Number.isNaN(v1) || Number.isNaN(v2)) {
209
- flag2.snv.badlines.push([linei, "invalid maf_normal mutant and/or total read count", lst]);
210
- return;
211
- }
212
- m.maf_normal = { f: v1 / v2, v1, v2 };
213
- }
214
- delete m.maf_normal_v1;
215
- delete m.maf_normal_v2;
216
- }
217
- flag2.good++;
218
- if (m.class == "M") {
219
- flag2.snv.missense++;
220
- } else if (m.class == "S") {
221
- flag2.snv.silent++;
222
- }
223
- const n = flag2.geneToUpper ? m.gene.toUpperCase() : m.gene;
224
- if (!flag2.data[n]) {
225
- flag2.data[n] = [];
226
- }
227
- m.dt = dtsnvindel;
228
- flag2.data[n].push(m);
229
- }
230
-
231
- // ../shared/utils/dist/src/bulk.svjson.js
232
- function parseheader3(line) {
233
- const header = line.toLowerCase().split(" ");
234
- if (header.length <= 1) return "invalid file header for svjson";
235
- const htry = (...lst) => {
236
- for (const a of lst) {
237
- const j = header.indexOf(a);
238
- if (j != -1) return j;
239
- }
240
- return -1;
241
- };
242
- let i = htry("sample");
243
- if (i != -1) header[i] = "sample";
244
- i = htry("sampletype");
245
- if (i != -1) header[i] = "sampletype";
246
- i = htry("patient");
247
- if (i != -1) header[i] = "patient";
248
- i = htry("json", "jsontext");
249
- if (i == -1) return ["json missing from header"];
250
- header[i] = "jsontext";
251
- return [null, header];
252
- }
253
- function parseline3(i, line, flag2, header) {
254
- if (line == "" || line[0] == "#") return;
255
- const lst = line.split(" ");
256
- const m = {};
257
- const badlines = flag2.svjson.badlines;
258
- for (let j = 0; j < header.length; j++) {
259
- m[header[j]] = lst[j];
260
- }
261
- if (!m.jsontext) {
262
- badlines.push([i, "missing jsontext", lst]);
263
- return;
264
- }
265
- if (parsesample(m, flag2, i, lst)) {
266
- return;
267
- }
268
- let json;
269
- try {
270
- json = JSON.parse(m.jsontext);
271
- } catch (_) {
272
- badlines.push([i, "invalid JSON text", lst]);
273
- return;
274
- }
275
- if (Array.isArray(json)) {
276
- for (const pair of json) {
277
- if (pair.a && pair.a.name && pair.a.isoform) {
278
- flag2.good++;
279
- const m2 = {
280
- dt: dtfusionrna,
281
- class: mclassfusionrna,
282
- isoform: pair.a.isoform,
283
- mname: pair.b.name
284
- };
285
- for (const k in m) {
286
- if (k != "jsontext") m2[k] = m[k];
287
- }
288
- m2.pairlst = duplicate(json);
289
- const n = pair.a.name.toUpperCase();
290
- if (!flag2.data[n]) {
291
- flag2.data[n] = [];
292
- }
293
- flag2.data[n].push(m2);
294
- }
295
- if (pair.b && pair.b.name && pair.b.isoform) {
296
- flag2.good++;
297
- const m2 = {
298
- dt: dtfusionrna,
299
- class: mclassfusionrna,
300
- isoform: pair.b.isoform,
301
- mname: pair.a.name
302
- };
303
- for (const k in m) {
304
- if (k != "jsontext") m2[k] = m[k];
305
- }
306
- m2.pairlst = duplicate(json);
307
- const n = pair.b.name.toUpperCase();
308
- if (!flag2.data[n]) {
309
- flag2.data[n] = [];
310
- }
311
- flag2.data[n].push(m2);
312
- }
313
- }
314
- } else {
315
- json.dt = json.typecode;
316
- delete json.typecode;
317
- switch (json.dt) {
318
- case dtitd:
319
- json.class = mclassitd;
320
- json.mname = "ITD";
321
- break;
322
- case dtnloss:
323
- json.class = mclassnloss;
324
- json.mname = "N-loss";
325
- break;
326
- case dtcloss:
327
- json.class = mclasscloss;
328
- json.mname = "C-loss";
329
- break;
330
- case dtdel:
331
- json.class = mclassdel;
332
- json.mname = "Del";
333
- break;
334
- case dtsv:
335
- json.class = mclasssv;
336
- json.mname = "SV";
337
- break;
338
- default:
339
- badlines.push([i, "unknown datatype", lst]);
340
- return;
341
- }
342
- if (!json.gene) {
343
- badlines.push([i, "json.gene missing", lst]);
344
- return;
345
- }
346
- flag2.good++;
347
- for (const k in m) {
348
- if (k != "jsontext") {
349
- json[k] = m[k];
350
- }
351
- }
352
- const n = flag2.geneToUpper ? json.gene.toUpperCase() : json.gene.toUpperCase();
353
- if (!flag2.data[n]) {
354
- flag2.data[n] = [];
355
- }
356
- flag2.data[n].push(json);
357
- }
358
- }
359
- function duplicate(lst) {
360
- const d = [];
361
- for (const pair of lst) {
362
- const p = { a: {}, b: {} };
363
- for (const k in pair) {
364
- if (k != "a" && k != "b") p[k] = pair[k];
365
- }
366
- for (const k in pair.a) {
367
- p.a[k] = pair.a[k];
368
- }
369
- for (const k in pair.b) {
370
- p.b[k] = pair.b[k];
371
- }
372
- d.push(p);
373
- }
374
- return d;
375
- }
376
-
377
- // ../shared/utils/dist/src/bulk.cnv.js
378
- function parseheader4(line, flag2) {
379
- const header = line.toLowerCase().split(" ");
380
- if (header.length <= 1) return "invalid file header for CNV";
381
- const htry = (...lst) => {
382
- for (const i2 of lst) {
383
- const j = header.indexOf(i2);
384
- if (j != -1) return j;
385
- }
386
- return -1;
387
- };
388
- let i = htry("gene");
389
- if (i == -1) return "gene missing from header";
390
- header[i] = "gene";
391
- i = htry("cnv");
392
- if (i == -1) return "CNV missing from header";
393
- header[i] = "cnv";
394
- i = htry("sample", "sample_name", "tumor_sample_barcode");
395
- if (i != -1) header[i] = "sample";
396
- i = htry("patient", "donor", "target_case_id");
397
- if (i != -1) header[i] = "patient";
398
- i = htry("disease");
399
- if (i != -1) header[i] = "disease";
400
- i = htry("origin");
401
- if (i != -1) header[i] = "origin";
402
- i = htry("sampletype", "sample type", "sample_type");
403
- if (i != -1) header[i] = "sampletype";
404
- flag2.cnv.header = header;
405
- flag2.cnv.loaded = true;
406
- return false;
407
- }
408
- function parseline4(i, line, flag2) {
409
- if (line == "" || line[0] == "#") return;
410
- const lst = line.split(" ");
411
- const m = {};
412
- for (let j = 0; j < flag2.cnv.header.length; j++) {
413
- m[flag2.cnv.header[j]] = lst[j];
414
- }
415
- if (!m.gene) {
416
- flag2.cnv.badlines.push([i, "missing gene", lst]);
417
- return;
418
- }
419
- if (!m.cnv) {
420
- flag2.cnv.badlines.push([i, "missing cnv value", lst]);
421
- return;
422
- }
423
- const value = m.cnv.toLowerCase();
424
- switch (value) {
425
- case "amplification":
426
- case "gain":
427
- m.class = mclasscnvgain;
428
- break;
429
- case "deletion":
430
- case "loss":
431
- m.class = mclasscnvloss;
432
- break;
433
- case "loh":
434
- m.class = mclasscnvloh;
435
- break;
436
- default:
437
- flag2.cnv.badlines.push([i, "invalid cnv value: " + m.cnv, lst]);
438
- m.class = null;
439
- }
440
- if (!m.class) {
441
- return;
442
- }
443
- if (parsesample(m, flag2, i, lst)) {
444
- return;
445
- }
446
- m.dt = dtcnv;
447
- flag2.good++;
448
- const n = flag2.geneToUpper ? m.gene.toUpperCase() : m.gene;
449
- if (!(n in flag2.data)) {
450
- flag2.data[n] = [];
451
- }
452
- flag2.data[n].push(m);
453
- }
454
-
455
- // ../shared/utils/dist/src/bulk.itd.js
456
- function parseheader5(line, flag2) {
457
- const header = line.toLowerCase().split(" ");
458
- if (header.length <= 1) return "invalid header line for ITD";
459
- const htry = (...lst) => {
460
- for (const i2 of lst) {
461
- const j = header.indexOf(i2);
462
- if (j != -1) return j;
463
- }
464
- return -1;
465
- };
466
- let i = htry("gene");
467
- if (i == -1) return "gene missing from header";
468
- header[i] = "gene";
469
- i = htry(
470
- "annovar_isoform",
471
- "mrna_accession",
472
- "mrna accession",
473
- "refseq_mrna_id",
474
- "annovar_sj_filter_isoform",
475
- "refseq",
476
- "isoform"
477
- );
478
- if (i == -1) return "isoform missing from header";
479
- header[i] = "isoform";
480
- i = htry("rnaposition");
481
- if (i != -1) {
482
- header[i] = "rnaposition";
483
- i = htry("rnaduplength");
484
- if (i == -1) return "rnaduplength is required when rnaposition is present";
485
- header[i] = "rnaduplength";
486
- }
487
- i = htry("chromosome", "chr");
488
- if (i != -1) {
489
- header[i] = "chr";
490
- i = htry("chr_start");
491
- if (i == -1) return "chr_start is required when chr is present";
492
- header[i] = "chrpos1";
493
- i = htry("chr_stop");
494
- if (i == -1) return "chr_stop is required when chr is present";
495
- header[i] = "chrpos2";
496
- }
497
- i = htry("sample", "sample_name", "tumor_sample_barcode");
498
- if (i != -1) header[i] = "sample";
499
- i = htry("patient", "donor", "target_case_id");
500
- if (i != -1) header[i] = "patient";
501
- i = htry("disease");
502
- if (i != -1) header[i] = "disease";
503
- i = htry("origin");
504
- if (i != -1) header[i] = "origin";
505
- i = htry("sampletype", "sample type", "sample_type");
506
- if (i != -1) header[i] = "sampletype";
507
- flag2.itd.header = header;
508
- flag2.itd.loaded = true;
509
- return false;
510
- }
511
- function parseline5(i, line, flag2) {
512
- if (line == "" || line[0] == "#") return;
513
- const lst = line.split(" ");
514
- const m = {};
515
- for (let j = 0; j < flag2.itd.header.length; j++) {
516
- if (lst[j] == void 0) break;
517
- m[flag2.itd.header[j]] = lst[j];
518
- }
519
- if (!m.gene) {
520
- flag2.itd.badlines.push([i, "missing gene", lst]);
521
- return;
522
- }
523
- if (m.rnaposition) {
524
- let v = Number.parseInt(m.rnaposition);
525
- if (Number.isNaN(v) || v < 0) {
526
- flag2.itd.badlines.push([i, "invalid rnaPosition value", lst]);
527
- return;
528
- }
529
- m.rnaposition = v;
530
- if (!m.rnaduplength) {
531
- flag2.itd.badlines.push([i, "missing rnaDuplength value", lst]);
532
- return;
533
- }
534
- v = Number.parseInt(m.rnaduplength);
535
- if (Number.isNaN(v) || v < 0) {
536
- flag2.itd.badlines.push([i, "invalid rnaDuplength value", lst]);
537
- return;
538
- }
539
- m.rnaduplength = v;
540
- }
541
- if (m.chr) {
542
- let v = Number.parseInt(m.chrpos1);
543
- if (Number.isNaN(v) || v < 0) {
544
- flag2.itd.badlines.push([i, "invalid chr_start value", lst]);
545
- return;
546
- }
547
- m.chrpos1 = v;
548
- v = Number.parseInt(m.chrpos2);
549
- if (Number.isNaN(v) || v < 0) {
550
- flag2.itd.badlines.push([i, "invalid chr_stop value", lst]);
551
- return;
552
- }
553
- m.chrpos2 = v;
554
- }
555
- if (parsesample(m, flag2, i, lst)) {
556
- return;
557
- }
558
- m.dt = dtitd;
559
- m.class = mclassitd;
560
- m.mname = "ITD";
561
- flag2.good++;
562
- const n = flag2.geneToUpper ? m.gene.toUpperCase() : m.gene;
563
- if (!(n in flag2.data)) {
564
- flag2.data[n] = [];
565
- }
566
- flag2.data[n].push(m);
567
- }
568
-
569
- // ../shared/utils/dist/src/bulk.del.js
570
- function parseheader6(line, flag2) {
571
- const header = line.toLowerCase().split(" ");
572
- if (header.length <= 1) return "invalid header line for intragenic deletion";
573
- const htry = (...lst) => {
574
- for (const i2 of lst) {
575
- const j = header.indexOf(i2);
576
- if (j != -1) return j;
577
- }
578
- return -1;
579
- };
580
- let i = htry("gene");
581
- if (i == -1) return "gene missing from header";
582
- header[i] = "gene";
583
- i = htry(
584
- "annovar_isoform",
585
- "mrna_accession",
586
- "mrna accession",
587
- "refseq_mrna_id",
588
- "annovar_sj_filter_isoform",
589
- "refseq",
590
- "isoform"
591
- );
592
- if (i == -1) return "isoform missing from header";
593
- header[i] = "isoform";
594
- i = htry("rnaposition");
595
- if (i != -1) {
596
- header[i] = "rnaposition";
597
- i = htry("rnadellength");
598
- if (i == -1) return "rnadellength is required when rnaPosition is used";
599
- header[i] = "rnadellength";
600
- }
601
- i = htry("chromosome", "chr");
602
- if (i != -1) {
603
- header[i] = "chr";
604
- i = htry("chr_start");
605
- if (i == -1) return "chr_start is required when chr is used";
606
- header[i] = "chrpos1";
607
- i = htry("chr_stop");
608
- if (i == -1) return "chr_stop is required when chr is used";
609
- header[i] = "chrpos2";
610
- }
611
- i = htry("sample", "sample_name", "tumor_sample_barcode");
612
- if (i != -1) header[i] = "sample";
613
- i = htry("patient", "donor", "target_case_id");
614
- if (i != -1) header[i] = "patient";
615
- i = htry("disease");
616
- if (i != -1) header[i] = "disease";
617
- i = htry("origin");
618
- if (i != -1) header[i] = "origin";
619
- i = htry("sampletype", "sample type", "sample_type");
620
- if (i != -1) header[i] = "sampletype";
621
- flag2.del.header = header;
622
- flag2.del.loaded = true;
623
- return false;
624
- }
625
- function parseline6(i, line, flag2) {
626
- if (line == "" || line[0] == "#") return;
627
- const lst = line.split(" ");
628
- const m = {};
629
- for (let j = 0; j < flag2.del.header.length; j++) {
630
- if (lst[j] == void 0) break;
631
- m[flag2.del.header[j]] = lst[j];
632
- }
633
- if (!m.gene) {
634
- flag2.del.badlines.push([i, "missing gene", lst]);
635
- return;
636
- }
637
- if (m.rnaposition) {
638
- let v = Number.parseInt(m.rnaposition);
639
- if (Number.isNaN(v) || v < 0) {
640
- flag2.del.badlines.push([i, "invalid rnaPosition value", lst]);
641
- return;
642
- }
643
- m.rnaposition = v;
644
- if (!m.rnadellength) {
645
- flag2.del.badlines.push([i, "missing rnaDellength value", lst]);
646
- return;
647
- }
648
- v = Number.parseInt(m.rnadellength);
649
- if (Number.isNaN(v) || v < 0) {
650
- flag2.del.badlines.push([i, "invalid rnaDellength value", lst]);
651
- return;
652
- }
653
- m.rnadellength = v;
654
- }
655
- if (m.chr) {
656
- let v = Number.parseInt(m.chrpos1);
657
- if (Number.isNaN(v) || v < 0) {
658
- flag2.del.badlines.push([i, "invalid chr_start value", lst]);
659
- return;
660
- }
661
- m.chrpos1 = v;
662
- v = Number.parseInt(m.chrpos2);
663
- if (Number.isNaN(v) || v < 0) {
664
- flag2.del.badlines.push([i, "invalid chr_stop value", lst]);
665
- return;
666
- }
667
- m.chrpos2 = v;
668
- }
669
- if (parsesample(m, flag2, i, lst)) {
670
- return;
671
- }
672
- m.dt = dtdel;
673
- m.class = mclassdel;
674
- m.mname = "DEL";
675
- flag2.good++;
676
- const n = flag2.geneToUpper ? m.gene.toUpperCase() : m.gene;
677
- if (!(n in flag2.data)) {
678
- flag2.data[n] = [];
679
- }
680
- flag2.data[n].push(m);
681
- }
682
-
683
- // ../shared/utils/dist/src/bulk.trunc.js
684
- function parseheader7(line, flag2) {
685
- const header = line.toLowerCase().split(" ");
686
- if (header.length <= 1) return "invalid header line for truncation";
687
- const htry = (...lst) => {
688
- for (const e of lst) {
689
- const j = header.indexOf(e);
690
- if (j != -1) return j;
691
- }
692
- return -1;
693
- };
694
- let i = htry("gene");
695
- if (i == -1) return "gene missing from header";
696
- header[i] = "gene";
697
- i = htry(
698
- "annovar_isoform",
699
- "mrna_accession",
700
- "mrna accession",
701
- "refseq_mrna_id",
702
- "annovar_sj_filter_isoform",
703
- "refseq",
704
- "isoform"
705
- );
706
- if (i == -1) return "isoform missing from header";
707
- header[i] = "isoform";
708
- let hasrnapos = false;
709
- i = htry("rnaposition");
710
- if (i != -1) {
711
- header[i] = "rnaposition";
712
- hasrnapos = true;
713
- }
714
- i = htry("losstype");
715
- if (i == -1) return "lossType missing from header";
716
- header[i] = "losstype";
717
- let hasgenomic = false;
718
- i = htry("chromosome", "chr");
719
- if (i != -1) {
720
- header[i] = "chr";
721
- i = htry("start", "start_position", "wu_hg19_pos", "chr_position", "position");
722
- if (i == -1) {
723
- return "genomic position missing from header";
724
- }
725
- header[i] = "pos";
726
- hasgenomic = true;
727
- }
728
- if (!hasrnapos && !hasgenomic) {
729
- return "neither rnaposition nor genomic position is given";
730
- }
731
- i = htry("sample", "sample_name", "tumor_sample_barcode");
732
- if (i != -1) header[i] = "sample";
733
- i = htry("patient", "donor", "target_case_id");
734
- if (i != -1) header[i] = "patient";
735
- i = htry("disease");
736
- if (i != -1) header[i] = "disease";
737
- i = htry("origin");
738
- if (i != -1) header[i] = "origin";
739
- i = htry("sampletype", "sample type", "sample_type");
740
- if (i != -1) header[i] = "sampletype";
741
- flag2.truncation.header = header;
742
- flag2.truncation.loaded = true;
743
- return false;
744
- }
745
- function parseline7(i, line, flag2) {
746
- if (line == "" || line[0] == "#") return;
747
- const lst = line.split(" ");
748
- const m = {};
749
- for (let j = 0; j < flag2.truncation.header.length; j++) {
750
- m[flag2.truncation.header[j]] = lst[j];
751
- }
752
- if (!m.gene) {
753
- flag2.truncation.badlines.push([i, "missing gene", lst]);
754
- return;
755
- }
756
- if (m.rnaposition) {
757
- const v = Number.parseInt(m.rnaposition);
758
- if (Number.isNaN(v) || v < 0) {
759
- flag2.truncation.badlines.push([i, "invalid rnaPosition value", lst]);
760
- return;
761
- }
762
- m.rnaposition = v;
763
- }
764
- if (m.pos) {
765
- const v = Number.parseInt(m.pos);
766
- if (Number.isNaN(v) || v < 0) {
767
- flag2.truncation.badlines.push([i, "invalid genomic position", lst]);
768
- return;
769
- }
770
- m.pos = v;
771
- }
772
- if (!m.losstype) {
773
- flag2.truncation.badlines.push([i, "missing lossType value", lst]);
774
- return;
775
- }
776
- if (m.losstype != "n" && m.losstype != "c") {
777
- flag2.truncation.badlines.push([i, 'lossType value not "n" or "c"', lst]);
778
- return;
779
- }
780
- if (parsesample(m, flag2, i, lst)) {
781
- return;
782
- }
783
- if (m.losstype == "n") {
784
- m.dt = dtnloss;
785
- m.class = mclassnloss;
786
- m.mname = "N-loss";
787
- } else {
788
- m.dt = dtcloss;
789
- m.class = mclasscloss;
790
- m.mname = "C-loss";
791
- }
792
- flag2.good++;
793
- const n = flag2.geneToUpper ? m.gene.toUpperCase() : m.gene;
794
- if (!(n in flag2.data)) {
795
- flag2.data[n] = [];
796
- }
797
- flag2.data[n].push(m);
798
- }
799
-
800
- // src/bulk.project.js
801
- var schemaNames = ["heatmapJSON", "piebarJSON", "survivalJSON", "discoJSON", "riverJSON"];
802
- var typeIndex = {
803
- snvindel: 0,
804
- si: 0,
805
- sv: 1,
806
- fusion: 2,
807
- itd: 3,
808
- deletion: 4,
809
- truncation: 5,
810
- cnv: 6
811
- };
812
- var urlProjectLoaded = false;
813
- var ProjectHandler = class {
814
- /*
815
- Create a handler for multiple uploaded or fetched
816
- files in a project
817
-
818
- bt = {
819
- flag: closured flag inside bulkui.bulkui,
820
- bulkin: bulkui.bulkin,
821
- content2flag: bulkui.content2flag,
822
- flag2tp: closured flat2tp,
823
- filediv: (optional) d3-wrapped container for file-input
824
- }
825
- */
826
- constructor(bt) {
827
- this.bt = bt;
828
- this.err = this.errHandler();
829
- if (!urlProjectLoaded) {
830
- const params = getParams();
831
- if (params.project) {
832
- this.getData(params.project);
833
- urlProjectLoaded = true;
834
- }
835
- }
836
- if (bt.filediv) {
837
- this.projectByInput(bt.filediv);
838
- }
839
- }
840
- /*
841
- Process data files sequentially for rendering
842
- into a TP div
843
-
844
- data = {
845
- schemas: object {
846
- heatmapJSON (optional),
847
- piebarJSON (optional),
848
- survivalJSON (optional)
849
- },
850
- files: [] array of {
851
- name: string
852
- typeL one of the typeIndex values
853
- content: string
854
- }
855
- }
856
- */
857
- processData(data) {
858
- const file = data.files.pop();
859
- const i = data.expectedFileNames.indexOf(file.name);
860
- if (i == -1) {
861
- if (data.files.length)
862
- setTimeout(() => {
863
- this.processData(data);
864
- }, 1);
865
- return;
866
- }
867
- data.expectedFileNames.splice(i, 1);
868
- this.cohort = {
869
- name: "project",
870
- genome: this.bt.genomes[this.bt.gselect.options[this.bt.gselect.selectedIndex].innerHTML]
871
- };
872
- if (!this.flag) {
873
- this.flag = this.bt.init_bulk_flag(this.cohort.genome);
874
- }
875
- const error = this.bt.content2flag(file.content, file.type, this.flag);
876
- if (error) {
877
- this.err(error);
878
- this.processData(data);
879
- } else if (!data.files.length) {
880
- if (data.expectedFileNames.length) {
881
- this.err('These referenced files were not found: "' + data.expectedFileNames.join('", "') + '".');
882
- }
883
- this.bt.flag2tp(this.flag, { name: "project" }, Object.assign(this.cohort, data.schema), this.ds);
884
- return;
885
- } else {
886
- if (!this.ds) {
887
- for (const k in this.cohort.dsset) {
888
- this.ds = this.cohort.dsset[k];
889
- break;
890
- }
891
- }
892
- const error1 = this.bt.bulkin(
893
- {
894
- flag: this.flag,
895
- cohort: this.cohort,
896
- flag2thisds: this.ds,
897
- filename: "project"
898
- },
899
- () => {
900
- this.processData(data);
901
- }
902
- );
903
- if (error1) {
904
- this.err("Error with " + file.name + ": " + error1);
905
- return;
906
- }
907
- if (this.flag.good === 0) {
908
- this.err(file.name + ": no data loaded");
909
- return;
910
- }
911
- }
912
- }
913
- getData(project) {
914
- const [projectname, _refname] = project.split("/");
915
- const refname = _refname && _refname.trim() ? _refname.trim() : "ref.txt";
916
- this.gettext("/data/projects/" + projectname + "/" + refname, (text) => {
917
- const fileNameToType = {};
918
- const nameToSchemaType = {};
919
- const data = { schema: {}, files: [], expectedFileNames: [] };
920
- let schemaFileName = "";
921
- let numProcessedFiles = 0;
922
- let numFiles = 0;
923
- text.trim().split("\n").forEach((line) => {
924
- const [type, filename] = line.trim().split(" ");
925
- if (schemaNames.includes(type)) {
926
- nameToSchemaType[filename] = type;
927
- numFiles += 1;
928
- } else if (!typeIndex[type] && typeIndex[type] !== 0) {
929
- this.err("Unrecognized type " + type + " for file " + filename + " in reference.txt.");
930
- } else {
931
- fileNameToType[filename] = typeIndex[type];
932
- numFiles += 1;
933
- }
934
- });
935
- data.expectedFileNames = Object.keys(fileNameToType);
936
- const tracker = this.getTracker(numFiles, () => this.processData(data));
937
- Object.keys(nameToSchemaType).forEach((filename) => {
938
- this.getjson("/data/projects/" + projectname + "/" + filename, (json) => {
939
- data.schema[nameToSchemaType[filename]] = json;
940
- tracker();
941
- });
942
- });
943
- Object.keys(fileNameToType).forEach((filename) => {
944
- this.gettext("/data/projects/" + projectname + "/" + filename, (text2) => {
945
- data.files.push({
946
- name: filename,
947
- type: fileNameToType[filename],
948
- content: text2
949
- });
950
- tracker();
951
- });
952
- });
953
- });
954
- }
955
- gettext(url, callback) {
956
- fetch(url).then((response) => {
957
- if (response.ok) return response.text();
958
- else this.err("File request error: " + url);
959
- }).then(callback).catch((error) => this.err("File request error: " + url + " " + error));
960
- }
961
- getjson(url, callback) {
962
- fetch(url).then((response) => {
963
- if (response.ok) return response.json();
964
- else this.err("Network error for " + url);
965
- }).then(callback).catch((error) => this.err("file request error: " + url + " " + error));
966
- }
967
- getTracker(numFiles, callback) {
968
- let numProcessedFiles = 0;
969
- return function tracker() {
970
- numProcessedFiles += 1;
971
- if (numProcessedFiles == numFiles) {
972
- callback();
973
- }
974
- };
975
- }
976
- projectByInput(filediv) {
977
- this.tp = null;
978
- const advancedDiv = filediv.append("div");
979
- advancedDiv.append("span").html("Project: reference &nbsp;");
980
- this.refNameInput = advancedDiv.append("input").attr("type", "text").property("value", "ref.txt").style("margin-right", "20px").style("padding-left", "7px");
981
- const buttlabel = advancedDiv.append("label").attr("for", "sja-pp-bulk-ui-project-btn").attr("class", "sja_btn").style("padding", "3px 5px").html("Choose folder");
982
- const butt = advancedDiv.append("input").attr("type", "file").attr("id", "sja-pp-bulk-ui-project-btn").property("multiple", true).property("webkitdirectory", true).property("directory", true).on("change", (event) => this.readFiles(event));
983
- advancedDiv.append("div").style("margin", "10px 10px 10px 0").html(`<a href="https://docs.google.com/document/d/1wlfGzyhxFYtWu9Fyf3FK7pgvS3rVb9_vrfYUBUOUrw4/edit?usp=sharing" target="new">Project user guide</a> |
984
- <a href='https://proteinpaint.stjude.org/ppdemo/projects/target-tall-project/ref.txt' target=_blank>Example project reference file</a>`);
985
- advancedDiv.append("div").style("margin", "20px").style("width", "100%").html("-- OR --");
986
- }
987
- /* to be used as a file input (FileList) handler */
988
- readFiles(event) {
989
- const self = this;
990
- const refFileName = self.refNameInput.property("value");
991
- const files = Array.from(event.target.files);
992
- const ref = files.filter((f) => f.name == refFileName)[0];
993
- if (!ref) {
994
- self.err("Missing reference file='" + refFileName + "'.");
995
- return;
996
- }
997
- const fileNameToType = {};
998
- const nameToSchemaType = {};
999
- const data = { schema: {}, files: [], expectedFileNames: [] };
1000
- const reader = new FileReader();
1001
- let schemaFileName = "";
1002
- let numProcessedFiles = 0;
1003
- reader.onload = (event2) => {
1004
- event2.target.result.trim().split("\n").forEach((line) => {
1005
- const [type, filename] = line.trim().split(" ");
1006
- if (schemaNames.includes(type)) {
1007
- nameToSchemaType[filename] = type;
1008
- } else if (!typeIndex[type] && typeIndex[type] !== 0) {
1009
- self.err("Unrecognized type " + type + " for file " + filename + " in reference.txt.");
1010
- } else {
1011
- fileNameToType[filename] = typeIndex[type];
1012
- }
1013
- });
1014
- data.expectedFileNames = Object.keys(fileNameToType);
1015
- const schemaFiles = files.filter((file) => file.name in nameToSchemaType);
1016
- let numProcessedSchemas = 0;
1017
- if (!schemaFiles.length) {
1018
- files.forEach(processFile);
1019
- } else {
1020
- schemaFiles.forEach((file) => {
1021
- const reader2 = new FileReader();
1022
- reader2.onload = (event3) => {
1023
- const schema = JSON.parse(event3.target.result);
1024
- numProcessedSchemas += 1;
1025
- if (!schema) {
1026
- self.err('Unable to parse schema file="' + file.name + '".');
1027
- } else {
1028
- data.schema[nameToSchemaType[file.name]] = schema;
1029
- }
1030
- if (numProcessedSchemas == schemaFiles.length) {
1031
- files.forEach(processFile);
1032
- }
1033
- };
1034
- reader2.onerror = () => {
1035
- self.err("Error reading schema.txt.");
1036
- };
1037
- reader2.readAsText(file, "utf8");
1038
- });
1039
- }
1040
- function processFile(file) {
1041
- if (!data.expectedFileNames.includes(file.name)) {
1042
- numProcessedFiles += 1;
1043
- return;
1044
- }
1045
- if (!file) {
1046
- self.err("Error reading file.");
1047
- numProcessedFiles += 1;
1048
- return;
1049
- }
1050
- if (file.size == 0) {
1051
- self.err("Wrong file: " + file.name);
1052
- numProcessedFiles += 1;
1053
- return;
1054
- }
1055
- if (!fileNameToType[file.name] && fileNameToType[file.name] !== 0 && file.name != schemaFileName) {
1056
- self.err("Missing or invalid type assigned to file " + file.name + ".");
1057
- numProcessedFiles += 1;
1058
- return;
1059
- }
1060
- const reader2 = new FileReader();
1061
- reader2.onload = (event3) => {
1062
- numProcessedFiles += 1;
1063
- data.files.push({
1064
- name: file.name,
1065
- type: fileNameToType[file.name],
1066
- content: event3.target.result
1067
- });
1068
- if (numProcessedFiles == files.length) {
1069
- self.processData(data);
1070
- }
1071
- };
1072
- reader2.onerror = () => {
1073
- numProcessedFiles += 1;
1074
- self.err("Error reading file " + file.name);
1075
- if (numProcessedFiles == files.length) {
1076
- self.processData(data);
1077
- }
1078
- };
1079
- reader2.readAsText(file, "utf8");
1080
- }
1081
- };
1082
- reader.onerror = () => {
1083
- self.err("Error reading reference.txt.");
1084
- };
1085
- reader.readAsText(ref, "utf8");
1086
- }
1087
- // function to track and display accumulated error messages
1088
- errHandler() {
1089
- const errdiv = select_default("body").append("div");
1090
- let mssg = "";
1091
- return function(m) {
1092
- if (!m) return;
1093
- sayerror(errdiv, m);
1094
- };
1095
- }
1096
- };
1097
- function getParams() {
1098
- const params = {};
1099
- window.location.search.substr(1).split("&").forEach((kv) => {
1100
- const [key, value] = kv.split("=");
1101
- params[key] = value;
1102
- });
1103
- return params;
1104
- }
1105
-
1106
- // src/bulk.ui.js
1107
- function bulkui(x, y, genomes, hostURL, holder, header) {
1108
- let pane, inputdiv, gselect, filediv, saydiv, visualdiv;
1109
- if (holder !== void 0) [inputdiv, gselect, filediv, saydiv, visualdiv] = renderSandboxFormDiv(holder, genomes);
1110
- else {
1111
- ;
1112
- [pane, inputdiv, gselect, filediv, saydiv, visualdiv] = newpane3(x, y, genomes);
1113
- pane.header.text("Load mutation from text files");
1114
- }
1115
- inputdiv.append("div").style("margin", "20px 0px").style("color", "#858585").html(`
1116
- <p>Choose one file and upload to initiate the display panel.<br>From there you can add additional files.</p>
1117
- <div>Supported data types:</div>
1118
- <ul>
1119
- <li>SNV and indel</li>
1120
- <ul>
1121
- <li><a href=https://drive.google.com/open?id=1OJ9aXq2_-a3BfIQdKLYCYzrJRTpu4_9i3gephTY-Z38 target=_blank>Format</a>,
1122
- <a href=https://proteinpaint.stjude.org/ppdemo/hg19/heatmap/exampleFiles/example.snvindel.txt target=_blank>example file</a></li>
1123
- </ul>
1124
- <li>SV or fusion transcript</li>
1125
- <ul>
1126
- <li><a href=https://drive.google.com/open?id=1klDZ0MHVkQTW2-lCu_AvpRE4_FcbhdB-yI17wNdPaOM target=_blank>Tabular format</a>,
1127
- <a href=https://proteinpaint.stjude.org/ppdemo/hg19/heatmap/exampleFiles/example.svfusion.txt target=_blank>example file</a>
1128
- </li>
1129
- <li>JSON-format, to come</li>
1130
- </ul>
1131
- <li>CNV, gene-level</li>
1132
- <ul>
1133
- <li><a href=https://drive.google.com/open?id=1WHptqOWNf96V0bYEDpj-EsKZGYnbBNc9aQIrhzdEJaU target=_blank>Format</a>,
1134
- <a href=https://proteinpaint.stjude.org/ppdemo/hg19/heatmap/exampleFiles/example.cnv.txt target=_blank>example file</a>
1135
- </li>
1136
- </ul>
1137
- <li>ITD</li>
1138
- <ul>
1139
- <li>Internal tandem duplication, in-frame</li>
1140
- <li><a href=https://drive.google.com/open?id=1Bh9awBsraoHbV8iWXv_3oDeXMsjIAHaOKHr973IJyZc target=_blank>Format</a>,
1141
- <a href=https://proteinpaint.stjude.org/ppdemo/hg19/heatmap/exampleFiles/example.itd.txt target=_blank>example file</a>
1142
- </li>
1143
- </ul>
1144
- <li>Intragenic deletion, in-frame</li>
1145
- <ul>
1146
- <li><a href=https://drive.google.com/open?id=1tWbf3rg3BmVIZPGGPk023P0aBkDw_ry5XuZLGyGodyg target=_blank>Format</a>,
1147
- <a href=https://proteinpaint.stjude.org/ppdemo/hg19/heatmap/exampleFiles/example.deletion.txt target=_blank>example file</a>
1148
- </li>
1149
- </ul>
1150
- <li>Truncation</li>
1151
- <ul>
1152
- <li>Either N-terminus loss or C-terminus loss</li>
1153
- <li><a href=https://drive.google.com/open?id=1P1g-Y8r30pSKfan1BhYZcsUtSk7wRb4plaO1S-JCJr4 target=_blank>Format</a>,
1154
- <a href=https://proteinpaint.stjude.org/ppdemo/hg19/heatmap/exampleFiles/example.truncation.txt target=_blank>example file</a>
1155
- </li>
1156
- </ul>
1157
- </ul>`);
1158
- const fileui = () => {
1159
- filediv.selectAll("*").remove();
1160
- new ProjectHandler({
1161
- bulkin,
1162
- genomes,
1163
- gselect,
1164
- content2flag,
1165
- flag2tp,
1166
- filediv,
1167
- init_bulk_flag
1168
- });
1169
- filediv.append("span").html("Select data type&nbsp;");
1170
- const typeselect = filetypeselect(filediv).style("margin-right", "20px");
1171
- const butt = filediv.append("input").attr("type", "file").on("change", (event) => {
1172
- const flag2 = init_bulk_flag(genomes[gselect.options[gselect.selectedIndex].innerHTML]);
1173
- flag2.geneToUpper = geneToUpper.property("checked");
1174
- saydiv.text("");
1175
- const file = event.target.files[0];
1176
- if (!file) {
1177
- fileui();
1178
- return;
1179
- }
1180
- if (file.size == 0) {
1181
- saydiv.text("Wrong file: " + file.name);
1182
- fileui();
1183
- return;
1184
- }
1185
- const reader = new FileReader();
1186
- reader.onload = (event2) => {
1187
- const error = content2flag(event2.target.result, typeselect.node().selectedIndex, flag2);
1188
- if (error) {
1189
- saydiv.text("Error: " + error);
1190
- fileui();
1191
- return;
1192
- }
1193
- flag2tp(flag2, file);
1194
- };
1195
- reader.onerror = function() {
1196
- saydiv.text("Error reading file " + file.name);
1197
- fileui();
1198
- return;
1199
- };
1200
- saydiv.text("Parsing file " + file.name + " ...");
1201
- reader.readAsText(file, "utf8");
1202
- });
1203
- setTimeout(() => butt.node().focus(), 1100);
1204
- };
1205
- fileui();
1206
- filediv.append("span").html("<br/>Convert gene name to uppercase &nbsp;");
1207
- const geneToUpper = filediv.append("span").append("input").attr("type", "checkbox").property("checked", true);
1208
- function flag2tp(flag2, file, _cohort = null, ds = null) {
1209
- if (typeof flag2 == "string") {
1210
- saydiv.text(flag2);
1211
- fileui();
1212
- return;
1213
- }
1214
- saydiv.text("");
1215
- fileui();
1216
- const cohort = _cohort ? _cohort : Object.assign({
1217
- genome: flag2.genome,
1218
- name: file.name
1219
- });
1220
- const err2 = bulkin({
1221
- flag: flag2,
1222
- filename: file.name,
1223
- cohort,
1224
- flag2thisds: ds
1225
- });
1226
- if (err2) {
1227
- saydiv.text("Error with " + file.name + ": " + err2);
1228
- return;
1229
- }
1230
- if (flag2.good == 0) {
1231
- saydiv.text("No mutations can be loaded");
1232
- return;
1233
- }
1234
- let visual_holder;
1235
- if (pane) {
1236
- disappear(pane.pane);
1237
- const pane2 = newpane({ x: 100, y: 100, toshrink: true });
1238
- pane2.header.html('<span style="opacity:.5">FILE</span> ' + file.name);
1239
- visual_holder = pane2.body;
1240
- }
1241
- if (holder !== void 0) {
1242
- visual_holder = visualdiv.append("div").html('<span style="opacity:.5">FILE</span> ' + file.name);
1243
- }
1244
- inputdiv.selectAll("*").remove();
1245
- import("./tp.ui-ELEQGSK2.js").then((tpui) => {
1246
- tpui.default(cohort, visual_holder, hostURL);
1247
- });
1248
- return cohort;
1249
- }
1250
- return function content2flag2tp(file, type) {
1251
- const error = content2flag(file.content, type, flag);
1252
- if (error) {
1253
- saydiv.text("Error: " + error);
1254
- fileui();
1255
- return;
1256
- }
1257
- flag2tp(flag, file);
1258
- };
1259
- }
1260
- function content2flag(text, type, flag2) {
1261
- if (!flag2) return "should not happen!";
1262
- let err2;
1263
- switch (type) {
1264
- case 0:
1265
- err2 = parse_snvindel(text, flag2);
1266
- if (err2) return err2;
1267
- break;
1268
- case 1:
1269
- err2 = parse_sv(text, flag2, true);
1270
- if (err2) return err2;
1271
- break;
1272
- case 2:
1273
- err2 = parse_sv(text, flag2, false);
1274
- if (err2) return err2;
1275
- break;
1276
- case 3:
1277
- err2 = parse_itd(text, flag2);
1278
- if (err2) return err2;
1279
- break;
1280
- case 4:
1281
- err2 = parse_del(text, flag2);
1282
- if (err2) return err2;
1283
- break;
1284
- case 5:
1285
- err2 = parse_trunc(text, flag2);
1286
- if (err2) return err2;
1287
- break;
1288
- case 6:
1289
- err2 = parse_cnv(text, flag2);
1290
- if (err2) return err2;
1291
- break;
1292
- default:
1293
- return "unknown option array index from file type <select>: " + type;
1294
- }
1295
- }
1296
- function bulkin(p, callback = null) {
1297
- const flag2 = p.flag;
1298
- const cohort = p.cohort;
1299
- if (!cohort.p2st) {
1300
- cohort.p2st = {};
1301
- }
1302
- if (!cohort.dsset) {
1303
- cohort.dsset = {};
1304
- }
1305
- if (!cohort.assaylst) {
1306
- cohort.assaylst = [];
1307
- }
1308
- if (flag2.variantgene) {
1309
- if (cohort.variantgene) {
1310
- return "variantgene already set for this cohort";
1311
- }
1312
- cohort.variantgene = flag2.variantgene;
1313
- }
1314
- if (flag2.snv.badlines.length > 0) {
1315
- bulk_badline(flag2.snv.header, flag2.snv.badlines);
1316
- }
1317
- if (flag2.fusion.badlines.length > 0) {
1318
- bulk_badline(flag2.fusion.header, flag2.fusion.badlines);
1319
- }
1320
- if (flag2.sv.badlines.length > 0) {
1321
- bulk_badline(flag2.sv.header, flag2.sv.badlines);
1322
- }
1323
- if (flag2.cnv.badlines.length > 0) {
1324
- bulk_badline(flag2.cnv.header, flag2.cnv.badlines);
1325
- }
1326
- if (flag2.itd.badlines.length > 0) {
1327
- bulk_badline(flag2.itd.header, flag2.itd.badlines);
1328
- }
1329
- if (flag2.del.badlines.length > 0) {
1330
- bulk_badline(flag2.del.header, flag2.del.badlines);
1331
- }
1332
- if (flag2.truncation.badlines.length > 0) {
1333
- bulk_badline(flag2.truncation.header, flag2.truncation.badlines);
1334
- }
1335
- if (flag2.good == 0) {
1336
- return false;
1337
- }
1338
- const tmp = {};
1339
- let hastumormaf = false;
1340
- if (flag2.snv.loaded) {
1341
- for (const i of flag2.snv.header) {
1342
- tmp[i] = 1;
1343
- }
1344
- if ("maf_tumor_v1" in tmp && "maf_tumor_v2" in tmp) {
1345
- hastumormaf = true;
1346
- }
1347
- }
1348
- if (flag2.cnv.loaded) {
1349
- for (const i of flag2.cnv.header) {
1350
- tmp[i] = 1;
1351
- }
1352
- }
1353
- if (flag2.fusion.loaded) {
1354
- for (const i of flag2.fusion.header) {
1355
- tmp[i] = 1;
1356
- }
1357
- }
1358
- if (flag2.sv.loaded) {
1359
- for (const i of flag2.sv.header) {
1360
- tmp[i] = 1;
1361
- }
1362
- }
1363
- if (flag2.itd.loaded) {
1364
- for (const i of flag2.itd.header) {
1365
- tmp[i] = 1;
1366
- }
1367
- }
1368
- if (flag2.del.loaded) {
1369
- for (const i of flag2.del.header) {
1370
- tmp[i] = 1;
1371
- }
1372
- }
1373
- if (flag2.truncation.loaded) {
1374
- for (const i of flag2.truncation.header) {
1375
- tmp[i] = 1;
1376
- }
1377
- }
1378
- const hassample = "sample" in tmp || "patient" in tmp;
1379
- const hasdisease = "disease" in tmp;
1380
- const hasst = "sampletype" in tmp;
1381
- let dsc;
1382
- if (p.flag2thisds) {
1383
- dsc = p.flag2thisds;
1384
- if (hassample && !dsc.hassample) {
1385
- return '"sample" column found in new data but not in existing data';
1386
- }
1387
- if (!hassample && dsc.hassample) {
1388
- return '"sample" column found in existing data but not in new data';
1389
- }
1390
- if (hasdisease && !dsc.hasdisease) {
1391
- return '"disease" column found in new data but not in existing data';
1392
- }
1393
- if (!hasdisease && dsc.hasdisease) {
1394
- return '"disease" column found in existing data but not in new data';
1395
- }
1396
- if (hasst && !dsc.hasst) {
1397
- return '"sampletype" column found in new data but not in existing data';
1398
- }
1399
- if (!hasst && dsc.hasst) {
1400
- return '"sampletype" column found in existing data but not in new data';
1401
- }
1402
- for (const genename in flag2.data) {
1403
- const lst = dsc.bulkdata[genename];
1404
- if (lst) {
1405
- dsc.bulkdata[genename] = lst.concat(flag2.data[genename]);
1406
- } else {
1407
- dsc.bulkdata[genename] = flag2.data[genename];
1408
- }
1409
- }
1410
- } else {
1411
- let dsname = p.filename + (flag2.tpsetname ? "_" + flag2.tpsetname : "");
1412
- if (dsname in flag2.genome.datasets) {
1413
- let j = 1;
1414
- let n2 = dsname + " " + j;
1415
- while (n2 in flag2.genome.datasets) {
1416
- j++;
1417
- n2 = dsname + " " + j;
1418
- }
1419
- dsname = n2;
1420
- }
1421
- dsc = {
1422
- label: dsname,
1423
- bulkdata: flag2.data,
1424
- // official dataset don't have this
1425
- hassample,
1426
- hasdisease,
1427
- hastumormaf,
1428
- hasst,
1429
- genome: cohort.genome,
1430
- import: {},
1431
- imported: {},
1432
- importsilent: flag2.snv.silent == 0 ? false : flag2.snv.missense / flag2.snv.silent >= 5 ? false : true
1433
- };
1434
- flag2.genome.datasets[dsname] = dsc;
1435
- cohort.dsset[dsname] = dsc;
1436
- if (cohort.dbexpression) {
1437
- if (cohort.dbexpression.tidy) {
1438
- try {
1439
- cohort.dbexpression.tidy = new Function(...cohort.dbexpression.tidy);
1440
- } catch (e) {
1441
- err("invalid JavaScript for dbexpression.tidy");
1442
- delete cohort.dbexpression;
1443
- }
1444
- }
1445
- dsc.dbexpression = cohort.dbexpression;
1446
- }
1447
- if (hasdisease) {
1448
- dsc.stratify = [
1449
- {
1450
- label: "disease",
1451
- attr1: { k: "disease", label: "disease" }
1452
- }
1453
- ];
1454
- }
1455
- }
1456
- if (hassample) {
1457
- for (const gene in flag2.data) {
1458
- for (const m of flag2.data[gene]) {
1459
- let pn = m.patient;
1460
- if (!pn) {
1461
- pn = m.sample;
1462
- if (!pn) {
1463
- continue;
1464
- }
1465
- }
1466
- if (!cohort.p2st[pn]) {
1467
- cohort.p2st[pn] = {};
1468
- }
1469
- let st = m.sampletype;
1470
- if (!st) {
1471
- st = pn;
1472
- }
1473
- if (!cohort.p2st[pn][st]) {
1474
- cohort.p2st[pn][st] = {
1475
- dsset: {},
1476
- tktemplate: []
1477
- };
1478
- }
1479
- if (!cohort.p2st[pn][st].dsset[dsc.label]) {
1480
- cohort.p2st[pn][st].dsset[dsc.label] = [];
1481
- }
1482
- cohort.p2st[pn][st].dsset[dsc.label].push(m);
1483
- }
1484
- }
1485
- }
1486
- if (callback) callback();
1487
- return false;
1488
- }
1489
- function bulkembed(arg) {
1490
- if (!arg.name) arg.name = "Unnamed dataset";
1491
- let holder = arg.holder;
1492
- if (!holder) {
1493
- const pane = newpane({ x: 100, y: 100 });
1494
- holder = pane.body;
1495
- }
1496
- const saydiv = holder.append("div");
1497
- new Promise((resolve, reject) => {
1498
- const cohort = {
1499
- dsset: {}
1500
- };
1501
- for (const k in arg) {
1502
- if (k == "snvindel" || k == "svjson" || k == "cnv" || k == "sv" || k == "mutationset") {
1503
- continue;
1504
- }
1505
- cohort[k] = arg[k];
1506
- }
1507
- resolve(cohort);
1508
- }).then((cohort) => {
1509
- if (!arg.snvindel && !arg.svjson && !arg.cnv && !arg.sv) return cohort;
1510
- const flag2 = init_bulk_flag(cohort.genome);
1511
- if (arg.snvindel) {
1512
- const e = parse_snvindel(arg.snvindel, flag2);
1513
- if (e) throw { message: "error in snvindel data: " + e };
1514
- delete arg.snvindel;
1515
- }
1516
- if (arg.svjson) {
1517
- const e = parse_svjson(arg.svjson, flag2);
1518
- if (e) throw { message: "error in svjson data: " + e };
1519
- delete arg.svjson;
1520
- }
1521
- if (arg.sv) {
1522
- const e = parse_sv(arg.sv, flag2);
1523
- if (e) throw { message: "error in svjson data: " + e };
1524
- delete arg.sv;
1525
- }
1526
- if (arg.cnv) {
1527
- const e = parse_cnv(arg.cnv, flag2);
1528
- if (e) throw { message: "error in cnv data: " + e };
1529
- delete arg.cnv;
1530
- }
1531
- const err2 = bulkin({
1532
- flag: flag2,
1533
- filename: arg.name,
1534
- cohort
1535
- });
1536
- if (err2) throw { message: "Error parsing data: " + err2 };
1537
- return cohort;
1538
- }).then((cohort) => {
1539
- if (!arg.mutationset) return cohort;
1540
- if (!Array.isArray(arg.mutationset)) throw { message: "mutationset is not an array" };
1541
- const tasks2 = [];
1542
- for (const mset of arg.mutationset) {
1543
- const flag2 = init_bulk_flag(cohort.genome);
1544
- const tasks = [];
1545
- if (mset.snvindel) {
1546
- const req = new Request(arg.hostURL + "/textfile", {
1547
- method: "POST",
1548
- body: '{"file":"' + mset.snvindel + '"}'
1549
- });
1550
- const task = fetch(req).then((data) => {
1551
- return data.json();
1552
- }).then((data) => {
1553
- if (data.error) throw { message: "error with snvindel file: " + data.error };
1554
- const e = parse_snvindel(data.text, flag2);
1555
- if (e) throw { message: "error with snvindel file: " + e };
1556
- });
1557
- tasks.push(task);
1558
- }
1559
- if (mset.snvindel_url) {
1560
- tasks.push(
1561
- dofetch("urltextfile", { url: mset.snvindel_url }).then((data) => {
1562
- if (data.error) throw { message: "cannot get snvindel file from url" };
1563
- const e = parse_snvindel(data.text, flag2);
1564
- if (e) throw { message: "error with snvindel file: " + e };
1565
- })
1566
- );
1567
- }
1568
- if (mset.cnv) {
1569
- const req = new Request(arg.hostURL + "/textfile", {
1570
- method: "POST",
1571
- body: '{"file":"' + mset.cnv + '"}'
1572
- });
1573
- const task = fetch(req).then((data) => {
1574
- return data.json();
1575
- }).then((data) => {
1576
- if (data.error) throw { message: "error with cnv file: " + data.error };
1577
- const e = parse_cnv(data.text, flag2);
1578
- if (e) throw { message: "error with cnv file: " + e };
1579
- });
1580
- tasks.push(task);
1581
- }
1582
- if (mset.cnv_url) {
1583
- tasks.push(
1584
- dofetch("urltextfile", { url: mset.cnv_url }).then((data) => {
1585
- if (data.error) throw { message: "cannot get cnv file from url" };
1586
- const e = parse_cnv(data.text, flag2);
1587
- if (e) throw { message: "error with cnv file: " + e };
1588
- })
1589
- );
1590
- }
1591
- if (mset.sv) {
1592
- const req = new Request(arg.hostURL + "/textfile", {
1593
- method: "POST",
1594
- body: '{"file":"' + mset.sv + '"}'
1595
- });
1596
- const task = fetch(req).then((data) => {
1597
- return data.json();
1598
- }).then((data) => {
1599
- if (data.error) throw { message: "error with sv file: " + data.error };
1600
- const e = parse_sv(data.text, flag2, true);
1601
- if (e) throw { message: "error with sv file: " + e };
1602
- });
1603
- tasks.push(task);
1604
- }
1605
- if (mset.sv_url) {
1606
- tasks.push(
1607
- dofetch("urltextfile", { url: mset.sv_url }).then((data) => {
1608
- if (data.error) throw { message: "cannot get sv file from url" };
1609
- const e = parse_sv(data.text, flag2);
1610
- if (e) throw { message: "error with sv file: " + e };
1611
- })
1612
- );
1613
- }
1614
- if (mset.fusion) {
1615
- const req = new Request(arg.hostURL + "/textfile", {
1616
- method: "POST",
1617
- body: '{"file":"' + mset.fusion + '"}'
1618
- });
1619
- const task = fetch(req).then((data) => {
1620
- return data.json();
1621
- }).then((data) => {
1622
- if (data.error) throw { message: "error with fusion file: " + data.error };
1623
- const e = parse_sv(data.text, flag2, false);
1624
- if (e) throw { message: "error with fusion file: " + e };
1625
- });
1626
- tasks.push(task);
1627
- }
1628
- if (mset.svjson) {
1629
- const req = new Request(arg.hostURL + "/textfile", {
1630
- method: "POST",
1631
- body: '{"file":"' + mset.svjson + '"}'
1632
- });
1633
- const task = fetch(req).then((data) => {
1634
- return data.json();
1635
- }).then((data) => {
1636
- if (data.error) throw { message: "error with svjson file: " + data.error };
1637
- const e = parse_svjson(data.text, flag2, false);
1638
- if (e) throw { message: "error with svjson file: " + e };
1639
- });
1640
- tasks.push(task);
1641
- }
1642
- if (mset.deletion) {
1643
- const req = new Request(arg.hostURL + "/textfile", {
1644
- method: "POST",
1645
- body: '{"file":"' + mset.deletion + '"}'
1646
- });
1647
- const task = fetch(req).then((data) => {
1648
- return data.json();
1649
- }).then((data) => {
1650
- if (data.error) throw { message: "error with deletion file: " + data.error };
1651
- const e = parse_del(data.text, flag2, false);
1652
- if (e) throw { message: "error with deletion file: " + e };
1653
- });
1654
- tasks.push(task);
1655
- }
1656
- if (mset.deletion_url) {
1657
- tasks.push(
1658
- dofetch("urltextfile", { url: mset.deletion_url }).then((data) => {
1659
- if (data.error) throw { message: "cannot get deletion file from url" };
1660
- const e = parse_del(data.text, flag2);
1661
- if (e) throw { message: "error with deletion file: " + e };
1662
- })
1663
- );
1664
- }
1665
- if (mset.truncation) {
1666
- const req = new Request(arg.hostURL + "/textfile", {
1667
- method: "POST",
1668
- body: '{"file":"' + mset.truncation + '"}'
1669
- });
1670
- const task = fetch(req).then((data) => {
1671
- return data.json();
1672
- }).then((data) => {
1673
- if (data.error) throw { message: "error with truncation file: " + data.error };
1674
- const e = parse_trunc(data.text, flag2, false);
1675
- if (e) throw { message: "error with truncation file: " + e };
1676
- });
1677
- tasks.push(task);
1678
- }
1679
- if (mset.truncation_url) {
1680
- tasks.push(
1681
- dofetch("urltextfile", { url: mset.truncation_url }).then((data) => {
1682
- if (data.error) throw { message: "cannot get truncation file from url" };
1683
- const e = parse_trunc(data.text, flag2, false);
1684
- if (e) throw { message: "error with truncation file: " + e };
1685
- })
1686
- );
1687
- }
1688
- if (mset.itd) {
1689
- const req = new Request(arg.hostURL + "/textfile", {
1690
- method: "POST",
1691
- body: '{"file":"' + mset.itd + '"}'
1692
- });
1693
- const task = fetch(req).then((data) => {
1694
- return data.json();
1695
- }).then((data) => {
1696
- if (data.error) throw { message: "error with itd file: " + data.error };
1697
- const e = parse_itd(data.text, flag2, false);
1698
- if (e) throw { message: "error with itd file: " + e };
1699
- });
1700
- tasks.push(task);
1701
- }
1702
- if (mset.itd_url) {
1703
- tasks.push(
1704
- dofetch("urltextfile", { url: mset.itd_url }).then((data) => {
1705
- if (data.error) throw { message: "cannot get itd file from url" };
1706
- const e = parse_itd(data.text, flag2, false);
1707
- if (e) throw { message: "error with itd file: " + e };
1708
- })
1709
- );
1710
- }
1711
- const task2 = Promise.all(tasks).then((data) => {
1712
- const err2 = bulkin({
1713
- flag: flag2,
1714
- filename: arg.name,
1715
- cohort
1716
- });
1717
- if (err2) throw { message: "Error parsing data from " + mset.name + ": " + err2 };
1718
- });
1719
- tasks2.push(task2);
1720
- }
1721
- return Promise.all(tasks2).then((data) => {
1722
- return cohort;
1723
- });
1724
- }).then((cohort) => {
1725
- const err2 = tpinit(cohort);
1726
- if (err2) throw { message: "Error parsing study: " + err2 };
1727
- saydiv.text("");
1728
- import("./tp.ui-ELEQGSK2.js").then((p) => {
1729
- p.default(cohort, holder, arg.hostURL);
1730
- });
1731
- }).catch((err2) => {
1732
- saydiv.text(err2.message);
1733
- if (err2.stack) {
1734
- console.log(err2.stack);
1735
- }
1736
- });
1737
- }
1738
- function parse_snvindel(text, flag2) {
1739
- const lines = text.trim().split(/\r?\n/);
1740
- let headerline = lines[0];
1741
- let lineidx = 0;
1742
- while (headerline[0] == "#") {
1743
- lineidx++;
1744
- headerline = lines[lineidx];
1745
- }
1746
- if (!headerline) return "no header line";
1747
- const err2 = parseheader2(headerline, flag2);
1748
- if (err2) return "header error: " + err2;
1749
- for (let i = lineidx + 1; i < lines.length; i++) {
1750
- if (lines[i] == "") continue;
1751
- if (lines[i][0] == "#") continue;
1752
- parseline2(i, lines[i], flag2);
1753
- }
1754
- }
1755
- function parse_svjson(text, flag2) {
1756
- const lines = text.split(/\r?\n/);
1757
- let headerline = lines[0];
1758
- let lineidx = 0;
1759
- while (headerline[0] == "#") {
1760
- lineidx++;
1761
- headerline = lines[lineidx];
1762
- }
1763
- if (!headerline) return "no header line";
1764
- const [err2, header] = parseheader3(headerline, flag2);
1765
- if (err2) return "header error: " + err2;
1766
- for (let i = lineidx + 1; i < lines.length; i++) {
1767
- if (lines[i] == "") continue;
1768
- if (lines[i][0] == "#") continue;
1769
- parseline3(i, lines[i], flag2, header);
1770
- }
1771
- }
1772
- function parse_cnv(text, flag2) {
1773
- const lines = text.split(/\r?\n/);
1774
- let headerline = lines[0];
1775
- let lineidx = 0;
1776
- while (headerline[0] == "#") {
1777
- lineidx++;
1778
- headerline = lines[lineidx];
1779
- }
1780
- if (!headerline) return "no header line";
1781
- const err2 = parseheader4(headerline, flag2);
1782
- if (err2) return "header error: " + err2;
1783
- for (let i = lineidx + 1; i < lines.length; i++) {
1784
- if (lines[i] == "") continue;
1785
- if (lines[i][0] == "#") continue;
1786
- parseline4(i, lines[i], flag2);
1787
- }
1788
- }
1789
- function parse_itd(text, flag2) {
1790
- const lines = text.split(/\r?\n/);
1791
- let headerline = lines[0];
1792
- let lineidx = 0;
1793
- while (headerline[0] == "#") {
1794
- lineidx++;
1795
- headerline = lines[lineidx];
1796
- }
1797
- if (!headerline) return "no header line";
1798
- const err2 = parseheader5(headerline, flag2);
1799
- if (err2) return "header error: " + err2;
1800
- for (let i = lineidx + 1; i < lines.length; i++) {
1801
- if (lines[i] == "") continue;
1802
- if (lines[i][0] == "#") continue;
1803
- parseline5(i, lines[i], flag2);
1804
- }
1805
- }
1806
- function parse_del(text, flag2) {
1807
- const lines = text.split(/\r?\n/);
1808
- let headerline = lines[0];
1809
- let lineidx = 0;
1810
- while (headerline[0] == "#") {
1811
- lineidx++;
1812
- headerline = lines[lineidx];
1813
- }
1814
- if (!headerline) return "no header line";
1815
- const err2 = parseheader6(headerline, flag2);
1816
- if (err2) return "header error: " + err2;
1817
- for (let i = lineidx + 1; i < lines.length; i++) {
1818
- if (lines[i] == "") continue;
1819
- if (lines[i][0] == "#") continue;
1820
- parseline6(i, lines[i], flag2);
1821
- }
1822
- }
1823
- function parse_trunc(text, flag2) {
1824
- const lines = text.split(/\r?\n/);
1825
- let headerline = lines[0];
1826
- let lineidx = 0;
1827
- while (headerline[0] == "#") {
1828
- lineidx++;
1829
- headerline = lines[lineidx];
1830
- }
1831
- if (!headerline) return "no header line";
1832
- const err2 = parseheader7(headerline, flag2);
1833
- if (err2) return "header error: " + err2;
1834
- for (let i = lineidx + 1; i < lines.length; i++) {
1835
- if (lines[i] == "") continue;
1836
- if (lines[i][0] == "#") continue;
1837
- parseline7(i, lines[i], flag2);
1838
- }
1839
- }
1840
- function parse_sv(text, flag2, isSv) {
1841
- const lines = text.split(/\r?\n/);
1842
- let headerline = lines[0];
1843
- let lineidx = 0;
1844
- while (headerline[0] == "#") {
1845
- lineidx++;
1846
- headerline = lines[lineidx];
1847
- }
1848
- if (!headerline) return "no header line";
1849
- const err2 = parseheader(headerline, flag2, isSv);
1850
- if (err2) return "header error: " + err2;
1851
- for (let i = lineidx + 1; i < lines.length; i++) {
1852
- if (lines[i] == "") continue;
1853
- if (lines[i][0] == "#") continue;
1854
- parseline(i, lines[i], flag2, isSv);
1855
- }
1856
- }
1857
-
1858
- // src/tp.init.js
1859
- function tpinit(cohort) {
1860
- if (!cohort.p2st) {
1861
- cohort.p2st = {};
1862
- }
1863
- if (!cohort.assays) {
1864
- cohort.assays = [];
1865
- }
1866
- if (!Array.isArray(cohort.assays)) {
1867
- return ".assays should be an array";
1868
- }
1869
- cohort.assaylst = [];
1870
- let assaynum = 0;
1871
- for (const assayname of cohort.assays) {
1872
- const rawassay = cohort[assayname];
1873
- if (!rawassay) {
1874
- return 'Assay "' + assayname + '" not found in cohort';
1875
- }
1876
- const config = rawassay.config;
1877
- if (!config) {
1878
- return '.config object missing for assay "' + assayname + '"';
1879
- }
1880
- delete rawassay.config;
1881
- if (!config.type) {
1882
- return '.config.type missing for assay "' + assayname + '"';
1883
- }
1884
- if (config.type.toLowerCase() == "vcf") {
1885
- config.type = tkt.ds;
1886
- config.isvcf = true;
1887
- } else {
1888
- if (!validtkt(config.type)) {
1889
- return 'unknown .config.type "' + config.type + '" for assay "' + assayname + '"';
1890
- }
1891
- }
1892
- config.id = (++assaynum).toString();
1893
- if (!config.name) {
1894
- config.name = assayname;
1895
- }
1896
- if (config.type == tkt.junction) {
1897
- if (config.readcountcutoff) {
1898
- if (!Number.isInteger(config.readcountcutoff) || config.readcountcutoff < 0) {
1899
- return 'invalid .config.readcountcutoff for assay "' + assayname + '"';
1900
- }
1901
- }
1902
- }
1903
- cohort.assaylst.push(config);
1904
- for (const pn in rawassay) {
1905
- if (!cohort.p2st[pn]) {
1906
- cohort.p2st[pn] = {};
1907
- }
1908
- for (const st in rawassay[pn]) {
1909
- if (!cohort.p2st[pn][st]) {
1910
- cohort.p2st[pn][st] = {
1911
- tktemplate: []
1912
- };
1913
- }
1914
- if (config.type == tkt.vafs1) {
1915
- for (const name in rawassay[pn][st]) {
1916
- const tk = rawassay[pn][st][name];
1917
- if (!tk.file && !tk.url) {
1918
- return "no file or URL for " + name + " vafs1 of " + pn + ", " + st;
1919
- }
1920
- tk.type = tkt.vafs1;
1921
- tk.patient = pn;
1922
- tk.sampletype = st;
1923
- tk.assayname = assayname;
1924
- tk.id = config.id;
1925
- tk.tkid = Math.random().toString();
1926
- if (!tk.name) {
1927
- tk.name = name + " vaf";
1928
- }
1929
- cohort.p2st[pn][st].tktemplate.push(tk);
1930
- }
1931
- continue;
1932
- }
1933
- let rawtklst = [];
1934
- if (Array.isArray(rawassay[pn][st])) {
1935
- rawtklst = rawassay[pn][st];
1936
- } else {
1937
- rawtklst.push(rawassay[pn][st]);
1938
- }
1939
- for (const _tk of rawtklst) {
1940
- let tk = _tk;
1941
- if (!tk.file && !tk.url) {
1942
- return "track has no file or url (sample: " + pn + ", assay: " + assayname + ")";
1943
- }
1944
- if (tk.name) {
1945
- } else if (tk.partname) {
1946
- tk.name = pn + (st == pn ? "" : " " + st) + " " + assayname + " " + tk.partname;
1947
- } else {
1948
- tk.name = pn + (st == pn ? "" : " " + st) + " " + assayname;
1949
- }
1950
- if (config.isvcf) {
1951
- const [err2, tk2] = vcf2dstk({
1952
- name: tk.name,
1953
- file: tk.file,
1954
- url: tk.url
1955
- });
1956
- if (err2) {
1957
- return "VCF track error: " + err2;
1958
- }
1959
- tk = tk2;
1960
- } else {
1961
- if (tk.type) {
1962
- if (!validtkt(tk.type)) {
1963
- return 'invalid track type "' + tk.type + '" (sample: ' + pn + ", assay: " + assayname + ")";
1964
- }
1965
- } else {
1966
- tk.type = config.type;
1967
- }
1968
- }
1969
- tk.patient = pn;
1970
- tk.sampletype = st;
1971
- tk.assayname = assayname;
1972
- tk.id = config.id;
1973
- tk.tkid = Math.random().toString();
1974
- cohort.p2st[pn][st].tktemplate.push(tk);
1975
- switch (config.type) {
1976
- case tkt.bigwig:
1977
- const e = tidy_qtk(tk, config);
1978
- if (e) {
1979
- return "Assay " + assayname + ": " + config.type + " track error: " + e;
1980
- }
1981
- break;
1982
- case tkt.junction:
1983
- tk.categories = config.categories;
1984
- tk.readcountcutoff = config.readcountcutoff;
1985
- break;
1986
- }
1987
- }
1988
- }
1989
- }
1990
- }
1991
- delete cohort.assays;
1992
- {
1993
- const err2 = cohort2genometkset(cohort);
1994
- if (err2) {
1995
- return "Error: " + err2;
1996
- }
1997
- }
1998
- if (cohort.patientannotation) {
1999
- const err2 = parse_patientannotation(cohort);
2000
- if (err2) return err2;
2001
- }
2002
- if (cohort.browserview) {
2003
- const err2 = parse_browserview(cohort);
2004
- if (err2) return err2;
2005
- }
2006
- if (cohort.e2pca) {
2007
- if (!cohort.e2pca.list) return ".list missing from e2pca";
2008
- if (!Array.isArray(cohort.e2pca.list)) return "e2pca.list should be an array";
2009
- if (cohort.e2pca.list.length == 0) return "e2pca.list[] length 0";
2010
- if (!cohort.e2pca.label) {
2011
- cohort.e2pca.label = "Expression - PCA";
2012
- }
2013
- for (const obj of cohort.e2pca.list) {
2014
- if (!obj.vectorfile) return "vectorfile missing from e2pca";
2015
- if (!obj.dbfile) return "dbfile missing from e2pca";
2016
- }
2017
- }
2018
- return;
2019
- }
2020
- function loadstudycohort(genomes, file, holder, hostURL, jwt, noshow, app) {
2021
- const wait = holder.append("div").style("color", "#858585");
2022
- wait.text("Loading " + file + " ...");
2023
- return fetch(hostURL + "/study", {
2024
- method: "POST",
2025
- body: JSON.stringify({ file, jwt })
2026
- }).then((res) => res.json()).then((data) => {
2027
- if (!data) {
2028
- wait.text("Server error!");
2029
- return;
2030
- }
2031
- if (data.error) {
2032
- wait.text("Error loading study: " + data.error);
2033
- return;
2034
- }
2035
- const cohort = data.cohort;
2036
- if (!cohort) {
2037
- wait.text(".cohort missing");
2038
- return;
2039
- }
2040
- if (!cohort.genome) {
2041
- wait.text("No genome specified in the cohort JSON content");
2042
- return;
2043
- }
2044
- const g = genomes[cohort.genome];
2045
- if (!g) {
2046
- wait.text("Invalid genome from cohort: " + cohort.genome);
2047
- return;
2048
- }
2049
- cohort.genome = g;
2050
- cohort.jwt = jwt;
2051
- if (!data.flagset) {
2052
- wait.text(".flagset missing");
2053
- return;
2054
- }
2055
- wait.text("");
2056
- cohort.dsset = {};
2057
- for (const k in data.flagset) {
2058
- const flag2 = data.flagset[k];
2059
- flag2.genome = g;
2060
- bulkin({
2061
- flag: flag2,
2062
- filename: file,
2063
- cohort,
2064
- err: (m) => sayerror(wait, m)
2065
- });
2066
- }
2067
- const err2 = tpinit(cohort);
2068
- if (err2) {
2069
- sayerror(wait, err2);
2070
- }
2071
- if (!noshow) {
2072
- return import("./tp.ui-ELEQGSK2.js").then(async (p) => {
2073
- getsjcharts().catch(console.error);
2074
- p.default(cohort, holder, hostURL, app);
2075
- return app;
2076
- });
2077
- }
2078
- });
2079
- }
2080
- function tidy_qtk(tk, config) {
2081
- if (!config) {
2082
- config = {};
2083
- }
2084
- if (!tk.file && !tk.url) {
2085
- return "no file or url";
2086
- }
2087
- if (!tk.pcolor) {
2088
- tk.pcolor = config.pcolor || "#0066CC";
2089
- }
2090
- if (!tk.pcolor2) {
2091
- tk.pcolor2 = config.pcolor2 || "#CC0000";
2092
- }
2093
- if (!tk.ncolor) {
2094
- tk.ncolor = config.ncolor || "#FF850A";
2095
- }
2096
- if (!tk.ncolor2) {
2097
- tk.ncolor2 = config.ncolor2 || "#0A85FF";
2098
- }
2099
- if (!tk.height) {
2100
- tk.height = config.height || 50;
2101
- }
2102
- const scale = {};
2103
- if (config.scale) {
2104
- for (const k in config.scale) {
2105
- scale[k] = config.scale[k];
2106
- }
2107
- }
2108
- if (tk.scale) {
2109
- for (const k in tk.scale) {
2110
- scale[k] = tk.scale[k];
2111
- }
2112
- }
2113
- scale.auto = true;
2114
- if (Number.isFinite(scale.min) && Number.isFinite(scale.max)) {
2115
- delete scale.auto;
2116
- } else if (Number.isFinite(scale.percentile)) {
2117
- delete scale.auto;
2118
- }
2119
- tk.scale = scale;
2120
- }
2121
- function cohort2genometkset(cohort) {
2122
- const lst = [];
2123
- for (const pn in cohort.p2st) {
2124
- for (const st in cohort.p2st[pn]) {
2125
- const templates = cohort.p2st[pn][st].tktemplate;
2126
- if (!templates) continue;
2127
- for (const t of templates) {
2128
- lst.push(t);
2129
- }
2130
- }
2131
- }
2132
- if (cohort.browserview && cohort.browserview.assays) {
2133
- for (const assayname in cohort.browserview.assays) {
2134
- const assayview = cohort.browserview.assays[assayname];
2135
- if (assayview.combined && assayview.combinetk) {
2136
- lst.push(assayview.combinetk);
2137
- }
2138
- }
2139
- }
2140
- if (!cohort.genome.tkset) {
2141
- cohort.genome.tkset = [];
2142
- }
2143
- const thisset = {
2144
- name: cohort.name,
2145
- tklst: lst
2146
- };
2147
- if (cohort.trackfacets) {
2148
- if (!Array.isArray(cohort.trackfacets)) {
2149
- return ".trackfacets is not an array";
2150
- }
2151
- const lst2 = [];
2152
- for (const fc of cohort.trackfacets) {
2153
- if (!fc.samples) {
2154
- return "trackfacets: .samples missing from facet " + fc.name;
2155
- }
2156
- if (!Array.isArray(fc.samples)) {
2157
- return "trackfacets: .samples is not array from facet " + fc.name;
2158
- }
2159
- if (!fc.assays) {
2160
- return "trackfacets: .assays missing from a facet " + fc.name;
2161
- }
2162
- if (!Array.isArray(fc.assays)) {
2163
- return "trackfacets: .assays is not array from a facet " + fc.name;
2164
- }
2165
- lst2.push(fc);
2166
- }
2167
- if (lst2.length) {
2168
- thisset.facetlst = lst2;
2169
- }
2170
- }
2171
- cohort.genome.tkset.push(thisset);
2172
- return null;
2173
- }
2174
- function parse_browserview(cohort) {
2175
- if (cohort.browserview.position) {
2176
- let pos;
2177
- if (typeof cohort.browserview.position == "string") {
2178
- pos = string2pos(cohort.browserview.position, cohort.genome);
2179
- if (!pos) {
2180
- return ".browserview.position invalid value";
2181
- }
2182
- } else {
2183
- pos = cohort.browserview.position;
2184
- }
2185
- const e = invalidcoord(cohort.genome, pos.chr, pos.start, pos.stop);
2186
- if (e) {
2187
- return ".browserview.position error: " + e;
2188
- }
2189
- cohort.browserview.position = pos;
2190
- } else {
2191
- cohort.browserview.position = {
2192
- chr: cohort.genome.defaultcoord.chr,
2193
- start: cohort.genome.defaultcoord.start,
2194
- stop: cohort.genome.defaultcoord.stop
2195
- };
2196
- }
2197
- if (cohort.browserview.assays) {
2198
- for (const assayname in cohort.browserview.assays) {
2199
- if (typeof cohort.browserview.assays[assayname] != "object") {
2200
- cohort.browserview.assays[assayname] = {};
2201
- }
2202
- const assayview = cohort.browserview.assays[assayname];
2203
- for (const a of cohort.assaylst) {
2204
- if (a.name == assayname) {
2205
- assayview.assayobj = a;
2206
- break;
2207
- }
2208
- }
2209
- if (!assayview.assayobj) {
2210
- console.log("missing assayobj for assayview of " + assayname);
2211
- continue;
2212
- }
2213
- if (assayview.sum_view) {
2214
- delete assayview.sum_view;
2215
- assayview.combined = true;
2216
- }
2217
- if (assayview.combined) {
2218
- const combinetk = {};
2219
- for (const k in assayview.assayobj) {
2220
- combinetk[k] = assayview.assayobj[k];
2221
- }
2222
- for (const k in assayview) {
2223
- if (k == "assayobj") continue;
2224
- combinetk[k] = assayview[k];
2225
- }
2226
- if (!combinetk.name) {
2227
- combinetk.name = assayname;
2228
- }
2229
- combinetk.tracks = [];
2230
- for (const pn in cohort.p2st) {
2231
- for (const st in cohort.p2st[pn]) {
2232
- for (const t of cohort.p2st[pn][st].tktemplate) {
2233
- if (t.id == assayview.assayobj.id) {
2234
- t.patient = pn;
2235
- t.sampletype = st;
2236
- combinetk.tracks.push(t);
2237
- }
2238
- }
2239
- }
2240
- }
2241
- if (combinetk.isvcf) {
2242
- combinetk.ds = {
2243
- id2vcf: {},
2244
- label: combinetk.name
2245
- };
2246
- for (const t of combinetk.tracks) {
2247
- for (const i in t.ds.id2vcf) {
2248
- t.__vcfobj = t.ds.id2vcf[i];
2249
- }
2250
- combinetk.ds.id2vcf[t.__vcfobj.vcfid] = t.__vcfobj;
2251
- }
2252
- }
2253
- assayview.combinetk = combinetk;
2254
- }
2255
- }
2256
- }
2257
- if (cohort.browserview.defaultassaytracks) {
2258
- if (!Array.isArray(cohort.browserview.defaultassaytracks)) return ".browserview.defaultassaytracks must be array";
2259
- for (let i = 0; i < cohort.browserview.defaultassaytracks.length; i++) {
2260
- const t = cohort.browserview.defaultassaytracks[i];
2261
- if (!t.assay) return ".assay missing from .defaultassaytracks #" + (i + 1);
2262
- if (!cohort[t.assay]) return "unknown assay name from .defaultassaytracks #" + (i + 1) + ": " + t.assay;
2263
- if (!t.level1) return ".level1 missing from .defaultassaytracks #" + (i + 1);
2264
- if (!cohort[t.assay][t.level1])
2265
- return "level1 not exist in assay from .defaultassaytracks #" + (i + 1) + ": " + t.level1;
2266
- if (t.level2) {
2267
- if (!cohort[t.assay][t.level1][t.level2])
2268
- return "level2 not exist in assay from .defaultassaytracks #" + (i + 1) + ": " + t.level2;
2269
- }
2270
- }
2271
- }
2272
- return null;
2273
- }
2274
- function parse_patientannotation(cohort) {
2275
- if (!cohort.patientannotation.annotation) {
2276
- return ".patientannotation.annotation missing";
2277
- }
2278
- if (!cohort.patientannotation.metadata) {
2279
- return ".patientannotation.metadata missing";
2280
- }
2281
- if (!Array.isArray(cohort.patientannotation.metadata)) {
2282
- return ".patientannotation.metadata should be an array";
2283
- }
2284
- const mdh = {};
2285
- for (const md of cohort.patientannotation.metadata) {
2286
- if (md.key == void 0) {
2287
- return "patientannotation: key missing for a metadata term";
2288
- }
2289
- if (!md.values) {
2290
- return "patientannotation: values missing for metadata term " + md.key;
2291
- }
2292
- if (!Array.isArray(md.values)) {
2293
- return "patientannotation: .values not an array for metadata term " + md.key;
2294
- }
2295
- if (!md.label) {
2296
- md.label = md.key;
2297
- }
2298
- mdh[md.key] = {
2299
- label: md.label,
2300
- values: {}
2301
- };
2302
- const colorfunc = ordinal(category10_default);
2303
- for (const at of md.values) {
2304
- if (at.key == void 0) {
2305
- return "key missing for an attribute of term " + md.key;
2306
- }
2307
- if (!at.label) {
2308
- at.label = at.key;
2309
- }
2310
- if (!at.color) {
2311
- at.color = colorfunc(at.key);
2312
- }
2313
- mdh[md.key].values[at.key] = at;
2314
- }
2315
- }
2316
- cohort.patientannotation.mdh = mdh;
2317
- return null;
2318
- }
2319
-
2320
- export {
2321
- loadstudycohort,
2322
- bulkui,
2323
- content2flag,
2324
- bulkin,
2325
- bulkembed
2326
- };
2327
- //# sourceMappingURL=chunk-PU2Q4SZR.js.map