@sjcrh/proteinpaint-client 2.187.0 → 2.188.1

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 (963) hide show
  1. package/dist/2dmaf-6YIEXAIG.js +1372 -0
  2. package/dist/AIProjectAdmin-5K5NIQNT.js +828 -0
  3. package/dist/AppHeader-4SN5M6SZ.js +834 -0
  4. package/dist/BoxPlot-DBJA6TQF.js +1218 -0
  5. package/dist/CorrelationVolcano-MDMTMTT5.js +618 -0
  6. package/dist/DE-S5AFNI4I.js +94 -0
  7. package/dist/DEinput-XVBBA74N.js +300 -0
  8. package/dist/DifferentialAnalysis-TUBGPAB2.js +244 -0
  9. package/dist/DifferentialAnalysis-TUBGPAB2.js.map +7 -0
  10. package/dist/Disco-VV7FQ7WW.js +3236 -0
  11. package/dist/Disco.UI-JDJFJFEY.js +244 -0
  12. package/dist/DmrPlot-XOG67W74.js +641 -0
  13. package/dist/GB-K3AWZQFF.js +1129 -0
  14. package/dist/GeneExpInput-Y7MDS2CA.js +365 -0
  15. package/dist/HicApp-53OTZ3YU.js +2249 -0
  16. package/dist/NumBinaryEditor-SB4YR3JM.js +269 -0
  17. package/dist/NumBinaryEditor.unit.spec-V2W2OZYP.js +285 -0
  18. package/dist/NumContEditor-RZZBM7PR.js +106 -0
  19. package/dist/NumContEditor.unit.spec-GAAW3ZZN.js +168 -0
  20. package/dist/NumCustomBinEditor-GFCGPRPI.js +37 -0
  21. package/dist/NumCustomBinEditor.unit.spec-24MXSO3L.js +283 -0
  22. package/dist/NumDiscreteEditor-HAHIOFNC.js +178 -0
  23. package/dist/NumDiscreteEditor.unit.spec-JYN2CWSI.js +201 -0
  24. package/dist/NumRegularBinEditor-7DOE64RB.js +37 -0
  25. package/dist/NumRegularBinEditor.unit.spec-2WU4GGNT.js +226 -0
  26. package/dist/NumSplineEditor-JLRD5TVX.js +191 -0
  27. package/dist/NumSplineEditor.unit.spec-LOG7CECJ.js +198 -0
  28. package/dist/NumericDensity-IDOP7I34.js +37 -0
  29. package/dist/NumericDensity.unit.spec-HTJQRPVH.js +220 -0
  30. package/dist/NumericHandler-DWVVGLLB.js +38 -0
  31. package/dist/NumericHandler.unit.spec-BDDFTHOF.js +218 -0
  32. package/dist/ProteomeInput-PK4ZM3SZ.js +395 -0
  33. package/dist/ProteomeInput-PK4ZM3SZ.js.map +7 -0
  34. package/dist/RunChart2-PBJ56YX3.js +757 -0
  35. package/dist/SC-UC3HP2MY.js +830 -0
  36. package/dist/SC-UC3HP2MY.js.map +7 -0
  37. package/dist/Volcano-BZJCA53R.js +1314 -0
  38. package/dist/Volcano-BZJCA53R.js.map +7 -0
  39. package/dist/WSIViewer-OHOP2DZT.js +48475 -0
  40. package/dist/WSIViewer-OHOP2DZT.js.map +7 -0
  41. package/dist/WsiSamplesPlot-FOMPMEXK.js +164 -0
  42. package/dist/adSandbox-SRPPCYYR.js +37 -0
  43. package/dist/alphaGenome-IS2WAJCK.js +174 -0
  44. package/dist/app-GTHYSGWI.js +36 -0
  45. package/dist/app-XEKETNLG.js +48 -0
  46. package/dist/app.js +20 -20
  47. package/dist/bam-GQBFL6A7.js +859 -0
  48. package/dist/barchart-AESC4JSX.js +46 -0
  49. package/dist/barchart.data-RE34IC4G.js +22 -0
  50. package/dist/barchart.events-KM4J5ISO.js +46 -0
  51. package/dist/barchart.integration.spec-DFVSBGO3.js +1676 -0
  52. package/dist/barchart2-NNTL4RQZ.js +310 -0
  53. package/dist/block-EHZM3FUX.js +6201 -0
  54. package/dist/block.init-EAEFNNF6.js +37 -0
  55. package/dist/block.mds.expressionrank-ZBHA2CFE.js +358 -0
  56. package/dist/block.mds.geneboxplot-4ZU3QUAK.js +827 -0
  57. package/dist/block.mds.junction-PDH55JXO.js +1544 -0
  58. package/dist/block.mds.svcnv-QWBU54XQ.js +6800 -0
  59. package/dist/block.svg-HUGBYWXU.js +163 -0
  60. package/dist/block.tk.aicheck-SDCWXQZF.js +282 -0
  61. package/dist/block.tk.ase-HMUTHCJS.js +364 -0
  62. package/dist/block.tk.bam-Q7B2YQLI.js +1905 -0
  63. package/dist/block.tk.bedgraphdot-QBGBSVHN.js +383 -0
  64. package/dist/block.tk.bigwig.ui-767A3MUH.js +211 -0
  65. package/dist/block.tk.hicstraw-LEZUZHLF.js +822 -0
  66. package/dist/block.tk.junction-GQHCZOYR.js +2363 -0
  67. package/dist/block.tk.junction.textmatrixui-D5QUO7KQ.js +198 -0
  68. package/dist/block.tk.ld-E3MHZOG5.js +98 -0
  69. package/dist/block.tk.menu-XE7PFYGR.js +1028 -0
  70. package/dist/block.tk.pgv-MPPMPDED.js +943 -0
  71. package/dist/brainImaging-YQ443NOL.js +422 -0
  72. package/dist/chunk-26WXJBSR.js +228 -0
  73. package/dist/chunk-2P6Z7JFC.js +119 -0
  74. package/dist/chunk-2QQO4RRD.js +2681 -0
  75. package/dist/chunk-2T7VYQLY.js +281 -0
  76. package/dist/chunk-2T7VYQLY.js.map +7 -0
  77. package/dist/chunk-2XPDA6NL.js +20652 -0
  78. package/dist/chunk-2XPDA6NL.js.map +7 -0
  79. package/dist/chunk-37ARSZOI.js +2815 -0
  80. package/dist/chunk-42Q53PXE.js +381 -0
  81. package/dist/chunk-46ASPS5Y.js +386 -0
  82. package/dist/chunk-4KPI7PB5.js +142 -0
  83. package/dist/chunk-4MDNMCGZ.js +102 -0
  84. package/dist/chunk-5IG3E4DT.js +272 -0
  85. package/dist/chunk-5MIR7IHI.js +52 -0
  86. package/dist/chunk-5MZVXJVA.js +55 -0
  87. package/dist/chunk-66D5GRS5.js +263 -0
  88. package/dist/chunk-6ATE2TRC.js +534 -0
  89. package/dist/chunk-6BFR6MK3.js +158 -0
  90. package/dist/chunk-6NJMCO4X.js +335 -0
  91. package/dist/chunk-6ON5KAMO.js +54 -0
  92. package/dist/chunk-76GPYMHZ.js +102 -0
  93. package/dist/chunk-7AAFBFOH.js +147 -0
  94. package/dist/chunk-7OOZHEUC.js +302 -0
  95. package/dist/chunk-A4VLWLYF.js +226 -0
  96. package/dist/chunk-A6EFWGWD.js +444 -0
  97. package/dist/chunk-ALW5XXVW.js +170 -0
  98. package/dist/chunk-ANCT2BGO.js +34 -0
  99. package/dist/chunk-AROMXWCY.js +291 -0
  100. package/dist/chunk-AY4UBGLC.js +815 -0
  101. package/dist/chunk-B43MTEYB.js +84 -0
  102. package/dist/chunk-B43MTEYB.js.map +7 -0
  103. package/dist/chunk-BMVLR3TM.js +1210 -0
  104. package/dist/chunk-BR7JA2EO.js +621 -0
  105. package/dist/chunk-C3SYSMNE.js +42 -0
  106. package/dist/chunk-C3SYSMNE.js.map +7 -0
  107. package/dist/chunk-D3HJXMTH.js +17 -0
  108. package/dist/chunk-DKUEZ4XD.js +205 -0
  109. package/dist/chunk-DT3MMC5U.js +31 -0
  110. package/dist/chunk-DYVKN7EE.js +5000 -0
  111. package/dist/chunk-EF37UZY6.js +37 -0
  112. package/dist/chunk-ESXMS7FW.js +229 -0
  113. package/dist/chunk-FDK4UJMN.js +263 -0
  114. package/dist/chunk-FDK4UJMN.js.map +7 -0
  115. package/dist/chunk-FUSVXQ6C.js +368 -0
  116. package/dist/chunk-G7JRRTS5.js +170 -0
  117. package/dist/chunk-G7JRRTS5.js.map +7 -0
  118. package/dist/chunk-GHWHLSUX.js +192 -0
  119. package/dist/chunk-GHWHLSUX.js.map +7 -0
  120. package/dist/chunk-GXKVAPGP.js +2786 -0
  121. package/dist/chunk-H4JIENLQ.js +39 -0
  122. package/dist/chunk-H7YJG4YM.js +470 -0
  123. package/dist/chunk-I24KPIDD.js +148 -0
  124. package/dist/chunk-IENFDUWD.js +203 -0
  125. package/dist/chunk-IKHIY6IZ.js +2327 -0
  126. package/dist/chunk-IKHIY6IZ.js.map +7 -0
  127. package/dist/chunk-J7BISJTL.js +50 -0
  128. package/dist/chunk-J7KYOSEK.js +824 -0
  129. package/dist/chunk-JGPZ5254.js +371 -0
  130. package/dist/chunk-JUIPCWAM.js +194 -0
  131. package/dist/chunk-LO4NMQ7W.js +293 -0
  132. package/dist/chunk-LSSLS5HV.js +95 -0
  133. package/dist/chunk-MDLRB3MR.js +407 -0
  134. package/dist/chunk-MJLKGZ27.js +129 -0
  135. package/dist/chunk-MYWJQRTD.js +1849 -0
  136. package/dist/chunk-MYWJQRTD.js.map +7 -0
  137. package/dist/chunk-NL5T3SBK.js +4209 -0
  138. package/dist/chunk-NMBIT4IK.js +46 -0
  139. package/dist/chunk-NMBIT4IK.js.map +7 -0
  140. package/dist/chunk-ONAYJVN2.js +217 -0
  141. package/dist/chunk-PP7K4R2E.js +141 -0
  142. package/dist/chunk-PP7K4R2E.js.map +7 -0
  143. package/dist/chunk-PSMFOARZ.js +14 -0
  144. package/dist/chunk-QX3GF2IA.js +514 -0
  145. package/dist/chunk-QZ2U4BOS.js +1159 -0
  146. package/dist/chunk-RBZBBNLL.js +1087 -0
  147. package/dist/chunk-RQ2ZJ66W.js +276 -0
  148. package/dist/chunk-RQ2ZJ66W.js.map +7 -0
  149. package/dist/chunk-RZTFQXWV.js +117 -0
  150. package/dist/chunk-SJC2C77V.js +177 -0
  151. package/dist/chunk-THUXB7EE.js +698 -0
  152. package/dist/chunk-THUXB7EE.js.map +7 -0
  153. package/dist/chunk-TVXVP4M6.js +215 -0
  154. package/dist/chunk-UTDPKDIY.js +482 -0
  155. package/dist/chunk-UVIUB7QI.js +280 -0
  156. package/dist/chunk-VAUSRBL5.js +6364 -0
  157. package/dist/chunk-VP3IZVQA.js +54 -0
  158. package/dist/chunk-VP3IZVQA.js.map +7 -0
  159. package/dist/chunk-WP22GYZ2.js +446 -0
  160. package/dist/chunk-WUNX3VST.js +1271 -0
  161. package/dist/chunk-X7GDCYND.js +1561 -0
  162. package/dist/chunk-X7GDCYND.js.map +7 -0
  163. package/dist/chunk-XB3V6S2X.js +1230 -0
  164. package/dist/chunk-XB3V6S2X.js.map +7 -0
  165. package/dist/chunk-XD4TBJK2.js +455 -0
  166. package/dist/chunk-Y6DSXMPB.js +121 -0
  167. package/dist/chunk-YBIZRASR.js +252 -0
  168. package/dist/chunk-YI2YH7ZK.js +158 -0
  169. package/dist/chunk-YLDE3PVC.js +1943 -0
  170. package/dist/chunk-Z736NYXL.js +26 -0
  171. package/dist/chunk-ZEJB7CPC.js +95 -0
  172. package/dist/chunk-ZGWEBKZ4.js +100 -0
  173. package/dist/condition-FSF6ROJV.js +331 -0
  174. package/dist/controls-OPSBFDFZ.js +40 -0
  175. package/dist/controls.config-3QRV5363.js +38 -0
  176. package/dist/correlation-WLOI7Z35.js +97 -0
  177. package/dist/cuminc-G2UGJUUA.js +1148 -0
  178. package/dist/cuminc.integration.spec-X5NEZ6S5.js +677 -0
  179. package/dist/customdata.inputui-RNW3AO3Z.js +288 -0
  180. package/dist/dataDownload-4U3TGDMH.js +329 -0
  181. package/dist/dataDownload.integration.spec-6FUI2SJ4.js +192 -0
  182. package/dist/databrowser.ui-4GVJVJWG.js +432 -0
  183. package/dist/dictionary-NSDS7Z4K.js +110 -0
  184. package/dist/dnaMethylation-OYQB75LD.js +37 -0
  185. package/dist/dnaMethylation.integration.spec-6TTLV34N.js +202 -0
  186. package/dist/dofetch-4TO3QMT6.js +50 -0
  187. package/dist/e2pca-NYBVR6PL.js +349 -0
  188. package/dist/ep-RTDVEA4D.js +1255 -0
  189. package/dist/expclust.gdc.spec-JVIRESTP.js +306 -0
  190. package/dist/facet-OVBF2QMO.js +520 -0
  191. package/dist/forms2-HTLS54CX.js +533 -0
  192. package/dist/gb-Y3546HMZ.js +87 -0
  193. package/dist/geneExpClustering-PH3PWH3K.js +248 -0
  194. package/dist/geneExpression-2Z2EV3XM.js +37 -0
  195. package/dist/geneExpression-6CFXOCGW.js +312 -0
  196. package/dist/geneExpression.unit.spec-WKUTHRHC.js +101 -0
  197. package/dist/geneORA-SHLZESLB.js +277 -0
  198. package/dist/geneVariant-FHZUIFPM.js +38 -0
  199. package/dist/geneVariant-Y7ZUBEOX.js +40 -0
  200. package/dist/geneVariant.integration.spec-N7TZUOY3.js +197 -0
  201. package/dist/genefusion.ui-7PDVZPZ2.js +308 -0
  202. package/dist/geneset-HLVOGYUI.js +202 -0
  203. package/dist/genomeBrowser.spec-7IVIMUR5.js +280 -0
  204. package/dist/grin2-2GNWIYFU.js +845 -0
  205. package/dist/grin2-2GNWIYFU.js.map +7 -0
  206. package/dist/grin2-Z5O7254R.js +1555 -0
  207. package/dist/gsea-TFC3MBRW.js +46 -0
  208. package/dist/hierCluster-ERSE5I4I.js +62 -0
  209. package/dist/hierCluster-QQZQU5ZG.js +58 -0
  210. package/dist/hierCluster.config-WPINWW37.js +39 -0
  211. package/dist/hierCluster.integration.spec-Y6OHSKPW.js +394 -0
  212. package/dist/hierCluster.interactivity-HS3G5QC5.js +53 -0
  213. package/dist/hierCluster.renderers-W63ZKZTT.js +21 -0
  214. package/dist/imagePlot-QFVN25PM.js +162 -0
  215. package/dist/importPlot-MIDM5APH.js +8 -0
  216. package/dist/isoformExpression-L4TRNT4A.js +39 -0
  217. package/dist/isoformExpression.unit.spec-QQG323LA.js +207 -0
  218. package/dist/launch.adhoc-4NQ6GGGL.js +41 -0
  219. package/dist/leftlabel.sample-JU7AIPZL.js +259 -0
  220. package/dist/legacyDataset-TT4CHF23.js +119 -0
  221. package/dist/lollipop-JG74M6PJ.js +170 -0
  222. package/dist/maf-PDL2EGHI.js +451 -0
  223. package/dist/maftimeline-V43NQEEE.js +592 -0
  224. package/dist/matrix-EB2EFP4S.js +57 -0
  225. package/dist/matrix-Q57FU5FE.js +62 -0
  226. package/dist/matrix.cells-NJIMPD32.js +28 -0
  227. package/dist/matrix.config-GLDEQD3H.js +40 -0
  228. package/dist/matrix.data-6SHAKOQU.js +25 -0
  229. package/dist/matrix.groups-MTDEANQA.js +26 -0
  230. package/dist/matrix.integration.spec-JCZ5VQJU.js +3071 -0
  231. package/dist/matrix.interactivity-SVRNWL6V.js +41 -0
  232. package/dist/matrix.layout-2HREO42N.js +43 -0
  233. package/dist/matrix.legend-QHVKT3MP.js +22 -0
  234. package/dist/matrix.renderers-IYR3ZY6V.js +37 -0
  235. package/dist/matrix.serieses-2VMTQXL2.js +21 -0
  236. package/dist/matrix.sort-PWA2RQQR.js +27 -0
  237. package/dist/matrix.sort.unit.spec-3OYIPTFY.js +471 -0
  238. package/dist/matrix.sorterUi-Y5QLO75X.js +18 -0
  239. package/dist/matrix.sorterUi.unit.spec-BNEXQHLP.js +341 -0
  240. package/dist/mavb-IZDDU4KK.js +731 -0
  241. package/dist/mds.fimo-FWBL7JE6.js +517 -0
  242. package/dist/mds.samplescatterplot-T47C7DJB.js +1549 -0
  243. package/dist/mds.survivalplot-MFZJCGS6.js +482 -0
  244. package/dist/numericDictTermCluster-I2W67RGA.js +72 -0
  245. package/dist/oncomatrix-6W7IBAED.js +294 -0
  246. package/dist/oncomatrix.spec-CEFH5IGH.js +447 -0
  247. package/dist/plot.2dvaf-BN6CFLNU.js +376 -0
  248. package/dist/plot.app-7EYWUCZV.js +40 -0
  249. package/dist/plot.barplot-MDIARSQD.js +101 -0
  250. package/dist/plot.boxplot-RUHGXC54.js +151 -0
  251. package/dist/plot.brainImaging-JEE32ZBV.js +51 -0
  252. package/dist/plot.disco-2RPNPX6E.js +101 -0
  253. package/dist/plot.dzi-7VTYYGGW.js +33 -0
  254. package/dist/plot.ssgq-FHE5KU5C.js +138 -0
  255. package/dist/plot.vaf2cov-WDJJM5Q4.js +258 -0
  256. package/dist/plot.wsi-FQZWHNSF.js +36 -0
  257. package/dist/polar-M7EGINN4.js +185 -0
  258. package/dist/polar2-JFYY43K2.js +227 -0
  259. package/dist/profile.spec-SIOHASOX.js +79 -0
  260. package/dist/profileBarchart-6JLEKVJV.js +266 -0
  261. package/dist/profileForms-G6CH73RV.js +440 -0
  262. package/dist/profilePlot-NQYJOBVV.js +53 -0
  263. package/dist/profileRadar-4TNWIXDB.js +262 -0
  264. package/dist/profileRadarFacility-XPH3LCBQ.js +262 -0
  265. package/dist/proteinView-OZLHO45J.js +1222 -0
  266. package/dist/proteinView-OZLHO45J.js.map +7 -0
  267. package/dist/proteomeAbundance-NQ4635NL.js +12 -0
  268. package/dist/proteomeAbundance-OV24UTZN.js +59 -0
  269. package/dist/proteomeAbundance-OV24UTZN.js.map +7 -0
  270. package/dist/qualitative-DL4WJG3O.js +42 -0
  271. package/dist/radar2-YNOQWHBT.js +315 -0
  272. package/dist/radarFacility2-24UPSI7S.js +324 -0
  273. package/dist/regression-URAUTLTD.js +55 -0
  274. package/dist/regression.inputs-UDVOU7FB.js +47 -0
  275. package/dist/regression.inputs.term-BWW6W34R.js +47 -0
  276. package/dist/regression.inputs.values.table-UKGIZTXG.js +44 -0
  277. package/dist/regression.integration.spec-EBHQTNA3.js +783 -0
  278. package/dist/regression.results-XTOSWIP6.js +39 -0
  279. package/dist/regression.spec-KG2I53VR.js +707 -0
  280. package/dist/report-KH7SNPVF.js +221 -0
  281. package/dist/sampleScatter.spec-PIXGS3LG.js +201 -0
  282. package/dist/sampleView-TWS6VT55.js +47 -0
  283. package/dist/samplelst-6AB5Y4WR.js +110 -0
  284. package/dist/samplematrix-AJAF555E.js +2197 -0
  285. package/dist/sc-PMNYZKXA.js +85 -0
  286. package/dist/scatter-Q2GH3ZJD.js +801 -0
  287. package/dist/scatter.integration.spec-SMMYKWH3.js +1195 -0
  288. package/dist/selectGenomeWithTklst-VE4SDYY7.js +133 -0
  289. package/dist/singleCellCellType-S324GCKW.js +37 -0
  290. package/dist/singleCellCellType.unit.spec-NXC2GELH.js +159 -0
  291. package/dist/singleCellGeneExpression-6H4HRKIA.js +37 -0
  292. package/dist/singleCellGeneExpression.unit.spec-HIJXVUWJ.js +152 -0
  293. package/dist/singleCellPlot-H7PCZ2DP.js +52 -0
  294. package/dist/singlecell-4LH3MQVL.js +85 -0
  295. package/dist/singlecell-MOSYT3RI.js +1571 -0
  296. package/dist/snp-IKLGTD4Q.js +37 -0
  297. package/dist/snp.unit.spec-GC74MUVM.js +175 -0
  298. package/dist/snplocus-RIABFSBQ.js +207 -0
  299. package/dist/spliceevent.a53ss.diagram-4E2IYYHL.js +150 -0
  300. package/dist/spliceevent.exonskip.diagram-C56R6XLQ.js +276 -0
  301. package/dist/spliceevent.noeventdiagram-SIPMAKXI.js +459 -0
  302. package/dist/ssGSEA-5QNHLSOI.js +37 -0
  303. package/dist/ssGSEA.unit.spec-KVPN553B.js +87 -0
  304. package/dist/summarizeCnvGeneexp-K4VGJSW6.js +162 -0
  305. package/dist/summarizeGeneexpSurvival-HGHX65FN.js +107 -0
  306. package/dist/summarizeMutationCnv-3K4Z6R2X.js +163 -0
  307. package/dist/summarizeMutationDiagnosis-M2MHUPRT.js +39 -0
  308. package/dist/summarizeMutationSurvival-WVBUP3GA.js +98 -0
  309. package/dist/summary-RZHZXCU5.js +48 -0
  310. package/dist/summary.integration.spec-FGZP7DY7.js +413 -0
  311. package/dist/summaryInput-UGM7MMCR.js +234 -0
  312. package/dist/sunburst-L27U7LV7.js +283 -0
  313. package/dist/survival-5ZMEBV6O.js +57 -0
  314. package/dist/survival-JWRRGTJT.js +45 -0
  315. package/dist/survival.integration.spec-Z5542I4V.js +801 -0
  316. package/dist/svgraph-O6ZVLNNN.js +1386 -0
  317. package/dist/svmr-ULFV7OSH.js +3841 -0
  318. package/dist/table-CHRQH2GH.js +199 -0
  319. package/dist/termCollection-FAO6ZA6F.js +178 -0
  320. package/dist/termCollection-GBXS3GOY.js +37 -0
  321. package/dist/termCollection.unit.spec-4WRTOV6E.js +207 -0
  322. package/dist/tk-KNUBWRNK.js +45 -0
  323. package/dist/tp.ui-2PPYOQYL.js +1458 -0
  324. package/dist/tvs.density-BZ5SKDQS.js +18 -0
  325. package/dist/tvs.dt-TDNSTGQR.js +38 -0
  326. package/dist/tvs.dtcnv.categorical-P2IGIE4I.js +39 -0
  327. package/dist/tvs.dtcnv.continuous-2XUCRBDR.js +71 -0
  328. package/dist/tvs.dtfusion-PRHZVMOG.js +39 -0
  329. package/dist/tvs.dtsnvindel-KGKBW5JS.js +39 -0
  330. package/dist/tvs.dtsv-M3CY5TZF.js +39 -0
  331. package/dist/tvs.numeric-W74JCC5P.js +21 -0
  332. package/dist/tvs.samplelst-BTWFBBAN.js +103 -0
  333. package/dist/tvs.termCollection-Y64QIKOA.js +158 -0
  334. package/dist/violin-3LLHHV3L.js +45 -0
  335. package/dist/violin.integration.spec-6NF5FDLQ.js +1424 -0
  336. package/dist/violin.interactivity-W2AKZ24D.js +37 -0
  337. package/dist/violin.renderer-CRFYYZRI.js +39 -0
  338. package/dist/vocabulary-AUJOAVYS.js +40 -0
  339. package/package.json +4 -3
  340. package/dist/2dmaf-DTWWXOZC.js +0 -1372
  341. package/dist/AIProjectAdmin-BCYIWOXD.js +0 -828
  342. package/dist/AppHeader-H3L2MRWP.js +0 -834
  343. package/dist/BoxPlot-INZ6IN3V.js +0 -1218
  344. package/dist/CorrelationVolcano-AK3XW4ZH.js +0 -618
  345. package/dist/DE-IBSFUKNG.js +0 -94
  346. package/dist/DEinput-H4GMQWDY.js +0 -300
  347. package/dist/DifferentialAnalysis-3DSL5LQC.js +0 -243
  348. package/dist/DifferentialAnalysis-3DSL5LQC.js.map +0 -7
  349. package/dist/Disco-5PXXMGGQ.js +0 -3236
  350. package/dist/Disco.UI-23LOT2U6.js +0 -244
  351. package/dist/DmrPlot-PBCU2XNF.js +0 -641
  352. package/dist/GB-HIEPWNPV.js +0 -1129
  353. package/dist/GeneExpInput-A4JNX7PU.js +0 -365
  354. package/dist/HicApp-IDH2A4BC.js +0 -2249
  355. package/dist/NumBinaryEditor-CZ54X7J3.js +0 -269
  356. package/dist/NumBinaryEditor.unit.spec-QLBRM7MJ.js +0 -285
  357. package/dist/NumContEditor-Z5MGLQ2I.js +0 -106
  358. package/dist/NumContEditor.unit.spec-TR7D7ULV.js +0 -168
  359. package/dist/NumCustomBinEditor-B7JID42Y.js +0 -37
  360. package/dist/NumCustomBinEditor.unit.spec-GZJIVY4K.js +0 -283
  361. package/dist/NumDiscreteEditor-LWHZ36T6.js +0 -178
  362. package/dist/NumDiscreteEditor.unit.spec-QCQCMEWO.js +0 -201
  363. package/dist/NumRegularBinEditor-IATRIUKD.js +0 -37
  364. package/dist/NumRegularBinEditor.unit.spec-J6UTQO76.js +0 -226
  365. package/dist/NumSplineEditor-2KMU6SRO.js +0 -191
  366. package/dist/NumSplineEditor.unit.spec-MX7Y4MTD.js +0 -198
  367. package/dist/NumericDensity-JCH7F5FV.js +0 -37
  368. package/dist/NumericDensity.unit.spec-4TKKRKHF.js +0 -220
  369. package/dist/NumericHandler-7FB3RJM7.js +0 -38
  370. package/dist/NumericHandler.unit.spec-U6DCADZY.js +0 -218
  371. package/dist/RunChart2-VQTIVMKM.js +0 -757
  372. package/dist/SC-XW272KAP.js +0 -827
  373. package/dist/SC-XW272KAP.js.map +0 -7
  374. package/dist/Volcano-Y4U3L6D2.js +0 -1352
  375. package/dist/Volcano-Y4U3L6D2.js.map +0 -7
  376. package/dist/WSIViewer-UFB7TI2D.js +0 -47972
  377. package/dist/WSIViewer-UFB7TI2D.js.map +0 -7
  378. package/dist/WsiSamplesPlot-2OAR57YB.js +0 -164
  379. package/dist/adSandbox-IKKFYRF7.js +0 -37
  380. package/dist/alphaGenome-WJNFQGGK.js +0 -174
  381. package/dist/app-UHGTFH6D.js +0 -48
  382. package/dist/app-YETYAR45.js +0 -36
  383. package/dist/bam-S6U7VNJP.js +0 -859
  384. package/dist/barchart-3NJDGHXU.js +0 -46
  385. package/dist/barchart.data-MVVKPDLE.js +0 -22
  386. package/dist/barchart.events-WQGA4CGB.js +0 -46
  387. package/dist/barchart.integration.spec-E6CJTWRN.js +0 -1676
  388. package/dist/barchart2-UNHFOYKB.js +0 -310
  389. package/dist/block-2XHZLY26.js +0 -6201
  390. package/dist/block.init-CMG4V6RB.js +0 -37
  391. package/dist/block.mds.expressionrank-QX2JOEMV.js +0 -358
  392. package/dist/block.mds.geneboxplot-USVQSDBT.js +0 -827
  393. package/dist/block.mds.junction-R6GJO75N.js +0 -1544
  394. package/dist/block.mds.svcnv-MRISSDAX.js +0 -6800
  395. package/dist/block.svg-Z5KKZTDB.js +0 -163
  396. package/dist/block.tk.aicheck-SOFJYYZX.js +0 -282
  397. package/dist/block.tk.ase-EHX5FV2Y.js +0 -364
  398. package/dist/block.tk.bam-DJS6LODM.js +0 -1905
  399. package/dist/block.tk.bedgraphdot-R2YHPXZA.js +0 -383
  400. package/dist/block.tk.bigwig.ui-VPEEQJLS.js +0 -211
  401. package/dist/block.tk.hicstraw-BDYN573B.js +0 -822
  402. package/dist/block.tk.junction-BONB4BXU.js +0 -2363
  403. package/dist/block.tk.junction.textmatrixui-Y5R6KY4N.js +0 -198
  404. package/dist/block.tk.ld-EGVVSXCB.js +0 -98
  405. package/dist/block.tk.menu-4YBMB5JT.js +0 -1028
  406. package/dist/block.tk.pgv-SBHGL6UH.js +0 -943
  407. package/dist/brainImaging-G3WZDYG6.js +0 -422
  408. package/dist/chunk-2K5DSRBJ.js +0 -84
  409. package/dist/chunk-2K5DSRBJ.js.map +0 -7
  410. package/dist/chunk-2O6JF76T.js +0 -121
  411. package/dist/chunk-2QULGYVE.js +0 -368
  412. package/dist/chunk-2VLGHVOL.js +0 -215
  413. package/dist/chunk-32TTOWY6.js +0 -1210
  414. package/dist/chunk-43PMSEMV.js +0 -50
  415. package/dist/chunk-4KSU6NBP.js +0 -194
  416. package/dist/chunk-4SFX42S7.js +0 -1271
  417. package/dist/chunk-4Y444IRJ.js +0 -272
  418. package/dist/chunk-56AN5PPQ.js +0 -679
  419. package/dist/chunk-56AN5PPQ.js.map +0 -7
  420. package/dist/chunk-5FO3NKA4.js +0 -155
  421. package/dist/chunk-5FO3NKA4.js.map +0 -7
  422. package/dist/chunk-5HOR6JQ2.js +0 -100
  423. package/dist/chunk-5LZKQFLO.js +0 -180
  424. package/dist/chunk-5LZKQFLO.js.map +0 -7
  425. package/dist/chunk-5RE3J6HK.js +0 -293
  426. package/dist/chunk-5SMOOFRW.js +0 -386
  427. package/dist/chunk-64Z22QAH.js +0 -14
  428. package/dist/chunk-6NMH6WPB.js +0 -446
  429. package/dist/chunk-7FKIAQ4K.js +0 -17
  430. package/dist/chunk-7NOKTEHK.js +0 -407
  431. package/dist/chunk-7UHUOC6F.js +0 -119
  432. package/dist/chunk-AMYSEKPF.js +0 -1658
  433. package/dist/chunk-AMYSEKPF.js.map +0 -7
  434. package/dist/chunk-ANGDY7VC.js +0 -170
  435. package/dist/chunk-AQ4OP4GR.js +0 -39
  436. package/dist/chunk-AQVOYTLS.js +0 -177
  437. package/dist/chunk-ARINZFQG.js +0 -276
  438. package/dist/chunk-ARINZFQG.js.map +0 -7
  439. package/dist/chunk-BQJVLXEL.js +0 -55
  440. package/dist/chunk-BRMASRRS.js +0 -455
  441. package/dist/chunk-BT4OOYPT.js +0 -280
  442. package/dist/chunk-BTJFVY3R.js +0 -190
  443. package/dist/chunk-BTJFVY3R.js.map +0 -7
  444. package/dist/chunk-C62CSWMV.js +0 -335
  445. package/dist/chunk-CAWDQURD.js +0 -6364
  446. package/dist/chunk-DMAHNBGN.js +0 -1230
  447. package/dist/chunk-DMAHNBGN.js.map +0 -7
  448. package/dist/chunk-EGWVYY7K.js +0 -264
  449. package/dist/chunk-EGWVYY7K.js.map +0 -7
  450. package/dist/chunk-ENWVV6EU.js +0 -2681
  451. package/dist/chunk-EPOELG75.js +0 -56
  452. package/dist/chunk-EPOELG75.js.map +0 -7
  453. package/dist/chunk-FA44G3GZ.js +0 -470
  454. package/dist/chunk-GD7FKXOA.js +0 -148
  455. package/dist/chunk-GF4OSOYW.js +0 -2815
  456. package/dist/chunk-GQOBT2W7.js +0 -203
  457. package/dist/chunk-GTBL7UHX.js +0 -2786
  458. package/dist/chunk-HE7CD7BD.js +0 -482
  459. package/dist/chunk-I7JDV4ZC.js +0 -226
  460. package/dist/chunk-IABWKPRK.js +0 -534
  461. package/dist/chunk-IPDH4FHY.js +0 -54
  462. package/dist/chunk-JNOOLCYB.js +0 -1159
  463. package/dist/chunk-JPKYHLNI.js +0 -158
  464. package/dist/chunk-KMQ6GQ3I.js +0 -1943
  465. package/dist/chunk-KTCW3JA6.js +0 -4209
  466. package/dist/chunk-L4QG7XZE.js +0 -46
  467. package/dist/chunk-L4QG7XZE.js.map +0 -7
  468. package/dist/chunk-LGUE54VX.js +0 -302
  469. package/dist/chunk-LJ4AUJXC.js +0 -95
  470. package/dist/chunk-LN3QYBGI.js +0 -20495
  471. package/dist/chunk-LN3QYBGI.js.map +0 -7
  472. package/dist/chunk-LQQSRNR5.js +0 -228
  473. package/dist/chunk-LSV4Z473.js +0 -31
  474. package/dist/chunk-LTSR7SLO.js +0 -514
  475. package/dist/chunk-LY7GD74F.js +0 -381
  476. package/dist/chunk-MHCTLVGE.js +0 -26
  477. package/dist/chunk-MSAMGAQF.js +0 -2370
  478. package/dist/chunk-MSAMGAQF.js.map +0 -7
  479. package/dist/chunk-NYX4B5CO.js +0 -291
  480. package/dist/chunk-OPPNZXYG.js +0 -129
  481. package/dist/chunk-P6TPXUMP.js +0 -117
  482. package/dist/chunk-PL2CM7RY.js +0 -621
  483. package/dist/chunk-PSGQWZN4.js +0 -147
  484. package/dist/chunk-PZLYNNST.js +0 -371
  485. package/dist/chunk-RA4RQYXQ.js +0 -142
  486. package/dist/chunk-RAJZYWFN.js +0 -95
  487. package/dist/chunk-ROLVOPVR.js +0 -252
  488. package/dist/chunk-RQZJIBIH.js +0 -34
  489. package/dist/chunk-RSE2FOKW.js +0 -217
  490. package/dist/chunk-SDLRTORS.js +0 -263
  491. package/dist/chunk-TF4EDNQO.js +0 -158
  492. package/dist/chunk-TV74I3Y5.js +0 -43
  493. package/dist/chunk-TV74I3Y5.js.map +0 -7
  494. package/dist/chunk-UPPBAFUK.js +0 -5000
  495. package/dist/chunk-UVPAZM3G.js +0 -52
  496. package/dist/chunk-UWYCEYML.js +0 -815
  497. package/dist/chunk-VB3SRNBK.js +0 -37
  498. package/dist/chunk-W6XQR5UL.js +0 -444
  499. package/dist/chunk-XBBUQW52.js +0 -824
  500. package/dist/chunk-XSA3VIEQ.js +0 -205
  501. package/dist/chunk-XZ6MGJQ3.js +0 -102
  502. package/dist/chunk-YC6ZJ7RP.js +0 -1842
  503. package/dist/chunk-YC6ZJ7RP.js.map +0 -7
  504. package/dist/chunk-YEMIL6QU.js +0 -1087
  505. package/dist/chunk-ZD47FENE.js +0 -229
  506. package/dist/chunk-ZYBM24FU.js +0 -102
  507. package/dist/chunk-ZYY54HBU.js +0 -330
  508. package/dist/chunk-ZYY54HBU.js.map +0 -7
  509. package/dist/condition-ARCN26MF.js +0 -331
  510. package/dist/controls-PKWN2JGN.js +0 -40
  511. package/dist/controls.config-NFRPXFUJ.js +0 -38
  512. package/dist/correlation-DPT6XL2U.js +0 -97
  513. package/dist/cuminc-M4U7LQD5.js +0 -1148
  514. package/dist/cuminc.integration.spec-MH4OFYDJ.js +0 -677
  515. package/dist/customdata.inputui-6TAHAMSV.js +0 -288
  516. package/dist/dataDownload-7GZEYSUT.js +0 -329
  517. package/dist/dataDownload.integration.spec-NAIJRFTV.js +0 -192
  518. package/dist/databrowser.ui-LLXHZ5O6.js +0 -432
  519. package/dist/dictionary-MUAURMYE.js +0 -110
  520. package/dist/dnaMethylation-AU5D3U3E.js +0 -37
  521. package/dist/dnaMethylation.integration.spec-JIDBRA6P.js +0 -202
  522. package/dist/dofetch-WSYK5OTB.js +0 -50
  523. package/dist/e2pca-ICG35YR5.js +0 -349
  524. package/dist/ep-CSSSQOUP.js +0 -1255
  525. package/dist/expclust.gdc.spec-4WPQUXH4.js +0 -306
  526. package/dist/facet-JAGILNY6.js +0 -520
  527. package/dist/forms2-IMVDB6AT.js +0 -533
  528. package/dist/gb-36LTYICV.js +0 -87
  529. package/dist/geneExpClustering-CGMENTHI.js +0 -248
  530. package/dist/geneExpression-AD2L46J4.js +0 -37
  531. package/dist/geneExpression-G2FHBDUQ.js +0 -312
  532. package/dist/geneExpression.unit.spec-XWCB7K5L.js +0 -101
  533. package/dist/geneORA-GVHQF7DF.js +0 -277
  534. package/dist/geneVariant-HE22CH76.js +0 -40
  535. package/dist/geneVariant-SQD5QUFH.js +0 -38
  536. package/dist/geneVariant.integration.spec-66XFLDNN.js +0 -197
  537. package/dist/genefusion.ui-TD32NWD4.js +0 -308
  538. package/dist/geneset-NSYPDXS3.js +0 -202
  539. package/dist/genomeBrowser.spec-CYFONLNQ.js +0 -280
  540. package/dist/grin2-3QB57OPH.js +0 -1555
  541. package/dist/grin2-FLQNWPMZ.js +0 -851
  542. package/dist/grin2-FLQNWPMZ.js.map +0 -7
  543. package/dist/gsea-RMTU5I3U.js +0 -46
  544. package/dist/hierCluster-LSQL6PGC.js +0 -58
  545. package/dist/hierCluster-XTEBDEVO.js +0 -62
  546. package/dist/hierCluster.config-SHXFSPOH.js +0 -39
  547. package/dist/hierCluster.integration.spec-KNMIYWV3.js +0 -394
  548. package/dist/hierCluster.interactivity-6NAKTUR5.js +0 -53
  549. package/dist/hierCluster.renderers-FWOV4Q47.js +0 -21
  550. package/dist/imagePlot-3IVG4SFN.js +0 -162
  551. package/dist/importPlot-HEMDRIVF.js +0 -8
  552. package/dist/isoformExpression-FJ3GEU6D.js +0 -39
  553. package/dist/isoformExpression.unit.spec-L7D22UDB.js +0 -207
  554. package/dist/launch.adhoc-PDGQF2UP.js +0 -41
  555. package/dist/leftlabel.sample-ZBI4NHCV.js +0 -259
  556. package/dist/legacyDataset-PBCPC5I7.js +0 -119
  557. package/dist/lollipop-K7S6ASFE.js +0 -170
  558. package/dist/maf-JEW6PPJB.js +0 -451
  559. package/dist/maftimeline-7URL27MC.js +0 -592
  560. package/dist/matrix-6EK5WGIG.js +0 -57
  561. package/dist/matrix-DKBD5RIL.js +0 -62
  562. package/dist/matrix.cells-KEIOXJQ7.js +0 -28
  563. package/dist/matrix.config-FGJB4VVM.js +0 -40
  564. package/dist/matrix.data-QGCGFLD7.js +0 -25
  565. package/dist/matrix.groups-HBPLZ2QX.js +0 -26
  566. package/dist/matrix.integration.spec-R4PF67KF.js +0 -3071
  567. package/dist/matrix.interactivity-M3SY33ET.js +0 -41
  568. package/dist/matrix.layout-H6WQ3ZMW.js +0 -43
  569. package/dist/matrix.legend-UCL7HM26.js +0 -22
  570. package/dist/matrix.renderers-3PPFSS7Z.js +0 -37
  571. package/dist/matrix.serieses-S2TJ3E6P.js +0 -21
  572. package/dist/matrix.sort-CFA4UWBJ.js +0 -27
  573. package/dist/matrix.sort.unit.spec-562VIWDS.js +0 -471
  574. package/dist/matrix.sorterUi-FT7K5664.js +0 -18
  575. package/dist/matrix.sorterUi.unit.spec-GAHHUN3K.js +0 -341
  576. package/dist/mavb-HPW5X55U.js +0 -731
  577. package/dist/mds.fimo-HSBKLIOX.js +0 -517
  578. package/dist/mds.samplescatterplot-DE27OMJE.js +0 -1549
  579. package/dist/mds.survivalplot-IW22UGCE.js +0 -482
  580. package/dist/numericDictTermCluster-DOD66G3A.js +0 -72
  581. package/dist/oncomatrix-BZCVCPR4.js +0 -294
  582. package/dist/oncomatrix.spec-IHYCIAP4.js +0 -447
  583. package/dist/plot.2dvaf-QLOZ54VC.js +0 -376
  584. package/dist/plot.app-XDVDR23J.js +0 -40
  585. package/dist/plot.barplot-XOESF7OQ.js +0 -101
  586. package/dist/plot.boxplot-VNOC2CHT.js +0 -151
  587. package/dist/plot.brainImaging-7ZEOY4UR.js +0 -51
  588. package/dist/plot.disco-6GVDYK7A.js +0 -101
  589. package/dist/plot.dzi-TEFPPPL6.js +0 -33
  590. package/dist/plot.ssgq-OG4TODLO.js +0 -138
  591. package/dist/plot.vaf2cov-VMZRJULA.js +0 -258
  592. package/dist/plot.wsi-2CHZZ7AC.js +0 -36
  593. package/dist/polar-QUYQRQOQ.js +0 -185
  594. package/dist/polar2-OXXLAXJC.js +0 -227
  595. package/dist/profile.spec-TI6PRHNJ.js +0 -79
  596. package/dist/profileBarchart-GEK77XEB.js +0 -266
  597. package/dist/profileForms-NR3VNHKM.js +0 -440
  598. package/dist/profilePlot-GGKO3IW5.js +0 -53
  599. package/dist/profileRadar-MN3LX5ER.js +0 -262
  600. package/dist/profileRadarFacility-3G2HWB2L.js +0 -262
  601. package/dist/proteinView-TZ5BGOTA.js +0 -1188
  602. package/dist/proteinView-TZ5BGOTA.js.map +0 -7
  603. package/dist/proteomeAbundance-JXNECXF7.js +0 -68
  604. package/dist/proteomeAbundance-JXNECXF7.js.map +0 -7
  605. package/dist/proteomeAbundance-O4BB55O3.js +0 -21
  606. package/dist/qualitative-Q3TT73O7.js +0 -42
  607. package/dist/radar2-LSD3VPZT.js +0 -315
  608. package/dist/radarFacility2-LZGIXY7A.js +0 -324
  609. package/dist/regression-J3XDAPAZ.js +0 -55
  610. package/dist/regression.inputs-BBZYI5OI.js +0 -47
  611. package/dist/regression.inputs.term-7BW6XGLG.js +0 -47
  612. package/dist/regression.inputs.values.table-DYX2YU4H.js +0 -44
  613. package/dist/regression.integration.spec-WLXZYKWW.js +0 -783
  614. package/dist/regression.results-K5Q2N2KW.js +0 -39
  615. package/dist/regression.spec-VT7T6KBY.js +0 -707
  616. package/dist/report-3D3L573D.js +0 -221
  617. package/dist/sampleScatter.spec-6IPJQLM2.js +0 -201
  618. package/dist/sampleView-5JMFI4HF.js +0 -47
  619. package/dist/samplelst-SUCB5WOZ.js +0 -110
  620. package/dist/samplematrix-A5SZBKO6.js +0 -2197
  621. package/dist/sc-NAA6ESO6.js +0 -85
  622. package/dist/scatter-EQCN2HYE.js +0 -801
  623. package/dist/scatter.integration.spec-7NXIYS67.js +0 -1195
  624. package/dist/selectGenomeWithTklst-KXODNCY6.js +0 -133
  625. package/dist/singleCellCellType-HMIW76YB.js +0 -37
  626. package/dist/singleCellCellType.unit.spec-ZCZET56X.js +0 -159
  627. package/dist/singleCellGeneExpression-IUCUHF6R.js +0 -37
  628. package/dist/singleCellGeneExpression.unit.spec-J4D6F2N3.js +0 -152
  629. package/dist/singleCellPlot-L6W3MDGG.js +0 -52
  630. package/dist/singlecell-A6ECAAPI.js +0 -85
  631. package/dist/singlecell-KBABNXC5.js +0 -1571
  632. package/dist/snp-RO7ATG6E.js +0 -37
  633. package/dist/snp.unit.spec-ZJLRGJD4.js +0 -175
  634. package/dist/snplocus-N3CU6NRP.js +0 -207
  635. package/dist/spliceevent.a53ss.diagram-7PHT4COB.js +0 -150
  636. package/dist/spliceevent.exonskip.diagram-3CZTY6QD.js +0 -276
  637. package/dist/spliceevent.noeventdiagram-GQE256DT.js +0 -459
  638. package/dist/ssGSEA-4I3L5MX2.js +0 -37
  639. package/dist/ssGSEA.unit.spec-PZCC5YU7.js +0 -87
  640. package/dist/summarizeCnvGeneexp-ASXUQW56.js +0 -162
  641. package/dist/summarizeGeneexpSurvival-ULGUOW5V.js +0 -107
  642. package/dist/summarizeMutationCnv-VDUCIUGM.js +0 -163
  643. package/dist/summarizeMutationDiagnosis-FMAAMCZC.js +0 -39
  644. package/dist/summarizeMutationSurvival-GZ4NGDJT.js +0 -98
  645. package/dist/summary-2WNZ6JSB.js +0 -48
  646. package/dist/summary.integration.spec-XPMYB6GM.js +0 -413
  647. package/dist/summaryInput-2UGXEA5C.js +0 -234
  648. package/dist/sunburst-76WCQLTT.js +0 -283
  649. package/dist/survival-23IZM4ML.js +0 -45
  650. package/dist/survival-3EAMPHSX.js +0 -57
  651. package/dist/survival.integration.spec-YNVAKBV3.js +0 -801
  652. package/dist/svgraph-G2M5LXEP.js +0 -1386
  653. package/dist/svmr-BUDBVU34.js +0 -3841
  654. package/dist/table-QJSZ6YFK.js +0 -199
  655. package/dist/termCollection-2YAY3RLZ.js +0 -178
  656. package/dist/termCollection-MAMDMEDD.js +0 -37
  657. package/dist/termCollection.unit.spec-UY7G2BHG.js +0 -207
  658. package/dist/tk-GFGP3F76.js +0 -45
  659. package/dist/tp.ui-OQ757UIE.js +0 -1458
  660. package/dist/tvs.density-BJK23JYJ.js +0 -18
  661. package/dist/tvs.dt-TOYEFKNT.js +0 -38
  662. package/dist/tvs.dtcnv.categorical-EO2VLFL2.js +0 -39
  663. package/dist/tvs.dtcnv.continuous-ZAHTKZ4Y.js +0 -71
  664. package/dist/tvs.dtfusion-BY3AHBL3.js +0 -39
  665. package/dist/tvs.dtsnvindel-UM5LQ4FR.js +0 -39
  666. package/dist/tvs.dtsv-H7ZVHLS5.js +0 -39
  667. package/dist/tvs.numeric-66FP6RRH.js +0 -21
  668. package/dist/tvs.samplelst-Q5ECTZOY.js +0 -103
  669. package/dist/tvs.termCollection-FYNMKZTR.js +0 -158
  670. package/dist/violin-EGWLAJVM.js +0 -45
  671. package/dist/violin.integration.spec-3P4TYHBR.js +0 -1424
  672. package/dist/violin.interactivity-VWDR4LYB.js +0 -37
  673. package/dist/violin.renderer-WWTU6J7X.js +0 -39
  674. package/dist/vocabulary-JG4ZITOH.js +0 -40
  675. /package/dist/{2dmaf-DTWWXOZC.js.map → 2dmaf-6YIEXAIG.js.map} +0 -0
  676. /package/dist/{AIProjectAdmin-BCYIWOXD.js.map → AIProjectAdmin-5K5NIQNT.js.map} +0 -0
  677. /package/dist/{AppHeader-H3L2MRWP.js.map → AppHeader-4SN5M6SZ.js.map} +0 -0
  678. /package/dist/{BoxPlot-INZ6IN3V.js.map → BoxPlot-DBJA6TQF.js.map} +0 -0
  679. /package/dist/{CorrelationVolcano-AK3XW4ZH.js.map → CorrelationVolcano-MDMTMTT5.js.map} +0 -0
  680. /package/dist/{DE-IBSFUKNG.js.map → DE-S5AFNI4I.js.map} +0 -0
  681. /package/dist/{DEinput-H4GMQWDY.js.map → DEinput-XVBBA74N.js.map} +0 -0
  682. /package/dist/{Disco-5PXXMGGQ.js.map → Disco-VV7FQ7WW.js.map} +0 -0
  683. /package/dist/{Disco.UI-23LOT2U6.js.map → Disco.UI-JDJFJFEY.js.map} +0 -0
  684. /package/dist/{DmrPlot-PBCU2XNF.js.map → DmrPlot-XOG67W74.js.map} +0 -0
  685. /package/dist/{GB-HIEPWNPV.js.map → GB-K3AWZQFF.js.map} +0 -0
  686. /package/dist/{GeneExpInput-A4JNX7PU.js.map → GeneExpInput-Y7MDS2CA.js.map} +0 -0
  687. /package/dist/{HicApp-IDH2A4BC.js.map → HicApp-53OTZ3YU.js.map} +0 -0
  688. /package/dist/{NumBinaryEditor-CZ54X7J3.js.map → NumBinaryEditor-SB4YR3JM.js.map} +0 -0
  689. /package/dist/{NumBinaryEditor.unit.spec-QLBRM7MJ.js.map → NumBinaryEditor.unit.spec-V2W2OZYP.js.map} +0 -0
  690. /package/dist/{NumContEditor-Z5MGLQ2I.js.map → NumContEditor-RZZBM7PR.js.map} +0 -0
  691. /package/dist/{NumContEditor.unit.spec-TR7D7ULV.js.map → NumContEditor.unit.spec-GAAW3ZZN.js.map} +0 -0
  692. /package/dist/{NumCustomBinEditor-B7JID42Y.js.map → NumCustomBinEditor-GFCGPRPI.js.map} +0 -0
  693. /package/dist/{NumCustomBinEditor.unit.spec-GZJIVY4K.js.map → NumCustomBinEditor.unit.spec-24MXSO3L.js.map} +0 -0
  694. /package/dist/{NumDiscreteEditor-LWHZ36T6.js.map → NumDiscreteEditor-HAHIOFNC.js.map} +0 -0
  695. /package/dist/{NumDiscreteEditor.unit.spec-QCQCMEWO.js.map → NumDiscreteEditor.unit.spec-JYN2CWSI.js.map} +0 -0
  696. /package/dist/{NumRegularBinEditor-IATRIUKD.js.map → NumRegularBinEditor-7DOE64RB.js.map} +0 -0
  697. /package/dist/{NumRegularBinEditor.unit.spec-J6UTQO76.js.map → NumRegularBinEditor.unit.spec-2WU4GGNT.js.map} +0 -0
  698. /package/dist/{NumSplineEditor-2KMU6SRO.js.map → NumSplineEditor-JLRD5TVX.js.map} +0 -0
  699. /package/dist/{NumSplineEditor.unit.spec-MX7Y4MTD.js.map → NumSplineEditor.unit.spec-LOG7CECJ.js.map} +0 -0
  700. /package/dist/{NumericDensity-JCH7F5FV.js.map → NumericDensity-IDOP7I34.js.map} +0 -0
  701. /package/dist/{NumericDensity.unit.spec-4TKKRKHF.js.map → NumericDensity.unit.spec-HTJQRPVH.js.map} +0 -0
  702. /package/dist/{NumericHandler-7FB3RJM7.js.map → NumericHandler-DWVVGLLB.js.map} +0 -0
  703. /package/dist/{NumericHandler.unit.spec-U6DCADZY.js.map → NumericHandler.unit.spec-BDDFTHOF.js.map} +0 -0
  704. /package/dist/{RunChart2-VQTIVMKM.js.map → RunChart2-PBJ56YX3.js.map} +0 -0
  705. /package/dist/{WsiSamplesPlot-2OAR57YB.js.map → WsiSamplesPlot-FOMPMEXK.js.map} +0 -0
  706. /package/dist/{adSandbox-IKKFYRF7.js.map → adSandbox-SRPPCYYR.js.map} +0 -0
  707. /package/dist/{alphaGenome-WJNFQGGK.js.map → alphaGenome-IS2WAJCK.js.map} +0 -0
  708. /package/dist/{app-UHGTFH6D.js.map → app-GTHYSGWI.js.map} +0 -0
  709. /package/dist/{app-YETYAR45.js.map → app-XEKETNLG.js.map} +0 -0
  710. /package/dist/{bam-S6U7VNJP.js.map → bam-GQBFL6A7.js.map} +0 -0
  711. /package/dist/{barchart-3NJDGHXU.js.map → barchart-AESC4JSX.js.map} +0 -0
  712. /package/dist/{barchart.data-MVVKPDLE.js.map → barchart.data-RE34IC4G.js.map} +0 -0
  713. /package/dist/{barchart.events-WQGA4CGB.js.map → barchart.events-KM4J5ISO.js.map} +0 -0
  714. /package/dist/{barchart.integration.spec-E6CJTWRN.js.map → barchart.integration.spec-DFVSBGO3.js.map} +0 -0
  715. /package/dist/{barchart2-UNHFOYKB.js.map → barchart2-NNTL4RQZ.js.map} +0 -0
  716. /package/dist/{block-2XHZLY26.js.map → block-EHZM3FUX.js.map} +0 -0
  717. /package/dist/{block.init-CMG4V6RB.js.map → block.init-EAEFNNF6.js.map} +0 -0
  718. /package/dist/{block.mds.expressionrank-QX2JOEMV.js.map → block.mds.expressionrank-ZBHA2CFE.js.map} +0 -0
  719. /package/dist/{block.mds.geneboxplot-USVQSDBT.js.map → block.mds.geneboxplot-4ZU3QUAK.js.map} +0 -0
  720. /package/dist/{block.mds.junction-R6GJO75N.js.map → block.mds.junction-PDH55JXO.js.map} +0 -0
  721. /package/dist/{block.mds.svcnv-MRISSDAX.js.map → block.mds.svcnv-QWBU54XQ.js.map} +0 -0
  722. /package/dist/{block.svg-Z5KKZTDB.js.map → block.svg-HUGBYWXU.js.map} +0 -0
  723. /package/dist/{block.tk.aicheck-SOFJYYZX.js.map → block.tk.aicheck-SDCWXQZF.js.map} +0 -0
  724. /package/dist/{block.tk.ase-EHX5FV2Y.js.map → block.tk.ase-HMUTHCJS.js.map} +0 -0
  725. /package/dist/{block.tk.bam-DJS6LODM.js.map → block.tk.bam-Q7B2YQLI.js.map} +0 -0
  726. /package/dist/{block.tk.bedgraphdot-R2YHPXZA.js.map → block.tk.bedgraphdot-QBGBSVHN.js.map} +0 -0
  727. /package/dist/{block.tk.bigwig.ui-VPEEQJLS.js.map → block.tk.bigwig.ui-767A3MUH.js.map} +0 -0
  728. /package/dist/{block.tk.hicstraw-BDYN573B.js.map → block.tk.hicstraw-LEZUZHLF.js.map} +0 -0
  729. /package/dist/{block.tk.junction-BONB4BXU.js.map → block.tk.junction-GQHCZOYR.js.map} +0 -0
  730. /package/dist/{block.tk.junction.textmatrixui-Y5R6KY4N.js.map → block.tk.junction.textmatrixui-D5QUO7KQ.js.map} +0 -0
  731. /package/dist/{block.tk.ld-EGVVSXCB.js.map → block.tk.ld-E3MHZOG5.js.map} +0 -0
  732. /package/dist/{block.tk.menu-4YBMB5JT.js.map → block.tk.menu-XE7PFYGR.js.map} +0 -0
  733. /package/dist/{block.tk.pgv-SBHGL6UH.js.map → block.tk.pgv-MPPMPDED.js.map} +0 -0
  734. /package/dist/{brainImaging-G3WZDYG6.js.map → brainImaging-YQ443NOL.js.map} +0 -0
  735. /package/dist/{chunk-LQQSRNR5.js.map → chunk-26WXJBSR.js.map} +0 -0
  736. /package/dist/{chunk-7UHUOC6F.js.map → chunk-2P6Z7JFC.js.map} +0 -0
  737. /package/dist/{chunk-ENWVV6EU.js.map → chunk-2QQO4RRD.js.map} +0 -0
  738. /package/dist/{chunk-GF4OSOYW.js.map → chunk-37ARSZOI.js.map} +0 -0
  739. /package/dist/{chunk-LY7GD74F.js.map → chunk-42Q53PXE.js.map} +0 -0
  740. /package/dist/{chunk-5SMOOFRW.js.map → chunk-46ASPS5Y.js.map} +0 -0
  741. /package/dist/{chunk-RA4RQYXQ.js.map → chunk-4KPI7PB5.js.map} +0 -0
  742. /package/dist/{chunk-XZ6MGJQ3.js.map → chunk-4MDNMCGZ.js.map} +0 -0
  743. /package/dist/{chunk-4Y444IRJ.js.map → chunk-5IG3E4DT.js.map} +0 -0
  744. /package/dist/{chunk-UVPAZM3G.js.map → chunk-5MIR7IHI.js.map} +0 -0
  745. /package/dist/{chunk-BQJVLXEL.js.map → chunk-5MZVXJVA.js.map} +0 -0
  746. /package/dist/{chunk-SDLRTORS.js.map → chunk-66D5GRS5.js.map} +0 -0
  747. /package/dist/{chunk-IABWKPRK.js.map → chunk-6ATE2TRC.js.map} +0 -0
  748. /package/dist/{chunk-JPKYHLNI.js.map → chunk-6BFR6MK3.js.map} +0 -0
  749. /package/dist/{chunk-C62CSWMV.js.map → chunk-6NJMCO4X.js.map} +0 -0
  750. /package/dist/{chunk-IPDH4FHY.js.map → chunk-6ON5KAMO.js.map} +0 -0
  751. /package/dist/{chunk-ZYBM24FU.js.map → chunk-76GPYMHZ.js.map} +0 -0
  752. /package/dist/{chunk-PSGQWZN4.js.map → chunk-7AAFBFOH.js.map} +0 -0
  753. /package/dist/{chunk-LGUE54VX.js.map → chunk-7OOZHEUC.js.map} +0 -0
  754. /package/dist/{chunk-I7JDV4ZC.js.map → chunk-A4VLWLYF.js.map} +0 -0
  755. /package/dist/{chunk-W6XQR5UL.js.map → chunk-A6EFWGWD.js.map} +0 -0
  756. /package/dist/{chunk-ANGDY7VC.js.map → chunk-ALW5XXVW.js.map} +0 -0
  757. /package/dist/{chunk-RQZJIBIH.js.map → chunk-ANCT2BGO.js.map} +0 -0
  758. /package/dist/{chunk-NYX4B5CO.js.map → chunk-AROMXWCY.js.map} +0 -0
  759. /package/dist/{chunk-UWYCEYML.js.map → chunk-AY4UBGLC.js.map} +0 -0
  760. /package/dist/{chunk-32TTOWY6.js.map → chunk-BMVLR3TM.js.map} +0 -0
  761. /package/dist/{chunk-PL2CM7RY.js.map → chunk-BR7JA2EO.js.map} +0 -0
  762. /package/dist/{chunk-7FKIAQ4K.js.map → chunk-D3HJXMTH.js.map} +0 -0
  763. /package/dist/{chunk-XSA3VIEQ.js.map → chunk-DKUEZ4XD.js.map} +0 -0
  764. /package/dist/{chunk-LSV4Z473.js.map → chunk-DT3MMC5U.js.map} +0 -0
  765. /package/dist/{chunk-UPPBAFUK.js.map → chunk-DYVKN7EE.js.map} +0 -0
  766. /package/dist/{chunk-VB3SRNBK.js.map → chunk-EF37UZY6.js.map} +0 -0
  767. /package/dist/{chunk-ZD47FENE.js.map → chunk-ESXMS7FW.js.map} +0 -0
  768. /package/dist/{chunk-2QULGYVE.js.map → chunk-FUSVXQ6C.js.map} +0 -0
  769. /package/dist/{chunk-GTBL7UHX.js.map → chunk-GXKVAPGP.js.map} +0 -0
  770. /package/dist/{chunk-AQ4OP4GR.js.map → chunk-H4JIENLQ.js.map} +0 -0
  771. /package/dist/{chunk-FA44G3GZ.js.map → chunk-H7YJG4YM.js.map} +0 -0
  772. /package/dist/{chunk-GD7FKXOA.js.map → chunk-I24KPIDD.js.map} +0 -0
  773. /package/dist/{chunk-GQOBT2W7.js.map → chunk-IENFDUWD.js.map} +0 -0
  774. /package/dist/{chunk-43PMSEMV.js.map → chunk-J7BISJTL.js.map} +0 -0
  775. /package/dist/{chunk-XBBUQW52.js.map → chunk-J7KYOSEK.js.map} +0 -0
  776. /package/dist/{chunk-PZLYNNST.js.map → chunk-JGPZ5254.js.map} +0 -0
  777. /package/dist/{chunk-4KSU6NBP.js.map → chunk-JUIPCWAM.js.map} +0 -0
  778. /package/dist/{chunk-5RE3J6HK.js.map → chunk-LO4NMQ7W.js.map} +0 -0
  779. /package/dist/{chunk-RAJZYWFN.js.map → chunk-LSSLS5HV.js.map} +0 -0
  780. /package/dist/{chunk-7NOKTEHK.js.map → chunk-MDLRB3MR.js.map} +0 -0
  781. /package/dist/{chunk-OPPNZXYG.js.map → chunk-MJLKGZ27.js.map} +0 -0
  782. /package/dist/{chunk-KTCW3JA6.js.map → chunk-NL5T3SBK.js.map} +0 -0
  783. /package/dist/{chunk-RSE2FOKW.js.map → chunk-ONAYJVN2.js.map} +0 -0
  784. /package/dist/{chunk-64Z22QAH.js.map → chunk-PSMFOARZ.js.map} +0 -0
  785. /package/dist/{chunk-LTSR7SLO.js.map → chunk-QX3GF2IA.js.map} +0 -0
  786. /package/dist/{chunk-JNOOLCYB.js.map → chunk-QZ2U4BOS.js.map} +0 -0
  787. /package/dist/{chunk-YEMIL6QU.js.map → chunk-RBZBBNLL.js.map} +0 -0
  788. /package/dist/{chunk-P6TPXUMP.js.map → chunk-RZTFQXWV.js.map} +0 -0
  789. /package/dist/{chunk-AQVOYTLS.js.map → chunk-SJC2C77V.js.map} +0 -0
  790. /package/dist/{chunk-2VLGHVOL.js.map → chunk-TVXVP4M6.js.map} +0 -0
  791. /package/dist/{chunk-HE7CD7BD.js.map → chunk-UTDPKDIY.js.map} +0 -0
  792. /package/dist/{chunk-BT4OOYPT.js.map → chunk-UVIUB7QI.js.map} +0 -0
  793. /package/dist/{chunk-CAWDQURD.js.map → chunk-VAUSRBL5.js.map} +0 -0
  794. /package/dist/{chunk-6NMH6WPB.js.map → chunk-WP22GYZ2.js.map} +0 -0
  795. /package/dist/{chunk-4SFX42S7.js.map → chunk-WUNX3VST.js.map} +0 -0
  796. /package/dist/{chunk-BRMASRRS.js.map → chunk-XD4TBJK2.js.map} +0 -0
  797. /package/dist/{chunk-2O6JF76T.js.map → chunk-Y6DSXMPB.js.map} +0 -0
  798. /package/dist/{chunk-ROLVOPVR.js.map → chunk-YBIZRASR.js.map} +0 -0
  799. /package/dist/{chunk-TF4EDNQO.js.map → chunk-YI2YH7ZK.js.map} +0 -0
  800. /package/dist/{chunk-KMQ6GQ3I.js.map → chunk-YLDE3PVC.js.map} +0 -0
  801. /package/dist/{chunk-MHCTLVGE.js.map → chunk-Z736NYXL.js.map} +0 -0
  802. /package/dist/{chunk-LJ4AUJXC.js.map → chunk-ZEJB7CPC.js.map} +0 -0
  803. /package/dist/{chunk-5HOR6JQ2.js.map → chunk-ZGWEBKZ4.js.map} +0 -0
  804. /package/dist/{condition-ARCN26MF.js.map → condition-FSF6ROJV.js.map} +0 -0
  805. /package/dist/{controls-PKWN2JGN.js.map → controls-OPSBFDFZ.js.map} +0 -0
  806. /package/dist/{controls.config-NFRPXFUJ.js.map → controls.config-3QRV5363.js.map} +0 -0
  807. /package/dist/{correlation-DPT6XL2U.js.map → correlation-WLOI7Z35.js.map} +0 -0
  808. /package/dist/{cuminc-M4U7LQD5.js.map → cuminc-G2UGJUUA.js.map} +0 -0
  809. /package/dist/{cuminc.integration.spec-MH4OFYDJ.js.map → cuminc.integration.spec-X5NEZ6S5.js.map} +0 -0
  810. /package/dist/{customdata.inputui-6TAHAMSV.js.map → customdata.inputui-RNW3AO3Z.js.map} +0 -0
  811. /package/dist/{dataDownload-7GZEYSUT.js.map → dataDownload-4U3TGDMH.js.map} +0 -0
  812. /package/dist/{dataDownload.integration.spec-NAIJRFTV.js.map → dataDownload.integration.spec-6FUI2SJ4.js.map} +0 -0
  813. /package/dist/{databrowser.ui-LLXHZ5O6.js.map → databrowser.ui-4GVJVJWG.js.map} +0 -0
  814. /package/dist/{dictionary-MUAURMYE.js.map → dictionary-NSDS7Z4K.js.map} +0 -0
  815. /package/dist/{dnaMethylation-AU5D3U3E.js.map → dnaMethylation-OYQB75LD.js.map} +0 -0
  816. /package/dist/{dnaMethylation.integration.spec-JIDBRA6P.js.map → dnaMethylation.integration.spec-6TTLV34N.js.map} +0 -0
  817. /package/dist/{dofetch-WSYK5OTB.js.map → dofetch-4TO3QMT6.js.map} +0 -0
  818. /package/dist/{e2pca-ICG35YR5.js.map → e2pca-NYBVR6PL.js.map} +0 -0
  819. /package/dist/{ep-CSSSQOUP.js.map → ep-RTDVEA4D.js.map} +0 -0
  820. /package/dist/{expclust.gdc.spec-4WPQUXH4.js.map → expclust.gdc.spec-JVIRESTP.js.map} +0 -0
  821. /package/dist/{facet-JAGILNY6.js.map → facet-OVBF2QMO.js.map} +0 -0
  822. /package/dist/{forms2-IMVDB6AT.js.map → forms2-HTLS54CX.js.map} +0 -0
  823. /package/dist/{gb-36LTYICV.js.map → gb-Y3546HMZ.js.map} +0 -0
  824. /package/dist/{geneExpClustering-CGMENTHI.js.map → geneExpClustering-PH3PWH3K.js.map} +0 -0
  825. /package/dist/{geneExpression-AD2L46J4.js.map → geneExpression-2Z2EV3XM.js.map} +0 -0
  826. /package/dist/{geneExpression-G2FHBDUQ.js.map → geneExpression-6CFXOCGW.js.map} +0 -0
  827. /package/dist/{geneExpression.unit.spec-XWCB7K5L.js.map → geneExpression.unit.spec-WKUTHRHC.js.map} +0 -0
  828. /package/dist/{geneORA-GVHQF7DF.js.map → geneORA-SHLZESLB.js.map} +0 -0
  829. /package/dist/{geneVariant-HE22CH76.js.map → geneVariant-FHZUIFPM.js.map} +0 -0
  830. /package/dist/{geneVariant-SQD5QUFH.js.map → geneVariant-Y7ZUBEOX.js.map} +0 -0
  831. /package/dist/{geneVariant.integration.spec-66XFLDNN.js.map → geneVariant.integration.spec-N7TZUOY3.js.map} +0 -0
  832. /package/dist/{genefusion.ui-TD32NWD4.js.map → genefusion.ui-7PDVZPZ2.js.map} +0 -0
  833. /package/dist/{geneset-NSYPDXS3.js.map → geneset-HLVOGYUI.js.map} +0 -0
  834. /package/dist/{genomeBrowser.spec-CYFONLNQ.js.map → genomeBrowser.spec-7IVIMUR5.js.map} +0 -0
  835. /package/dist/{grin2-3QB57OPH.js.map → grin2-Z5O7254R.js.map} +0 -0
  836. /package/dist/{gsea-RMTU5I3U.js.map → gsea-TFC3MBRW.js.map} +0 -0
  837. /package/dist/{hierCluster-LSQL6PGC.js.map → hierCluster-ERSE5I4I.js.map} +0 -0
  838. /package/dist/{hierCluster-XTEBDEVO.js.map → hierCluster-QQZQU5ZG.js.map} +0 -0
  839. /package/dist/{hierCluster.config-SHXFSPOH.js.map → hierCluster.config-WPINWW37.js.map} +0 -0
  840. /package/dist/{hierCluster.integration.spec-KNMIYWV3.js.map → hierCluster.integration.spec-Y6OHSKPW.js.map} +0 -0
  841. /package/dist/{hierCluster.interactivity-6NAKTUR5.js.map → hierCluster.interactivity-HS3G5QC5.js.map} +0 -0
  842. /package/dist/{hierCluster.renderers-FWOV4Q47.js.map → hierCluster.renderers-W63ZKZTT.js.map} +0 -0
  843. /package/dist/{imagePlot-3IVG4SFN.js.map → imagePlot-QFVN25PM.js.map} +0 -0
  844. /package/dist/{importPlot-HEMDRIVF.js.map → importPlot-MIDM5APH.js.map} +0 -0
  845. /package/dist/{isoformExpression-FJ3GEU6D.js.map → isoformExpression-L4TRNT4A.js.map} +0 -0
  846. /package/dist/{isoformExpression.unit.spec-L7D22UDB.js.map → isoformExpression.unit.spec-QQG323LA.js.map} +0 -0
  847. /package/dist/{launch.adhoc-PDGQF2UP.js.map → launch.adhoc-4NQ6GGGL.js.map} +0 -0
  848. /package/dist/{leftlabel.sample-ZBI4NHCV.js.map → leftlabel.sample-JU7AIPZL.js.map} +0 -0
  849. /package/dist/{legacyDataset-PBCPC5I7.js.map → legacyDataset-TT4CHF23.js.map} +0 -0
  850. /package/dist/{lollipop-K7S6ASFE.js.map → lollipop-JG74M6PJ.js.map} +0 -0
  851. /package/dist/{maf-JEW6PPJB.js.map → maf-PDL2EGHI.js.map} +0 -0
  852. /package/dist/{maftimeline-7URL27MC.js.map → maftimeline-V43NQEEE.js.map} +0 -0
  853. /package/dist/{matrix-6EK5WGIG.js.map → matrix-EB2EFP4S.js.map} +0 -0
  854. /package/dist/{matrix-DKBD5RIL.js.map → matrix-Q57FU5FE.js.map} +0 -0
  855. /package/dist/{matrix.cells-KEIOXJQ7.js.map → matrix.cells-NJIMPD32.js.map} +0 -0
  856. /package/dist/{matrix.config-FGJB4VVM.js.map → matrix.config-GLDEQD3H.js.map} +0 -0
  857. /package/dist/{matrix.data-QGCGFLD7.js.map → matrix.data-6SHAKOQU.js.map} +0 -0
  858. /package/dist/{matrix.groups-HBPLZ2QX.js.map → matrix.groups-MTDEANQA.js.map} +0 -0
  859. /package/dist/{matrix.integration.spec-R4PF67KF.js.map → matrix.integration.spec-JCZ5VQJU.js.map} +0 -0
  860. /package/dist/{matrix.interactivity-M3SY33ET.js.map → matrix.interactivity-SVRNWL6V.js.map} +0 -0
  861. /package/dist/{matrix.layout-H6WQ3ZMW.js.map → matrix.layout-2HREO42N.js.map} +0 -0
  862. /package/dist/{matrix.legend-UCL7HM26.js.map → matrix.legend-QHVKT3MP.js.map} +0 -0
  863. /package/dist/{matrix.renderers-3PPFSS7Z.js.map → matrix.renderers-IYR3ZY6V.js.map} +0 -0
  864. /package/dist/{matrix.serieses-S2TJ3E6P.js.map → matrix.serieses-2VMTQXL2.js.map} +0 -0
  865. /package/dist/{matrix.sort-CFA4UWBJ.js.map → matrix.sort-PWA2RQQR.js.map} +0 -0
  866. /package/dist/{matrix.sort.unit.spec-562VIWDS.js.map → matrix.sort.unit.spec-3OYIPTFY.js.map} +0 -0
  867. /package/dist/{matrix.sorterUi-FT7K5664.js.map → matrix.sorterUi-Y5QLO75X.js.map} +0 -0
  868. /package/dist/{matrix.sorterUi.unit.spec-GAHHUN3K.js.map → matrix.sorterUi.unit.spec-BNEXQHLP.js.map} +0 -0
  869. /package/dist/{mavb-HPW5X55U.js.map → mavb-IZDDU4KK.js.map} +0 -0
  870. /package/dist/{mds.fimo-HSBKLIOX.js.map → mds.fimo-FWBL7JE6.js.map} +0 -0
  871. /package/dist/{mds.samplescatterplot-DE27OMJE.js.map → mds.samplescatterplot-T47C7DJB.js.map} +0 -0
  872. /package/dist/{mds.survivalplot-IW22UGCE.js.map → mds.survivalplot-MFZJCGS6.js.map} +0 -0
  873. /package/dist/{numericDictTermCluster-DOD66G3A.js.map → numericDictTermCluster-I2W67RGA.js.map} +0 -0
  874. /package/dist/{oncomatrix-BZCVCPR4.js.map → oncomatrix-6W7IBAED.js.map} +0 -0
  875. /package/dist/{oncomatrix.spec-IHYCIAP4.js.map → oncomatrix.spec-CEFH5IGH.js.map} +0 -0
  876. /package/dist/{plot.2dvaf-QLOZ54VC.js.map → plot.2dvaf-BN6CFLNU.js.map} +0 -0
  877. /package/dist/{plot.app-XDVDR23J.js.map → plot.app-7EYWUCZV.js.map} +0 -0
  878. /package/dist/{plot.barplot-XOESF7OQ.js.map → plot.barplot-MDIARSQD.js.map} +0 -0
  879. /package/dist/{plot.boxplot-VNOC2CHT.js.map → plot.boxplot-RUHGXC54.js.map} +0 -0
  880. /package/dist/{plot.brainImaging-7ZEOY4UR.js.map → plot.brainImaging-JEE32ZBV.js.map} +0 -0
  881. /package/dist/{plot.disco-6GVDYK7A.js.map → plot.disco-2RPNPX6E.js.map} +0 -0
  882. /package/dist/{plot.dzi-TEFPPPL6.js.map → plot.dzi-7VTYYGGW.js.map} +0 -0
  883. /package/dist/{plot.ssgq-OG4TODLO.js.map → plot.ssgq-FHE5KU5C.js.map} +0 -0
  884. /package/dist/{plot.vaf2cov-VMZRJULA.js.map → plot.vaf2cov-WDJJM5Q4.js.map} +0 -0
  885. /package/dist/{plot.wsi-2CHZZ7AC.js.map → plot.wsi-FQZWHNSF.js.map} +0 -0
  886. /package/dist/{polar-QUYQRQOQ.js.map → polar-M7EGINN4.js.map} +0 -0
  887. /package/dist/{polar2-OXXLAXJC.js.map → polar2-JFYY43K2.js.map} +0 -0
  888. /package/dist/{profile.spec-TI6PRHNJ.js.map → profile.spec-SIOHASOX.js.map} +0 -0
  889. /package/dist/{profileBarchart-GEK77XEB.js.map → profileBarchart-6JLEKVJV.js.map} +0 -0
  890. /package/dist/{profileForms-NR3VNHKM.js.map → profileForms-G6CH73RV.js.map} +0 -0
  891. /package/dist/{profilePlot-GGKO3IW5.js.map → profilePlot-NQYJOBVV.js.map} +0 -0
  892. /package/dist/{profileRadar-MN3LX5ER.js.map → profileRadar-4TNWIXDB.js.map} +0 -0
  893. /package/dist/{profileRadarFacility-3G2HWB2L.js.map → profileRadarFacility-XPH3LCBQ.js.map} +0 -0
  894. /package/dist/{proteomeAbundance-O4BB55O3.js.map → proteomeAbundance-NQ4635NL.js.map} +0 -0
  895. /package/dist/{qualitative-Q3TT73O7.js.map → qualitative-DL4WJG3O.js.map} +0 -0
  896. /package/dist/{radar2-LSD3VPZT.js.map → radar2-YNOQWHBT.js.map} +0 -0
  897. /package/dist/{radarFacility2-LZGIXY7A.js.map → radarFacility2-24UPSI7S.js.map} +0 -0
  898. /package/dist/{regression-J3XDAPAZ.js.map → regression-URAUTLTD.js.map} +0 -0
  899. /package/dist/{regression.inputs-BBZYI5OI.js.map → regression.inputs-UDVOU7FB.js.map} +0 -0
  900. /package/dist/{regression.inputs.term-7BW6XGLG.js.map → regression.inputs.term-BWW6W34R.js.map} +0 -0
  901. /package/dist/{regression.inputs.values.table-DYX2YU4H.js.map → regression.inputs.values.table-UKGIZTXG.js.map} +0 -0
  902. /package/dist/{regression.integration.spec-WLXZYKWW.js.map → regression.integration.spec-EBHQTNA3.js.map} +0 -0
  903. /package/dist/{regression.results-K5Q2N2KW.js.map → regression.results-XTOSWIP6.js.map} +0 -0
  904. /package/dist/{regression.spec-VT7T6KBY.js.map → regression.spec-KG2I53VR.js.map} +0 -0
  905. /package/dist/{report-3D3L573D.js.map → report-KH7SNPVF.js.map} +0 -0
  906. /package/dist/{sampleScatter.spec-6IPJQLM2.js.map → sampleScatter.spec-PIXGS3LG.js.map} +0 -0
  907. /package/dist/{sampleView-5JMFI4HF.js.map → sampleView-TWS6VT55.js.map} +0 -0
  908. /package/dist/{samplelst-SUCB5WOZ.js.map → samplelst-6AB5Y4WR.js.map} +0 -0
  909. /package/dist/{samplematrix-A5SZBKO6.js.map → samplematrix-AJAF555E.js.map} +0 -0
  910. /package/dist/{sc-NAA6ESO6.js.map → sc-PMNYZKXA.js.map} +0 -0
  911. /package/dist/{scatter-EQCN2HYE.js.map → scatter-Q2GH3ZJD.js.map} +0 -0
  912. /package/dist/{scatter.integration.spec-7NXIYS67.js.map → scatter.integration.spec-SMMYKWH3.js.map} +0 -0
  913. /package/dist/{selectGenomeWithTklst-KXODNCY6.js.map → selectGenomeWithTklst-VE4SDYY7.js.map} +0 -0
  914. /package/dist/{singleCellCellType-HMIW76YB.js.map → singleCellCellType-S324GCKW.js.map} +0 -0
  915. /package/dist/{singleCellCellType.unit.spec-ZCZET56X.js.map → singleCellCellType.unit.spec-NXC2GELH.js.map} +0 -0
  916. /package/dist/{singleCellGeneExpression-IUCUHF6R.js.map → singleCellGeneExpression-6H4HRKIA.js.map} +0 -0
  917. /package/dist/{singleCellGeneExpression.unit.spec-J4D6F2N3.js.map → singleCellGeneExpression.unit.spec-HIJXVUWJ.js.map} +0 -0
  918. /package/dist/{singleCellPlot-L6W3MDGG.js.map → singleCellPlot-H7PCZ2DP.js.map} +0 -0
  919. /package/dist/{singlecell-A6ECAAPI.js.map → singlecell-4LH3MQVL.js.map} +0 -0
  920. /package/dist/{singlecell-KBABNXC5.js.map → singlecell-MOSYT3RI.js.map} +0 -0
  921. /package/dist/{snp-RO7ATG6E.js.map → snp-IKLGTD4Q.js.map} +0 -0
  922. /package/dist/{snp.unit.spec-ZJLRGJD4.js.map → snp.unit.spec-GC74MUVM.js.map} +0 -0
  923. /package/dist/{snplocus-N3CU6NRP.js.map → snplocus-RIABFSBQ.js.map} +0 -0
  924. /package/dist/{spliceevent.a53ss.diagram-7PHT4COB.js.map → spliceevent.a53ss.diagram-4E2IYYHL.js.map} +0 -0
  925. /package/dist/{spliceevent.exonskip.diagram-3CZTY6QD.js.map → spliceevent.exonskip.diagram-C56R6XLQ.js.map} +0 -0
  926. /package/dist/{spliceevent.noeventdiagram-GQE256DT.js.map → spliceevent.noeventdiagram-SIPMAKXI.js.map} +0 -0
  927. /package/dist/{ssGSEA-4I3L5MX2.js.map → ssGSEA-5QNHLSOI.js.map} +0 -0
  928. /package/dist/{ssGSEA.unit.spec-PZCC5YU7.js.map → ssGSEA.unit.spec-KVPN553B.js.map} +0 -0
  929. /package/dist/{summarizeCnvGeneexp-ASXUQW56.js.map → summarizeCnvGeneexp-K4VGJSW6.js.map} +0 -0
  930. /package/dist/{summarizeGeneexpSurvival-ULGUOW5V.js.map → summarizeGeneexpSurvival-HGHX65FN.js.map} +0 -0
  931. /package/dist/{summarizeMutationCnv-VDUCIUGM.js.map → summarizeMutationCnv-3K4Z6R2X.js.map} +0 -0
  932. /package/dist/{summarizeMutationDiagnosis-FMAAMCZC.js.map → summarizeMutationDiagnosis-M2MHUPRT.js.map} +0 -0
  933. /package/dist/{summarizeMutationSurvival-GZ4NGDJT.js.map → summarizeMutationSurvival-WVBUP3GA.js.map} +0 -0
  934. /package/dist/{summary-2WNZ6JSB.js.map → summary-RZHZXCU5.js.map} +0 -0
  935. /package/dist/{summary.integration.spec-XPMYB6GM.js.map → summary.integration.spec-FGZP7DY7.js.map} +0 -0
  936. /package/dist/{summaryInput-2UGXEA5C.js.map → summaryInput-UGM7MMCR.js.map} +0 -0
  937. /package/dist/{sunburst-76WCQLTT.js.map → sunburst-L27U7LV7.js.map} +0 -0
  938. /package/dist/{survival-3EAMPHSX.js.map → survival-5ZMEBV6O.js.map} +0 -0
  939. /package/dist/{survival-23IZM4ML.js.map → survival-JWRRGTJT.js.map} +0 -0
  940. /package/dist/{survival.integration.spec-YNVAKBV3.js.map → survival.integration.spec-Z5542I4V.js.map} +0 -0
  941. /package/dist/{svgraph-G2M5LXEP.js.map → svgraph-O6ZVLNNN.js.map} +0 -0
  942. /package/dist/{svmr-BUDBVU34.js.map → svmr-ULFV7OSH.js.map} +0 -0
  943. /package/dist/{table-QJSZ6YFK.js.map → table-CHRQH2GH.js.map} +0 -0
  944. /package/dist/{termCollection-2YAY3RLZ.js.map → termCollection-FAO6ZA6F.js.map} +0 -0
  945. /package/dist/{termCollection-MAMDMEDD.js.map → termCollection-GBXS3GOY.js.map} +0 -0
  946. /package/dist/{termCollection.unit.spec-UY7G2BHG.js.map → termCollection.unit.spec-4WRTOV6E.js.map} +0 -0
  947. /package/dist/{tk-GFGP3F76.js.map → tk-KNUBWRNK.js.map} +0 -0
  948. /package/dist/{tp.ui-OQ757UIE.js.map → tp.ui-2PPYOQYL.js.map} +0 -0
  949. /package/dist/{tvs.density-BJK23JYJ.js.map → tvs.density-BZ5SKDQS.js.map} +0 -0
  950. /package/dist/{tvs.dt-TOYEFKNT.js.map → tvs.dt-TDNSTGQR.js.map} +0 -0
  951. /package/dist/{tvs.dtcnv.categorical-EO2VLFL2.js.map → tvs.dtcnv.categorical-P2IGIE4I.js.map} +0 -0
  952. /package/dist/{tvs.dtcnv.continuous-ZAHTKZ4Y.js.map → tvs.dtcnv.continuous-2XUCRBDR.js.map} +0 -0
  953. /package/dist/{tvs.dtfusion-BY3AHBL3.js.map → tvs.dtfusion-PRHZVMOG.js.map} +0 -0
  954. /package/dist/{tvs.dtsnvindel-UM5LQ4FR.js.map → tvs.dtsnvindel-KGKBW5JS.js.map} +0 -0
  955. /package/dist/{tvs.dtsv-H7ZVHLS5.js.map → tvs.dtsv-M3CY5TZF.js.map} +0 -0
  956. /package/dist/{tvs.numeric-66FP6RRH.js.map → tvs.numeric-W74JCC5P.js.map} +0 -0
  957. /package/dist/{tvs.samplelst-Q5ECTZOY.js.map → tvs.samplelst-BTWFBBAN.js.map} +0 -0
  958. /package/dist/{tvs.termCollection-FYNMKZTR.js.map → tvs.termCollection-Y64QIKOA.js.map} +0 -0
  959. /package/dist/{violin-EGWLAJVM.js.map → violin-3LLHHV3L.js.map} +0 -0
  960. /package/dist/{violin.integration.spec-3P4TYHBR.js.map → violin.integration.spec-6NF5FDLQ.js.map} +0 -0
  961. /package/dist/{violin.interactivity-VWDR4LYB.js.map → violin.interactivity-W2AKZ24D.js.map} +0 -0
  962. /package/dist/{violin.renderer-WWTU6J7X.js.map → violin.renderer-CRFYYZRI.js.map} +0 -0
  963. /package/dist/{vocabulary-JG4ZITOH.js.map → vocabulary-AUJOAVYS.js.map} +0 -0
@@ -1,2370 +0,0 @@
1
- import {
2
- vcf2dstk
3
- } from "./chunk-GQOBT2W7.js";
4
- import {
5
- getsjcharts
6
- } from "./chunk-MKAF2BHB.js";
7
- import {
8
- parseheader,
9
- parseline
10
- } from "./chunk-ARINZFQG.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-LN3QYBGI.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-YC6ZJ7RP.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-AMYSEKPF.js";
51
- import {
52
- category10_default
53
- } from "./chunk-KSGA62R2.js";
54
- import {
55
- ordinal
56
- } from "./chunk-OAWQ6LOO.js";
57
- import {
58
- select_default
59
- } from "./chunk-I6Y4O3RR.js";
60
-
61
- // ../shared/utils/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(
73
- "annovar_gene",
74
- "annovar_sj_gene",
75
- "gene",
76
- "genename",
77
- "gene_symbol",
78
- "hugo_symbol"
79
- );
80
- if (i == -1) return "gene missing from header";
81
- header[i] = "gene";
82
- i = htry(
83
- "annovar_aachange",
84
- "amino_acid_change",
85
- "annovar_sj_aachange",
86
- "aachange",
87
- "protein_change",
88
- "variant"
89
- );
90
- if (i == -1) return "amino_acid_change missing from header";
91
- header[i] = "mname";
92
- i = htry(
93
- "annovar_class",
94
- "class",
95
- "mclass",
96
- "variant_class",
97
- "variant_classification",
98
- "annovar_sj_class"
99
- );
100
- if (i == -1) return "variant_class missing from header";
101
- header[i] = "class";
102
- i = htry("chromosome", "chr");
103
- if (i == -1) return "chromosome missing from header";
104
- header[i] = "chr";
105
- i = htry("wu_hg19_pos", "start", "start_position", "chr_position", "position");
106
- if (i == -1) return "start missing from header";
107
- header[i] = "pos";
108
- i = htry(
109
- "annovar_isoform",
110
- "mrna_accession",
111
- "mrna accession",
112
- "refseq_mrna_id",
113
- "annovar_sj_filter_isoform",
114
- "refseq",
115
- "isoform"
116
- );
117
- if (i == -1) return "isoform missing from header";
118
- header[i] = "isoform";
119
- i = htry("sample", "sample_name", "tumor_sample_barcode");
120
- if (i != -1) header[i] = "sample";
121
- i = htry("patient", "donor", "target_case_id");
122
- if (i != -1) header[i] = "patient";
123
- i = htry("quantitative_measurements");
124
- if (i != -1) header[i] = "qmset";
125
- i = htry("mutant_reads_in_case", "mutant_in_tumor", "tumor_readcount_alt");
126
- if (i != -1) header[i] = "maf_tumor_v1";
127
- i = htry("total_reads_in_case", "total_in_tumor", "tumor_readcount_total");
128
- if (i != -1) header[i] = "maf_tumor_v2";
129
- i = htry(
130
- "mutant_reads_in_control",
131
- "mutant_in_normal",
132
- "normal_readcount_alt"
133
- );
134
- if (i != -1) header[i] = "maf_normal_v1";
135
- i = htry(
136
- "total_reads_in_control",
137
- "total_in_normal",
138
- "normal_readcount_total"
139
- );
140
- if (i != -1) header[i] = "maf_normal_v2";
141
- i = htry("cdna_change");
142
- if (i != -1) header[i] = "cdna_change";
143
- i = htry("sampletype", "sample type", "sample_type");
144
- if (i != -1) header[i] = "sampletype";
145
- i = htry("origin");
146
- if (i != -1) header[i] = "origin";
147
- i = htry("cancer", "disease", "diagnosis");
148
- if (i != -1) header[i] = "disease";
149
- flag2.snv.header = header;
150
- flag2.snv.loaded = true;
151
- return false;
152
- }
153
- function parseline2(linei, line, flag2) {
154
- if (line == "" || line[0] == "#") return;
155
- const lst = line.split(" ");
156
- const m = {};
157
- for (let j = 0; j < flag2.snv.header.length; j++) {
158
- if (lst[j] == void 0) break;
159
- m[flag2.snv.header[j]] = lst[j];
160
- }
161
- if (!m.gene) {
162
- flag2.snv.badlines.push([linei, "missing gene", lst]);
163
- return;
164
- }
165
- if (m.gene.toUpperCase() == "UNKNOWN") {
166
- flag2.snv.badlines.push([linei, "gene name is UNKNOWN", lst]);
167
- return;
168
- }
169
- if (!m.isoform) {
170
- flag2.snv.badlines.push([linei, "missing isoform", lst]);
171
- return;
172
- }
173
- if (!m.mname) {
174
- m.mname = m.cdna_change;
175
- if (!m.mname) {
176
- flag2.snv.badlines.push([linei, "missing amino acid change", lst]);
177
- return;
178
- }
179
- } else {
180
- if (m.mname.indexOf("p.") == 0) {
181
- m.mname = m.mname.replace(/^p\./, "");
182
- }
183
- }
184
- if (!m.class) {
185
- flag2.snv.badlines.push([linei, "missing mutation class", lst]);
186
- return;
187
- }
188
- let _c = flag2.mclasslabel2key[m.class.toUpperCase()];
189
- if (_c) {
190
- m.class = _c;
191
- } else {
192
- _c = mclasstester(m.class);
193
- if (_c) {
194
- m.class = _c;
195
- } else {
196
- flag2.snv.badlines.push([linei, "wrong mutation class: " + m.class, lst]);
197
- return;
198
- }
199
- }
200
- if (parsesample(m, flag2, linei, lst, flag2.snv.badlines)) {
201
- return;
202
- }
203
- if (!m.chr) {
204
- flag2.snv.badlines.push([linei, "missing chromosome", lst]);
205
- return;
206
- }
207
- if (m.chr.toLowerCase().indexOf("chr") != 0) {
208
- m.chr = "chr" + m.chr;
209
- }
210
- if (!m.pos) {
211
- flag2.snv.badlines.push([linei, "missing chromosome position", lst]);
212
- return;
213
- }
214
- const v = Number.parseInt(m.pos);
215
- if (Number.isNaN(v)) {
216
- flag2.snv.badlines.push([linei, "invalid chromosome position", lst]);
217
- return;
218
- }
219
- m.pos = v - 1;
220
- if (m.maf_tumor_v2 != void 0 && m.maf_tumor_v1 != void 0) {
221
- if (m.maf_tumor_v2 == "") {
222
- } else {
223
- let v1 = Number.parseInt(m.maf_tumor_v1), v2 = Number.parseInt(m.maf_tumor_v2);
224
- if (Number.isNaN(v1) || Number.isNaN(v2)) {
225
- flag2.snv.badlines.push([
226
- linei,
227
- "invalid maf_tumor mutant and/or total read count",
228
- lst
229
- ]);
230
- return;
231
- }
232
- m.maf_tumor = { f: v1 / v2, v1, v2 };
233
- }
234
- delete m.maf_tumor_v1;
235
- delete m.maf_tumor_v2;
236
- }
237
- if (m.maf_normal_v1 != void 0 && m.maf_normal_v2 != void 0) {
238
- if (m.maf_normal_v2 == "") {
239
- } else {
240
- let v1 = Number.parseInt(m.maf_normal_v1), v2 = Number.parseInt(m.maf_normal_v2);
241
- if (Number.isNaN(v1) || Number.isNaN(v2)) {
242
- flag2.snv.badlines.push([
243
- linei,
244
- "invalid maf_normal mutant and/or total read count",
245
- lst
246
- ]);
247
- return;
248
- }
249
- m.maf_normal = { f: v1 / v2, v1, v2 };
250
- }
251
- delete m.maf_normal_v1;
252
- delete m.maf_normal_v2;
253
- }
254
- flag2.good++;
255
- if (m.class == "M") {
256
- flag2.snv.missense++;
257
- } else if (m.class == "S") {
258
- flag2.snv.silent++;
259
- }
260
- const n = flag2.geneToUpper ? m.gene.toUpperCase() : m.gene;
261
- if (!flag2.data[n]) {
262
- flag2.data[n] = [];
263
- }
264
- m.dt = dtsnvindel;
265
- flag2.data[n].push(m);
266
- }
267
-
268
- // ../shared/utils/src/bulk.svjson.js
269
- function parseheader3(line, flag2) {
270
- const header = line.toLowerCase().split(" ");
271
- if (header.length <= 1) return "invalid file header for svjson";
272
- const htry = (...lst) => {
273
- for (const a of lst) {
274
- const j = header.indexOf(a);
275
- if (j != -1) return j;
276
- }
277
- return -1;
278
- };
279
- let i = htry("sample");
280
- if (i != -1) header[i] = "sample";
281
- i = htry("sampletype");
282
- if (i != -1) header[i] = "sampletype";
283
- i = htry("patient");
284
- if (i != -1) header[i] = "patient";
285
- i = htry("json", "jsontext");
286
- if (i == -1) return ["json missing from header"];
287
- header[i] = "jsontext";
288
- return [null, header];
289
- }
290
- function parseline3(i, line, flag2, header) {
291
- if (line == "" || line[0] == "#") return;
292
- const lst = line.split(" ");
293
- const m = {};
294
- const badlines = flag2.svjson.badlines;
295
- for (let j = 0; j < header.length; j++) {
296
- m[header[j]] = lst[j];
297
- }
298
- if (!m.jsontext) {
299
- badlines.push([i, "missing jsontext", lst]);
300
- return;
301
- }
302
- if (parsesample(m, flag2, i, lst, badlines)) {
303
- return;
304
- }
305
- let json;
306
- try {
307
- json = JSON.parse(m.jsontext);
308
- } catch (e) {
309
- badlines.push([i, "invalid JSON text", lst]);
310
- return;
311
- }
312
- if (Array.isArray(json)) {
313
- for (const pair of json) {
314
- if (pair.a && pair.a.name && pair.a.isoform) {
315
- flag2.good++;
316
- const m2 = {
317
- dt: dtfusionrna,
318
- class: mclassfusionrna,
319
- isoform: pair.a.isoform,
320
- mname: pair.b.name
321
- };
322
- for (const k in m) {
323
- if (k != "jsontext") m2[k] = m[k];
324
- }
325
- m2.pairlst = duplicate(json);
326
- const n = pair.a.name.toUpperCase();
327
- if (!flag2.data[n]) {
328
- flag2.data[n] = [];
329
- }
330
- flag2.data[n].push(m2);
331
- }
332
- if (pair.b && pair.b.name && pair.b.isoform) {
333
- flag2.good++;
334
- const m2 = {
335
- dt: dtfusionrna,
336
- class: mclassfusionrna,
337
- isoform: pair.b.isoform,
338
- mname: pair.a.name
339
- };
340
- for (const k in m) {
341
- if (k != "jsontext") m2[k] = m[k];
342
- }
343
- m2.pairlst = duplicate(json);
344
- const n = pair.b.name.toUpperCase();
345
- if (!flag2.data[n]) {
346
- flag2.data[n] = [];
347
- }
348
- flag2.data[n].push(m2);
349
- }
350
- }
351
- } else {
352
- json.dt = json.typecode;
353
- delete json.typecode;
354
- switch (json.dt) {
355
- case dtitd:
356
- json.class = mclassitd;
357
- json.mname = "ITD";
358
- break;
359
- case dtnloss:
360
- json.class = mclassnloss;
361
- json.mname = "N-loss";
362
- break;
363
- case dtcloss:
364
- json.class = mclasscloss;
365
- json.mname = "C-loss";
366
- break;
367
- case dtdel:
368
- json.class = mclassdel;
369
- json.mname = "Del";
370
- break;
371
- case dtsv:
372
- json.class = mclasssv;
373
- json.mname = "SV";
374
- break;
375
- default:
376
- badlines.push([i, "unknown datatype", lst]);
377
- return;
378
- }
379
- if (!json.gene) {
380
- badlines.push([i, "json.gene missing", lst]);
381
- return;
382
- }
383
- flag2.good++;
384
- for (const k in m) {
385
- if (k != "jsontext") {
386
- json[k] = m[k];
387
- }
388
- }
389
- const n = flag2.geneToUpper ? json.gene.toUpperCase() : json.gene.toUpperCase();
390
- if (!flag2.data[n]) {
391
- flag2.data[n] = [];
392
- }
393
- flag2.data[n].push(json);
394
- }
395
- }
396
- function duplicate(lst) {
397
- const d = [];
398
- for (const pair of lst) {
399
- const p = { a: {}, b: {} };
400
- for (const k in pair) {
401
- if (k != "a" && k != "b") p[k] = pair[k];
402
- }
403
- for (const k in pair.a) {
404
- p.a[k] = pair.a[k];
405
- }
406
- for (const k in pair.b) {
407
- p.b[k] = pair.b[k];
408
- }
409
- d.push(p);
410
- }
411
- return d;
412
- }
413
-
414
- // ../shared/utils/src/bulk.cnv.js
415
- function parseheader4(line, flag2) {
416
- const header = line.toLowerCase().split(" ");
417
- if (header.length <= 1) return "invalid file header for CNV";
418
- const htry = (...lst) => {
419
- for (const i2 of lst) {
420
- const j = header.indexOf(i2);
421
- if (j != -1) return j;
422
- }
423
- return -1;
424
- };
425
- let i = htry("gene");
426
- if (i == -1) return "gene missing from header";
427
- header[i] = "gene";
428
- i = htry("cnv");
429
- if (i == -1) return "CNV missing from header";
430
- header[i] = "cnv";
431
- i = htry("sample", "sample_name", "tumor_sample_barcode");
432
- if (i != -1) header[i] = "sample";
433
- i = htry("patient", "donor", "target_case_id");
434
- if (i != -1) header[i] = "patient";
435
- i = htry("disease");
436
- if (i != -1) header[i] = "disease";
437
- i = htry("origin");
438
- if (i != -1) header[i] = "origin";
439
- i = htry("sampletype", "sample type", "sample_type");
440
- if (i != -1) header[i] = "sampletype";
441
- flag2.cnv.header = header;
442
- flag2.cnv.loaded = true;
443
- return false;
444
- }
445
- function parseline4(i, line, flag2) {
446
- if (line == "" || line[0] == "#") return;
447
- const lst = line.split(" ");
448
- const m = {};
449
- for (let j = 0; j < flag2.cnv.header.length; j++) {
450
- m[flag2.cnv.header[j]] = lst[j];
451
- }
452
- if (!m.gene) {
453
- flag2.cnv.badlines.push([i, "missing gene", lst]);
454
- return;
455
- }
456
- if (!m.cnv) {
457
- flag2.cnv.badlines.push([i, "missing cnv value", lst]);
458
- return;
459
- }
460
- const value = m.cnv.toLowerCase();
461
- switch (value) {
462
- case "amplification":
463
- case "gain":
464
- m.class = mclasscnvgain;
465
- break;
466
- case "deletion":
467
- case "loss":
468
- m.class = mclasscnvloss;
469
- break;
470
- case "loh":
471
- m.class = mclasscnvloh;
472
- break;
473
- default:
474
- flag2.cnv.badlines.push([i, "invalid cnv value: " + m.cnv, lst]);
475
- m.class = null;
476
- }
477
- if (!m.class) {
478
- return;
479
- }
480
- if (parsesample(m, flag2, i, lst, flag2.cnv.badlines)) {
481
- return;
482
- }
483
- m.dt = dtcnv;
484
- flag2.good++;
485
- const n = flag2.geneToUpper ? m.gene.toUpperCase() : m.gene;
486
- if (!(n in flag2.data)) {
487
- flag2.data[n] = [];
488
- }
489
- flag2.data[n].push(m);
490
- }
491
-
492
- // ../shared/utils/src/bulk.itd.js
493
- function parseheader5(line, flag2) {
494
- const header = line.toLowerCase().split(" ");
495
- if (header.length <= 1) return "invalid header line for ITD";
496
- const htry = (...lst) => {
497
- for (const i2 of lst) {
498
- const j = header.indexOf(i2);
499
- if (j != -1) return j;
500
- }
501
- return -1;
502
- };
503
- let i = htry("gene");
504
- if (i == -1) return "gene missing from header";
505
- header[i] = "gene";
506
- i = htry(
507
- "annovar_isoform",
508
- "mrna_accession",
509
- "mrna accession",
510
- "refseq_mrna_id",
511
- "annovar_sj_filter_isoform",
512
- "refseq",
513
- "isoform"
514
- );
515
- if (i == -1) return "isoform missing from header";
516
- header[i] = "isoform";
517
- i = htry("rnaposition");
518
- if (i != -1) {
519
- header[i] = "rnaposition";
520
- i = htry("rnaduplength");
521
- if (i == -1) return "rnaduplength is required when rnaposition is present";
522
- header[i] = "rnaduplength";
523
- }
524
- i = htry("chromosome", "chr");
525
- if (i != -1) {
526
- header[i] = "chr";
527
- i = htry("chr_start");
528
- if (i == -1) return "chr_start is required when chr is present";
529
- header[i] = "chrpos1";
530
- i = htry("chr_stop");
531
- if (i == -1) return "chr_stop is required when chr is present";
532
- header[i] = "chrpos2";
533
- }
534
- i = htry("sample", "sample_name", "tumor_sample_barcode");
535
- if (i != -1) header[i] = "sample";
536
- i = htry("patient", "donor", "target_case_id");
537
- if (i != -1) header[i] = "patient";
538
- i = htry("disease");
539
- if (i != -1) header[i] = "disease";
540
- i = htry("origin");
541
- if (i != -1) header[i] = "origin";
542
- i = htry("sampletype", "sample type", "sample_type");
543
- if (i != -1) header[i] = "sampletype";
544
- flag2.itd.header = header;
545
- flag2.itd.loaded = true;
546
- return false;
547
- }
548
- function parseline5(i, line, flag2) {
549
- if (line == "" || line[0] == "#") return;
550
- const lst = line.split(" ");
551
- const m = {};
552
- for (let j = 0; j < flag2.itd.header.length; j++) {
553
- if (lst[j] == void 0) break;
554
- m[flag2.itd.header[j]] = lst[j];
555
- }
556
- if (!m.gene) {
557
- flag2.itd.badlines.push([i, "missing gene", lst]);
558
- return;
559
- }
560
- if (m.rnaposition) {
561
- let v = Number.parseInt(m.rnaposition);
562
- if (Number.isNaN(v) || v < 0) {
563
- flag2.itd.badlines.push([i, "invalid rnaPosition value", lst]);
564
- return;
565
- }
566
- m.rnaposition = v;
567
- if (!m.rnaduplength) {
568
- flag2.itd.badlines.push([i, "missing rnaDuplength value", lst]);
569
- return;
570
- }
571
- v = Number.parseInt(m.rnaduplength);
572
- if (Number.isNaN(v) || v < 0) {
573
- flag2.itd.badlines.push([i, "invalid rnaDuplength value", lst]);
574
- return;
575
- }
576
- m.rnaduplength = v;
577
- }
578
- if (m.chr) {
579
- let v = Number.parseInt(m.chrpos1);
580
- if (Number.isNaN(v) || v < 0) {
581
- flag2.itd.badlines.push([i, "invalid chr_start value", lst]);
582
- return;
583
- }
584
- m.chrpos1 = v;
585
- v = Number.parseInt(m.chrpos2);
586
- if (Number.isNaN(v) || v < 0) {
587
- flag2.itd.badlines.push([i, "invalid chr_stop value", lst]);
588
- return;
589
- }
590
- m.chrpos2 = v;
591
- }
592
- if (parsesample(m, flag2, i, lst, flag2.itd.badlines)) {
593
- return;
594
- }
595
- m.dt = dtitd;
596
- m.class = mclassitd;
597
- m.mname = "ITD";
598
- flag2.good++;
599
- var n = flag2.geneToUpper ? m.gene.toUpperCase() : m.gene;
600
- if (!(n in flag2.data)) {
601
- flag2.data[n] = [];
602
- }
603
- flag2.data[n].push(m);
604
- }
605
-
606
- // ../shared/utils/src/bulk.del.js
607
- function parseheader6(line, flag2) {
608
- const header = line.toLowerCase().split(" ");
609
- if (header.length <= 1) return "invalid header line for intragenic deletion";
610
- const htry = (...lst) => {
611
- for (const i2 of lst) {
612
- const j = header.indexOf(i2);
613
- if (j != -1) return j;
614
- }
615
- return -1;
616
- };
617
- let i = htry("gene");
618
- if (i == -1) return "gene missing from header";
619
- header[i] = "gene";
620
- i = htry(
621
- "annovar_isoform",
622
- "mrna_accession",
623
- "mrna accession",
624
- "refseq_mrna_id",
625
- "annovar_sj_filter_isoform",
626
- "refseq",
627
- "isoform"
628
- );
629
- if (i == -1) return "isoform missing from header";
630
- header[i] = "isoform";
631
- i = htry("rnaposition");
632
- if (i != -1) {
633
- header[i] = "rnaposition";
634
- i = htry("rnadellength");
635
- if (i == -1) return "rnadellength is required when rnaPosition is used";
636
- header[i] = "rnadellength";
637
- }
638
- i = htry("chromosome", "chr");
639
- if (i != -1) {
640
- header[i] = "chr";
641
- i = htry("chr_start");
642
- if (i == -1) return "chr_start is required when chr is used";
643
- header[i] = "chrpos1";
644
- i = htry("chr_stop");
645
- if (i == -1) return "chr_stop is required when chr is used";
646
- header[i] = "chrpos2";
647
- }
648
- i = htry("sample", "sample_name", "tumor_sample_barcode");
649
- if (i != -1) header[i] = "sample";
650
- i = htry("patient", "donor", "target_case_id");
651
- if (i != -1) header[i] = "patient";
652
- i = htry("disease");
653
- if (i != -1) header[i] = "disease";
654
- i = htry("origin");
655
- if (i != -1) header[i] = "origin";
656
- i = htry("sampletype", "sample type", "sample_type");
657
- if (i != -1) header[i] = "sampletype";
658
- flag2.del.header = header;
659
- flag2.del.loaded = true;
660
- return false;
661
- }
662
- function parseline6(i, line, flag2) {
663
- if (line == "" || line[0] == "#") return;
664
- const lst = line.split(" ");
665
- const m = {};
666
- for (let j = 0; j < flag2.del.header.length; j++) {
667
- if (lst[j] == void 0) break;
668
- m[flag2.del.header[j]] = lst[j];
669
- }
670
- if (!m.gene) {
671
- flag2.del.badlines.push([i, "missing gene", lst]);
672
- return;
673
- }
674
- if (m.rnaposition) {
675
- let v = Number.parseInt(m.rnaposition);
676
- if (Number.isNaN(v) || v < 0) {
677
- flag2.del.badlines.push([i, "invalid rnaPosition value", lst]);
678
- return;
679
- }
680
- m.rnaposition = v;
681
- if (!m.rnadellength) {
682
- flag2.del.badlines.push([i, "missing rnaDellength value", lst]);
683
- return;
684
- }
685
- v = Number.parseInt(m.rnadellength);
686
- if (Number.isNaN(v) || v < 0) {
687
- flag2.del.badlines.push([i, "invalid rnaDellength value", lst]);
688
- return;
689
- }
690
- m.rnadellength = v;
691
- }
692
- if (m.chr) {
693
- let v = Number.parseInt(m.chrpos1);
694
- if (Number.isNaN(v) || v < 0) {
695
- flag2.del.badlines.push([i, "invalid chr_start value", lst]);
696
- return;
697
- }
698
- m.chrpos1 = v;
699
- v = Number.parseInt(m.chrpos2);
700
- if (Number.isNaN(v) || v < 0) {
701
- flag2.del.badlines.push([i, "invalid chr_stop value", lst]);
702
- return;
703
- }
704
- m.chrpos2 = v;
705
- }
706
- if (parsesample(m, flag2, i, lst, flag2.del.badlines)) {
707
- return;
708
- }
709
- m.dt = dtdel;
710
- m.class = mclassdel;
711
- m.mname = "DEL";
712
- flag2.good++;
713
- var n = flag2.geneToUpper ? m.gene.toUpperCase() : m.gene;
714
- if (!(n in flag2.data)) {
715
- flag2.data[n] = [];
716
- }
717
- flag2.data[n].push(m);
718
- }
719
-
720
- // ../shared/utils/src/bulk.trunc.js
721
- function parseheader7(line, flag2) {
722
- const header = line.toLowerCase().split(" ");
723
- if (header.length <= 1) return "invalid header line for truncation";
724
- const htry = (...lst) => {
725
- for (const e of lst) {
726
- const j = header.indexOf(e);
727
- if (j != -1) return j;
728
- }
729
- return -1;
730
- };
731
- let i = htry("gene");
732
- if (i == -1) return "gene missing from header";
733
- header[i] = "gene";
734
- i = htry(
735
- "annovar_isoform",
736
- "mrna_accession",
737
- "mrna accession",
738
- "refseq_mrna_id",
739
- "annovar_sj_filter_isoform",
740
- "refseq",
741
- "isoform"
742
- );
743
- if (i == -1) return "isoform missing from header";
744
- header[i] = "isoform";
745
- let hasrnapos = false;
746
- i = htry("rnaposition");
747
- if (i != -1) {
748
- header[i] = "rnaposition";
749
- hasrnapos = true;
750
- }
751
- i = htry("losstype");
752
- if (i == -1) return "lossType missing from header";
753
- header[i] = "losstype";
754
- let hasgenomic = false;
755
- i = htry("chromosome", "chr");
756
- if (i != -1) {
757
- header[i] = "chr";
758
- i = htry(
759
- "start",
760
- "start_position",
761
- "wu_hg19_pos",
762
- "chr_position",
763
- "position"
764
- );
765
- if (i == -1) {
766
- return "genomic position missing from header";
767
- }
768
- header[i] = "pos";
769
- hasgenomic = true;
770
- }
771
- if (!hasrnapos && !hasgenomic) {
772
- return "neither rnaposition nor genomic position is given";
773
- }
774
- i = htry("sample", "sample_name", "tumor_sample_barcode");
775
- if (i != -1) header[i] = "sample";
776
- i = htry("patient", "donor", "target_case_id");
777
- if (i != -1) header[i] = "patient";
778
- i = htry("disease");
779
- if (i != -1) header[i] = "disease";
780
- i = htry("origin");
781
- if (i != -1) header[i] = "origin";
782
- i = htry("sampletype", "sample type", "sample_type");
783
- if (i != -1) header[i] = "sampletype";
784
- flag2.truncation.header = header;
785
- flag2.truncation.loaded = true;
786
- return false;
787
- }
788
- function parseline7(i, line, flag2) {
789
- if (line == "" || line[0] == "#") return;
790
- const lst = line.split(" ");
791
- const m = {};
792
- for (let j = 0; j < flag2.truncation.header.length; j++) {
793
- m[flag2.truncation.header[j]] = lst[j];
794
- }
795
- if (!m.gene) {
796
- flag2.truncation.badlines.push([i, "missing gene", lst]);
797
- return;
798
- }
799
- if (m.rnaposition) {
800
- const v = Number.parseInt(m.rnaposition);
801
- if (Number.isNaN(v) || v < 0) {
802
- flag2.truncation.badlines.push([i, "invalid rnaPosition value", lst]);
803
- return;
804
- }
805
- m.rnaposition = v;
806
- }
807
- if (m.pos) {
808
- const v = Number.parseInt(m.pos);
809
- if (Number.isNaN(v) || v < 0) {
810
- flag2.truncation.badlines.push([i, "invalid genomic position", lst]);
811
- return;
812
- }
813
- m.pos = v;
814
- }
815
- if (!m.losstype) {
816
- flag2.truncation.badlines.push([i, "missing lossType value", lst]);
817
- return;
818
- }
819
- if (m.losstype != "n" && m.losstype != "c") {
820
- flag2.truncation.badlines.push([i, 'lossType value not "n" or "c"', lst]);
821
- return;
822
- }
823
- if (parsesample(m, flag2, i, lst, flag2.truncation.badlines)) {
824
- return;
825
- }
826
- if (m.losstype == "n") {
827
- m.dt = dtnloss;
828
- m.class = mclassnloss;
829
- m.mname = "N-loss";
830
- } else {
831
- m.dt = dtcloss;
832
- m.class = mclasscloss;
833
- m.mname = "C-loss";
834
- }
835
- flag2.good++;
836
- const n = flag2.geneToUpper ? m.gene.toUpperCase() : m.gene;
837
- if (!(n in flag2.data)) {
838
- flag2.data[n] = [];
839
- }
840
- flag2.data[n].push(m);
841
- }
842
-
843
- // src/bulk.project.js
844
- var schemaNames = ["heatmapJSON", "piebarJSON", "survivalJSON", "discoJSON", "riverJSON"];
845
- var typeIndex = {
846
- snvindel: 0,
847
- si: 0,
848
- sv: 1,
849
- fusion: 2,
850
- itd: 3,
851
- deletion: 4,
852
- truncation: 5,
853
- cnv: 6
854
- };
855
- var urlProjectLoaded = false;
856
- var ProjectHandler = class {
857
- /*
858
- Create a handler for multiple uploaded or fetched
859
- files in a project
860
-
861
- bt = {
862
- flag: closured flag inside bulkui.bulkui,
863
- bulkin: bulkui.bulkin,
864
- content2flag: bulkui.content2flag,
865
- flag2tp: closured flat2tp,
866
- filediv: (optional) d3-wrapped container for file-input
867
- }
868
- */
869
- constructor(bt) {
870
- this.bt = bt;
871
- this.err = this.errHandler();
872
- if (!urlProjectLoaded) {
873
- const params = getParams();
874
- if (params.project) {
875
- this.getData(params.project);
876
- urlProjectLoaded = true;
877
- }
878
- }
879
- if (bt.filediv) {
880
- this.projectByInput(bt.filediv);
881
- }
882
- }
883
- /*
884
- Process data files sequentially for rendering
885
- into a TP div
886
-
887
- data = {
888
- schemas: object {
889
- heatmapJSON (optional),
890
- piebarJSON (optional),
891
- survivalJSON (optional)
892
- },
893
- files: [] array of {
894
- name: string
895
- typeL one of the typeIndex values
896
- content: string
897
- }
898
- }
899
- */
900
- processData(data) {
901
- const file = data.files.pop();
902
- const i = data.expectedFileNames.indexOf(file.name);
903
- if (i == -1) {
904
- if (data.files.length)
905
- setTimeout(() => {
906
- this.processData(data);
907
- }, 1);
908
- return;
909
- }
910
- data.expectedFileNames.splice(i, 1);
911
- this.cohort = {
912
- name: "project",
913
- genome: this.bt.genomes[this.bt.gselect.options[this.bt.gselect.selectedIndex].innerHTML]
914
- };
915
- if (!this.flag) {
916
- this.flag = this.bt.init_bulk_flag(this.cohort.genome);
917
- }
918
- const error = this.bt.content2flag(file.content, file.type, this.flag);
919
- if (error) {
920
- this.err(error);
921
- this.processData(data);
922
- } else if (!data.files.length) {
923
- if (data.expectedFileNames.length) {
924
- this.err('These referenced files were not found: "' + data.expectedFileNames.join('", "') + '".');
925
- }
926
- this.bt.flag2tp(this.flag, { name: "project" }, Object.assign(this.cohort, data.schema), this.ds);
927
- return;
928
- } else {
929
- if (!this.ds) {
930
- for (const k in this.cohort.dsset) {
931
- this.ds = this.cohort.dsset[k];
932
- break;
933
- }
934
- }
935
- const error1 = this.bt.bulkin(
936
- {
937
- flag: this.flag,
938
- cohort: this.cohort,
939
- flag2thisds: this.ds,
940
- filename: "project"
941
- },
942
- () => {
943
- this.processData(data);
944
- }
945
- );
946
- if (error1) {
947
- this.err("Error with " + file.name + ": " + error1);
948
- return;
949
- }
950
- if (this.flag.good === 0) {
951
- this.err(file.name + ": no data loaded");
952
- return;
953
- }
954
- }
955
- }
956
- getData(project) {
957
- const [projectname, _refname] = project.split("/");
958
- const refname = _refname && _refname.trim() ? _refname.trim() : "ref.txt";
959
- this.gettext("/data/projects/" + projectname + "/" + refname, (text) => {
960
- const fileNameToType = {};
961
- const nameToSchemaType = {};
962
- const data = { schema: {}, files: [], expectedFileNames: [] };
963
- let schemaFileName = "";
964
- let numProcessedFiles = 0;
965
- let numFiles = 0;
966
- text.trim().split("\n").forEach((line) => {
967
- const [type, filename] = line.trim().split(" ");
968
- if (schemaNames.includes(type)) {
969
- nameToSchemaType[filename] = type;
970
- numFiles += 1;
971
- } else if (!typeIndex[type] && typeIndex[type] !== 0) {
972
- this.err("Unrecognized type " + type + " for file " + filename + " in reference.txt.");
973
- } else {
974
- fileNameToType[filename] = typeIndex[type];
975
- numFiles += 1;
976
- }
977
- });
978
- data.expectedFileNames = Object.keys(fileNameToType);
979
- const tracker = this.getTracker(numFiles, () => this.processData(data));
980
- Object.keys(nameToSchemaType).forEach((filename) => {
981
- this.getjson("/data/projects/" + projectname + "/" + filename, (json) => {
982
- data.schema[nameToSchemaType[filename]] = json;
983
- tracker();
984
- });
985
- });
986
- Object.keys(fileNameToType).forEach((filename) => {
987
- this.gettext("/data/projects/" + projectname + "/" + filename, (text2) => {
988
- data.files.push({
989
- name: filename,
990
- type: fileNameToType[filename],
991
- content: text2
992
- });
993
- tracker();
994
- });
995
- });
996
- });
997
- }
998
- gettext(url, callback) {
999
- fetch(url).then((response) => {
1000
- if (response.ok) return response.text();
1001
- else this.err("File request error: " + url);
1002
- }).then(callback).catch((error) => this.err("File request error: " + url + " " + error));
1003
- }
1004
- getjson(url, callback) {
1005
- fetch(url).then((response) => {
1006
- if (response.ok) return response.json();
1007
- else this.err("Network error for " + url);
1008
- }).then(callback).catch((error) => this.err("file request error: " + url + " " + error));
1009
- }
1010
- getTracker(numFiles, callback) {
1011
- let numProcessedFiles = 0;
1012
- return function tracker() {
1013
- numProcessedFiles += 1;
1014
- if (numProcessedFiles == numFiles) {
1015
- callback();
1016
- }
1017
- };
1018
- }
1019
- projectByInput(filediv) {
1020
- this.tp = null;
1021
- const advancedDiv = filediv.append("div");
1022
- advancedDiv.append("span").html("Project: reference &nbsp;");
1023
- this.refNameInput = advancedDiv.append("input").attr("type", "text").property("value", "ref.txt").style("margin-right", "20px").style("padding-left", "7px");
1024
- const buttlabel = advancedDiv.append("label").attr("for", "sja-pp-bulk-ui-project-btn").attr("class", "sja_btn").style("padding", "3px 5px").html("Choose folder");
1025
- 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));
1026
- 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> |
1027
- <a href='https://proteinpaint.stjude.org/ppdemo/projects/target-tall-project/ref.txt' target=_blank>Example project reference file</a>`);
1028
- advancedDiv.append("div").style("margin", "20px").style("width", "100%").html("-- OR --");
1029
- }
1030
- /* to be used as a file input (FileList) handler */
1031
- readFiles(event) {
1032
- const self = this;
1033
- const refFileName = self.refNameInput.property("value");
1034
- const files = Array.from(event.target.files);
1035
- const ref = files.filter((f) => f.name == refFileName)[0];
1036
- if (!ref) {
1037
- self.err("Missing reference file='" + refFileName + "'.");
1038
- return;
1039
- }
1040
- const fileNameToType = {};
1041
- const nameToSchemaType = {};
1042
- const data = { schema: {}, files: [], expectedFileNames: [] };
1043
- const reader = new FileReader();
1044
- let schemaFileName = "";
1045
- let numProcessedFiles = 0;
1046
- reader.onload = (event2) => {
1047
- event2.target.result.trim().split("\n").forEach((line) => {
1048
- const [type, filename] = line.trim().split(" ");
1049
- if (schemaNames.includes(type)) {
1050
- nameToSchemaType[filename] = type;
1051
- } else if (!typeIndex[type] && typeIndex[type] !== 0) {
1052
- self.err("Unrecognized type " + type + " for file " + filename + " in reference.txt.");
1053
- } else {
1054
- fileNameToType[filename] = typeIndex[type];
1055
- }
1056
- });
1057
- data.expectedFileNames = Object.keys(fileNameToType);
1058
- const schemaFiles = files.filter((file) => file.name in nameToSchemaType);
1059
- let numProcessedSchemas = 0;
1060
- if (!schemaFiles.length) {
1061
- files.forEach(processFile);
1062
- } else {
1063
- schemaFiles.forEach((file) => {
1064
- const reader2 = new FileReader();
1065
- reader2.onload = (event3) => {
1066
- const schema = JSON.parse(event3.target.result);
1067
- numProcessedSchemas += 1;
1068
- if (!schema) {
1069
- self.err('Unable to parse schema file="' + file.name + '".');
1070
- } else {
1071
- data.schema[nameToSchemaType[file.name]] = schema;
1072
- }
1073
- if (numProcessedSchemas == schemaFiles.length) {
1074
- files.forEach(processFile);
1075
- }
1076
- };
1077
- reader2.onerror = () => {
1078
- self.err("Error reading schema.txt.");
1079
- };
1080
- reader2.readAsText(file, "utf8");
1081
- });
1082
- }
1083
- function processFile(file) {
1084
- if (!data.expectedFileNames.includes(file.name)) {
1085
- numProcessedFiles += 1;
1086
- return;
1087
- }
1088
- if (!file) {
1089
- self.err("Error reading file.");
1090
- numProcessedFiles += 1;
1091
- return;
1092
- }
1093
- if (file.size == 0) {
1094
- self.err("Wrong file: " + file.name);
1095
- numProcessedFiles += 1;
1096
- return;
1097
- }
1098
- if (!fileNameToType[file.name] && fileNameToType[file.name] !== 0 && file.name != schemaFileName) {
1099
- self.err("Missing or invalid type assigned to file " + file.name + ".");
1100
- numProcessedFiles += 1;
1101
- return;
1102
- }
1103
- const reader2 = new FileReader();
1104
- reader2.onload = (event3) => {
1105
- numProcessedFiles += 1;
1106
- data.files.push({
1107
- name: file.name,
1108
- type: fileNameToType[file.name],
1109
- content: event3.target.result
1110
- });
1111
- if (numProcessedFiles == files.length) {
1112
- self.processData(data);
1113
- }
1114
- };
1115
- reader2.onerror = () => {
1116
- numProcessedFiles += 1;
1117
- self.err("Error reading file " + file.name);
1118
- if (numProcessedFiles == files.length) {
1119
- self.processData(data);
1120
- }
1121
- };
1122
- reader2.readAsText(file, "utf8");
1123
- }
1124
- };
1125
- reader.onerror = () => {
1126
- self.err("Error reading reference.txt.");
1127
- };
1128
- reader.readAsText(ref, "utf8");
1129
- }
1130
- // function to track and display accumulated error messages
1131
- errHandler() {
1132
- const errdiv = select_default("body").append("div");
1133
- let mssg = "";
1134
- return function(m) {
1135
- if (!m) return;
1136
- sayerror(errdiv, m);
1137
- };
1138
- }
1139
- };
1140
- function getParams() {
1141
- const params = {};
1142
- window.location.search.substr(1).split("&").forEach((kv) => {
1143
- const [key, value] = kv.split("=");
1144
- params[key] = value;
1145
- });
1146
- return params;
1147
- }
1148
-
1149
- // src/bulk.ui.js
1150
- function bulkui(x, y, genomes, hostURL, holder, header) {
1151
- let pane, inputdiv, gselect, filediv, saydiv, visualdiv;
1152
- if (holder !== void 0) [inputdiv, gselect, filediv, saydiv, visualdiv] = renderSandboxFormDiv(holder, genomes);
1153
- else {
1154
- ;
1155
- [pane, inputdiv, gselect, filediv, saydiv, visualdiv] = newpane3(x, y, genomes);
1156
- pane.header.text("Load mutation from text files");
1157
- }
1158
- inputdiv.append("div").style("margin", "20px 0px").style("color", "#858585").html(`
1159
- <p>Choose one file and upload to initiate the display panel.<br>From there you can add additional files.</p>
1160
- <div>Supported data types:</div>
1161
- <ul>
1162
- <li>SNV and indel</li>
1163
- <ul>
1164
- <li><a href=https://drive.google.com/open?id=1OJ9aXq2_-a3BfIQdKLYCYzrJRTpu4_9i3gephTY-Z38 target=_blank>Format</a>,
1165
- <a href=https://proteinpaint.stjude.org/ppdemo/hg19/heatmap/exampleFiles/example.snvindel.txt target=_blank>example file</a></li>
1166
- </ul>
1167
- <li>SV or fusion transcript</li>
1168
- <ul>
1169
- <li><a href=https://drive.google.com/open?id=1klDZ0MHVkQTW2-lCu_AvpRE4_FcbhdB-yI17wNdPaOM target=_blank>Tabular format</a>,
1170
- <a href=https://proteinpaint.stjude.org/ppdemo/hg19/heatmap/exampleFiles/example.svfusion.txt target=_blank>example file</a>
1171
- </li>
1172
- <li>JSON-format, to come</li>
1173
- </ul>
1174
- <li>CNV, gene-level</li>
1175
- <ul>
1176
- <li><a href=https://drive.google.com/open?id=1WHptqOWNf96V0bYEDpj-EsKZGYnbBNc9aQIrhzdEJaU target=_blank>Format</a>,
1177
- <a href=https://proteinpaint.stjude.org/ppdemo/hg19/heatmap/exampleFiles/example.cnv.txt target=_blank>example file</a>
1178
- </li>
1179
- </ul>
1180
- <li>ITD</li>
1181
- <ul>
1182
- <li>Internal tandem duplication, in-frame</li>
1183
- <li><a href=https://drive.google.com/open?id=1Bh9awBsraoHbV8iWXv_3oDeXMsjIAHaOKHr973IJyZc target=_blank>Format</a>,
1184
- <a href=https://proteinpaint.stjude.org/ppdemo/hg19/heatmap/exampleFiles/example.itd.txt target=_blank>example file</a>
1185
- </li>
1186
- </ul>
1187
- <li>Intragenic deletion, in-frame</li>
1188
- <ul>
1189
- <li><a href=https://drive.google.com/open?id=1tWbf3rg3BmVIZPGGPk023P0aBkDw_ry5XuZLGyGodyg target=_blank>Format</a>,
1190
- <a href=https://proteinpaint.stjude.org/ppdemo/hg19/heatmap/exampleFiles/example.deletion.txt target=_blank>example file</a>
1191
- </li>
1192
- </ul>
1193
- <li>Truncation</li>
1194
- <ul>
1195
- <li>Either N-terminus loss or C-terminus loss</li>
1196
- <li><a href=https://drive.google.com/open?id=1P1g-Y8r30pSKfan1BhYZcsUtSk7wRb4plaO1S-JCJr4 target=_blank>Format</a>,
1197
- <a href=https://proteinpaint.stjude.org/ppdemo/hg19/heatmap/exampleFiles/example.truncation.txt target=_blank>example file</a>
1198
- </li>
1199
- </ul>
1200
- </ul>`);
1201
- const fileui = () => {
1202
- filediv.selectAll("*").remove();
1203
- new ProjectHandler({
1204
- bulkin,
1205
- genomes,
1206
- gselect,
1207
- content2flag,
1208
- flag2tp,
1209
- filediv,
1210
- init_bulk_flag
1211
- });
1212
- filediv.append("span").html("Select data type&nbsp;");
1213
- const typeselect = filetypeselect(filediv).style("margin-right", "20px");
1214
- const butt = filediv.append("input").attr("type", "file").on("change", (event) => {
1215
- const flag2 = init_bulk_flag(genomes[gselect.options[gselect.selectedIndex].innerHTML]);
1216
- flag2.geneToUpper = geneToUpper.property("checked");
1217
- saydiv.text("");
1218
- const file = event.target.files[0];
1219
- if (!file) {
1220
- fileui();
1221
- return;
1222
- }
1223
- if (file.size == 0) {
1224
- saydiv.text("Wrong file: " + file.name);
1225
- fileui();
1226
- return;
1227
- }
1228
- const reader = new FileReader();
1229
- reader.onload = (event2) => {
1230
- const error = content2flag(event2.target.result, typeselect.node().selectedIndex, flag2);
1231
- if (error) {
1232
- saydiv.text("Error: " + error);
1233
- fileui();
1234
- return;
1235
- }
1236
- flag2tp(flag2, file);
1237
- };
1238
- reader.onerror = function() {
1239
- saydiv.text("Error reading file " + file.name);
1240
- fileui();
1241
- return;
1242
- };
1243
- saydiv.text("Parsing file " + file.name + " ...");
1244
- reader.readAsText(file, "utf8");
1245
- });
1246
- setTimeout(() => butt.node().focus(), 1100);
1247
- };
1248
- fileui();
1249
- filediv.append("span").html("<br/>Convert gene name to uppercase &nbsp;");
1250
- const geneToUpper = filediv.append("span").append("input").attr("type", "checkbox").property("checked", true);
1251
- function flag2tp(flag2, file, _cohort = null, ds = null) {
1252
- if (typeof flag2 == "string") {
1253
- saydiv.text(flag2);
1254
- fileui();
1255
- return;
1256
- }
1257
- saydiv.text("");
1258
- fileui();
1259
- const cohort = _cohort ? _cohort : Object.assign({
1260
- genome: flag2.genome,
1261
- name: file.name
1262
- });
1263
- const err2 = bulkin({
1264
- flag: flag2,
1265
- filename: file.name,
1266
- cohort,
1267
- flag2thisds: ds
1268
- });
1269
- if (err2) {
1270
- saydiv.text("Error with " + file.name + ": " + err2);
1271
- return;
1272
- }
1273
- if (flag2.good == 0) {
1274
- saydiv.text("No mutations can be loaded");
1275
- return;
1276
- }
1277
- let visual_holder;
1278
- if (pane) {
1279
- disappear(pane.pane);
1280
- const pane2 = newpane({ x: 100, y: 100, toshrink: true });
1281
- pane2.header.html('<span style="opacity:.5">FILE</span> ' + file.name);
1282
- visual_holder = pane2.body;
1283
- }
1284
- if (holder !== void 0) {
1285
- visual_holder = visualdiv.append("div").html('<span style="opacity:.5">FILE</span> ' + file.name);
1286
- }
1287
- inputdiv.selectAll("*").remove();
1288
- import("./tp.ui-OQ757UIE.js").then((tpui) => {
1289
- tpui.default(cohort, visual_holder, hostURL);
1290
- });
1291
- return cohort;
1292
- }
1293
- return function content2flag2tp(file, type) {
1294
- const error = content2flag(file.content, type, flag);
1295
- if (error) {
1296
- saydiv.text("Error: " + error);
1297
- fileui();
1298
- return;
1299
- }
1300
- flag2tp(flag, file);
1301
- };
1302
- }
1303
- function content2flag(text, type, flag2) {
1304
- if (!flag2) return "should not happen!";
1305
- let err2;
1306
- switch (type) {
1307
- case 0:
1308
- err2 = parse_snvindel(text, flag2);
1309
- if (err2) return err2;
1310
- break;
1311
- case 1:
1312
- err2 = parse_sv(text, flag2, true);
1313
- if (err2) return err2;
1314
- break;
1315
- case 2:
1316
- err2 = parse_sv(text, flag2, false);
1317
- if (err2) return err2;
1318
- break;
1319
- case 3:
1320
- err2 = parse_itd(text, flag2);
1321
- if (err2) return err2;
1322
- break;
1323
- case 4:
1324
- err2 = parse_del(text, flag2);
1325
- if (err2) return err2;
1326
- break;
1327
- case 5:
1328
- err2 = parse_trunc(text, flag2);
1329
- if (err2) return err2;
1330
- break;
1331
- case 6:
1332
- err2 = parse_cnv(text, flag2);
1333
- if (err2) return err2;
1334
- break;
1335
- default:
1336
- return "unknown option array index from file type <select>: " + type;
1337
- }
1338
- }
1339
- function bulkin(p, callback = null) {
1340
- const flag2 = p.flag;
1341
- const cohort = p.cohort;
1342
- if (!cohort.p2st) {
1343
- cohort.p2st = {};
1344
- }
1345
- if (!cohort.dsset) {
1346
- cohort.dsset = {};
1347
- }
1348
- if (!cohort.assaylst) {
1349
- cohort.assaylst = [];
1350
- }
1351
- if (flag2.variantgene) {
1352
- if (cohort.variantgene) {
1353
- return "variantgene already set for this cohort";
1354
- }
1355
- cohort.variantgene = flag2.variantgene;
1356
- }
1357
- if (flag2.snv.badlines.length > 0) {
1358
- bulk_badline(flag2.snv.header, flag2.snv.badlines);
1359
- }
1360
- if (flag2.fusion.badlines.length > 0) {
1361
- bulk_badline(flag2.fusion.header, flag2.fusion.badlines);
1362
- }
1363
- if (flag2.sv.badlines.length > 0) {
1364
- bulk_badline(flag2.sv.header, flag2.sv.badlines);
1365
- }
1366
- if (flag2.cnv.badlines.length > 0) {
1367
- bulk_badline(flag2.cnv.header, flag2.cnv.badlines);
1368
- }
1369
- if (flag2.itd.badlines.length > 0) {
1370
- bulk_badline(flag2.itd.header, flag2.itd.badlines);
1371
- }
1372
- if (flag2.del.badlines.length > 0) {
1373
- bulk_badline(flag2.del.header, flag2.del.badlines);
1374
- }
1375
- if (flag2.truncation.badlines.length > 0) {
1376
- bulk_badline(flag2.truncation.header, flag2.truncation.badlines);
1377
- }
1378
- if (flag2.good == 0) {
1379
- return false;
1380
- }
1381
- const tmp = {};
1382
- let hastumormaf = false;
1383
- if (flag2.snv.loaded) {
1384
- for (const i of flag2.snv.header) {
1385
- tmp[i] = 1;
1386
- }
1387
- if ("maf_tumor_v1" in tmp && "maf_tumor_v2" in tmp) {
1388
- hastumormaf = true;
1389
- }
1390
- }
1391
- if (flag2.cnv.loaded) {
1392
- for (const i of flag2.cnv.header) {
1393
- tmp[i] = 1;
1394
- }
1395
- }
1396
- if (flag2.fusion.loaded) {
1397
- for (const i of flag2.fusion.header) {
1398
- tmp[i] = 1;
1399
- }
1400
- }
1401
- if (flag2.sv.loaded) {
1402
- for (const i of flag2.sv.header) {
1403
- tmp[i] = 1;
1404
- }
1405
- }
1406
- if (flag2.itd.loaded) {
1407
- for (const i of flag2.itd.header) {
1408
- tmp[i] = 1;
1409
- }
1410
- }
1411
- if (flag2.del.loaded) {
1412
- for (const i of flag2.del.header) {
1413
- tmp[i] = 1;
1414
- }
1415
- }
1416
- if (flag2.truncation.loaded) {
1417
- for (const i of flag2.truncation.header) {
1418
- tmp[i] = 1;
1419
- }
1420
- }
1421
- const hassample = "sample" in tmp || "patient" in tmp;
1422
- const hasdisease = "disease" in tmp;
1423
- const hasst = "sampletype" in tmp;
1424
- let dsc;
1425
- if (p.flag2thisds) {
1426
- dsc = p.flag2thisds;
1427
- if (hassample && !dsc.hassample) {
1428
- return '"sample" column found in new data but not in existing data';
1429
- }
1430
- if (!hassample && dsc.hassample) {
1431
- return '"sample" column found in existing data but not in new data';
1432
- }
1433
- if (hasdisease && !dsc.hasdisease) {
1434
- return '"disease" column found in new data but not in existing data';
1435
- }
1436
- if (!hasdisease && dsc.hasdisease) {
1437
- return '"disease" column found in existing data but not in new data';
1438
- }
1439
- if (hasst && !dsc.hasst) {
1440
- return '"sampletype" column found in new data but not in existing data';
1441
- }
1442
- if (!hasst && dsc.hasst) {
1443
- return '"sampletype" column found in existing data but not in new data';
1444
- }
1445
- for (const genename in flag2.data) {
1446
- const lst = dsc.bulkdata[genename];
1447
- if (lst) {
1448
- dsc.bulkdata[genename] = lst.concat(flag2.data[genename]);
1449
- } else {
1450
- dsc.bulkdata[genename] = flag2.data[genename];
1451
- }
1452
- }
1453
- } else {
1454
- let dsname = p.filename + (flag2.tpsetname ? "_" + flag2.tpsetname : "");
1455
- if (dsname in flag2.genome.datasets) {
1456
- let j = 1;
1457
- let n2 = dsname + " " + j;
1458
- while (n2 in flag2.genome.datasets) {
1459
- j++;
1460
- n2 = dsname + " " + j;
1461
- }
1462
- dsname = n2;
1463
- }
1464
- dsc = {
1465
- label: dsname,
1466
- bulkdata: flag2.data,
1467
- // official dataset don't have this
1468
- hassample,
1469
- hasdisease,
1470
- hastumormaf,
1471
- hasst,
1472
- genome: cohort.genome,
1473
- import: {},
1474
- imported: {},
1475
- importsilent: flag2.snv.silent == 0 ? false : flag2.snv.missense / flag2.snv.silent >= 5 ? false : true
1476
- };
1477
- flag2.genome.datasets[dsname] = dsc;
1478
- cohort.dsset[dsname] = dsc;
1479
- if (cohort.dbexpression) {
1480
- if (cohort.dbexpression.tidy) {
1481
- try {
1482
- cohort.dbexpression.tidy = new Function(...cohort.dbexpression.tidy);
1483
- } catch (e) {
1484
- err("invalid JavaScript for dbexpression.tidy");
1485
- delete cohort.dbexpression;
1486
- }
1487
- }
1488
- dsc.dbexpression = cohort.dbexpression;
1489
- }
1490
- if (hasdisease) {
1491
- dsc.stratify = [
1492
- {
1493
- label: "disease",
1494
- attr1: { k: "disease", label: "disease" }
1495
- }
1496
- ];
1497
- }
1498
- }
1499
- if (hassample) {
1500
- for (const gene in flag2.data) {
1501
- for (const m of flag2.data[gene]) {
1502
- let pn = m.patient;
1503
- if (!pn) {
1504
- pn = m.sample;
1505
- if (!pn) {
1506
- continue;
1507
- }
1508
- }
1509
- if (!cohort.p2st[pn]) {
1510
- cohort.p2st[pn] = {};
1511
- }
1512
- let st = m.sampletype;
1513
- if (!st) {
1514
- st = pn;
1515
- }
1516
- if (!cohort.p2st[pn][st]) {
1517
- cohort.p2st[pn][st] = {
1518
- dsset: {},
1519
- tktemplate: []
1520
- };
1521
- }
1522
- if (!cohort.p2st[pn][st].dsset[dsc.label]) {
1523
- cohort.p2st[pn][st].dsset[dsc.label] = [];
1524
- }
1525
- cohort.p2st[pn][st].dsset[dsc.label].push(m);
1526
- }
1527
- }
1528
- }
1529
- if (callback) callback();
1530
- return false;
1531
- }
1532
- function bulkembed(arg) {
1533
- if (!arg.name) arg.name = "Unnamed dataset";
1534
- let holder = arg.holder;
1535
- if (!holder) {
1536
- const pane = newpane({ x: 100, y: 100 });
1537
- holder = pane.body;
1538
- }
1539
- const saydiv = holder.append("div");
1540
- new Promise((resolve, reject) => {
1541
- const cohort = {
1542
- dsset: {}
1543
- };
1544
- for (const k in arg) {
1545
- if (k == "snvindel" || k == "svjson" || k == "cnv" || k == "sv" || k == "mutationset") {
1546
- continue;
1547
- }
1548
- cohort[k] = arg[k];
1549
- }
1550
- resolve(cohort);
1551
- }).then((cohort) => {
1552
- if (!arg.snvindel && !arg.svjson && !arg.cnv && !arg.sv) return cohort;
1553
- const flag2 = init_bulk_flag(cohort.genome);
1554
- if (arg.snvindel) {
1555
- const e = parse_snvindel(arg.snvindel, flag2);
1556
- if (e) throw { message: "error in snvindel data: " + e };
1557
- delete arg.snvindel;
1558
- }
1559
- if (arg.svjson) {
1560
- const e = parse_svjson(arg.svjson, flag2);
1561
- if (e) throw { message: "error in svjson data: " + e };
1562
- delete arg.svjson;
1563
- }
1564
- if (arg.sv) {
1565
- const e = parse_sv(arg.sv, flag2);
1566
- if (e) throw { message: "error in svjson data: " + e };
1567
- delete arg.sv;
1568
- }
1569
- if (arg.cnv) {
1570
- const e = parse_cnv(arg.cnv, flag2);
1571
- if (e) throw { message: "error in cnv data: " + e };
1572
- delete arg.cnv;
1573
- }
1574
- const err2 = bulkin({
1575
- flag: flag2,
1576
- filename: arg.name,
1577
- cohort
1578
- });
1579
- if (err2) throw { message: "Error parsing data: " + err2 };
1580
- return cohort;
1581
- }).then((cohort) => {
1582
- if (!arg.mutationset) return cohort;
1583
- if (!Array.isArray(arg.mutationset)) throw { message: "mutationset is not an array" };
1584
- const tasks2 = [];
1585
- for (const mset of arg.mutationset) {
1586
- const flag2 = init_bulk_flag(cohort.genome);
1587
- const tasks = [];
1588
- if (mset.snvindel) {
1589
- const req = new Request(arg.hostURL + "/textfile", {
1590
- method: "POST",
1591
- body: '{"file":"' + mset.snvindel + '"}'
1592
- });
1593
- const task = fetch(req).then((data) => {
1594
- return data.json();
1595
- }).then((data) => {
1596
- if (data.error) throw { message: "error with snvindel file: " + data.error };
1597
- const e = parse_snvindel(data.text, flag2);
1598
- if (e) throw { message: "error with snvindel file: " + e };
1599
- });
1600
- tasks.push(task);
1601
- }
1602
- if (mset.snvindel_url) {
1603
- tasks.push(
1604
- dofetch("urltextfile", { url: mset.snvindel_url }).then((data) => {
1605
- if (data.error) throw { message: "cannot get snvindel file from url" };
1606
- const e = parse_snvindel(data.text, flag2);
1607
- if (e) throw { message: "error with snvindel file: " + e };
1608
- })
1609
- );
1610
- }
1611
- if (mset.cnv) {
1612
- const req = new Request(arg.hostURL + "/textfile", {
1613
- method: "POST",
1614
- body: '{"file":"' + mset.cnv + '"}'
1615
- });
1616
- const task = fetch(req).then((data) => {
1617
- return data.json();
1618
- }).then((data) => {
1619
- if (data.error) throw { message: "error with cnv file: " + data.error };
1620
- const e = parse_cnv(data.text, flag2);
1621
- if (e) throw { message: "error with cnv file: " + e };
1622
- });
1623
- tasks.push(task);
1624
- }
1625
- if (mset.cnv_url) {
1626
- tasks.push(
1627
- dofetch("urltextfile", { url: mset.cnv_url }).then((data) => {
1628
- if (data.error) throw { message: "cannot get cnv file from url" };
1629
- const e = parse_cnv(data.text, flag2);
1630
- if (e) throw { message: "error with cnv file: " + e };
1631
- })
1632
- );
1633
- }
1634
- if (mset.sv) {
1635
- const req = new Request(arg.hostURL + "/textfile", {
1636
- method: "POST",
1637
- body: '{"file":"' + mset.sv + '"}'
1638
- });
1639
- const task = fetch(req).then((data) => {
1640
- return data.json();
1641
- }).then((data) => {
1642
- if (data.error) throw { message: "error with sv file: " + data.error };
1643
- const e = parse_sv(data.text, flag2, true);
1644
- if (e) throw { message: "error with sv file: " + e };
1645
- });
1646
- tasks.push(task);
1647
- }
1648
- if (mset.sv_url) {
1649
- tasks.push(
1650
- dofetch("urltextfile", { url: mset.sv_url }).then((data) => {
1651
- if (data.error) throw { message: "cannot get sv file from url" };
1652
- const e = parse_sv(data.text, flag2);
1653
- if (e) throw { message: "error with sv file: " + e };
1654
- })
1655
- );
1656
- }
1657
- if (mset.fusion) {
1658
- const req = new Request(arg.hostURL + "/textfile", {
1659
- method: "POST",
1660
- body: '{"file":"' + mset.fusion + '"}'
1661
- });
1662
- const task = fetch(req).then((data) => {
1663
- return data.json();
1664
- }).then((data) => {
1665
- if (data.error) throw { message: "error with fusion file: " + data.error };
1666
- const e = parse_sv(data.text, flag2, false);
1667
- if (e) throw { message: "error with fusion file: " + e };
1668
- });
1669
- tasks.push(task);
1670
- }
1671
- if (mset.svjson) {
1672
- const req = new Request(arg.hostURL + "/textfile", {
1673
- method: "POST",
1674
- body: '{"file":"' + mset.svjson + '"}'
1675
- });
1676
- const task = fetch(req).then((data) => {
1677
- return data.json();
1678
- }).then((data) => {
1679
- if (data.error) throw { message: "error with svjson file: " + data.error };
1680
- const e = parse_svjson(data.text, flag2, false);
1681
- if (e) throw { message: "error with svjson file: " + e };
1682
- });
1683
- tasks.push(task);
1684
- }
1685
- if (mset.deletion) {
1686
- const req = new Request(arg.hostURL + "/textfile", {
1687
- method: "POST",
1688
- body: '{"file":"' + mset.deletion + '"}'
1689
- });
1690
- const task = fetch(req).then((data) => {
1691
- return data.json();
1692
- }).then((data) => {
1693
- if (data.error) throw { message: "error with deletion file: " + data.error };
1694
- const e = parse_del(data.text, flag2, false);
1695
- if (e) throw { message: "error with deletion file: " + e };
1696
- });
1697
- tasks.push(task);
1698
- }
1699
- if (mset.deletion_url) {
1700
- tasks.push(
1701
- dofetch("urltextfile", { url: mset.deletion_url }).then((data) => {
1702
- if (data.error) throw { message: "cannot get deletion file from url" };
1703
- const e = parse_del(data.text, flag2);
1704
- if (e) throw { message: "error with deletion file: " + e };
1705
- })
1706
- );
1707
- }
1708
- if (mset.truncation) {
1709
- const req = new Request(arg.hostURL + "/textfile", {
1710
- method: "POST",
1711
- body: '{"file":"' + mset.truncation + '"}'
1712
- });
1713
- const task = fetch(req).then((data) => {
1714
- return data.json();
1715
- }).then((data) => {
1716
- if (data.error) throw { message: "error with truncation file: " + data.error };
1717
- const e = parse_trunc(data.text, flag2, false);
1718
- if (e) throw { message: "error with truncation file: " + e };
1719
- });
1720
- tasks.push(task);
1721
- }
1722
- if (mset.truncation_url) {
1723
- tasks.push(
1724
- dofetch("urltextfile", { url: mset.truncation_url }).then((data) => {
1725
- if (data.error) throw { message: "cannot get truncation file from url" };
1726
- const e = parse_trunc(data.text, flag2, false);
1727
- if (e) throw { message: "error with truncation file: " + e };
1728
- })
1729
- );
1730
- }
1731
- if (mset.itd) {
1732
- const req = new Request(arg.hostURL + "/textfile", {
1733
- method: "POST",
1734
- body: '{"file":"' + mset.itd + '"}'
1735
- });
1736
- const task = fetch(req).then((data) => {
1737
- return data.json();
1738
- }).then((data) => {
1739
- if (data.error) throw { message: "error with itd file: " + data.error };
1740
- const e = parse_itd(data.text, flag2, false);
1741
- if (e) throw { message: "error with itd file: " + e };
1742
- });
1743
- tasks.push(task);
1744
- }
1745
- if (mset.itd_url) {
1746
- tasks.push(
1747
- dofetch("urltextfile", { url: mset.itd_url }).then((data) => {
1748
- if (data.error) throw { message: "cannot get itd file from url" };
1749
- const e = parse_itd(data.text, flag2, false);
1750
- if (e) throw { message: "error with itd file: " + e };
1751
- })
1752
- );
1753
- }
1754
- const task2 = Promise.all(tasks).then((data) => {
1755
- const err2 = bulkin({
1756
- flag: flag2,
1757
- filename: arg.name,
1758
- cohort
1759
- });
1760
- if (err2) throw { message: "Error parsing data from " + mset.name + ": " + err2 };
1761
- });
1762
- tasks2.push(task2);
1763
- }
1764
- return Promise.all(tasks2).then((data) => {
1765
- return cohort;
1766
- });
1767
- }).then((cohort) => {
1768
- const err2 = tpinit(cohort);
1769
- if (err2) throw { message: "Error parsing study: " + err2 };
1770
- saydiv.text("");
1771
- import("./tp.ui-OQ757UIE.js").then((p) => {
1772
- p.default(cohort, holder, arg.hostURL);
1773
- });
1774
- }).catch((err2) => {
1775
- saydiv.text(err2.message);
1776
- if (err2.stack) {
1777
- console.log(err2.stack);
1778
- }
1779
- });
1780
- }
1781
- function parse_snvindel(text, flag2) {
1782
- const lines = text.trim().split(/\r?\n/);
1783
- let headerline = lines[0];
1784
- let lineidx = 0;
1785
- while (headerline[0] == "#") {
1786
- lineidx++;
1787
- headerline = lines[lineidx];
1788
- }
1789
- if (!headerline) return "no header line";
1790
- const err2 = parseheader2(headerline, flag2);
1791
- if (err2) return "header error: " + err2;
1792
- for (let i = lineidx + 1; i < lines.length; i++) {
1793
- if (lines[i] == "") continue;
1794
- if (lines[i][0] == "#") continue;
1795
- parseline2(i, lines[i], flag2);
1796
- }
1797
- }
1798
- function parse_svjson(text, flag2) {
1799
- const lines = text.split(/\r?\n/);
1800
- let headerline = lines[0];
1801
- let lineidx = 0;
1802
- while (headerline[0] == "#") {
1803
- lineidx++;
1804
- headerline = lines[lineidx];
1805
- }
1806
- if (!headerline) return "no header line";
1807
- const [err2, header] = parseheader3(headerline, flag2);
1808
- if (err2) return "header error: " + err2;
1809
- for (let i = lineidx + 1; i < lines.length; i++) {
1810
- if (lines[i] == "") continue;
1811
- if (lines[i][0] == "#") continue;
1812
- parseline3(i, lines[i], flag2, header);
1813
- }
1814
- }
1815
- function parse_cnv(text, flag2) {
1816
- const lines = text.split(/\r?\n/);
1817
- let headerline = lines[0];
1818
- let lineidx = 0;
1819
- while (headerline[0] == "#") {
1820
- lineidx++;
1821
- headerline = lines[lineidx];
1822
- }
1823
- if (!headerline) return "no header line";
1824
- const err2 = parseheader4(headerline, flag2);
1825
- if (err2) return "header error: " + err2;
1826
- for (let i = lineidx + 1; i < lines.length; i++) {
1827
- if (lines[i] == "") continue;
1828
- if (lines[i][0] == "#") continue;
1829
- parseline4(i, lines[i], flag2);
1830
- }
1831
- }
1832
- function parse_itd(text, flag2) {
1833
- const lines = text.split(/\r?\n/);
1834
- let headerline = lines[0];
1835
- let lineidx = 0;
1836
- while (headerline[0] == "#") {
1837
- lineidx++;
1838
- headerline = lines[lineidx];
1839
- }
1840
- if (!headerline) return "no header line";
1841
- const err2 = parseheader5(headerline, flag2);
1842
- if (err2) return "header error: " + err2;
1843
- for (let i = lineidx + 1; i < lines.length; i++) {
1844
- if (lines[i] == "") continue;
1845
- if (lines[i][0] == "#") continue;
1846
- parseline5(i, lines[i], flag2);
1847
- }
1848
- }
1849
- function parse_del(text, flag2) {
1850
- const lines = text.split(/\r?\n/);
1851
- let headerline = lines[0];
1852
- let lineidx = 0;
1853
- while (headerline[0] == "#") {
1854
- lineidx++;
1855
- headerline = lines[lineidx];
1856
- }
1857
- if (!headerline) return "no header line";
1858
- const err2 = parseheader6(headerline, flag2);
1859
- if (err2) return "header error: " + err2;
1860
- for (let i = lineidx + 1; i < lines.length; i++) {
1861
- if (lines[i] == "") continue;
1862
- if (lines[i][0] == "#") continue;
1863
- parseline6(i, lines[i], flag2);
1864
- }
1865
- }
1866
- function parse_trunc(text, flag2) {
1867
- const lines = text.split(/\r?\n/);
1868
- let headerline = lines[0];
1869
- let lineidx = 0;
1870
- while (headerline[0] == "#") {
1871
- lineidx++;
1872
- headerline = lines[lineidx];
1873
- }
1874
- if (!headerline) return "no header line";
1875
- const err2 = parseheader7(headerline, flag2);
1876
- if (err2) return "header error: " + err2;
1877
- for (let i = lineidx + 1; i < lines.length; i++) {
1878
- if (lines[i] == "") continue;
1879
- if (lines[i][0] == "#") continue;
1880
- parseline7(i, lines[i], flag2);
1881
- }
1882
- }
1883
- function parse_sv(text, flag2, isSv) {
1884
- const lines = text.split(/\r?\n/);
1885
- let headerline = lines[0];
1886
- let lineidx = 0;
1887
- while (headerline[0] == "#") {
1888
- lineidx++;
1889
- headerline = lines[lineidx];
1890
- }
1891
- if (!headerline) return "no header line";
1892
- const err2 = parseheader(headerline, flag2, isSv);
1893
- if (err2) return "header error: " + err2;
1894
- for (let i = lineidx + 1; i < lines.length; i++) {
1895
- if (lines[i] == "") continue;
1896
- if (lines[i][0] == "#") continue;
1897
- parseline(i, lines[i], flag2, isSv);
1898
- }
1899
- }
1900
-
1901
- // src/tp.init.js
1902
- function tpinit(cohort) {
1903
- if (!cohort.p2st) {
1904
- cohort.p2st = {};
1905
- }
1906
- if (!cohort.assays) {
1907
- cohort.assays = [];
1908
- }
1909
- if (!Array.isArray(cohort.assays)) {
1910
- return ".assays should be an array";
1911
- }
1912
- cohort.assaylst = [];
1913
- let assaynum = 0;
1914
- for (const assayname of cohort.assays) {
1915
- const rawassay = cohort[assayname];
1916
- if (!rawassay) {
1917
- return 'Assay "' + assayname + '" not found in cohort';
1918
- }
1919
- const config = rawassay.config;
1920
- if (!config) {
1921
- return '.config object missing for assay "' + assayname + '"';
1922
- }
1923
- delete rawassay.config;
1924
- if (!config.type) {
1925
- return '.config.type missing for assay "' + assayname + '"';
1926
- }
1927
- if (config.type.toLowerCase() == "vcf") {
1928
- config.type = tkt.ds;
1929
- config.isvcf = true;
1930
- } else {
1931
- if (!validtkt(config.type)) {
1932
- return 'unknown .config.type "' + config.type + '" for assay "' + assayname + '"';
1933
- }
1934
- }
1935
- config.id = (++assaynum).toString();
1936
- if (!config.name) {
1937
- config.name = assayname;
1938
- }
1939
- if (config.type == tkt.junction) {
1940
- if (config.readcountcutoff) {
1941
- if (!Number.isInteger(config.readcountcutoff) || config.readcountcutoff < 0) {
1942
- return 'invalid .config.readcountcutoff for assay "' + assayname + '"';
1943
- }
1944
- }
1945
- }
1946
- cohort.assaylst.push(config);
1947
- for (const pn in rawassay) {
1948
- if (!cohort.p2st[pn]) {
1949
- cohort.p2st[pn] = {};
1950
- }
1951
- for (const st in rawassay[pn]) {
1952
- if (!cohort.p2st[pn][st]) {
1953
- cohort.p2st[pn][st] = {
1954
- tktemplate: []
1955
- };
1956
- }
1957
- if (config.type == tkt.vafs1) {
1958
- for (const name in rawassay[pn][st]) {
1959
- const tk = rawassay[pn][st][name];
1960
- if (!tk.file && !tk.url) {
1961
- return "no file or URL for " + name + " vafs1 of " + pn + ", " + st;
1962
- }
1963
- tk.type = tkt.vafs1;
1964
- tk.patient = pn;
1965
- tk.sampletype = st;
1966
- tk.assayname = assayname;
1967
- tk.id = config.id;
1968
- tk.tkid = Math.random().toString();
1969
- if (!tk.name) {
1970
- tk.name = name + " vaf";
1971
- }
1972
- cohort.p2st[pn][st].tktemplate.push(tk);
1973
- }
1974
- continue;
1975
- }
1976
- let rawtklst = [];
1977
- if (Array.isArray(rawassay[pn][st])) {
1978
- rawtklst = rawassay[pn][st];
1979
- } else {
1980
- rawtklst.push(rawassay[pn][st]);
1981
- }
1982
- for (const _tk of rawtklst) {
1983
- let tk = _tk;
1984
- if (!tk.file && !tk.url) {
1985
- return "track has no file or url (sample: " + pn + ", assay: " + assayname + ")";
1986
- }
1987
- if (tk.name) {
1988
- } else if (tk.partname) {
1989
- tk.name = pn + (st == pn ? "" : " " + st) + " " + assayname + " " + tk.partname;
1990
- } else {
1991
- tk.name = pn + (st == pn ? "" : " " + st) + " " + assayname;
1992
- }
1993
- if (config.isvcf) {
1994
- const [err2, tk2] = vcf2dstk({
1995
- name: tk.name,
1996
- file: tk.file,
1997
- url: tk.url
1998
- });
1999
- if (err2) {
2000
- return "VCF track error: " + err2;
2001
- }
2002
- tk = tk2;
2003
- } else {
2004
- if (tk.type) {
2005
- if (!validtkt(tk.type)) {
2006
- return 'invalid track type "' + tk.type + '" (sample: ' + pn + ", assay: " + assayname + ")";
2007
- }
2008
- } else {
2009
- tk.type = config.type;
2010
- }
2011
- }
2012
- tk.patient = pn;
2013
- tk.sampletype = st;
2014
- tk.assayname = assayname;
2015
- tk.id = config.id;
2016
- tk.tkid = Math.random().toString();
2017
- cohort.p2st[pn][st].tktemplate.push(tk);
2018
- switch (config.type) {
2019
- case tkt.bigwig:
2020
- const e = tidy_qtk(tk, config);
2021
- if (e) {
2022
- return "Assay " + assayname + ": " + config.type + " track error: " + e;
2023
- }
2024
- break;
2025
- case tkt.junction:
2026
- tk.categories = config.categories;
2027
- tk.readcountcutoff = config.readcountcutoff;
2028
- break;
2029
- }
2030
- }
2031
- }
2032
- }
2033
- }
2034
- delete cohort.assays;
2035
- {
2036
- const err2 = cohort2genometkset(cohort);
2037
- if (err2) {
2038
- return "Error: " + err2;
2039
- }
2040
- }
2041
- if (cohort.patientannotation) {
2042
- const err2 = parse_patientannotation(cohort);
2043
- if (err2) return err2;
2044
- }
2045
- if (cohort.browserview) {
2046
- const err2 = parse_browserview(cohort);
2047
- if (err2) return err2;
2048
- }
2049
- if (cohort.e2pca) {
2050
- if (!cohort.e2pca.list) return ".list missing from e2pca";
2051
- if (!Array.isArray(cohort.e2pca.list)) return "e2pca.list should be an array";
2052
- if (cohort.e2pca.list.length == 0) return "e2pca.list[] length 0";
2053
- if (!cohort.e2pca.label) {
2054
- cohort.e2pca.label = "Expression - PCA";
2055
- }
2056
- for (const obj of cohort.e2pca.list) {
2057
- if (!obj.vectorfile) return "vectorfile missing from e2pca";
2058
- if (!obj.dbfile) return "dbfile missing from e2pca";
2059
- }
2060
- }
2061
- return;
2062
- }
2063
- function loadstudycohort(genomes, file, holder, hostURL, jwt, noshow, app) {
2064
- const wait = holder.append("div").style("color", "#858585");
2065
- wait.text("Loading " + file + " ...");
2066
- return fetch(hostURL + "/study", {
2067
- method: "POST",
2068
- body: JSON.stringify({ file, jwt })
2069
- }).then((res) => res.json()).then((data) => {
2070
- if (!data) {
2071
- wait.text("Server error!");
2072
- return;
2073
- }
2074
- if (data.error) {
2075
- wait.text("Error loading study: " + data.error);
2076
- return;
2077
- }
2078
- const cohort = data.cohort;
2079
- if (!cohort) {
2080
- wait.text(".cohort missing");
2081
- return;
2082
- }
2083
- if (!cohort.genome) {
2084
- wait.text("No genome specified in the cohort JSON content");
2085
- return;
2086
- }
2087
- const g = genomes[cohort.genome];
2088
- if (!g) {
2089
- wait.text("Invalid genome from cohort: " + cohort.genome);
2090
- return;
2091
- }
2092
- cohort.genome = g;
2093
- cohort.jwt = jwt;
2094
- if (!data.flagset) {
2095
- wait.text(".flagset missing");
2096
- return;
2097
- }
2098
- wait.text("");
2099
- cohort.dsset = {};
2100
- for (const k in data.flagset) {
2101
- const flag2 = data.flagset[k];
2102
- flag2.genome = g;
2103
- bulkin({
2104
- flag: flag2,
2105
- filename: file,
2106
- cohort,
2107
- err: (m) => sayerror(wait, m)
2108
- });
2109
- }
2110
- const err2 = tpinit(cohort);
2111
- if (err2) {
2112
- sayerror(wait, err2);
2113
- }
2114
- if (!noshow) {
2115
- return import("./tp.ui-OQ757UIE.js").then(async (p) => {
2116
- getsjcharts().catch(console.error);
2117
- p.default(cohort, holder, hostURL, app);
2118
- return app;
2119
- });
2120
- }
2121
- });
2122
- }
2123
- function tidy_qtk(tk, config) {
2124
- if (!config) {
2125
- config = {};
2126
- }
2127
- if (!tk.file && !tk.url) {
2128
- return "no file or url";
2129
- }
2130
- if (!tk.pcolor) {
2131
- tk.pcolor = config.pcolor || "#0066CC";
2132
- }
2133
- if (!tk.pcolor2) {
2134
- tk.pcolor2 = config.pcolor2 || "#CC0000";
2135
- }
2136
- if (!tk.ncolor) {
2137
- tk.ncolor = config.ncolor || "#FF850A";
2138
- }
2139
- if (!tk.ncolor2) {
2140
- tk.ncolor2 = config.ncolor2 || "#0A85FF";
2141
- }
2142
- if (!tk.height) {
2143
- tk.height = config.height || 50;
2144
- }
2145
- const scale = {};
2146
- if (config.scale) {
2147
- for (const k in config.scale) {
2148
- scale[k] = config.scale[k];
2149
- }
2150
- }
2151
- if (tk.scale) {
2152
- for (const k in tk.scale) {
2153
- scale[k] = tk.scale[k];
2154
- }
2155
- }
2156
- scale.auto = true;
2157
- if (Number.isFinite(scale.min) && Number.isFinite(scale.max)) {
2158
- delete scale.auto;
2159
- } else if (Number.isFinite(scale.percentile)) {
2160
- delete scale.auto;
2161
- }
2162
- tk.scale = scale;
2163
- }
2164
- function cohort2genometkset(cohort) {
2165
- const lst = [];
2166
- for (const pn in cohort.p2st) {
2167
- for (const st in cohort.p2st[pn]) {
2168
- const templates = cohort.p2st[pn][st].tktemplate;
2169
- if (!templates) continue;
2170
- for (const t of templates) {
2171
- lst.push(t);
2172
- }
2173
- }
2174
- }
2175
- if (cohort.browserview && cohort.browserview.assays) {
2176
- for (const assayname in cohort.browserview.assays) {
2177
- const assayview = cohort.browserview.assays[assayname];
2178
- if (assayview.combined && assayview.combinetk) {
2179
- lst.push(assayview.combinetk);
2180
- }
2181
- }
2182
- }
2183
- if (!cohort.genome.tkset) {
2184
- cohort.genome.tkset = [];
2185
- }
2186
- const thisset = {
2187
- name: cohort.name,
2188
- tklst: lst
2189
- };
2190
- if (cohort.trackfacets) {
2191
- if (!Array.isArray(cohort.trackfacets)) {
2192
- return ".trackfacets is not an array";
2193
- }
2194
- const lst2 = [];
2195
- for (const fc of cohort.trackfacets) {
2196
- if (!fc.samples) {
2197
- return "trackfacets: .samples missing from facet " + fc.name;
2198
- }
2199
- if (!Array.isArray(fc.samples)) {
2200
- return "trackfacets: .samples is not array from facet " + fc.name;
2201
- }
2202
- if (!fc.assays) {
2203
- return "trackfacets: .assays missing from a facet " + fc.name;
2204
- }
2205
- if (!Array.isArray(fc.assays)) {
2206
- return "trackfacets: .assays is not array from a facet " + fc.name;
2207
- }
2208
- lst2.push(fc);
2209
- }
2210
- if (lst2.length) {
2211
- thisset.facetlst = lst2;
2212
- }
2213
- }
2214
- cohort.genome.tkset.push(thisset);
2215
- return null;
2216
- }
2217
- function parse_browserview(cohort) {
2218
- if (cohort.browserview.position) {
2219
- let pos;
2220
- if (typeof cohort.browserview.position == "string") {
2221
- pos = string2pos(cohort.browserview.position, cohort.genome);
2222
- if (!pos) {
2223
- return ".browserview.position invalid value";
2224
- }
2225
- } else {
2226
- pos = cohort.browserview.position;
2227
- }
2228
- const e = invalidcoord(cohort.genome, pos.chr, pos.start, pos.stop);
2229
- if (e) {
2230
- return ".browserview.position error: " + e;
2231
- }
2232
- cohort.browserview.position = pos;
2233
- } else {
2234
- cohort.browserview.position = {
2235
- chr: cohort.genome.defaultcoord.chr,
2236
- start: cohort.genome.defaultcoord.start,
2237
- stop: cohort.genome.defaultcoord.stop
2238
- };
2239
- }
2240
- if (cohort.browserview.assays) {
2241
- for (const assayname in cohort.browserview.assays) {
2242
- if (typeof cohort.browserview.assays[assayname] != "object") {
2243
- cohort.browserview.assays[assayname] = {};
2244
- }
2245
- const assayview = cohort.browserview.assays[assayname];
2246
- for (const a of cohort.assaylst) {
2247
- if (a.name == assayname) {
2248
- assayview.assayobj = a;
2249
- break;
2250
- }
2251
- }
2252
- if (!assayview.assayobj) {
2253
- console.log("missing assayobj for assayview of " + assayname);
2254
- continue;
2255
- }
2256
- if (assayview.sum_view) {
2257
- delete assayview.sum_view;
2258
- assayview.combined = true;
2259
- }
2260
- if (assayview.combined) {
2261
- const combinetk = {};
2262
- for (const k in assayview.assayobj) {
2263
- combinetk[k] = assayview.assayobj[k];
2264
- }
2265
- for (const k in assayview) {
2266
- if (k == "assayobj") continue;
2267
- combinetk[k] = assayview[k];
2268
- }
2269
- if (!combinetk.name) {
2270
- combinetk.name = assayname;
2271
- }
2272
- combinetk.tracks = [];
2273
- for (const pn in cohort.p2st) {
2274
- for (const st in cohort.p2st[pn]) {
2275
- for (const t of cohort.p2st[pn][st].tktemplate) {
2276
- if (t.id == assayview.assayobj.id) {
2277
- t.patient = pn;
2278
- t.sampletype = st;
2279
- combinetk.tracks.push(t);
2280
- }
2281
- }
2282
- }
2283
- }
2284
- if (combinetk.isvcf) {
2285
- combinetk.ds = {
2286
- id2vcf: {},
2287
- label: combinetk.name
2288
- };
2289
- for (const t of combinetk.tracks) {
2290
- for (const i in t.ds.id2vcf) {
2291
- t.__vcfobj = t.ds.id2vcf[i];
2292
- }
2293
- combinetk.ds.id2vcf[t.__vcfobj.vcfid] = t.__vcfobj;
2294
- }
2295
- }
2296
- assayview.combinetk = combinetk;
2297
- }
2298
- }
2299
- }
2300
- if (cohort.browserview.defaultassaytracks) {
2301
- if (!Array.isArray(cohort.browserview.defaultassaytracks)) return ".browserview.defaultassaytracks must be array";
2302
- for (let i = 0; i < cohort.browserview.defaultassaytracks.length; i++) {
2303
- const t = cohort.browserview.defaultassaytracks[i];
2304
- if (!t.assay) return ".assay missing from .defaultassaytracks #" + (i + 1);
2305
- if (!cohort[t.assay]) return "unknown assay name from .defaultassaytracks #" + (i + 1) + ": " + t.assay;
2306
- if (!t.level1) return ".level1 missing from .defaultassaytracks #" + (i + 1);
2307
- if (!cohort[t.assay][t.level1])
2308
- return "level1 not exist in assay from .defaultassaytracks #" + (i + 1) + ": " + t.level1;
2309
- if (t.level2) {
2310
- if (!cohort[t.assay][t.level1][t.level2])
2311
- return "level2 not exist in assay from .defaultassaytracks #" + (i + 1) + ": " + t.level2;
2312
- }
2313
- }
2314
- }
2315
- return null;
2316
- }
2317
- function parse_patientannotation(cohort) {
2318
- if (!cohort.patientannotation.annotation) {
2319
- return ".patientannotation.annotation missing";
2320
- }
2321
- if (!cohort.patientannotation.metadata) {
2322
- return ".patientannotation.metadata missing";
2323
- }
2324
- if (!Array.isArray(cohort.patientannotation.metadata)) {
2325
- return ".patientannotation.metadata should be an array";
2326
- }
2327
- const mdh = {};
2328
- for (const md of cohort.patientannotation.metadata) {
2329
- if (md.key == void 0) {
2330
- return "patientannotation: key missing for a metadata term";
2331
- }
2332
- if (!md.values) {
2333
- return "patientannotation: values missing for metadata term " + md.key;
2334
- }
2335
- if (!Array.isArray(md.values)) {
2336
- return "patientannotation: .values not an array for metadata term " + md.key;
2337
- }
2338
- if (!md.label) {
2339
- md.label = md.key;
2340
- }
2341
- mdh[md.key] = {
2342
- label: md.label,
2343
- values: {}
2344
- };
2345
- const colorfunc = ordinal(category10_default);
2346
- for (const at of md.values) {
2347
- if (at.key == void 0) {
2348
- return "key missing for an attribute of term " + md.key;
2349
- }
2350
- if (!at.label) {
2351
- at.label = at.key;
2352
- }
2353
- if (!at.color) {
2354
- at.color = colorfunc(at.key);
2355
- }
2356
- mdh[md.key].values[at.key] = at;
2357
- }
2358
- }
2359
- cohort.patientannotation.mdh = mdh;
2360
- return null;
2361
- }
2362
-
2363
- export {
2364
- loadstudycohort,
2365
- bulkui,
2366
- content2flag,
2367
- bulkin,
2368
- bulkembed
2369
- };
2370
- //# sourceMappingURL=chunk-MSAMGAQF.js.map