@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.
- package/dist/2dmaf-6YIEXAIG.js +1372 -0
- package/dist/AIProjectAdmin-5K5NIQNT.js +828 -0
- package/dist/AppHeader-4SN5M6SZ.js +834 -0
- package/dist/BoxPlot-DBJA6TQF.js +1218 -0
- package/dist/CorrelationVolcano-MDMTMTT5.js +618 -0
- package/dist/DE-S5AFNI4I.js +94 -0
- package/dist/DEinput-XVBBA74N.js +300 -0
- package/dist/DifferentialAnalysis-TUBGPAB2.js +244 -0
- package/dist/DifferentialAnalysis-TUBGPAB2.js.map +7 -0
- package/dist/Disco-VV7FQ7WW.js +3236 -0
- package/dist/Disco.UI-JDJFJFEY.js +244 -0
- package/dist/DmrPlot-XOG67W74.js +641 -0
- package/dist/GB-K3AWZQFF.js +1129 -0
- package/dist/GeneExpInput-Y7MDS2CA.js +365 -0
- package/dist/HicApp-53OTZ3YU.js +2249 -0
- package/dist/NumBinaryEditor-SB4YR3JM.js +269 -0
- package/dist/NumBinaryEditor.unit.spec-V2W2OZYP.js +285 -0
- package/dist/NumContEditor-RZZBM7PR.js +106 -0
- package/dist/NumContEditor.unit.spec-GAAW3ZZN.js +168 -0
- package/dist/NumCustomBinEditor-GFCGPRPI.js +37 -0
- package/dist/NumCustomBinEditor.unit.spec-24MXSO3L.js +283 -0
- package/dist/NumDiscreteEditor-HAHIOFNC.js +178 -0
- package/dist/NumDiscreteEditor.unit.spec-JYN2CWSI.js +201 -0
- package/dist/NumRegularBinEditor-7DOE64RB.js +37 -0
- package/dist/NumRegularBinEditor.unit.spec-2WU4GGNT.js +226 -0
- package/dist/NumSplineEditor-JLRD5TVX.js +191 -0
- package/dist/NumSplineEditor.unit.spec-LOG7CECJ.js +198 -0
- package/dist/NumericDensity-IDOP7I34.js +37 -0
- package/dist/NumericDensity.unit.spec-HTJQRPVH.js +220 -0
- package/dist/NumericHandler-DWVVGLLB.js +38 -0
- package/dist/NumericHandler.unit.spec-BDDFTHOF.js +218 -0
- package/dist/ProteomeInput-PK4ZM3SZ.js +395 -0
- package/dist/ProteomeInput-PK4ZM3SZ.js.map +7 -0
- package/dist/RunChart2-PBJ56YX3.js +757 -0
- package/dist/SC-UC3HP2MY.js +830 -0
- package/dist/SC-UC3HP2MY.js.map +7 -0
- package/dist/Volcano-BZJCA53R.js +1314 -0
- package/dist/Volcano-BZJCA53R.js.map +7 -0
- package/dist/WSIViewer-OHOP2DZT.js +48475 -0
- package/dist/WSIViewer-OHOP2DZT.js.map +7 -0
- package/dist/WsiSamplesPlot-FOMPMEXK.js +164 -0
- package/dist/adSandbox-SRPPCYYR.js +37 -0
- package/dist/alphaGenome-IS2WAJCK.js +174 -0
- package/dist/app-GTHYSGWI.js +36 -0
- package/dist/app-XEKETNLG.js +48 -0
- package/dist/app.js +20 -20
- package/dist/bam-GQBFL6A7.js +859 -0
- package/dist/barchart-AESC4JSX.js +46 -0
- package/dist/barchart.data-RE34IC4G.js +22 -0
- package/dist/barchart.events-KM4J5ISO.js +46 -0
- package/dist/barchart.integration.spec-DFVSBGO3.js +1676 -0
- package/dist/barchart2-NNTL4RQZ.js +310 -0
- package/dist/block-EHZM3FUX.js +6201 -0
- package/dist/block.init-EAEFNNF6.js +37 -0
- package/dist/block.mds.expressionrank-ZBHA2CFE.js +358 -0
- package/dist/block.mds.geneboxplot-4ZU3QUAK.js +827 -0
- package/dist/block.mds.junction-PDH55JXO.js +1544 -0
- package/dist/block.mds.svcnv-QWBU54XQ.js +6800 -0
- package/dist/block.svg-HUGBYWXU.js +163 -0
- package/dist/block.tk.aicheck-SDCWXQZF.js +282 -0
- package/dist/block.tk.ase-HMUTHCJS.js +364 -0
- package/dist/block.tk.bam-Q7B2YQLI.js +1905 -0
- package/dist/block.tk.bedgraphdot-QBGBSVHN.js +383 -0
- package/dist/block.tk.bigwig.ui-767A3MUH.js +211 -0
- package/dist/block.tk.hicstraw-LEZUZHLF.js +822 -0
- package/dist/block.tk.junction-GQHCZOYR.js +2363 -0
- package/dist/block.tk.junction.textmatrixui-D5QUO7KQ.js +198 -0
- package/dist/block.tk.ld-E3MHZOG5.js +98 -0
- package/dist/block.tk.menu-XE7PFYGR.js +1028 -0
- package/dist/block.tk.pgv-MPPMPDED.js +943 -0
- package/dist/brainImaging-YQ443NOL.js +422 -0
- package/dist/chunk-26WXJBSR.js +228 -0
- package/dist/chunk-2P6Z7JFC.js +119 -0
- package/dist/chunk-2QQO4RRD.js +2681 -0
- package/dist/chunk-2T7VYQLY.js +281 -0
- package/dist/chunk-2T7VYQLY.js.map +7 -0
- package/dist/chunk-2XPDA6NL.js +20652 -0
- package/dist/chunk-2XPDA6NL.js.map +7 -0
- package/dist/chunk-37ARSZOI.js +2815 -0
- package/dist/chunk-42Q53PXE.js +381 -0
- package/dist/chunk-46ASPS5Y.js +386 -0
- package/dist/chunk-4KPI7PB5.js +142 -0
- package/dist/chunk-4MDNMCGZ.js +102 -0
- package/dist/chunk-5IG3E4DT.js +272 -0
- package/dist/chunk-5MIR7IHI.js +52 -0
- package/dist/chunk-5MZVXJVA.js +55 -0
- package/dist/chunk-66D5GRS5.js +263 -0
- package/dist/chunk-6ATE2TRC.js +534 -0
- package/dist/chunk-6BFR6MK3.js +158 -0
- package/dist/chunk-6NJMCO4X.js +335 -0
- package/dist/chunk-6ON5KAMO.js +54 -0
- package/dist/chunk-76GPYMHZ.js +102 -0
- package/dist/chunk-7AAFBFOH.js +147 -0
- package/dist/chunk-7OOZHEUC.js +302 -0
- package/dist/chunk-A4VLWLYF.js +226 -0
- package/dist/chunk-A6EFWGWD.js +444 -0
- package/dist/chunk-ALW5XXVW.js +170 -0
- package/dist/chunk-ANCT2BGO.js +34 -0
- package/dist/chunk-AROMXWCY.js +291 -0
- package/dist/chunk-AY4UBGLC.js +815 -0
- package/dist/chunk-B43MTEYB.js +84 -0
- package/dist/chunk-B43MTEYB.js.map +7 -0
- package/dist/chunk-BMVLR3TM.js +1210 -0
- package/dist/chunk-BR7JA2EO.js +621 -0
- package/dist/chunk-C3SYSMNE.js +42 -0
- package/dist/chunk-C3SYSMNE.js.map +7 -0
- package/dist/chunk-D3HJXMTH.js +17 -0
- package/dist/chunk-DKUEZ4XD.js +205 -0
- package/dist/chunk-DT3MMC5U.js +31 -0
- package/dist/chunk-DYVKN7EE.js +5000 -0
- package/dist/chunk-EF37UZY6.js +37 -0
- package/dist/chunk-ESXMS7FW.js +229 -0
- package/dist/chunk-FDK4UJMN.js +263 -0
- package/dist/chunk-FDK4UJMN.js.map +7 -0
- package/dist/chunk-FUSVXQ6C.js +368 -0
- package/dist/chunk-G7JRRTS5.js +170 -0
- package/dist/chunk-G7JRRTS5.js.map +7 -0
- package/dist/chunk-GHWHLSUX.js +192 -0
- package/dist/chunk-GHWHLSUX.js.map +7 -0
- package/dist/chunk-GXKVAPGP.js +2786 -0
- package/dist/chunk-H4JIENLQ.js +39 -0
- package/dist/chunk-H7YJG4YM.js +470 -0
- package/dist/chunk-I24KPIDD.js +148 -0
- package/dist/chunk-IENFDUWD.js +203 -0
- package/dist/chunk-IKHIY6IZ.js +2327 -0
- package/dist/chunk-IKHIY6IZ.js.map +7 -0
- package/dist/chunk-J7BISJTL.js +50 -0
- package/dist/chunk-J7KYOSEK.js +824 -0
- package/dist/chunk-JGPZ5254.js +371 -0
- package/dist/chunk-JUIPCWAM.js +194 -0
- package/dist/chunk-LO4NMQ7W.js +293 -0
- package/dist/chunk-LSSLS5HV.js +95 -0
- package/dist/chunk-MDLRB3MR.js +407 -0
- package/dist/chunk-MJLKGZ27.js +129 -0
- package/dist/chunk-MYWJQRTD.js +1849 -0
- package/dist/chunk-MYWJQRTD.js.map +7 -0
- package/dist/chunk-NL5T3SBK.js +4209 -0
- package/dist/chunk-NMBIT4IK.js +46 -0
- package/dist/chunk-NMBIT4IK.js.map +7 -0
- package/dist/chunk-ONAYJVN2.js +217 -0
- package/dist/chunk-PP7K4R2E.js +141 -0
- package/dist/chunk-PP7K4R2E.js.map +7 -0
- package/dist/chunk-PSMFOARZ.js +14 -0
- package/dist/chunk-QX3GF2IA.js +514 -0
- package/dist/chunk-QZ2U4BOS.js +1159 -0
- package/dist/chunk-RBZBBNLL.js +1087 -0
- package/dist/chunk-RQ2ZJ66W.js +276 -0
- package/dist/chunk-RQ2ZJ66W.js.map +7 -0
- package/dist/chunk-RZTFQXWV.js +117 -0
- package/dist/chunk-SJC2C77V.js +177 -0
- package/dist/chunk-THUXB7EE.js +698 -0
- package/dist/chunk-THUXB7EE.js.map +7 -0
- package/dist/chunk-TVXVP4M6.js +215 -0
- package/dist/chunk-UTDPKDIY.js +482 -0
- package/dist/chunk-UVIUB7QI.js +280 -0
- package/dist/chunk-VAUSRBL5.js +6364 -0
- package/dist/chunk-VP3IZVQA.js +54 -0
- package/dist/chunk-VP3IZVQA.js.map +7 -0
- package/dist/chunk-WP22GYZ2.js +446 -0
- package/dist/chunk-WUNX3VST.js +1271 -0
- package/dist/chunk-X7GDCYND.js +1561 -0
- package/dist/chunk-X7GDCYND.js.map +7 -0
- package/dist/chunk-XB3V6S2X.js +1230 -0
- package/dist/chunk-XB3V6S2X.js.map +7 -0
- package/dist/chunk-XD4TBJK2.js +455 -0
- package/dist/chunk-Y6DSXMPB.js +121 -0
- package/dist/chunk-YBIZRASR.js +252 -0
- package/dist/chunk-YI2YH7ZK.js +158 -0
- package/dist/chunk-YLDE3PVC.js +1943 -0
- package/dist/chunk-Z736NYXL.js +26 -0
- package/dist/chunk-ZEJB7CPC.js +95 -0
- package/dist/chunk-ZGWEBKZ4.js +100 -0
- package/dist/condition-FSF6ROJV.js +331 -0
- package/dist/controls-OPSBFDFZ.js +40 -0
- package/dist/controls.config-3QRV5363.js +38 -0
- package/dist/correlation-WLOI7Z35.js +97 -0
- package/dist/cuminc-G2UGJUUA.js +1148 -0
- package/dist/cuminc.integration.spec-X5NEZ6S5.js +677 -0
- package/dist/customdata.inputui-RNW3AO3Z.js +288 -0
- package/dist/dataDownload-4U3TGDMH.js +329 -0
- package/dist/dataDownload.integration.spec-6FUI2SJ4.js +192 -0
- package/dist/databrowser.ui-4GVJVJWG.js +432 -0
- package/dist/dictionary-NSDS7Z4K.js +110 -0
- package/dist/dnaMethylation-OYQB75LD.js +37 -0
- package/dist/dnaMethylation.integration.spec-6TTLV34N.js +202 -0
- package/dist/dofetch-4TO3QMT6.js +50 -0
- package/dist/e2pca-NYBVR6PL.js +349 -0
- package/dist/ep-RTDVEA4D.js +1255 -0
- package/dist/expclust.gdc.spec-JVIRESTP.js +306 -0
- package/dist/facet-OVBF2QMO.js +520 -0
- package/dist/forms2-HTLS54CX.js +533 -0
- package/dist/gb-Y3546HMZ.js +87 -0
- package/dist/geneExpClustering-PH3PWH3K.js +248 -0
- package/dist/geneExpression-2Z2EV3XM.js +37 -0
- package/dist/geneExpression-6CFXOCGW.js +312 -0
- package/dist/geneExpression.unit.spec-WKUTHRHC.js +101 -0
- package/dist/geneORA-SHLZESLB.js +277 -0
- package/dist/geneVariant-FHZUIFPM.js +38 -0
- package/dist/geneVariant-Y7ZUBEOX.js +40 -0
- package/dist/geneVariant.integration.spec-N7TZUOY3.js +197 -0
- package/dist/genefusion.ui-7PDVZPZ2.js +308 -0
- package/dist/geneset-HLVOGYUI.js +202 -0
- package/dist/genomeBrowser.spec-7IVIMUR5.js +280 -0
- package/dist/grin2-2GNWIYFU.js +845 -0
- package/dist/grin2-2GNWIYFU.js.map +7 -0
- package/dist/grin2-Z5O7254R.js +1555 -0
- package/dist/gsea-TFC3MBRW.js +46 -0
- package/dist/hierCluster-ERSE5I4I.js +62 -0
- package/dist/hierCluster-QQZQU5ZG.js +58 -0
- package/dist/hierCluster.config-WPINWW37.js +39 -0
- package/dist/hierCluster.integration.spec-Y6OHSKPW.js +394 -0
- package/dist/hierCluster.interactivity-HS3G5QC5.js +53 -0
- package/dist/hierCluster.renderers-W63ZKZTT.js +21 -0
- package/dist/imagePlot-QFVN25PM.js +162 -0
- package/dist/importPlot-MIDM5APH.js +8 -0
- package/dist/isoformExpression-L4TRNT4A.js +39 -0
- package/dist/isoformExpression.unit.spec-QQG323LA.js +207 -0
- package/dist/launch.adhoc-4NQ6GGGL.js +41 -0
- package/dist/leftlabel.sample-JU7AIPZL.js +259 -0
- package/dist/legacyDataset-TT4CHF23.js +119 -0
- package/dist/lollipop-JG74M6PJ.js +170 -0
- package/dist/maf-PDL2EGHI.js +451 -0
- package/dist/maftimeline-V43NQEEE.js +592 -0
- package/dist/matrix-EB2EFP4S.js +57 -0
- package/dist/matrix-Q57FU5FE.js +62 -0
- package/dist/matrix.cells-NJIMPD32.js +28 -0
- package/dist/matrix.config-GLDEQD3H.js +40 -0
- package/dist/matrix.data-6SHAKOQU.js +25 -0
- package/dist/matrix.groups-MTDEANQA.js +26 -0
- package/dist/matrix.integration.spec-JCZ5VQJU.js +3071 -0
- package/dist/matrix.interactivity-SVRNWL6V.js +41 -0
- package/dist/matrix.layout-2HREO42N.js +43 -0
- package/dist/matrix.legend-QHVKT3MP.js +22 -0
- package/dist/matrix.renderers-IYR3ZY6V.js +37 -0
- package/dist/matrix.serieses-2VMTQXL2.js +21 -0
- package/dist/matrix.sort-PWA2RQQR.js +27 -0
- package/dist/matrix.sort.unit.spec-3OYIPTFY.js +471 -0
- package/dist/matrix.sorterUi-Y5QLO75X.js +18 -0
- package/dist/matrix.sorterUi.unit.spec-BNEXQHLP.js +341 -0
- package/dist/mavb-IZDDU4KK.js +731 -0
- package/dist/mds.fimo-FWBL7JE6.js +517 -0
- package/dist/mds.samplescatterplot-T47C7DJB.js +1549 -0
- package/dist/mds.survivalplot-MFZJCGS6.js +482 -0
- package/dist/numericDictTermCluster-I2W67RGA.js +72 -0
- package/dist/oncomatrix-6W7IBAED.js +294 -0
- package/dist/oncomatrix.spec-CEFH5IGH.js +447 -0
- package/dist/plot.2dvaf-BN6CFLNU.js +376 -0
- package/dist/plot.app-7EYWUCZV.js +40 -0
- package/dist/plot.barplot-MDIARSQD.js +101 -0
- package/dist/plot.boxplot-RUHGXC54.js +151 -0
- package/dist/plot.brainImaging-JEE32ZBV.js +51 -0
- package/dist/plot.disco-2RPNPX6E.js +101 -0
- package/dist/plot.dzi-7VTYYGGW.js +33 -0
- package/dist/plot.ssgq-FHE5KU5C.js +138 -0
- package/dist/plot.vaf2cov-WDJJM5Q4.js +258 -0
- package/dist/plot.wsi-FQZWHNSF.js +36 -0
- package/dist/polar-M7EGINN4.js +185 -0
- package/dist/polar2-JFYY43K2.js +227 -0
- package/dist/profile.spec-SIOHASOX.js +79 -0
- package/dist/profileBarchart-6JLEKVJV.js +266 -0
- package/dist/profileForms-G6CH73RV.js +440 -0
- package/dist/profilePlot-NQYJOBVV.js +53 -0
- package/dist/profileRadar-4TNWIXDB.js +262 -0
- package/dist/profileRadarFacility-XPH3LCBQ.js +262 -0
- package/dist/proteinView-OZLHO45J.js +1222 -0
- package/dist/proteinView-OZLHO45J.js.map +7 -0
- package/dist/proteomeAbundance-NQ4635NL.js +12 -0
- package/dist/proteomeAbundance-OV24UTZN.js +59 -0
- package/dist/proteomeAbundance-OV24UTZN.js.map +7 -0
- package/dist/qualitative-DL4WJG3O.js +42 -0
- package/dist/radar2-YNOQWHBT.js +315 -0
- package/dist/radarFacility2-24UPSI7S.js +324 -0
- package/dist/regression-URAUTLTD.js +55 -0
- package/dist/regression.inputs-UDVOU7FB.js +47 -0
- package/dist/regression.inputs.term-BWW6W34R.js +47 -0
- package/dist/regression.inputs.values.table-UKGIZTXG.js +44 -0
- package/dist/regression.integration.spec-EBHQTNA3.js +783 -0
- package/dist/regression.results-XTOSWIP6.js +39 -0
- package/dist/regression.spec-KG2I53VR.js +707 -0
- package/dist/report-KH7SNPVF.js +221 -0
- package/dist/sampleScatter.spec-PIXGS3LG.js +201 -0
- package/dist/sampleView-TWS6VT55.js +47 -0
- package/dist/samplelst-6AB5Y4WR.js +110 -0
- package/dist/samplematrix-AJAF555E.js +2197 -0
- package/dist/sc-PMNYZKXA.js +85 -0
- package/dist/scatter-Q2GH3ZJD.js +801 -0
- package/dist/scatter.integration.spec-SMMYKWH3.js +1195 -0
- package/dist/selectGenomeWithTklst-VE4SDYY7.js +133 -0
- package/dist/singleCellCellType-S324GCKW.js +37 -0
- package/dist/singleCellCellType.unit.spec-NXC2GELH.js +159 -0
- package/dist/singleCellGeneExpression-6H4HRKIA.js +37 -0
- package/dist/singleCellGeneExpression.unit.spec-HIJXVUWJ.js +152 -0
- package/dist/singleCellPlot-H7PCZ2DP.js +52 -0
- package/dist/singlecell-4LH3MQVL.js +85 -0
- package/dist/singlecell-MOSYT3RI.js +1571 -0
- package/dist/snp-IKLGTD4Q.js +37 -0
- package/dist/snp.unit.spec-GC74MUVM.js +175 -0
- package/dist/snplocus-RIABFSBQ.js +207 -0
- package/dist/spliceevent.a53ss.diagram-4E2IYYHL.js +150 -0
- package/dist/spliceevent.exonskip.diagram-C56R6XLQ.js +276 -0
- package/dist/spliceevent.noeventdiagram-SIPMAKXI.js +459 -0
- package/dist/ssGSEA-5QNHLSOI.js +37 -0
- package/dist/ssGSEA.unit.spec-KVPN553B.js +87 -0
- package/dist/summarizeCnvGeneexp-K4VGJSW6.js +162 -0
- package/dist/summarizeGeneexpSurvival-HGHX65FN.js +107 -0
- package/dist/summarizeMutationCnv-3K4Z6R2X.js +163 -0
- package/dist/summarizeMutationDiagnosis-M2MHUPRT.js +39 -0
- package/dist/summarizeMutationSurvival-WVBUP3GA.js +98 -0
- package/dist/summary-RZHZXCU5.js +48 -0
- package/dist/summary.integration.spec-FGZP7DY7.js +413 -0
- package/dist/summaryInput-UGM7MMCR.js +234 -0
- package/dist/sunburst-L27U7LV7.js +283 -0
- package/dist/survival-5ZMEBV6O.js +57 -0
- package/dist/survival-JWRRGTJT.js +45 -0
- package/dist/survival.integration.spec-Z5542I4V.js +801 -0
- package/dist/svgraph-O6ZVLNNN.js +1386 -0
- package/dist/svmr-ULFV7OSH.js +3841 -0
- package/dist/table-CHRQH2GH.js +199 -0
- package/dist/termCollection-FAO6ZA6F.js +178 -0
- package/dist/termCollection-GBXS3GOY.js +37 -0
- package/dist/termCollection.unit.spec-4WRTOV6E.js +207 -0
- package/dist/tk-KNUBWRNK.js +45 -0
- package/dist/tp.ui-2PPYOQYL.js +1458 -0
- package/dist/tvs.density-BZ5SKDQS.js +18 -0
- package/dist/tvs.dt-TDNSTGQR.js +38 -0
- package/dist/tvs.dtcnv.categorical-P2IGIE4I.js +39 -0
- package/dist/tvs.dtcnv.continuous-2XUCRBDR.js +71 -0
- package/dist/tvs.dtfusion-PRHZVMOG.js +39 -0
- package/dist/tvs.dtsnvindel-KGKBW5JS.js +39 -0
- package/dist/tvs.dtsv-M3CY5TZF.js +39 -0
- package/dist/tvs.numeric-W74JCC5P.js +21 -0
- package/dist/tvs.samplelst-BTWFBBAN.js +103 -0
- package/dist/tvs.termCollection-Y64QIKOA.js +158 -0
- package/dist/violin-3LLHHV3L.js +45 -0
- package/dist/violin.integration.spec-6NF5FDLQ.js +1424 -0
- package/dist/violin.interactivity-W2AKZ24D.js +37 -0
- package/dist/violin.renderer-CRFYYZRI.js +39 -0
- package/dist/vocabulary-AUJOAVYS.js +40 -0
- package/package.json +4 -3
- package/dist/2dmaf-DTWWXOZC.js +0 -1372
- package/dist/AIProjectAdmin-BCYIWOXD.js +0 -828
- package/dist/AppHeader-H3L2MRWP.js +0 -834
- package/dist/BoxPlot-INZ6IN3V.js +0 -1218
- package/dist/CorrelationVolcano-AK3XW4ZH.js +0 -618
- package/dist/DE-IBSFUKNG.js +0 -94
- package/dist/DEinput-H4GMQWDY.js +0 -300
- package/dist/DifferentialAnalysis-3DSL5LQC.js +0 -243
- package/dist/DifferentialAnalysis-3DSL5LQC.js.map +0 -7
- package/dist/Disco-5PXXMGGQ.js +0 -3236
- package/dist/Disco.UI-23LOT2U6.js +0 -244
- package/dist/DmrPlot-PBCU2XNF.js +0 -641
- package/dist/GB-HIEPWNPV.js +0 -1129
- package/dist/GeneExpInput-A4JNX7PU.js +0 -365
- package/dist/HicApp-IDH2A4BC.js +0 -2249
- package/dist/NumBinaryEditor-CZ54X7J3.js +0 -269
- package/dist/NumBinaryEditor.unit.spec-QLBRM7MJ.js +0 -285
- package/dist/NumContEditor-Z5MGLQ2I.js +0 -106
- package/dist/NumContEditor.unit.spec-TR7D7ULV.js +0 -168
- package/dist/NumCustomBinEditor-B7JID42Y.js +0 -37
- package/dist/NumCustomBinEditor.unit.spec-GZJIVY4K.js +0 -283
- package/dist/NumDiscreteEditor-LWHZ36T6.js +0 -178
- package/dist/NumDiscreteEditor.unit.spec-QCQCMEWO.js +0 -201
- package/dist/NumRegularBinEditor-IATRIUKD.js +0 -37
- package/dist/NumRegularBinEditor.unit.spec-J6UTQO76.js +0 -226
- package/dist/NumSplineEditor-2KMU6SRO.js +0 -191
- package/dist/NumSplineEditor.unit.spec-MX7Y4MTD.js +0 -198
- package/dist/NumericDensity-JCH7F5FV.js +0 -37
- package/dist/NumericDensity.unit.spec-4TKKRKHF.js +0 -220
- package/dist/NumericHandler-7FB3RJM7.js +0 -38
- package/dist/NumericHandler.unit.spec-U6DCADZY.js +0 -218
- package/dist/RunChart2-VQTIVMKM.js +0 -757
- package/dist/SC-XW272KAP.js +0 -827
- package/dist/SC-XW272KAP.js.map +0 -7
- package/dist/Volcano-Y4U3L6D2.js +0 -1352
- package/dist/Volcano-Y4U3L6D2.js.map +0 -7
- package/dist/WSIViewer-UFB7TI2D.js +0 -47972
- package/dist/WSIViewer-UFB7TI2D.js.map +0 -7
- package/dist/WsiSamplesPlot-2OAR57YB.js +0 -164
- package/dist/adSandbox-IKKFYRF7.js +0 -37
- package/dist/alphaGenome-WJNFQGGK.js +0 -174
- package/dist/app-UHGTFH6D.js +0 -48
- package/dist/app-YETYAR45.js +0 -36
- package/dist/bam-S6U7VNJP.js +0 -859
- package/dist/barchart-3NJDGHXU.js +0 -46
- package/dist/barchart.data-MVVKPDLE.js +0 -22
- package/dist/barchart.events-WQGA4CGB.js +0 -46
- package/dist/barchart.integration.spec-E6CJTWRN.js +0 -1676
- package/dist/barchart2-UNHFOYKB.js +0 -310
- package/dist/block-2XHZLY26.js +0 -6201
- package/dist/block.init-CMG4V6RB.js +0 -37
- package/dist/block.mds.expressionrank-QX2JOEMV.js +0 -358
- package/dist/block.mds.geneboxplot-USVQSDBT.js +0 -827
- package/dist/block.mds.junction-R6GJO75N.js +0 -1544
- package/dist/block.mds.svcnv-MRISSDAX.js +0 -6800
- package/dist/block.svg-Z5KKZTDB.js +0 -163
- package/dist/block.tk.aicheck-SOFJYYZX.js +0 -282
- package/dist/block.tk.ase-EHX5FV2Y.js +0 -364
- package/dist/block.tk.bam-DJS6LODM.js +0 -1905
- package/dist/block.tk.bedgraphdot-R2YHPXZA.js +0 -383
- package/dist/block.tk.bigwig.ui-VPEEQJLS.js +0 -211
- package/dist/block.tk.hicstraw-BDYN573B.js +0 -822
- package/dist/block.tk.junction-BONB4BXU.js +0 -2363
- package/dist/block.tk.junction.textmatrixui-Y5R6KY4N.js +0 -198
- package/dist/block.tk.ld-EGVVSXCB.js +0 -98
- package/dist/block.tk.menu-4YBMB5JT.js +0 -1028
- package/dist/block.tk.pgv-SBHGL6UH.js +0 -943
- package/dist/brainImaging-G3WZDYG6.js +0 -422
- package/dist/chunk-2K5DSRBJ.js +0 -84
- package/dist/chunk-2K5DSRBJ.js.map +0 -7
- package/dist/chunk-2O6JF76T.js +0 -121
- package/dist/chunk-2QULGYVE.js +0 -368
- package/dist/chunk-2VLGHVOL.js +0 -215
- package/dist/chunk-32TTOWY6.js +0 -1210
- package/dist/chunk-43PMSEMV.js +0 -50
- package/dist/chunk-4KSU6NBP.js +0 -194
- package/dist/chunk-4SFX42S7.js +0 -1271
- package/dist/chunk-4Y444IRJ.js +0 -272
- package/dist/chunk-56AN5PPQ.js +0 -679
- package/dist/chunk-56AN5PPQ.js.map +0 -7
- package/dist/chunk-5FO3NKA4.js +0 -155
- package/dist/chunk-5FO3NKA4.js.map +0 -7
- package/dist/chunk-5HOR6JQ2.js +0 -100
- package/dist/chunk-5LZKQFLO.js +0 -180
- package/dist/chunk-5LZKQFLO.js.map +0 -7
- package/dist/chunk-5RE3J6HK.js +0 -293
- package/dist/chunk-5SMOOFRW.js +0 -386
- package/dist/chunk-64Z22QAH.js +0 -14
- package/dist/chunk-6NMH6WPB.js +0 -446
- package/dist/chunk-7FKIAQ4K.js +0 -17
- package/dist/chunk-7NOKTEHK.js +0 -407
- package/dist/chunk-7UHUOC6F.js +0 -119
- package/dist/chunk-AMYSEKPF.js +0 -1658
- package/dist/chunk-AMYSEKPF.js.map +0 -7
- package/dist/chunk-ANGDY7VC.js +0 -170
- package/dist/chunk-AQ4OP4GR.js +0 -39
- package/dist/chunk-AQVOYTLS.js +0 -177
- package/dist/chunk-ARINZFQG.js +0 -276
- package/dist/chunk-ARINZFQG.js.map +0 -7
- package/dist/chunk-BQJVLXEL.js +0 -55
- package/dist/chunk-BRMASRRS.js +0 -455
- package/dist/chunk-BT4OOYPT.js +0 -280
- package/dist/chunk-BTJFVY3R.js +0 -190
- package/dist/chunk-BTJFVY3R.js.map +0 -7
- package/dist/chunk-C62CSWMV.js +0 -335
- package/dist/chunk-CAWDQURD.js +0 -6364
- package/dist/chunk-DMAHNBGN.js +0 -1230
- package/dist/chunk-DMAHNBGN.js.map +0 -7
- package/dist/chunk-EGWVYY7K.js +0 -264
- package/dist/chunk-EGWVYY7K.js.map +0 -7
- package/dist/chunk-ENWVV6EU.js +0 -2681
- package/dist/chunk-EPOELG75.js +0 -56
- package/dist/chunk-EPOELG75.js.map +0 -7
- package/dist/chunk-FA44G3GZ.js +0 -470
- package/dist/chunk-GD7FKXOA.js +0 -148
- package/dist/chunk-GF4OSOYW.js +0 -2815
- package/dist/chunk-GQOBT2W7.js +0 -203
- package/dist/chunk-GTBL7UHX.js +0 -2786
- package/dist/chunk-HE7CD7BD.js +0 -482
- package/dist/chunk-I7JDV4ZC.js +0 -226
- package/dist/chunk-IABWKPRK.js +0 -534
- package/dist/chunk-IPDH4FHY.js +0 -54
- package/dist/chunk-JNOOLCYB.js +0 -1159
- package/dist/chunk-JPKYHLNI.js +0 -158
- package/dist/chunk-KMQ6GQ3I.js +0 -1943
- package/dist/chunk-KTCW3JA6.js +0 -4209
- package/dist/chunk-L4QG7XZE.js +0 -46
- package/dist/chunk-L4QG7XZE.js.map +0 -7
- package/dist/chunk-LGUE54VX.js +0 -302
- package/dist/chunk-LJ4AUJXC.js +0 -95
- package/dist/chunk-LN3QYBGI.js +0 -20495
- package/dist/chunk-LN3QYBGI.js.map +0 -7
- package/dist/chunk-LQQSRNR5.js +0 -228
- package/dist/chunk-LSV4Z473.js +0 -31
- package/dist/chunk-LTSR7SLO.js +0 -514
- package/dist/chunk-LY7GD74F.js +0 -381
- package/dist/chunk-MHCTLVGE.js +0 -26
- package/dist/chunk-MSAMGAQF.js +0 -2370
- package/dist/chunk-MSAMGAQF.js.map +0 -7
- package/dist/chunk-NYX4B5CO.js +0 -291
- package/dist/chunk-OPPNZXYG.js +0 -129
- package/dist/chunk-P6TPXUMP.js +0 -117
- package/dist/chunk-PL2CM7RY.js +0 -621
- package/dist/chunk-PSGQWZN4.js +0 -147
- package/dist/chunk-PZLYNNST.js +0 -371
- package/dist/chunk-RA4RQYXQ.js +0 -142
- package/dist/chunk-RAJZYWFN.js +0 -95
- package/dist/chunk-ROLVOPVR.js +0 -252
- package/dist/chunk-RQZJIBIH.js +0 -34
- package/dist/chunk-RSE2FOKW.js +0 -217
- package/dist/chunk-SDLRTORS.js +0 -263
- package/dist/chunk-TF4EDNQO.js +0 -158
- package/dist/chunk-TV74I3Y5.js +0 -43
- package/dist/chunk-TV74I3Y5.js.map +0 -7
- package/dist/chunk-UPPBAFUK.js +0 -5000
- package/dist/chunk-UVPAZM3G.js +0 -52
- package/dist/chunk-UWYCEYML.js +0 -815
- package/dist/chunk-VB3SRNBK.js +0 -37
- package/dist/chunk-W6XQR5UL.js +0 -444
- package/dist/chunk-XBBUQW52.js +0 -824
- package/dist/chunk-XSA3VIEQ.js +0 -205
- package/dist/chunk-XZ6MGJQ3.js +0 -102
- package/dist/chunk-YC6ZJ7RP.js +0 -1842
- package/dist/chunk-YC6ZJ7RP.js.map +0 -7
- package/dist/chunk-YEMIL6QU.js +0 -1087
- package/dist/chunk-ZD47FENE.js +0 -229
- package/dist/chunk-ZYBM24FU.js +0 -102
- package/dist/chunk-ZYY54HBU.js +0 -330
- package/dist/chunk-ZYY54HBU.js.map +0 -7
- package/dist/condition-ARCN26MF.js +0 -331
- package/dist/controls-PKWN2JGN.js +0 -40
- package/dist/controls.config-NFRPXFUJ.js +0 -38
- package/dist/correlation-DPT6XL2U.js +0 -97
- package/dist/cuminc-M4U7LQD5.js +0 -1148
- package/dist/cuminc.integration.spec-MH4OFYDJ.js +0 -677
- package/dist/customdata.inputui-6TAHAMSV.js +0 -288
- package/dist/dataDownload-7GZEYSUT.js +0 -329
- package/dist/dataDownload.integration.spec-NAIJRFTV.js +0 -192
- package/dist/databrowser.ui-LLXHZ5O6.js +0 -432
- package/dist/dictionary-MUAURMYE.js +0 -110
- package/dist/dnaMethylation-AU5D3U3E.js +0 -37
- package/dist/dnaMethylation.integration.spec-JIDBRA6P.js +0 -202
- package/dist/dofetch-WSYK5OTB.js +0 -50
- package/dist/e2pca-ICG35YR5.js +0 -349
- package/dist/ep-CSSSQOUP.js +0 -1255
- package/dist/expclust.gdc.spec-4WPQUXH4.js +0 -306
- package/dist/facet-JAGILNY6.js +0 -520
- package/dist/forms2-IMVDB6AT.js +0 -533
- package/dist/gb-36LTYICV.js +0 -87
- package/dist/geneExpClustering-CGMENTHI.js +0 -248
- package/dist/geneExpression-AD2L46J4.js +0 -37
- package/dist/geneExpression-G2FHBDUQ.js +0 -312
- package/dist/geneExpression.unit.spec-XWCB7K5L.js +0 -101
- package/dist/geneORA-GVHQF7DF.js +0 -277
- package/dist/geneVariant-HE22CH76.js +0 -40
- package/dist/geneVariant-SQD5QUFH.js +0 -38
- package/dist/geneVariant.integration.spec-66XFLDNN.js +0 -197
- package/dist/genefusion.ui-TD32NWD4.js +0 -308
- package/dist/geneset-NSYPDXS3.js +0 -202
- package/dist/genomeBrowser.spec-CYFONLNQ.js +0 -280
- package/dist/grin2-3QB57OPH.js +0 -1555
- package/dist/grin2-FLQNWPMZ.js +0 -851
- package/dist/grin2-FLQNWPMZ.js.map +0 -7
- package/dist/gsea-RMTU5I3U.js +0 -46
- package/dist/hierCluster-LSQL6PGC.js +0 -58
- package/dist/hierCluster-XTEBDEVO.js +0 -62
- package/dist/hierCluster.config-SHXFSPOH.js +0 -39
- package/dist/hierCluster.integration.spec-KNMIYWV3.js +0 -394
- package/dist/hierCluster.interactivity-6NAKTUR5.js +0 -53
- package/dist/hierCluster.renderers-FWOV4Q47.js +0 -21
- package/dist/imagePlot-3IVG4SFN.js +0 -162
- package/dist/importPlot-HEMDRIVF.js +0 -8
- package/dist/isoformExpression-FJ3GEU6D.js +0 -39
- package/dist/isoformExpression.unit.spec-L7D22UDB.js +0 -207
- package/dist/launch.adhoc-PDGQF2UP.js +0 -41
- package/dist/leftlabel.sample-ZBI4NHCV.js +0 -259
- package/dist/legacyDataset-PBCPC5I7.js +0 -119
- package/dist/lollipop-K7S6ASFE.js +0 -170
- package/dist/maf-JEW6PPJB.js +0 -451
- package/dist/maftimeline-7URL27MC.js +0 -592
- package/dist/matrix-6EK5WGIG.js +0 -57
- package/dist/matrix-DKBD5RIL.js +0 -62
- package/dist/matrix.cells-KEIOXJQ7.js +0 -28
- package/dist/matrix.config-FGJB4VVM.js +0 -40
- package/dist/matrix.data-QGCGFLD7.js +0 -25
- package/dist/matrix.groups-HBPLZ2QX.js +0 -26
- package/dist/matrix.integration.spec-R4PF67KF.js +0 -3071
- package/dist/matrix.interactivity-M3SY33ET.js +0 -41
- package/dist/matrix.layout-H6WQ3ZMW.js +0 -43
- package/dist/matrix.legend-UCL7HM26.js +0 -22
- package/dist/matrix.renderers-3PPFSS7Z.js +0 -37
- package/dist/matrix.serieses-S2TJ3E6P.js +0 -21
- package/dist/matrix.sort-CFA4UWBJ.js +0 -27
- package/dist/matrix.sort.unit.spec-562VIWDS.js +0 -471
- package/dist/matrix.sorterUi-FT7K5664.js +0 -18
- package/dist/matrix.sorterUi.unit.spec-GAHHUN3K.js +0 -341
- package/dist/mavb-HPW5X55U.js +0 -731
- package/dist/mds.fimo-HSBKLIOX.js +0 -517
- package/dist/mds.samplescatterplot-DE27OMJE.js +0 -1549
- package/dist/mds.survivalplot-IW22UGCE.js +0 -482
- package/dist/numericDictTermCluster-DOD66G3A.js +0 -72
- package/dist/oncomatrix-BZCVCPR4.js +0 -294
- package/dist/oncomatrix.spec-IHYCIAP4.js +0 -447
- package/dist/plot.2dvaf-QLOZ54VC.js +0 -376
- package/dist/plot.app-XDVDR23J.js +0 -40
- package/dist/plot.barplot-XOESF7OQ.js +0 -101
- package/dist/plot.boxplot-VNOC2CHT.js +0 -151
- package/dist/plot.brainImaging-7ZEOY4UR.js +0 -51
- package/dist/plot.disco-6GVDYK7A.js +0 -101
- package/dist/plot.dzi-TEFPPPL6.js +0 -33
- package/dist/plot.ssgq-OG4TODLO.js +0 -138
- package/dist/plot.vaf2cov-VMZRJULA.js +0 -258
- package/dist/plot.wsi-2CHZZ7AC.js +0 -36
- package/dist/polar-QUYQRQOQ.js +0 -185
- package/dist/polar2-OXXLAXJC.js +0 -227
- package/dist/profile.spec-TI6PRHNJ.js +0 -79
- package/dist/profileBarchart-GEK77XEB.js +0 -266
- package/dist/profileForms-NR3VNHKM.js +0 -440
- package/dist/profilePlot-GGKO3IW5.js +0 -53
- package/dist/profileRadar-MN3LX5ER.js +0 -262
- package/dist/profileRadarFacility-3G2HWB2L.js +0 -262
- package/dist/proteinView-TZ5BGOTA.js +0 -1188
- package/dist/proteinView-TZ5BGOTA.js.map +0 -7
- package/dist/proteomeAbundance-JXNECXF7.js +0 -68
- package/dist/proteomeAbundance-JXNECXF7.js.map +0 -7
- package/dist/proteomeAbundance-O4BB55O3.js +0 -21
- package/dist/qualitative-Q3TT73O7.js +0 -42
- package/dist/radar2-LSD3VPZT.js +0 -315
- package/dist/radarFacility2-LZGIXY7A.js +0 -324
- package/dist/regression-J3XDAPAZ.js +0 -55
- package/dist/regression.inputs-BBZYI5OI.js +0 -47
- package/dist/regression.inputs.term-7BW6XGLG.js +0 -47
- package/dist/regression.inputs.values.table-DYX2YU4H.js +0 -44
- package/dist/regression.integration.spec-WLXZYKWW.js +0 -783
- package/dist/regression.results-K5Q2N2KW.js +0 -39
- package/dist/regression.spec-VT7T6KBY.js +0 -707
- package/dist/report-3D3L573D.js +0 -221
- package/dist/sampleScatter.spec-6IPJQLM2.js +0 -201
- package/dist/sampleView-5JMFI4HF.js +0 -47
- package/dist/samplelst-SUCB5WOZ.js +0 -110
- package/dist/samplematrix-A5SZBKO6.js +0 -2197
- package/dist/sc-NAA6ESO6.js +0 -85
- package/dist/scatter-EQCN2HYE.js +0 -801
- package/dist/scatter.integration.spec-7NXIYS67.js +0 -1195
- package/dist/selectGenomeWithTklst-KXODNCY6.js +0 -133
- package/dist/singleCellCellType-HMIW76YB.js +0 -37
- package/dist/singleCellCellType.unit.spec-ZCZET56X.js +0 -159
- package/dist/singleCellGeneExpression-IUCUHF6R.js +0 -37
- package/dist/singleCellGeneExpression.unit.spec-J4D6F2N3.js +0 -152
- package/dist/singleCellPlot-L6W3MDGG.js +0 -52
- package/dist/singlecell-A6ECAAPI.js +0 -85
- package/dist/singlecell-KBABNXC5.js +0 -1571
- package/dist/snp-RO7ATG6E.js +0 -37
- package/dist/snp.unit.spec-ZJLRGJD4.js +0 -175
- package/dist/snplocus-N3CU6NRP.js +0 -207
- package/dist/spliceevent.a53ss.diagram-7PHT4COB.js +0 -150
- package/dist/spliceevent.exonskip.diagram-3CZTY6QD.js +0 -276
- package/dist/spliceevent.noeventdiagram-GQE256DT.js +0 -459
- package/dist/ssGSEA-4I3L5MX2.js +0 -37
- package/dist/ssGSEA.unit.spec-PZCC5YU7.js +0 -87
- package/dist/summarizeCnvGeneexp-ASXUQW56.js +0 -162
- package/dist/summarizeGeneexpSurvival-ULGUOW5V.js +0 -107
- package/dist/summarizeMutationCnv-VDUCIUGM.js +0 -163
- package/dist/summarizeMutationDiagnosis-FMAAMCZC.js +0 -39
- package/dist/summarizeMutationSurvival-GZ4NGDJT.js +0 -98
- package/dist/summary-2WNZ6JSB.js +0 -48
- package/dist/summary.integration.spec-XPMYB6GM.js +0 -413
- package/dist/summaryInput-2UGXEA5C.js +0 -234
- package/dist/sunburst-76WCQLTT.js +0 -283
- package/dist/survival-23IZM4ML.js +0 -45
- package/dist/survival-3EAMPHSX.js +0 -57
- package/dist/survival.integration.spec-YNVAKBV3.js +0 -801
- package/dist/svgraph-G2M5LXEP.js +0 -1386
- package/dist/svmr-BUDBVU34.js +0 -3841
- package/dist/table-QJSZ6YFK.js +0 -199
- package/dist/termCollection-2YAY3RLZ.js +0 -178
- package/dist/termCollection-MAMDMEDD.js +0 -37
- package/dist/termCollection.unit.spec-UY7G2BHG.js +0 -207
- package/dist/tk-GFGP3F76.js +0 -45
- package/dist/tp.ui-OQ757UIE.js +0 -1458
- package/dist/tvs.density-BJK23JYJ.js +0 -18
- package/dist/tvs.dt-TOYEFKNT.js +0 -38
- package/dist/tvs.dtcnv.categorical-EO2VLFL2.js +0 -39
- package/dist/tvs.dtcnv.continuous-ZAHTKZ4Y.js +0 -71
- package/dist/tvs.dtfusion-BY3AHBL3.js +0 -39
- package/dist/tvs.dtsnvindel-UM5LQ4FR.js +0 -39
- package/dist/tvs.dtsv-H7ZVHLS5.js +0 -39
- package/dist/tvs.numeric-66FP6RRH.js +0 -21
- package/dist/tvs.samplelst-Q5ECTZOY.js +0 -103
- package/dist/tvs.termCollection-FYNMKZTR.js +0 -158
- package/dist/violin-EGWLAJVM.js +0 -45
- package/dist/violin.integration.spec-3P4TYHBR.js +0 -1424
- package/dist/violin.interactivity-VWDR4LYB.js +0 -37
- package/dist/violin.renderer-WWTU6J7X.js +0 -39
- package/dist/vocabulary-JG4ZITOH.js +0 -40
- /package/dist/{2dmaf-DTWWXOZC.js.map → 2dmaf-6YIEXAIG.js.map} +0 -0
- /package/dist/{AIProjectAdmin-BCYIWOXD.js.map → AIProjectAdmin-5K5NIQNT.js.map} +0 -0
- /package/dist/{AppHeader-H3L2MRWP.js.map → AppHeader-4SN5M6SZ.js.map} +0 -0
- /package/dist/{BoxPlot-INZ6IN3V.js.map → BoxPlot-DBJA6TQF.js.map} +0 -0
- /package/dist/{CorrelationVolcano-AK3XW4ZH.js.map → CorrelationVolcano-MDMTMTT5.js.map} +0 -0
- /package/dist/{DE-IBSFUKNG.js.map → DE-S5AFNI4I.js.map} +0 -0
- /package/dist/{DEinput-H4GMQWDY.js.map → DEinput-XVBBA74N.js.map} +0 -0
- /package/dist/{Disco-5PXXMGGQ.js.map → Disco-VV7FQ7WW.js.map} +0 -0
- /package/dist/{Disco.UI-23LOT2U6.js.map → Disco.UI-JDJFJFEY.js.map} +0 -0
- /package/dist/{DmrPlot-PBCU2XNF.js.map → DmrPlot-XOG67W74.js.map} +0 -0
- /package/dist/{GB-HIEPWNPV.js.map → GB-K3AWZQFF.js.map} +0 -0
- /package/dist/{GeneExpInput-A4JNX7PU.js.map → GeneExpInput-Y7MDS2CA.js.map} +0 -0
- /package/dist/{HicApp-IDH2A4BC.js.map → HicApp-53OTZ3YU.js.map} +0 -0
- /package/dist/{NumBinaryEditor-CZ54X7J3.js.map → NumBinaryEditor-SB4YR3JM.js.map} +0 -0
- /package/dist/{NumBinaryEditor.unit.spec-QLBRM7MJ.js.map → NumBinaryEditor.unit.spec-V2W2OZYP.js.map} +0 -0
- /package/dist/{NumContEditor-Z5MGLQ2I.js.map → NumContEditor-RZZBM7PR.js.map} +0 -0
- /package/dist/{NumContEditor.unit.spec-TR7D7ULV.js.map → NumContEditor.unit.spec-GAAW3ZZN.js.map} +0 -0
- /package/dist/{NumCustomBinEditor-B7JID42Y.js.map → NumCustomBinEditor-GFCGPRPI.js.map} +0 -0
- /package/dist/{NumCustomBinEditor.unit.spec-GZJIVY4K.js.map → NumCustomBinEditor.unit.spec-24MXSO3L.js.map} +0 -0
- /package/dist/{NumDiscreteEditor-LWHZ36T6.js.map → NumDiscreteEditor-HAHIOFNC.js.map} +0 -0
- /package/dist/{NumDiscreteEditor.unit.spec-QCQCMEWO.js.map → NumDiscreteEditor.unit.spec-JYN2CWSI.js.map} +0 -0
- /package/dist/{NumRegularBinEditor-IATRIUKD.js.map → NumRegularBinEditor-7DOE64RB.js.map} +0 -0
- /package/dist/{NumRegularBinEditor.unit.spec-J6UTQO76.js.map → NumRegularBinEditor.unit.spec-2WU4GGNT.js.map} +0 -0
- /package/dist/{NumSplineEditor-2KMU6SRO.js.map → NumSplineEditor-JLRD5TVX.js.map} +0 -0
- /package/dist/{NumSplineEditor.unit.spec-MX7Y4MTD.js.map → NumSplineEditor.unit.spec-LOG7CECJ.js.map} +0 -0
- /package/dist/{NumericDensity-JCH7F5FV.js.map → NumericDensity-IDOP7I34.js.map} +0 -0
- /package/dist/{NumericDensity.unit.spec-4TKKRKHF.js.map → NumericDensity.unit.spec-HTJQRPVH.js.map} +0 -0
- /package/dist/{NumericHandler-7FB3RJM7.js.map → NumericHandler-DWVVGLLB.js.map} +0 -0
- /package/dist/{NumericHandler.unit.spec-U6DCADZY.js.map → NumericHandler.unit.spec-BDDFTHOF.js.map} +0 -0
- /package/dist/{RunChart2-VQTIVMKM.js.map → RunChart2-PBJ56YX3.js.map} +0 -0
- /package/dist/{WsiSamplesPlot-2OAR57YB.js.map → WsiSamplesPlot-FOMPMEXK.js.map} +0 -0
- /package/dist/{adSandbox-IKKFYRF7.js.map → adSandbox-SRPPCYYR.js.map} +0 -0
- /package/dist/{alphaGenome-WJNFQGGK.js.map → alphaGenome-IS2WAJCK.js.map} +0 -0
- /package/dist/{app-UHGTFH6D.js.map → app-GTHYSGWI.js.map} +0 -0
- /package/dist/{app-YETYAR45.js.map → app-XEKETNLG.js.map} +0 -0
- /package/dist/{bam-S6U7VNJP.js.map → bam-GQBFL6A7.js.map} +0 -0
- /package/dist/{barchart-3NJDGHXU.js.map → barchart-AESC4JSX.js.map} +0 -0
- /package/dist/{barchart.data-MVVKPDLE.js.map → barchart.data-RE34IC4G.js.map} +0 -0
- /package/dist/{barchart.events-WQGA4CGB.js.map → barchart.events-KM4J5ISO.js.map} +0 -0
- /package/dist/{barchart.integration.spec-E6CJTWRN.js.map → barchart.integration.spec-DFVSBGO3.js.map} +0 -0
- /package/dist/{barchart2-UNHFOYKB.js.map → barchart2-NNTL4RQZ.js.map} +0 -0
- /package/dist/{block-2XHZLY26.js.map → block-EHZM3FUX.js.map} +0 -0
- /package/dist/{block.init-CMG4V6RB.js.map → block.init-EAEFNNF6.js.map} +0 -0
- /package/dist/{block.mds.expressionrank-QX2JOEMV.js.map → block.mds.expressionrank-ZBHA2CFE.js.map} +0 -0
- /package/dist/{block.mds.geneboxplot-USVQSDBT.js.map → block.mds.geneboxplot-4ZU3QUAK.js.map} +0 -0
- /package/dist/{block.mds.junction-R6GJO75N.js.map → block.mds.junction-PDH55JXO.js.map} +0 -0
- /package/dist/{block.mds.svcnv-MRISSDAX.js.map → block.mds.svcnv-QWBU54XQ.js.map} +0 -0
- /package/dist/{block.svg-Z5KKZTDB.js.map → block.svg-HUGBYWXU.js.map} +0 -0
- /package/dist/{block.tk.aicheck-SOFJYYZX.js.map → block.tk.aicheck-SDCWXQZF.js.map} +0 -0
- /package/dist/{block.tk.ase-EHX5FV2Y.js.map → block.tk.ase-HMUTHCJS.js.map} +0 -0
- /package/dist/{block.tk.bam-DJS6LODM.js.map → block.tk.bam-Q7B2YQLI.js.map} +0 -0
- /package/dist/{block.tk.bedgraphdot-R2YHPXZA.js.map → block.tk.bedgraphdot-QBGBSVHN.js.map} +0 -0
- /package/dist/{block.tk.bigwig.ui-VPEEQJLS.js.map → block.tk.bigwig.ui-767A3MUH.js.map} +0 -0
- /package/dist/{block.tk.hicstraw-BDYN573B.js.map → block.tk.hicstraw-LEZUZHLF.js.map} +0 -0
- /package/dist/{block.tk.junction-BONB4BXU.js.map → block.tk.junction-GQHCZOYR.js.map} +0 -0
- /package/dist/{block.tk.junction.textmatrixui-Y5R6KY4N.js.map → block.tk.junction.textmatrixui-D5QUO7KQ.js.map} +0 -0
- /package/dist/{block.tk.ld-EGVVSXCB.js.map → block.tk.ld-E3MHZOG5.js.map} +0 -0
- /package/dist/{block.tk.menu-4YBMB5JT.js.map → block.tk.menu-XE7PFYGR.js.map} +0 -0
- /package/dist/{block.tk.pgv-SBHGL6UH.js.map → block.tk.pgv-MPPMPDED.js.map} +0 -0
- /package/dist/{brainImaging-G3WZDYG6.js.map → brainImaging-YQ443NOL.js.map} +0 -0
- /package/dist/{chunk-LQQSRNR5.js.map → chunk-26WXJBSR.js.map} +0 -0
- /package/dist/{chunk-7UHUOC6F.js.map → chunk-2P6Z7JFC.js.map} +0 -0
- /package/dist/{chunk-ENWVV6EU.js.map → chunk-2QQO4RRD.js.map} +0 -0
- /package/dist/{chunk-GF4OSOYW.js.map → chunk-37ARSZOI.js.map} +0 -0
- /package/dist/{chunk-LY7GD74F.js.map → chunk-42Q53PXE.js.map} +0 -0
- /package/dist/{chunk-5SMOOFRW.js.map → chunk-46ASPS5Y.js.map} +0 -0
- /package/dist/{chunk-RA4RQYXQ.js.map → chunk-4KPI7PB5.js.map} +0 -0
- /package/dist/{chunk-XZ6MGJQ3.js.map → chunk-4MDNMCGZ.js.map} +0 -0
- /package/dist/{chunk-4Y444IRJ.js.map → chunk-5IG3E4DT.js.map} +0 -0
- /package/dist/{chunk-UVPAZM3G.js.map → chunk-5MIR7IHI.js.map} +0 -0
- /package/dist/{chunk-BQJVLXEL.js.map → chunk-5MZVXJVA.js.map} +0 -0
- /package/dist/{chunk-SDLRTORS.js.map → chunk-66D5GRS5.js.map} +0 -0
- /package/dist/{chunk-IABWKPRK.js.map → chunk-6ATE2TRC.js.map} +0 -0
- /package/dist/{chunk-JPKYHLNI.js.map → chunk-6BFR6MK3.js.map} +0 -0
- /package/dist/{chunk-C62CSWMV.js.map → chunk-6NJMCO4X.js.map} +0 -0
- /package/dist/{chunk-IPDH4FHY.js.map → chunk-6ON5KAMO.js.map} +0 -0
- /package/dist/{chunk-ZYBM24FU.js.map → chunk-76GPYMHZ.js.map} +0 -0
- /package/dist/{chunk-PSGQWZN4.js.map → chunk-7AAFBFOH.js.map} +0 -0
- /package/dist/{chunk-LGUE54VX.js.map → chunk-7OOZHEUC.js.map} +0 -0
- /package/dist/{chunk-I7JDV4ZC.js.map → chunk-A4VLWLYF.js.map} +0 -0
- /package/dist/{chunk-W6XQR5UL.js.map → chunk-A6EFWGWD.js.map} +0 -0
- /package/dist/{chunk-ANGDY7VC.js.map → chunk-ALW5XXVW.js.map} +0 -0
- /package/dist/{chunk-RQZJIBIH.js.map → chunk-ANCT2BGO.js.map} +0 -0
- /package/dist/{chunk-NYX4B5CO.js.map → chunk-AROMXWCY.js.map} +0 -0
- /package/dist/{chunk-UWYCEYML.js.map → chunk-AY4UBGLC.js.map} +0 -0
- /package/dist/{chunk-32TTOWY6.js.map → chunk-BMVLR3TM.js.map} +0 -0
- /package/dist/{chunk-PL2CM7RY.js.map → chunk-BR7JA2EO.js.map} +0 -0
- /package/dist/{chunk-7FKIAQ4K.js.map → chunk-D3HJXMTH.js.map} +0 -0
- /package/dist/{chunk-XSA3VIEQ.js.map → chunk-DKUEZ4XD.js.map} +0 -0
- /package/dist/{chunk-LSV4Z473.js.map → chunk-DT3MMC5U.js.map} +0 -0
- /package/dist/{chunk-UPPBAFUK.js.map → chunk-DYVKN7EE.js.map} +0 -0
- /package/dist/{chunk-VB3SRNBK.js.map → chunk-EF37UZY6.js.map} +0 -0
- /package/dist/{chunk-ZD47FENE.js.map → chunk-ESXMS7FW.js.map} +0 -0
- /package/dist/{chunk-2QULGYVE.js.map → chunk-FUSVXQ6C.js.map} +0 -0
- /package/dist/{chunk-GTBL7UHX.js.map → chunk-GXKVAPGP.js.map} +0 -0
- /package/dist/{chunk-AQ4OP4GR.js.map → chunk-H4JIENLQ.js.map} +0 -0
- /package/dist/{chunk-FA44G3GZ.js.map → chunk-H7YJG4YM.js.map} +0 -0
- /package/dist/{chunk-GD7FKXOA.js.map → chunk-I24KPIDD.js.map} +0 -0
- /package/dist/{chunk-GQOBT2W7.js.map → chunk-IENFDUWD.js.map} +0 -0
- /package/dist/{chunk-43PMSEMV.js.map → chunk-J7BISJTL.js.map} +0 -0
- /package/dist/{chunk-XBBUQW52.js.map → chunk-J7KYOSEK.js.map} +0 -0
- /package/dist/{chunk-PZLYNNST.js.map → chunk-JGPZ5254.js.map} +0 -0
- /package/dist/{chunk-4KSU6NBP.js.map → chunk-JUIPCWAM.js.map} +0 -0
- /package/dist/{chunk-5RE3J6HK.js.map → chunk-LO4NMQ7W.js.map} +0 -0
- /package/dist/{chunk-RAJZYWFN.js.map → chunk-LSSLS5HV.js.map} +0 -0
- /package/dist/{chunk-7NOKTEHK.js.map → chunk-MDLRB3MR.js.map} +0 -0
- /package/dist/{chunk-OPPNZXYG.js.map → chunk-MJLKGZ27.js.map} +0 -0
- /package/dist/{chunk-KTCW3JA6.js.map → chunk-NL5T3SBK.js.map} +0 -0
- /package/dist/{chunk-RSE2FOKW.js.map → chunk-ONAYJVN2.js.map} +0 -0
- /package/dist/{chunk-64Z22QAH.js.map → chunk-PSMFOARZ.js.map} +0 -0
- /package/dist/{chunk-LTSR7SLO.js.map → chunk-QX3GF2IA.js.map} +0 -0
- /package/dist/{chunk-JNOOLCYB.js.map → chunk-QZ2U4BOS.js.map} +0 -0
- /package/dist/{chunk-YEMIL6QU.js.map → chunk-RBZBBNLL.js.map} +0 -0
- /package/dist/{chunk-P6TPXUMP.js.map → chunk-RZTFQXWV.js.map} +0 -0
- /package/dist/{chunk-AQVOYTLS.js.map → chunk-SJC2C77V.js.map} +0 -0
- /package/dist/{chunk-2VLGHVOL.js.map → chunk-TVXVP4M6.js.map} +0 -0
- /package/dist/{chunk-HE7CD7BD.js.map → chunk-UTDPKDIY.js.map} +0 -0
- /package/dist/{chunk-BT4OOYPT.js.map → chunk-UVIUB7QI.js.map} +0 -0
- /package/dist/{chunk-CAWDQURD.js.map → chunk-VAUSRBL5.js.map} +0 -0
- /package/dist/{chunk-6NMH6WPB.js.map → chunk-WP22GYZ2.js.map} +0 -0
- /package/dist/{chunk-4SFX42S7.js.map → chunk-WUNX3VST.js.map} +0 -0
- /package/dist/{chunk-BRMASRRS.js.map → chunk-XD4TBJK2.js.map} +0 -0
- /package/dist/{chunk-2O6JF76T.js.map → chunk-Y6DSXMPB.js.map} +0 -0
- /package/dist/{chunk-ROLVOPVR.js.map → chunk-YBIZRASR.js.map} +0 -0
- /package/dist/{chunk-TF4EDNQO.js.map → chunk-YI2YH7ZK.js.map} +0 -0
- /package/dist/{chunk-KMQ6GQ3I.js.map → chunk-YLDE3PVC.js.map} +0 -0
- /package/dist/{chunk-MHCTLVGE.js.map → chunk-Z736NYXL.js.map} +0 -0
- /package/dist/{chunk-LJ4AUJXC.js.map → chunk-ZEJB7CPC.js.map} +0 -0
- /package/dist/{chunk-5HOR6JQ2.js.map → chunk-ZGWEBKZ4.js.map} +0 -0
- /package/dist/{condition-ARCN26MF.js.map → condition-FSF6ROJV.js.map} +0 -0
- /package/dist/{controls-PKWN2JGN.js.map → controls-OPSBFDFZ.js.map} +0 -0
- /package/dist/{controls.config-NFRPXFUJ.js.map → controls.config-3QRV5363.js.map} +0 -0
- /package/dist/{correlation-DPT6XL2U.js.map → correlation-WLOI7Z35.js.map} +0 -0
- /package/dist/{cuminc-M4U7LQD5.js.map → cuminc-G2UGJUUA.js.map} +0 -0
- /package/dist/{cuminc.integration.spec-MH4OFYDJ.js.map → cuminc.integration.spec-X5NEZ6S5.js.map} +0 -0
- /package/dist/{customdata.inputui-6TAHAMSV.js.map → customdata.inputui-RNW3AO3Z.js.map} +0 -0
- /package/dist/{dataDownload-7GZEYSUT.js.map → dataDownload-4U3TGDMH.js.map} +0 -0
- /package/dist/{dataDownload.integration.spec-NAIJRFTV.js.map → dataDownload.integration.spec-6FUI2SJ4.js.map} +0 -0
- /package/dist/{databrowser.ui-LLXHZ5O6.js.map → databrowser.ui-4GVJVJWG.js.map} +0 -0
- /package/dist/{dictionary-MUAURMYE.js.map → dictionary-NSDS7Z4K.js.map} +0 -0
- /package/dist/{dnaMethylation-AU5D3U3E.js.map → dnaMethylation-OYQB75LD.js.map} +0 -0
- /package/dist/{dnaMethylation.integration.spec-JIDBRA6P.js.map → dnaMethylation.integration.spec-6TTLV34N.js.map} +0 -0
- /package/dist/{dofetch-WSYK5OTB.js.map → dofetch-4TO3QMT6.js.map} +0 -0
- /package/dist/{e2pca-ICG35YR5.js.map → e2pca-NYBVR6PL.js.map} +0 -0
- /package/dist/{ep-CSSSQOUP.js.map → ep-RTDVEA4D.js.map} +0 -0
- /package/dist/{expclust.gdc.spec-4WPQUXH4.js.map → expclust.gdc.spec-JVIRESTP.js.map} +0 -0
- /package/dist/{facet-JAGILNY6.js.map → facet-OVBF2QMO.js.map} +0 -0
- /package/dist/{forms2-IMVDB6AT.js.map → forms2-HTLS54CX.js.map} +0 -0
- /package/dist/{gb-36LTYICV.js.map → gb-Y3546HMZ.js.map} +0 -0
- /package/dist/{geneExpClustering-CGMENTHI.js.map → geneExpClustering-PH3PWH3K.js.map} +0 -0
- /package/dist/{geneExpression-AD2L46J4.js.map → geneExpression-2Z2EV3XM.js.map} +0 -0
- /package/dist/{geneExpression-G2FHBDUQ.js.map → geneExpression-6CFXOCGW.js.map} +0 -0
- /package/dist/{geneExpression.unit.spec-XWCB7K5L.js.map → geneExpression.unit.spec-WKUTHRHC.js.map} +0 -0
- /package/dist/{geneORA-GVHQF7DF.js.map → geneORA-SHLZESLB.js.map} +0 -0
- /package/dist/{geneVariant-HE22CH76.js.map → geneVariant-FHZUIFPM.js.map} +0 -0
- /package/dist/{geneVariant-SQD5QUFH.js.map → geneVariant-Y7ZUBEOX.js.map} +0 -0
- /package/dist/{geneVariant.integration.spec-66XFLDNN.js.map → geneVariant.integration.spec-N7TZUOY3.js.map} +0 -0
- /package/dist/{genefusion.ui-TD32NWD4.js.map → genefusion.ui-7PDVZPZ2.js.map} +0 -0
- /package/dist/{geneset-NSYPDXS3.js.map → geneset-HLVOGYUI.js.map} +0 -0
- /package/dist/{genomeBrowser.spec-CYFONLNQ.js.map → genomeBrowser.spec-7IVIMUR5.js.map} +0 -0
- /package/dist/{grin2-3QB57OPH.js.map → grin2-Z5O7254R.js.map} +0 -0
- /package/dist/{gsea-RMTU5I3U.js.map → gsea-TFC3MBRW.js.map} +0 -0
- /package/dist/{hierCluster-LSQL6PGC.js.map → hierCluster-ERSE5I4I.js.map} +0 -0
- /package/dist/{hierCluster-XTEBDEVO.js.map → hierCluster-QQZQU5ZG.js.map} +0 -0
- /package/dist/{hierCluster.config-SHXFSPOH.js.map → hierCluster.config-WPINWW37.js.map} +0 -0
- /package/dist/{hierCluster.integration.spec-KNMIYWV3.js.map → hierCluster.integration.spec-Y6OHSKPW.js.map} +0 -0
- /package/dist/{hierCluster.interactivity-6NAKTUR5.js.map → hierCluster.interactivity-HS3G5QC5.js.map} +0 -0
- /package/dist/{hierCluster.renderers-FWOV4Q47.js.map → hierCluster.renderers-W63ZKZTT.js.map} +0 -0
- /package/dist/{imagePlot-3IVG4SFN.js.map → imagePlot-QFVN25PM.js.map} +0 -0
- /package/dist/{importPlot-HEMDRIVF.js.map → importPlot-MIDM5APH.js.map} +0 -0
- /package/dist/{isoformExpression-FJ3GEU6D.js.map → isoformExpression-L4TRNT4A.js.map} +0 -0
- /package/dist/{isoformExpression.unit.spec-L7D22UDB.js.map → isoformExpression.unit.spec-QQG323LA.js.map} +0 -0
- /package/dist/{launch.adhoc-PDGQF2UP.js.map → launch.adhoc-4NQ6GGGL.js.map} +0 -0
- /package/dist/{leftlabel.sample-ZBI4NHCV.js.map → leftlabel.sample-JU7AIPZL.js.map} +0 -0
- /package/dist/{legacyDataset-PBCPC5I7.js.map → legacyDataset-TT4CHF23.js.map} +0 -0
- /package/dist/{lollipop-K7S6ASFE.js.map → lollipop-JG74M6PJ.js.map} +0 -0
- /package/dist/{maf-JEW6PPJB.js.map → maf-PDL2EGHI.js.map} +0 -0
- /package/dist/{maftimeline-7URL27MC.js.map → maftimeline-V43NQEEE.js.map} +0 -0
- /package/dist/{matrix-6EK5WGIG.js.map → matrix-EB2EFP4S.js.map} +0 -0
- /package/dist/{matrix-DKBD5RIL.js.map → matrix-Q57FU5FE.js.map} +0 -0
- /package/dist/{matrix.cells-KEIOXJQ7.js.map → matrix.cells-NJIMPD32.js.map} +0 -0
- /package/dist/{matrix.config-FGJB4VVM.js.map → matrix.config-GLDEQD3H.js.map} +0 -0
- /package/dist/{matrix.data-QGCGFLD7.js.map → matrix.data-6SHAKOQU.js.map} +0 -0
- /package/dist/{matrix.groups-HBPLZ2QX.js.map → matrix.groups-MTDEANQA.js.map} +0 -0
- /package/dist/{matrix.integration.spec-R4PF67KF.js.map → matrix.integration.spec-JCZ5VQJU.js.map} +0 -0
- /package/dist/{matrix.interactivity-M3SY33ET.js.map → matrix.interactivity-SVRNWL6V.js.map} +0 -0
- /package/dist/{matrix.layout-H6WQ3ZMW.js.map → matrix.layout-2HREO42N.js.map} +0 -0
- /package/dist/{matrix.legend-UCL7HM26.js.map → matrix.legend-QHVKT3MP.js.map} +0 -0
- /package/dist/{matrix.renderers-3PPFSS7Z.js.map → matrix.renderers-IYR3ZY6V.js.map} +0 -0
- /package/dist/{matrix.serieses-S2TJ3E6P.js.map → matrix.serieses-2VMTQXL2.js.map} +0 -0
- /package/dist/{matrix.sort-CFA4UWBJ.js.map → matrix.sort-PWA2RQQR.js.map} +0 -0
- /package/dist/{matrix.sort.unit.spec-562VIWDS.js.map → matrix.sort.unit.spec-3OYIPTFY.js.map} +0 -0
- /package/dist/{matrix.sorterUi-FT7K5664.js.map → matrix.sorterUi-Y5QLO75X.js.map} +0 -0
- /package/dist/{matrix.sorterUi.unit.spec-GAHHUN3K.js.map → matrix.sorterUi.unit.spec-BNEXQHLP.js.map} +0 -0
- /package/dist/{mavb-HPW5X55U.js.map → mavb-IZDDU4KK.js.map} +0 -0
- /package/dist/{mds.fimo-HSBKLIOX.js.map → mds.fimo-FWBL7JE6.js.map} +0 -0
- /package/dist/{mds.samplescatterplot-DE27OMJE.js.map → mds.samplescatterplot-T47C7DJB.js.map} +0 -0
- /package/dist/{mds.survivalplot-IW22UGCE.js.map → mds.survivalplot-MFZJCGS6.js.map} +0 -0
- /package/dist/{numericDictTermCluster-DOD66G3A.js.map → numericDictTermCluster-I2W67RGA.js.map} +0 -0
- /package/dist/{oncomatrix-BZCVCPR4.js.map → oncomatrix-6W7IBAED.js.map} +0 -0
- /package/dist/{oncomatrix.spec-IHYCIAP4.js.map → oncomatrix.spec-CEFH5IGH.js.map} +0 -0
- /package/dist/{plot.2dvaf-QLOZ54VC.js.map → plot.2dvaf-BN6CFLNU.js.map} +0 -0
- /package/dist/{plot.app-XDVDR23J.js.map → plot.app-7EYWUCZV.js.map} +0 -0
- /package/dist/{plot.barplot-XOESF7OQ.js.map → plot.barplot-MDIARSQD.js.map} +0 -0
- /package/dist/{plot.boxplot-VNOC2CHT.js.map → plot.boxplot-RUHGXC54.js.map} +0 -0
- /package/dist/{plot.brainImaging-7ZEOY4UR.js.map → plot.brainImaging-JEE32ZBV.js.map} +0 -0
- /package/dist/{plot.disco-6GVDYK7A.js.map → plot.disco-2RPNPX6E.js.map} +0 -0
- /package/dist/{plot.dzi-TEFPPPL6.js.map → plot.dzi-7VTYYGGW.js.map} +0 -0
- /package/dist/{plot.ssgq-OG4TODLO.js.map → plot.ssgq-FHE5KU5C.js.map} +0 -0
- /package/dist/{plot.vaf2cov-VMZRJULA.js.map → plot.vaf2cov-WDJJM5Q4.js.map} +0 -0
- /package/dist/{plot.wsi-2CHZZ7AC.js.map → plot.wsi-FQZWHNSF.js.map} +0 -0
- /package/dist/{polar-QUYQRQOQ.js.map → polar-M7EGINN4.js.map} +0 -0
- /package/dist/{polar2-OXXLAXJC.js.map → polar2-JFYY43K2.js.map} +0 -0
- /package/dist/{profile.spec-TI6PRHNJ.js.map → profile.spec-SIOHASOX.js.map} +0 -0
- /package/dist/{profileBarchart-GEK77XEB.js.map → profileBarchart-6JLEKVJV.js.map} +0 -0
- /package/dist/{profileForms-NR3VNHKM.js.map → profileForms-G6CH73RV.js.map} +0 -0
- /package/dist/{profilePlot-GGKO3IW5.js.map → profilePlot-NQYJOBVV.js.map} +0 -0
- /package/dist/{profileRadar-MN3LX5ER.js.map → profileRadar-4TNWIXDB.js.map} +0 -0
- /package/dist/{profileRadarFacility-3G2HWB2L.js.map → profileRadarFacility-XPH3LCBQ.js.map} +0 -0
- /package/dist/{proteomeAbundance-O4BB55O3.js.map → proteomeAbundance-NQ4635NL.js.map} +0 -0
- /package/dist/{qualitative-Q3TT73O7.js.map → qualitative-DL4WJG3O.js.map} +0 -0
- /package/dist/{radar2-LSD3VPZT.js.map → radar2-YNOQWHBT.js.map} +0 -0
- /package/dist/{radarFacility2-LZGIXY7A.js.map → radarFacility2-24UPSI7S.js.map} +0 -0
- /package/dist/{regression-J3XDAPAZ.js.map → regression-URAUTLTD.js.map} +0 -0
- /package/dist/{regression.inputs-BBZYI5OI.js.map → regression.inputs-UDVOU7FB.js.map} +0 -0
- /package/dist/{regression.inputs.term-7BW6XGLG.js.map → regression.inputs.term-BWW6W34R.js.map} +0 -0
- /package/dist/{regression.inputs.values.table-DYX2YU4H.js.map → regression.inputs.values.table-UKGIZTXG.js.map} +0 -0
- /package/dist/{regression.integration.spec-WLXZYKWW.js.map → regression.integration.spec-EBHQTNA3.js.map} +0 -0
- /package/dist/{regression.results-K5Q2N2KW.js.map → regression.results-XTOSWIP6.js.map} +0 -0
- /package/dist/{regression.spec-VT7T6KBY.js.map → regression.spec-KG2I53VR.js.map} +0 -0
- /package/dist/{report-3D3L573D.js.map → report-KH7SNPVF.js.map} +0 -0
- /package/dist/{sampleScatter.spec-6IPJQLM2.js.map → sampleScatter.spec-PIXGS3LG.js.map} +0 -0
- /package/dist/{sampleView-5JMFI4HF.js.map → sampleView-TWS6VT55.js.map} +0 -0
- /package/dist/{samplelst-SUCB5WOZ.js.map → samplelst-6AB5Y4WR.js.map} +0 -0
- /package/dist/{samplematrix-A5SZBKO6.js.map → samplematrix-AJAF555E.js.map} +0 -0
- /package/dist/{sc-NAA6ESO6.js.map → sc-PMNYZKXA.js.map} +0 -0
- /package/dist/{scatter-EQCN2HYE.js.map → scatter-Q2GH3ZJD.js.map} +0 -0
- /package/dist/{scatter.integration.spec-7NXIYS67.js.map → scatter.integration.spec-SMMYKWH3.js.map} +0 -0
- /package/dist/{selectGenomeWithTklst-KXODNCY6.js.map → selectGenomeWithTklst-VE4SDYY7.js.map} +0 -0
- /package/dist/{singleCellCellType-HMIW76YB.js.map → singleCellCellType-S324GCKW.js.map} +0 -0
- /package/dist/{singleCellCellType.unit.spec-ZCZET56X.js.map → singleCellCellType.unit.spec-NXC2GELH.js.map} +0 -0
- /package/dist/{singleCellGeneExpression-IUCUHF6R.js.map → singleCellGeneExpression-6H4HRKIA.js.map} +0 -0
- /package/dist/{singleCellGeneExpression.unit.spec-J4D6F2N3.js.map → singleCellGeneExpression.unit.spec-HIJXVUWJ.js.map} +0 -0
- /package/dist/{singleCellPlot-L6W3MDGG.js.map → singleCellPlot-H7PCZ2DP.js.map} +0 -0
- /package/dist/{singlecell-A6ECAAPI.js.map → singlecell-4LH3MQVL.js.map} +0 -0
- /package/dist/{singlecell-KBABNXC5.js.map → singlecell-MOSYT3RI.js.map} +0 -0
- /package/dist/{snp-RO7ATG6E.js.map → snp-IKLGTD4Q.js.map} +0 -0
- /package/dist/{snp.unit.spec-ZJLRGJD4.js.map → snp.unit.spec-GC74MUVM.js.map} +0 -0
- /package/dist/{snplocus-N3CU6NRP.js.map → snplocus-RIABFSBQ.js.map} +0 -0
- /package/dist/{spliceevent.a53ss.diagram-7PHT4COB.js.map → spliceevent.a53ss.diagram-4E2IYYHL.js.map} +0 -0
- /package/dist/{spliceevent.exonskip.diagram-3CZTY6QD.js.map → spliceevent.exonskip.diagram-C56R6XLQ.js.map} +0 -0
- /package/dist/{spliceevent.noeventdiagram-GQE256DT.js.map → spliceevent.noeventdiagram-SIPMAKXI.js.map} +0 -0
- /package/dist/{ssGSEA-4I3L5MX2.js.map → ssGSEA-5QNHLSOI.js.map} +0 -0
- /package/dist/{ssGSEA.unit.spec-PZCC5YU7.js.map → ssGSEA.unit.spec-KVPN553B.js.map} +0 -0
- /package/dist/{summarizeCnvGeneexp-ASXUQW56.js.map → summarizeCnvGeneexp-K4VGJSW6.js.map} +0 -0
- /package/dist/{summarizeGeneexpSurvival-ULGUOW5V.js.map → summarizeGeneexpSurvival-HGHX65FN.js.map} +0 -0
- /package/dist/{summarizeMutationCnv-VDUCIUGM.js.map → summarizeMutationCnv-3K4Z6R2X.js.map} +0 -0
- /package/dist/{summarizeMutationDiagnosis-FMAAMCZC.js.map → summarizeMutationDiagnosis-M2MHUPRT.js.map} +0 -0
- /package/dist/{summarizeMutationSurvival-GZ4NGDJT.js.map → summarizeMutationSurvival-WVBUP3GA.js.map} +0 -0
- /package/dist/{summary-2WNZ6JSB.js.map → summary-RZHZXCU5.js.map} +0 -0
- /package/dist/{summary.integration.spec-XPMYB6GM.js.map → summary.integration.spec-FGZP7DY7.js.map} +0 -0
- /package/dist/{summaryInput-2UGXEA5C.js.map → summaryInput-UGM7MMCR.js.map} +0 -0
- /package/dist/{sunburst-76WCQLTT.js.map → sunburst-L27U7LV7.js.map} +0 -0
- /package/dist/{survival-3EAMPHSX.js.map → survival-5ZMEBV6O.js.map} +0 -0
- /package/dist/{survival-23IZM4ML.js.map → survival-JWRRGTJT.js.map} +0 -0
- /package/dist/{survival.integration.spec-YNVAKBV3.js.map → survival.integration.spec-Z5542I4V.js.map} +0 -0
- /package/dist/{svgraph-G2M5LXEP.js.map → svgraph-O6ZVLNNN.js.map} +0 -0
- /package/dist/{svmr-BUDBVU34.js.map → svmr-ULFV7OSH.js.map} +0 -0
- /package/dist/{table-QJSZ6YFK.js.map → table-CHRQH2GH.js.map} +0 -0
- /package/dist/{termCollection-2YAY3RLZ.js.map → termCollection-FAO6ZA6F.js.map} +0 -0
- /package/dist/{termCollection-MAMDMEDD.js.map → termCollection-GBXS3GOY.js.map} +0 -0
- /package/dist/{termCollection.unit.spec-UY7G2BHG.js.map → termCollection.unit.spec-4WRTOV6E.js.map} +0 -0
- /package/dist/{tk-GFGP3F76.js.map → tk-KNUBWRNK.js.map} +0 -0
- /package/dist/{tp.ui-OQ757UIE.js.map → tp.ui-2PPYOQYL.js.map} +0 -0
- /package/dist/{tvs.density-BJK23JYJ.js.map → tvs.density-BZ5SKDQS.js.map} +0 -0
- /package/dist/{tvs.dt-TOYEFKNT.js.map → tvs.dt-TDNSTGQR.js.map} +0 -0
- /package/dist/{tvs.dtcnv.categorical-EO2VLFL2.js.map → tvs.dtcnv.categorical-P2IGIE4I.js.map} +0 -0
- /package/dist/{tvs.dtcnv.continuous-ZAHTKZ4Y.js.map → tvs.dtcnv.continuous-2XUCRBDR.js.map} +0 -0
- /package/dist/{tvs.dtfusion-BY3AHBL3.js.map → tvs.dtfusion-PRHZVMOG.js.map} +0 -0
- /package/dist/{tvs.dtsnvindel-UM5LQ4FR.js.map → tvs.dtsnvindel-KGKBW5JS.js.map} +0 -0
- /package/dist/{tvs.dtsv-H7ZVHLS5.js.map → tvs.dtsv-M3CY5TZF.js.map} +0 -0
- /package/dist/{tvs.numeric-66FP6RRH.js.map → tvs.numeric-W74JCC5P.js.map} +0 -0
- /package/dist/{tvs.samplelst-Q5ECTZOY.js.map → tvs.samplelst-BTWFBBAN.js.map} +0 -0
- /package/dist/{tvs.termCollection-FYNMKZTR.js.map → tvs.termCollection-Y64QIKOA.js.map} +0 -0
- /package/dist/{violin-EGWLAJVM.js.map → violin-3LLHHV3L.js.map} +0 -0
- /package/dist/{violin.integration.spec-3P4TYHBR.js.map → violin.integration.spec-6NF5FDLQ.js.map} +0 -0
- /package/dist/{violin.interactivity-VWDR4LYB.js.map → violin.interactivity-W2AKZ24D.js.map} +0 -0
- /package/dist/{violin.renderer-WWTU6J7X.js.map → violin.renderer-CRFYYZRI.js.map} +0 -0
- /package/dist/{vocabulary-JG4ZITOH.js.map → vocabulary-AUJOAVYS.js.map} +0 -0
|
@@ -0,0 +1,1849 @@
|
|
|
1
|
+
import {
|
|
2
|
+
deepFreeze,
|
|
3
|
+
sleep
|
|
4
|
+
} from "./chunk-MVTCBVSX.js";
|
|
5
|
+
import {
|
|
6
|
+
ISOFORM_EXPRESSION,
|
|
7
|
+
SINGLECELL_CELLTYPE,
|
|
8
|
+
SINGLECELL_GENE_EXPRESSION,
|
|
9
|
+
TermTypes,
|
|
10
|
+
isNumericTerm
|
|
11
|
+
} from "./chunk-FDK4UJMN.js";
|
|
12
|
+
import {
|
|
13
|
+
dtcnv,
|
|
14
|
+
dtfusionrna,
|
|
15
|
+
dtsnvindel as dtsnvindel2,
|
|
16
|
+
dtsv,
|
|
17
|
+
mclass,
|
|
18
|
+
mclassdeletion,
|
|
19
|
+
mclassinsertion,
|
|
20
|
+
mclassmnv,
|
|
21
|
+
mclassnonstandard as mclassnonstandard2,
|
|
22
|
+
mclasssnv,
|
|
23
|
+
morigingermline,
|
|
24
|
+
morigingermlinenonpathogenic,
|
|
25
|
+
morigingermlinepathogenic,
|
|
26
|
+
moriginrelapse,
|
|
27
|
+
moriginsomatic,
|
|
28
|
+
vepinfo
|
|
29
|
+
} from "./chunk-X7GDCYND.js";
|
|
30
|
+
import {
|
|
31
|
+
isNumeric
|
|
32
|
+
} from "./chunk-C3SYSMNE.js";
|
|
33
|
+
import {
|
|
34
|
+
select_default
|
|
35
|
+
} from "./chunk-I6Y4O3RR.js";
|
|
36
|
+
|
|
37
|
+
// ../shared/utils/dist/constants/AiHisto.js
|
|
38
|
+
var FlagStatus = /* @__PURE__ */ ((FlagStatus2) => {
|
|
39
|
+
FlagStatus2[FlagStatus2["Normal"] = 0] = "Normal";
|
|
40
|
+
FlagStatus2[FlagStatus2["Skipped"] = 1] = "Skipped";
|
|
41
|
+
FlagStatus2[FlagStatus2["Flagged"] = 2] = "Flagged";
|
|
42
|
+
FlagStatus2[FlagStatus2["Deleted"] = 3] = "Deleted";
|
|
43
|
+
return FlagStatus2;
|
|
44
|
+
})(FlagStatus || {});
|
|
45
|
+
var FeaturePrefixes = /* @__PURE__ */ ((FeaturePrefixes2) => {
|
|
46
|
+
FeaturePrefixes2["Star"] = "annotation-star-";
|
|
47
|
+
FeaturePrefixes2["Square"] = "annotation-square-";
|
|
48
|
+
FeaturePrefixes2["Border"] = "annotation-border-";
|
|
49
|
+
FeaturePrefixes2["PredBorder"] = "prediction-border-";
|
|
50
|
+
return FeaturePrefixes2;
|
|
51
|
+
})(FeaturePrefixes || {});
|
|
52
|
+
var SelectionPrefixes = {
|
|
53
|
+
TileSelection: "ts_",
|
|
54
|
+
Prediction: "pred_",
|
|
55
|
+
Annotation: "anno_"
|
|
56
|
+
};
|
|
57
|
+
var FlagStatusMessages = {
|
|
58
|
+
[
|
|
59
|
+
0
|
|
60
|
+
/* Normal */
|
|
61
|
+
]: "",
|
|
62
|
+
[
|
|
63
|
+
1
|
|
64
|
+
/* Skipped */
|
|
65
|
+
]: "(Skipped)",
|
|
66
|
+
[
|
|
67
|
+
2
|
|
68
|
+
/* Flagged */
|
|
69
|
+
]: "(Flagged)"
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
// ../shared/utils/dist/src/aiHisto.js
|
|
73
|
+
function createSelectionID(prefix, coordinates) {
|
|
74
|
+
return prefix + JSON.stringify(coordinates);
|
|
75
|
+
}
|
|
76
|
+
function checkSelectionType(tileSelection, suspectedPrefix) {
|
|
77
|
+
return tileSelection.id.startsWith(suspectedPrefix);
|
|
78
|
+
}
|
|
79
|
+
function createFeatureID(featurePrefix, coords) {
|
|
80
|
+
return featurePrefix + JSON.stringify(coords);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
// ../shared/utils/dist/src/bulk.js
|
|
84
|
+
function init_bulk_flag(genome) {
|
|
85
|
+
if (!genome) {
|
|
86
|
+
return null;
|
|
87
|
+
}
|
|
88
|
+
const mclasslabel2key2 = {};
|
|
89
|
+
for (const n in mclass) {
|
|
90
|
+
mclasslabel2key2[mclass[n].label.toUpperCase()] = n;
|
|
91
|
+
}
|
|
92
|
+
return {
|
|
93
|
+
genome,
|
|
94
|
+
mclasslabel2key: mclasslabel2key2,
|
|
95
|
+
data: {},
|
|
96
|
+
sample2disease: {},
|
|
97
|
+
// (proof) k: sample, v: disease
|
|
98
|
+
// will only record this when origin is used
|
|
99
|
+
patient2st: {},
|
|
100
|
+
// k: patient, v: { k: sampletype, v: sample }
|
|
101
|
+
// new sample names always override old
|
|
102
|
+
good: 0,
|
|
103
|
+
geneToUpper: true,
|
|
104
|
+
// option to not force uppercase on gene names
|
|
105
|
+
snv: {
|
|
106
|
+
loaded: false,
|
|
107
|
+
header: null,
|
|
108
|
+
badlines: [],
|
|
109
|
+
// jinghui: based on missense/silent ratio of entire dataset to decide whether to include silent when importing...
|
|
110
|
+
// hard-coded class codes
|
|
111
|
+
missense: 0,
|
|
112
|
+
silent: 0
|
|
113
|
+
},
|
|
114
|
+
svjson: {
|
|
115
|
+
loaded: false,
|
|
116
|
+
header: null,
|
|
117
|
+
badlines: []
|
|
118
|
+
},
|
|
119
|
+
fusion: {
|
|
120
|
+
loaded: false,
|
|
121
|
+
header: null,
|
|
122
|
+
badlines: [],
|
|
123
|
+
original: []
|
|
124
|
+
},
|
|
125
|
+
sv: {
|
|
126
|
+
loaded: false,
|
|
127
|
+
header: null,
|
|
128
|
+
badlines: [],
|
|
129
|
+
original: []
|
|
130
|
+
},
|
|
131
|
+
cnv: {
|
|
132
|
+
loaded: false,
|
|
133
|
+
header: null,
|
|
134
|
+
badlines: []
|
|
135
|
+
},
|
|
136
|
+
itd: {
|
|
137
|
+
loaded: false,
|
|
138
|
+
header: null,
|
|
139
|
+
badlines: []
|
|
140
|
+
},
|
|
141
|
+
del: {
|
|
142
|
+
loaded: false,
|
|
143
|
+
header: null,
|
|
144
|
+
badlines: []
|
|
145
|
+
},
|
|
146
|
+
truncation: {
|
|
147
|
+
loaded: false,
|
|
148
|
+
header: null,
|
|
149
|
+
badlines: []
|
|
150
|
+
}
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
function parsesample(m, flag, i2, lst, badline) {
|
|
154
|
+
let variantorigin = moriginsomatic;
|
|
155
|
+
if (m.sampletype) {
|
|
156
|
+
const s = m.sampletype.toLowerCase();
|
|
157
|
+
switch (s) {
|
|
158
|
+
case "relapse":
|
|
159
|
+
variantorigin = moriginrelapse;
|
|
160
|
+
break;
|
|
161
|
+
case "germline":
|
|
162
|
+
variantorigin = morigingermline;
|
|
163
|
+
break;
|
|
164
|
+
case "somatic":
|
|
165
|
+
case "diagnosis":
|
|
166
|
+
break;
|
|
167
|
+
}
|
|
168
|
+
if (m.sample) {
|
|
169
|
+
if (m.patient) {
|
|
170
|
+
} else {
|
|
171
|
+
m.patient = m.sample + " " + m.sampletype;
|
|
172
|
+
}
|
|
173
|
+
} else {
|
|
174
|
+
if (m.patient) {
|
|
175
|
+
m.sample = m.patient + " " + m.sampletype;
|
|
176
|
+
} else {
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
} else {
|
|
180
|
+
if (m.patient) {
|
|
181
|
+
if (m.sample) {
|
|
182
|
+
m.sampletype = m.sample;
|
|
183
|
+
} else {
|
|
184
|
+
m.sample = m.sampletype = m.patient;
|
|
185
|
+
}
|
|
186
|
+
} else {
|
|
187
|
+
if (m.sample) {
|
|
188
|
+
m.sampletype = m.sample;
|
|
189
|
+
} else {
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
if (m.origin) {
|
|
194
|
+
const s = m.origin.toLowerCase();
|
|
195
|
+
switch (s) {
|
|
196
|
+
case "r":
|
|
197
|
+
case "relapse":
|
|
198
|
+
variantorigin = moriginrelapse;
|
|
199
|
+
m.isrim2 = true;
|
|
200
|
+
break;
|
|
201
|
+
case "g":
|
|
202
|
+
case "germline":
|
|
203
|
+
variantorigin = morigingermline;
|
|
204
|
+
m.isrim1 = true;
|
|
205
|
+
break;
|
|
206
|
+
case "gp":
|
|
207
|
+
case "germline pathogenic":
|
|
208
|
+
variantorigin = morigingermlinepathogenic;
|
|
209
|
+
m.isrim1 = true;
|
|
210
|
+
break;
|
|
211
|
+
case "gnp":
|
|
212
|
+
case "germline nonpathogenic":
|
|
213
|
+
case "germline non-pathogenic":
|
|
214
|
+
variantorigin = morigingermlinenonpathogenic;
|
|
215
|
+
m.isrim1 = true;
|
|
216
|
+
break;
|
|
217
|
+
case "s":
|
|
218
|
+
case "somatic":
|
|
219
|
+
case "diagnosis":
|
|
220
|
+
variantorigin = moriginsomatic;
|
|
221
|
+
break;
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
m.origin = variantorigin;
|
|
225
|
+
if (!m.sample && !m.patient) {
|
|
226
|
+
return;
|
|
227
|
+
}
|
|
228
|
+
const nopatientname = "no patient/individual name";
|
|
229
|
+
let p;
|
|
230
|
+
if (m.patient) {
|
|
231
|
+
if (!flag.patient2st[m.patient]) {
|
|
232
|
+
flag.patient2st[m.patient] = {};
|
|
233
|
+
}
|
|
234
|
+
flag.patient2st[m.patient][m.sampletype] = m.sample;
|
|
235
|
+
} else {
|
|
236
|
+
if (!flag.patient2st[nopatientname]) {
|
|
237
|
+
flag.patient2st[nopatientname] = {};
|
|
238
|
+
}
|
|
239
|
+
flag.patient2st[nopatientname][m.sampletype] = m.sample;
|
|
240
|
+
}
|
|
241
|
+
if (m.sample) {
|
|
242
|
+
if (m.disease) {
|
|
243
|
+
if (m.sample in flag.sample2disease) {
|
|
244
|
+
if (m.disease != flag.sample2disease[m.sample]) {
|
|
245
|
+
flag.snv.badlines.push([
|
|
246
|
+
i2,
|
|
247
|
+
'conflict of disease types for sample "' + m.sample + '": ' + m.disease + ", " + flag.sample2disease[m.sample],
|
|
248
|
+
lst
|
|
249
|
+
]);
|
|
250
|
+
return true;
|
|
251
|
+
}
|
|
252
|
+
} else {
|
|
253
|
+
flag.sample2disease[m.sample] = m.disease;
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
return false;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
// ../shared/utils/dist/src/clustering.js
|
|
261
|
+
var clusterMethodLst = [
|
|
262
|
+
{
|
|
263
|
+
label: "Average",
|
|
264
|
+
value: "average",
|
|
265
|
+
title: `Cluster by average value`
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
label: `Complete`,
|
|
269
|
+
value: "complete",
|
|
270
|
+
title: `Use the complete clustering method`
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
label: `Single`,
|
|
274
|
+
value: "single",
|
|
275
|
+
title: `Use the single clustering method`
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
label: `Ward.D`,
|
|
279
|
+
value: "ward.D",
|
|
280
|
+
title: `Use the ward.D clustering method`
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
label: `Ward.D2`,
|
|
284
|
+
value: "ward.D2",
|
|
285
|
+
title: `Use the ward.D2 clustering method`
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
label: `Mcquitty`,
|
|
289
|
+
value: "mcquitty",
|
|
290
|
+
title: `Use the Mcquity clustering method`
|
|
291
|
+
}
|
|
292
|
+
/* These methods are currently disabled because the dendrogram lines tend to cross one another.
|
|
293
|
+
{
|
|
294
|
+
label: `Centroid`,
|
|
295
|
+
value: 'centroid',
|
|
296
|
+
title: `Use the centroid clustering method`
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
label: `Median`,
|
|
300
|
+
value: 'median',
|
|
301
|
+
title: `Use the median clustering method`
|
|
302
|
+
}
|
|
303
|
+
*/
|
|
304
|
+
];
|
|
305
|
+
var distanceMethodLst = [
|
|
306
|
+
{
|
|
307
|
+
label: "Euclidean",
|
|
308
|
+
value: "euclidean",
|
|
309
|
+
title: `Calculate distance using euclidean method`
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
label: "Maximum",
|
|
313
|
+
value: "maximum",
|
|
314
|
+
title: `Maximum distance between two components of x and y`
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
label: "Manhattan",
|
|
318
|
+
value: "manhattan",
|
|
319
|
+
title: `Calculate distance using the absolute distance between the two vectors`
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
label: "Canberra",
|
|
323
|
+
value: "canberra",
|
|
324
|
+
title: `Calculate distance using Canberra method`
|
|
325
|
+
}
|
|
326
|
+
];
|
|
327
|
+
|
|
328
|
+
// ../shared/utils/dist/src/compute.percentile.js
|
|
329
|
+
function computePercentile(values, percentile, sorted = false) {
|
|
330
|
+
if (!sorted) values.sort((a, b) => a - b);
|
|
331
|
+
const index = Math.abs(percentile / 100 * values.length - 1);
|
|
332
|
+
const value = Number.isInteger(index) ? (values[index] + values[index + 1]) / 2 : values[Math.ceil(index)];
|
|
333
|
+
return value;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
// ../shared/utils/dist/src/hash.js
|
|
337
|
+
var encoder = new TextEncoder();
|
|
338
|
+
async function hash(message) {
|
|
339
|
+
const msgUint8 = encoder.encode(message);
|
|
340
|
+
const hashBuffer = await crypto.subtle.digest("SHA-1", msgUint8);
|
|
341
|
+
const hashArray = Array.from(new Uint8Array(hashBuffer));
|
|
342
|
+
const hashHex = hashArray.map((b) => b.toString(16).padStart(2, "0")).join("");
|
|
343
|
+
return hexToBase64(hashHex).replace("=", "-");
|
|
344
|
+
}
|
|
345
|
+
function hexToBase64(hexStr) {
|
|
346
|
+
return btoa(
|
|
347
|
+
[...hexStr].reduce(
|
|
348
|
+
(acc, _, i2) => acc += !(i2 - 1 & 1) ? String.fromCharCode(parseInt(hexStr.substring(i2 - 1, i2 + 1), 16)) : "",
|
|
349
|
+
""
|
|
350
|
+
)
|
|
351
|
+
);
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
// ../shared/utils/dist/src/urljson.js
|
|
355
|
+
var reserved = ["false", "true", "null", "undefined"];
|
|
356
|
+
var delimiters = ['"', "{", "["];
|
|
357
|
+
function encode(rawObject) {
|
|
358
|
+
const params = [];
|
|
359
|
+
for (const [key, value] of Object.entries(rawObject)) {
|
|
360
|
+
if (typeof value == "string" && !isNumeric(value) && !reserved.includes(value) && !delimiters.includes(value[0])) {
|
|
361
|
+
params.push(`${key}=${encodeURIComponent(value)}`);
|
|
362
|
+
} else if (value !== void 0) {
|
|
363
|
+
params.push(`${key}=${encodeURIComponent(JSON.stringify(value))}`);
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
return params.join("&");
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
// ../shared/utils/dist/src/fetch-helpers.js
|
|
370
|
+
async function processResponse(r) {
|
|
371
|
+
const ct = r.headers.get("content-type");
|
|
372
|
+
if (!ct) throw `missing response.header['content-type']`;
|
|
373
|
+
if (ct.includes("/json")) {
|
|
374
|
+
const payload = await r.json();
|
|
375
|
+
return payload;
|
|
376
|
+
}
|
|
377
|
+
if (ct.includes("/text") || ct.includes("text/")) {
|
|
378
|
+
return r.text();
|
|
379
|
+
}
|
|
380
|
+
if (ct.includes("multipart")) {
|
|
381
|
+
if (ct.startsWith("multipart/form-data")) return processFormData(r);
|
|
382
|
+
else throw `cannot handle response content-type: '${ct}'`;
|
|
383
|
+
}
|
|
384
|
+
if (ct == "application/x-ndjson-nestedkey") {
|
|
385
|
+
return processNDJSON_nestedKey(r);
|
|
386
|
+
}
|
|
387
|
+
return r.blob();
|
|
388
|
+
}
|
|
389
|
+
async function processFormData(res) {
|
|
390
|
+
const decoder = new TextDecoder();
|
|
391
|
+
const data = {};
|
|
392
|
+
try {
|
|
393
|
+
const form = await res.formData();
|
|
394
|
+
for (const [key, value] of form.entries()) {
|
|
395
|
+
if (value.type) {
|
|
396
|
+
data[key] = { headers: { "content-type": value.type }, body: value };
|
|
397
|
+
} else {
|
|
398
|
+
const body = !value ? [] : value.trim().split("\n").map(JSON.parse);
|
|
399
|
+
data[key] = { headers: { "content-type": "application/json" }, body };
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
return data;
|
|
403
|
+
} catch (e) {
|
|
404
|
+
throw e;
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
async function processNDJSON_nestedKey(r) {
|
|
408
|
+
const stream = r.body.pipeThrough(new TextDecoderStream());
|
|
409
|
+
const reader = stream.getReader();
|
|
410
|
+
let rootObj = {};
|
|
411
|
+
let buffer = "";
|
|
412
|
+
while (true) {
|
|
413
|
+
const { value, done } = await reader.read();
|
|
414
|
+
if (done) break;
|
|
415
|
+
buffer += value;
|
|
416
|
+
let parts = buffer.split("\n");
|
|
417
|
+
buffer = parts.pop();
|
|
418
|
+
for (const line of parts) {
|
|
419
|
+
if (line.trim()) {
|
|
420
|
+
const [keys, data] = JSON.parse(line);
|
|
421
|
+
if (!keys.length) rootObj = data;
|
|
422
|
+
else {
|
|
423
|
+
const lastKey = keys.pop();
|
|
424
|
+
let target = rootObj;
|
|
425
|
+
for (const k of keys) target = target[k];
|
|
426
|
+
target[lastKey] = data;
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
return rootObj;
|
|
432
|
+
}
|
|
433
|
+
var cacheLifetime = 1e3 * 60 * 5;
|
|
434
|
+
async function getDataName(url, init) {
|
|
435
|
+
const dataName = url + " | " + init.method + " | " + init.body + " | " + JSON.stringify(init.headers);
|
|
436
|
+
return await hash(dataName);
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
// ../shared/utils/dist/src/fileSize.js
|
|
440
|
+
function fileSize(v) {
|
|
441
|
+
if (v > 1e9) return (v / 1e9).toFixed(2) + " GB";
|
|
442
|
+
if (v > 1e6) return (v / 1e6).toFixed(2) + " MB";
|
|
443
|
+
if (v > 1e3) return (v / 1e3).toFixed(2) + " KB";
|
|
444
|
+
return v + " Bytes";
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
// ../shared/utils/dist/src/mds3tk.js
|
|
448
|
+
var ssmIdFieldsSeparator = "__";
|
|
449
|
+
function summarize_mclass(mlst) {
|
|
450
|
+
const m2c = /* @__PURE__ */ new Map();
|
|
451
|
+
const cnvs = [];
|
|
452
|
+
for (const m of mlst) {
|
|
453
|
+
if (m.dt == dtcnv) {
|
|
454
|
+
cnvs.push(m);
|
|
455
|
+
continue;
|
|
456
|
+
}
|
|
457
|
+
const key = m.class || m.dt;
|
|
458
|
+
m2c.set(key, 1 + (m2c.get(key) || 0));
|
|
459
|
+
}
|
|
460
|
+
if (cnvs.length) {
|
|
461
|
+
if (Number.isFinite(cnvs[0].value)) {
|
|
462
|
+
m2c.set(dtcnv, cnvs.length);
|
|
463
|
+
} else {
|
|
464
|
+
for (const c of cnvs) {
|
|
465
|
+
if (!c.class) continue;
|
|
466
|
+
m2c.set(c.class, 1 + (m2c.get(c.class) || 0));
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
return [...m2c].sort((i2, j) => j[1] - i2[1]);
|
|
471
|
+
}
|
|
472
|
+
function guessSsmid(ssmid) {
|
|
473
|
+
const l = ssmid.split(ssmIdFieldsSeparator);
|
|
474
|
+
if (l.length == 4) {
|
|
475
|
+
const [chr, tmp, ref, alt] = l;
|
|
476
|
+
const pos = Number(tmp);
|
|
477
|
+
if (Number.isNaN(pos)) throw "ssmid snvindel pos not integer";
|
|
478
|
+
return { dt: dtsnvindel2, l: [chr, pos, ref, alt] };
|
|
479
|
+
}
|
|
480
|
+
if (l.length == 5) {
|
|
481
|
+
const [chr, _start, _stop, _class, _value] = l;
|
|
482
|
+
const start = Number(_start), stop = Number(_stop), value = _value == "" ? null : Number(_value);
|
|
483
|
+
if (Number.isNaN(start) || Number.isNaN(stop)) throw "ssmid cnv start/stop not integer";
|
|
484
|
+
return { dt: dtcnv, l: [chr, start, stop, _class, value] };
|
|
485
|
+
}
|
|
486
|
+
if (l.length == 6) {
|
|
487
|
+
if (l[3] == "+" || l[3] == "-") {
|
|
488
|
+
const [_dt, chr2, _pos, strand, _pi, _mname] = l;
|
|
489
|
+
const mname = decodeURIComponent(_mname);
|
|
490
|
+
const dt = Number(_dt);
|
|
491
|
+
if (dt != dtsv && dt != dtfusionrna) throw "ssmid dt not sv/fusion";
|
|
492
|
+
const pos = Number(_pos);
|
|
493
|
+
if (Number.isNaN(pos)) throw "ssmid svfusion position not integer";
|
|
494
|
+
const pairlstIdx = Number(_pi);
|
|
495
|
+
if (Number.isNaN(pairlstIdx)) throw "ssmid pairlstIdx not integer";
|
|
496
|
+
return { dt, l: [dt, chr2, pos, strand, pairlstIdx, mname] };
|
|
497
|
+
}
|
|
498
|
+
const [chr, _start, _stop, _class, _value, sample] = l;
|
|
499
|
+
const start = Number(_start), stop = Number(_stop), value = _value == "" ? null : Number(_value);
|
|
500
|
+
if (Number.isNaN(start) || Number.isNaN(stop)) throw "ssmid cnv start/stop not integer";
|
|
501
|
+
return { dt: dtcnv, l: [chr, start, stop, _class, value, sample] };
|
|
502
|
+
}
|
|
503
|
+
throw "unknown ssmid";
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
// ../shared/utils/dist/src/termdb.initbinconfig.js
|
|
507
|
+
function initBinConfig(data, opts = {}) {
|
|
508
|
+
if (!data.length)
|
|
509
|
+
return { mode: "discrete", type: "regular-bin", startinclusive: true, bin_size: null, first_bin: { stop: null } };
|
|
510
|
+
if (data.find((d) => !Number.isFinite(d))) throw new Error("non-numeric values found");
|
|
511
|
+
let binConfig;
|
|
512
|
+
const s = new Set(data);
|
|
513
|
+
if (s.size === 1) {
|
|
514
|
+
const value = [...s][0];
|
|
515
|
+
binConfig = {
|
|
516
|
+
type: "custom-bin",
|
|
517
|
+
lst: [
|
|
518
|
+
{ stop: value, stopinclusive: false, startunbounded: true, label: "<" + value },
|
|
519
|
+
{ start: value, stop: value, startinclusive: true, stopinclusive: true, label: "=" + value },
|
|
520
|
+
{ start: value, startinclusive: false, stopunbounded: true, label: ">" + value }
|
|
521
|
+
]
|
|
522
|
+
};
|
|
523
|
+
} else {
|
|
524
|
+
data.sort((a, b) => a - b);
|
|
525
|
+
const l = data.length;
|
|
526
|
+
const min = data[0];
|
|
527
|
+
const max = data[l - 1];
|
|
528
|
+
const p5idx = Math.ceil(l * 0.05) - 1;
|
|
529
|
+
const p98idx = Math.ceil(l * 0.98) - 1;
|
|
530
|
+
const p5 = data[p5idx];
|
|
531
|
+
const p98 = data[p98idx];
|
|
532
|
+
const binSize = p98 != p5 ? (p98 - p5) / 8 : (max - min) / 8;
|
|
533
|
+
const firstBinStop = Math.max(min + binSize, p5);
|
|
534
|
+
let [binSize_rnd, firstBinStop_rnd, lastBinStart_rnd, rounding] = roundBinVals(binSize, firstBinStop, max, min);
|
|
535
|
+
binConfig = {
|
|
536
|
+
type: "regular-bin",
|
|
537
|
+
startinclusive: true,
|
|
538
|
+
bin_size: binSize_rnd,
|
|
539
|
+
first_bin: { stop: firstBinStop_rnd }
|
|
540
|
+
};
|
|
541
|
+
if (lastBinStart_rnd) binConfig.last_bin = { start: lastBinStart_rnd };
|
|
542
|
+
if (rounding) binConfig.rounding = rounding;
|
|
543
|
+
}
|
|
544
|
+
if ("format" in opts) {
|
|
545
|
+
if (opts.format === "string") {
|
|
546
|
+
return JSON.stringify(binConfig);
|
|
547
|
+
} else {
|
|
548
|
+
throw "options are not in the correct format";
|
|
549
|
+
}
|
|
550
|
+
} else {
|
|
551
|
+
return binConfig;
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
function roundBinVals(binSize, firstBinStop, max, min) {
|
|
555
|
+
let binSize_rnd, firstBinStop_rnd, lastBinStart_rnd, rounding;
|
|
556
|
+
const log = Math.floor(Math.log10(binSize));
|
|
557
|
+
if (binSize >= 0.1 && binSize <= 2) {
|
|
558
|
+
binSize_rnd = Math.round(binSize / (1 * 10 ** log)) * (1 * 10 ** log);
|
|
559
|
+
firstBinStop_rnd = Math.round(firstBinStop / (1 * 10 ** log)) * (1 * 10 ** log);
|
|
560
|
+
} else {
|
|
561
|
+
binSize_rnd = Math.round(binSize / (5 * 10 ** log)) * (5 * 10 ** log);
|
|
562
|
+
firstBinStop_rnd = Math.round(firstBinStop / (5 * 10 ** log)) * (5 * 10 ** log);
|
|
563
|
+
if (binSize_rnd === 0) binSize_rnd = 1 * 10 ** log;
|
|
564
|
+
if (firstBinStop_rnd === 0) firstBinStop_rnd = 1 * 10 ** log;
|
|
565
|
+
if (binSize_rnd === 5 * 10 ** log && firstBinStop_rnd === 1 * 10 ** log) firstBinStop_rnd = 5 * 10 ** log;
|
|
566
|
+
}
|
|
567
|
+
if (firstBinStop_rnd < min) firstBinStop_rnd = firstBinStop_rnd * 2;
|
|
568
|
+
const eighthBinStop_rnd = firstBinStop_rnd + binSize_rnd * 7;
|
|
569
|
+
if (max > eighthBinStop_rnd) {
|
|
570
|
+
lastBinStart_rnd = firstBinStop_rnd + binSize_rnd * 6;
|
|
571
|
+
}
|
|
572
|
+
if (binSize < 1) {
|
|
573
|
+
const digits = Math.abs(log);
|
|
574
|
+
binSize_rnd = Number(binSize_rnd.toFixed(digits));
|
|
575
|
+
firstBinStop_rnd = Number(firstBinStop_rnd.toFixed(digits));
|
|
576
|
+
if (lastBinStart_rnd) lastBinStart_rnd = Number(lastBinStart_rnd.toFixed(digits));
|
|
577
|
+
rounding = "." + digits + "f";
|
|
578
|
+
}
|
|
579
|
+
if (Object.is(firstBinStop_rnd, -0)) firstBinStop_rnd = 0;
|
|
580
|
+
return [binSize_rnd, firstBinStop_rnd, lastBinStart_rnd, rounding];
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
// ../shared/utils/dist/src/termdb.usecase.js
|
|
584
|
+
var graphableTypes = /* @__PURE__ */ new Set([
|
|
585
|
+
"categorical",
|
|
586
|
+
"integer",
|
|
587
|
+
"float",
|
|
588
|
+
"condition",
|
|
589
|
+
"survival",
|
|
590
|
+
"snplst",
|
|
591
|
+
"snplocus",
|
|
592
|
+
"geneVariant",
|
|
593
|
+
"samplelst",
|
|
594
|
+
"geneExpression",
|
|
595
|
+
ISOFORM_EXPRESSION,
|
|
596
|
+
"dtcnv",
|
|
597
|
+
"dtsnvindel",
|
|
598
|
+
"dtfusion",
|
|
599
|
+
"dtsv",
|
|
600
|
+
"date",
|
|
601
|
+
TermTypes.SSGSEA,
|
|
602
|
+
TermTypes.DNA_METHYLATION,
|
|
603
|
+
TermTypes.METABOLITE_INTENSITY,
|
|
604
|
+
TermTypes.PROTEOME_ABUNDANCE,
|
|
605
|
+
SINGLECELL_GENE_EXPRESSION,
|
|
606
|
+
SINGLECELL_CELLTYPE,
|
|
607
|
+
TermTypes.SNP,
|
|
608
|
+
TermTypes.TERM_COLLECTION
|
|
609
|
+
]);
|
|
610
|
+
function isUsableTerm(term, _usecase, termdbConfig, ds) {
|
|
611
|
+
const usecase = _usecase || {};
|
|
612
|
+
if (typeof ds?.usecase?.[usecase.target] == "function") {
|
|
613
|
+
return ds.usecase[usecase.target](term, usecase);
|
|
614
|
+
}
|
|
615
|
+
const uses = /* @__PURE__ */ new Set();
|
|
616
|
+
const child_types = term.child_types || [];
|
|
617
|
+
switch (usecase.target) {
|
|
618
|
+
case "barchart":
|
|
619
|
+
case "violin":
|
|
620
|
+
case "boxplot":
|
|
621
|
+
case "summary":
|
|
622
|
+
if (term.type && term.type !== "survival") uses.add("plot");
|
|
623
|
+
if (hasAllowedChildTypes(child_types, ["survival"])) uses.add("branch");
|
|
624
|
+
return uses;
|
|
625
|
+
case "summaryInput":
|
|
626
|
+
if (usecase.detail === "term2" || usecase.detail == "term0") {
|
|
627
|
+
if (term.type && term.type !== "survival") uses.add("plot");
|
|
628
|
+
if (hasAllowedChildTypes(child_types, ["survival"])) uses.add("branch");
|
|
629
|
+
return uses;
|
|
630
|
+
} else {
|
|
631
|
+
if (graphableTypes.has(term.type)) uses.add("plot");
|
|
632
|
+
if (!term.isleaf) uses.add("branch");
|
|
633
|
+
return uses;
|
|
634
|
+
}
|
|
635
|
+
case "matrix":
|
|
636
|
+
if (term.type) uses.add("plot");
|
|
637
|
+
if (!term.isleaf) uses.add("branch");
|
|
638
|
+
return uses;
|
|
639
|
+
case "table":
|
|
640
|
+
if (usecase.detail == "term") uses.add("plot");
|
|
641
|
+
if (child_types.length > 1) uses.add("branch");
|
|
642
|
+
return uses;
|
|
643
|
+
case "sampleScatter":
|
|
644
|
+
if (usecase.detail == "numeric") {
|
|
645
|
+
if (isNumericTerm(term)) {
|
|
646
|
+
uses.add("plot");
|
|
647
|
+
}
|
|
648
|
+
if (hasNumericChild(child_types)) uses.add("branch");
|
|
649
|
+
} else {
|
|
650
|
+
if (graphableTypes.has(term.type)) uses.add("plot");
|
|
651
|
+
if (!term.isleaf) uses.add("branch");
|
|
652
|
+
}
|
|
653
|
+
return uses;
|
|
654
|
+
case "runChart2":
|
|
655
|
+
if (usecase.detail == "date" || usecase.detail == "xtw") {
|
|
656
|
+
if (term.type == "date") {
|
|
657
|
+
uses.add("plot");
|
|
658
|
+
}
|
|
659
|
+
if (child_types.includes("date")) uses.add("branch");
|
|
660
|
+
} else if (usecase.detail == "numeric") {
|
|
661
|
+
if (isNumericTerm(term) && term.type != "date") {
|
|
662
|
+
uses.add("plot");
|
|
663
|
+
}
|
|
664
|
+
if (hasNumericChild(child_types)) uses.add("branch");
|
|
665
|
+
} else {
|
|
666
|
+
if (graphableTypes.has(term.type)) uses.add("plot");
|
|
667
|
+
if (!term.isleaf) uses.add("branch");
|
|
668
|
+
}
|
|
669
|
+
return uses;
|
|
670
|
+
case "numericDictTermCluster":
|
|
671
|
+
if (!usecase.detail?.exclude?.includes(term.id)) {
|
|
672
|
+
if (isNumericTerm(term)) {
|
|
673
|
+
uses.add("plot");
|
|
674
|
+
}
|
|
675
|
+
if (hasNumericChild(child_types)) {
|
|
676
|
+
uses.add("branch");
|
|
677
|
+
}
|
|
678
|
+
}
|
|
679
|
+
return uses;
|
|
680
|
+
case "termCollections":
|
|
681
|
+
if (usecase.detail?.termIds?.includes(term.id)) uses.add("plot");
|
|
682
|
+
if (usecase.detail?.branchIds?.includes(term.id)) uses.add("branch");
|
|
683
|
+
return uses;
|
|
684
|
+
case "profileForms":
|
|
685
|
+
if (!term.isleaf) {
|
|
686
|
+
const ancestors = term.id.split("__").length;
|
|
687
|
+
if (ancestors == 3) {
|
|
688
|
+
uses.add("plot");
|
|
689
|
+
} else if (ancestors < 3) uses.add("branch");
|
|
690
|
+
}
|
|
691
|
+
return uses;
|
|
692
|
+
case "profileForms2": {
|
|
693
|
+
if (term.isleaf) return uses;
|
|
694
|
+
const allowed = termdbConfig?.plotConfigByCohort?.[usecase.cohort]?.profileForms2?.domains;
|
|
695
|
+
if (!allowed) return uses;
|
|
696
|
+
const ancestors = term.id.split("__").length;
|
|
697
|
+
const subtype = usecase.subtype;
|
|
698
|
+
if (ancestors == 3) {
|
|
699
|
+
if (allowed.find((d) => d.id === term.id)?.plotTypes?.includes(subtype)) uses.add("plot");
|
|
700
|
+
} else if (ancestors < 3) {
|
|
701
|
+
const prefix = term.id + "__";
|
|
702
|
+
if (allowed.some((d) => d.id.startsWith(prefix) && d.plotTypes.includes(subtype))) {
|
|
703
|
+
uses.add("branch");
|
|
704
|
+
}
|
|
705
|
+
}
|
|
706
|
+
return uses;
|
|
707
|
+
}
|
|
708
|
+
// case 'boxplot':
|
|
709
|
+
// if (term.type == 'float' || term.type == 'integer') uses.add('plot')
|
|
710
|
+
// if (usecase.detail === 'term2' && hasNumericChild(child_types)) uses.add('branch')
|
|
711
|
+
// return uses
|
|
712
|
+
case "cuminc":
|
|
713
|
+
if (usecase.detail == "term") {
|
|
714
|
+
if (term.type == "condition") uses.add("plot");
|
|
715
|
+
if (child_types.includes("condition")) uses.add("branch");
|
|
716
|
+
return uses;
|
|
717
|
+
}
|
|
718
|
+
if (usecase.detail === "term2" || usecase.detail == "term0") {
|
|
719
|
+
if (term.type && term.type != "condition" && term.type != "survival") uses.add("plot");
|
|
720
|
+
if (hasAllowedChildTypes(child_types, ["condition", "survival"])) uses.add("branch");
|
|
721
|
+
return uses;
|
|
722
|
+
}
|
|
723
|
+
return uses;
|
|
724
|
+
case "survival":
|
|
725
|
+
if (usecase.detail == "term") {
|
|
726
|
+
if (term.type == "survival") uses.add("plot");
|
|
727
|
+
if (child_types.includes("survival")) uses.add("branch");
|
|
728
|
+
return uses;
|
|
729
|
+
}
|
|
730
|
+
if (usecase.detail === "term2" || usecase.detail == "term0") {
|
|
731
|
+
if (term.type && term.type != "survival") uses.add("plot");
|
|
732
|
+
if (hasAllowedChildTypes(child_types, ["survival"])) uses.add("branch");
|
|
733
|
+
return uses;
|
|
734
|
+
}
|
|
735
|
+
return uses;
|
|
736
|
+
case "regression":
|
|
737
|
+
if (usecase.detail == "outcome") {
|
|
738
|
+
if (usecase.regressionType == "linear") {
|
|
739
|
+
if (term.type == "float" || term.type == "integer") uses.add("plot");
|
|
740
|
+
if (hasNumericChild(child_types)) uses.add("branch");
|
|
741
|
+
return uses;
|
|
742
|
+
}
|
|
743
|
+
if (usecase.regressionType == "logistic") {
|
|
744
|
+
if (term.type && term.type != "survival") uses.add("plot");
|
|
745
|
+
if (hasAllowedChildTypes(child_types, ["survival"])) uses.add("branch");
|
|
746
|
+
return uses;
|
|
747
|
+
} else if (usecase.regressionType == "cox") {
|
|
748
|
+
if (term.type == "condition" || term.type == "survival") uses.add("plot");
|
|
749
|
+
if (child_types.includes("condition") || child_types.includes("survival")) uses.add("branch");
|
|
750
|
+
return uses;
|
|
751
|
+
}
|
|
752
|
+
}
|
|
753
|
+
if (usecase.detail == "independent") {
|
|
754
|
+
if (term.type == "float" || term.type == "integer" || term.type == "categorical" || term.type == "samplelst")
|
|
755
|
+
uses.add("plot");
|
|
756
|
+
if (hasChildTypes(child_types, ["categorical", "float", "integer"])) uses.add("branch");
|
|
757
|
+
return uses;
|
|
758
|
+
}
|
|
759
|
+
return uses;
|
|
760
|
+
case "filter": {
|
|
761
|
+
const exlst = termdbConfig?.excludedTermtypeByTarget?.filter;
|
|
762
|
+
if (exlst) {
|
|
763
|
+
if (graphableTypes.has(term.type) && !exlst.includes(term.type)) uses.add("plot");
|
|
764
|
+
if (child_types.find((t) => !exlst.includes(t))) uses.add("branch");
|
|
765
|
+
return uses;
|
|
766
|
+
}
|
|
767
|
+
if (graphableTypes.has(term.type)) uses.add("plot");
|
|
768
|
+
if (!term.isleaf) uses.add("branch");
|
|
769
|
+
return uses;
|
|
770
|
+
}
|
|
771
|
+
case "correlationVolcano":
|
|
772
|
+
if (usecase.detail == "numeric") {
|
|
773
|
+
if (isNumericTerm(term)) {
|
|
774
|
+
uses.add("plot");
|
|
775
|
+
}
|
|
776
|
+
if (hasNumericChild(child_types)) uses.add("branch");
|
|
777
|
+
} else {
|
|
778
|
+
if (graphableTypes.has(term.type)) uses.add("plot");
|
|
779
|
+
if (!term.isleaf) uses.add("branch");
|
|
780
|
+
}
|
|
781
|
+
return uses;
|
|
782
|
+
case "proteinView":
|
|
783
|
+
if (term.type == TermTypes.PROTEOME_ABUNDANCE) uses.add("plot");
|
|
784
|
+
if (child_types.includes(TermTypes.PROTEOME_ABUNDANCE)) uses.add("branch");
|
|
785
|
+
return uses;
|
|
786
|
+
default:
|
|
787
|
+
if (graphableTypes.has(term.type)) uses.add("plot");
|
|
788
|
+
if (!term.isleaf) uses.add("branch");
|
|
789
|
+
return uses;
|
|
790
|
+
}
|
|
791
|
+
}
|
|
792
|
+
function hasAllowedChildTypes(child_types, excluded_types) {
|
|
793
|
+
if (!child_types.length) {
|
|
794
|
+
return false;
|
|
795
|
+
}
|
|
796
|
+
if (!excluded_types?.length) {
|
|
797
|
+
return true;
|
|
798
|
+
}
|
|
799
|
+
if (child_types.some((type) => !excluded_types.includes(type))) {
|
|
800
|
+
return true;
|
|
801
|
+
}
|
|
802
|
+
}
|
|
803
|
+
function hasNumericChild(child_types) {
|
|
804
|
+
return child_types.includes("float") || child_types.includes("integer");
|
|
805
|
+
}
|
|
806
|
+
function hasChildTypes(child_types, expected_types) {
|
|
807
|
+
for (const a of expected_types) {
|
|
808
|
+
if (child_types.includes(a)) return true;
|
|
809
|
+
}
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
// ../shared/utils/dist/src/time.js
|
|
813
|
+
function formatElapsedTime(ms, precision = 2) {
|
|
814
|
+
if (typeof ms !== "number" || isNaN(ms)) {
|
|
815
|
+
return typeof ms !== "number" ? "Invalid time: not a number" : "Invalid time: NaN";
|
|
816
|
+
}
|
|
817
|
+
if (!isFinite(ms)) {
|
|
818
|
+
return ms > 0 ? "Infinite time" : "-Infinite time";
|
|
819
|
+
}
|
|
820
|
+
const absMs = Math.abs(ms);
|
|
821
|
+
const sign = ms < 0 ? "-" : "";
|
|
822
|
+
if (absMs < 1e3) {
|
|
823
|
+
return `${sign}${absMs}ms`;
|
|
824
|
+
}
|
|
825
|
+
if (absMs < 6e4) {
|
|
826
|
+
return `${sign}${(absMs / 1e3).toFixed(precision)}s`;
|
|
827
|
+
}
|
|
828
|
+
const minutes = Math.floor(absMs / 6e4);
|
|
829
|
+
const seconds = (absMs % 6e4 / 1e3).toFixed(precision);
|
|
830
|
+
return `${sign}${minutes}m ${seconds}s`;
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
// ../shared/utils/dist/src/vcf.ann.js
|
|
834
|
+
function parse_ANN(str, header, m) {
|
|
835
|
+
if (!header) {
|
|
836
|
+
return null;
|
|
837
|
+
}
|
|
838
|
+
for (const thisannotation of str.split(",")) {
|
|
839
|
+
const lst = thisannotation.replace(/&/g, ",").split("|");
|
|
840
|
+
const o = {};
|
|
841
|
+
for (let i2 = 0; i2 < header.length; i2++) {
|
|
842
|
+
if (lst[i2]) {
|
|
843
|
+
o[header[i2].name] = lst[i2];
|
|
844
|
+
}
|
|
845
|
+
}
|
|
846
|
+
if (!o.Allele) {
|
|
847
|
+
continue;
|
|
848
|
+
}
|
|
849
|
+
let allele = null;
|
|
850
|
+
for (const a of m.alleles) {
|
|
851
|
+
if (a.allele == o.Allele) {
|
|
852
|
+
allele = a;
|
|
853
|
+
break;
|
|
854
|
+
}
|
|
855
|
+
}
|
|
856
|
+
if (!allele) {
|
|
857
|
+
continue;
|
|
858
|
+
}
|
|
859
|
+
if (!allele.ann) {
|
|
860
|
+
allele.ann = [];
|
|
861
|
+
}
|
|
862
|
+
allele.ann.push(o);
|
|
863
|
+
o._gene = o.Gene_Name;
|
|
864
|
+
if (o.Feature_Type && o.Feature_Type == "transcript" && o.Feature_ID) {
|
|
865
|
+
o._isoform = o.Feature_ID.split(".")[0];
|
|
866
|
+
}
|
|
867
|
+
if (o.Annotation) {
|
|
868
|
+
const [dt, cls, rank] = vepinfo(o.Annotation);
|
|
869
|
+
o._dt = dt;
|
|
870
|
+
o._class = cls;
|
|
871
|
+
o._csqrank = rank;
|
|
872
|
+
} else {
|
|
873
|
+
o._dt = dtsnvindel;
|
|
874
|
+
o._class = mclassnonstandard;
|
|
875
|
+
}
|
|
876
|
+
if (o["HGVS.p"]) {
|
|
877
|
+
o._mname = o["HGVS.p"];
|
|
878
|
+
} else if (o["HGVS.c"]) {
|
|
879
|
+
o._mname = o["HGVS.c"];
|
|
880
|
+
} else {
|
|
881
|
+
}
|
|
882
|
+
}
|
|
883
|
+
return true;
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
// ../shared/utils/dist/src/vcf.csq.js
|
|
887
|
+
function parse_CSQ(str, header, m) {
|
|
888
|
+
if (!header) {
|
|
889
|
+
return null;
|
|
890
|
+
}
|
|
891
|
+
for (const thisannotation of str.split(",")) {
|
|
892
|
+
const lst = thisannotation.replace(/&/g, ",").split("|");
|
|
893
|
+
const o = {};
|
|
894
|
+
for (let i2 = 0; i2 < header.length; i2++) {
|
|
895
|
+
if (lst[i2]) {
|
|
896
|
+
o[header[i2].name] = lst[i2];
|
|
897
|
+
}
|
|
898
|
+
}
|
|
899
|
+
if (!o.Allele) {
|
|
900
|
+
continue;
|
|
901
|
+
}
|
|
902
|
+
let allele = null;
|
|
903
|
+
for (const a of m.mlst || m.alleles) {
|
|
904
|
+
if (a.allele_original == o.Allele) {
|
|
905
|
+
allele = a;
|
|
906
|
+
break;
|
|
907
|
+
}
|
|
908
|
+
}
|
|
909
|
+
if (!allele) {
|
|
910
|
+
if (o.Allele == "-") {
|
|
911
|
+
if (m.mlst) {
|
|
912
|
+
if (m.mlst.length == 1) {
|
|
913
|
+
allele = m.mlst[0];
|
|
914
|
+
}
|
|
915
|
+
} else if (m.alleles) {
|
|
916
|
+
if (m.alleles.length == 1) {
|
|
917
|
+
allele = m.alleles[0];
|
|
918
|
+
}
|
|
919
|
+
}
|
|
920
|
+
} else {
|
|
921
|
+
for (const a of m.mlst || m.alleles) {
|
|
922
|
+
if (a.allele_original.substr(1) == o.Allele) {
|
|
923
|
+
allele = a;
|
|
924
|
+
break;
|
|
925
|
+
}
|
|
926
|
+
}
|
|
927
|
+
}
|
|
928
|
+
if (!allele) {
|
|
929
|
+
continue;
|
|
930
|
+
}
|
|
931
|
+
}
|
|
932
|
+
if (!allele.csq) {
|
|
933
|
+
allele.csq = [];
|
|
934
|
+
}
|
|
935
|
+
allele.csq.push(o);
|
|
936
|
+
o._gene = o.SYMBOL || o.Gene;
|
|
937
|
+
if (o.Feature_type && o.Feature_type == "Transcript") {
|
|
938
|
+
o._isoform = o.Feature.split(".")[0];
|
|
939
|
+
} else {
|
|
940
|
+
o._isoform = o._gene;
|
|
941
|
+
}
|
|
942
|
+
if (o.Consequence) {
|
|
943
|
+
const [dt, cls, rank] = vepinfo(o.Consequence);
|
|
944
|
+
o._dt = dt;
|
|
945
|
+
o._class = cls;
|
|
946
|
+
o._csqrank = rank;
|
|
947
|
+
} else {
|
|
948
|
+
o._dt = dtsnvindel;
|
|
949
|
+
o._class = mclassnonstandard;
|
|
950
|
+
}
|
|
951
|
+
if (o.HGVSp) {
|
|
952
|
+
o._mname = decodeURIComponent(o.HGVSp.substr(o.HGVSp.indexOf(":") + 1));
|
|
953
|
+
} else if (o.Protein_position && o.Amino_acids) {
|
|
954
|
+
o._mname = decodeURIComponent(o.Protein_position + o.Amino_acids);
|
|
955
|
+
} else if (o.HGVSc) {
|
|
956
|
+
o._mname = o.HGVSc.substr(o.HGVSc.indexOf(":") + 1);
|
|
957
|
+
} else if (o.Existing_variation) {
|
|
958
|
+
o._name = o.Existing_variation;
|
|
959
|
+
} else {
|
|
960
|
+
}
|
|
961
|
+
}
|
|
962
|
+
return true;
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
// ../shared/utils/dist/src/vcf.info.js
|
|
966
|
+
function dissect_INFO(str) {
|
|
967
|
+
let findsemicolon = false;
|
|
968
|
+
let findequalorsemicolon = true;
|
|
969
|
+
let i2 = 0;
|
|
970
|
+
let idx = 0;
|
|
971
|
+
const k2v = {};
|
|
972
|
+
let lastkey;
|
|
973
|
+
while (i2 < str.length) {
|
|
974
|
+
const c = str[i2];
|
|
975
|
+
if (findequalorsemicolon) {
|
|
976
|
+
if (c == "=") {
|
|
977
|
+
findsemicolon = true;
|
|
978
|
+
findequalorsemicolon = false;
|
|
979
|
+
lastkey = str.substring(idx, i2);
|
|
980
|
+
idx = i2 + 1;
|
|
981
|
+
} else if (c == ";") {
|
|
982
|
+
k2v[str.substring(idx, i2)] = 1;
|
|
983
|
+
idx = i2 + 1;
|
|
984
|
+
}
|
|
985
|
+
} else if (findsemicolon && c == ";") {
|
|
986
|
+
findequalorsemicolon = true;
|
|
987
|
+
findsemicolon = false;
|
|
988
|
+
k2v[lastkey] = str.substring(idx, i2);
|
|
989
|
+
lastkey = null;
|
|
990
|
+
idx = i2 + 1;
|
|
991
|
+
}
|
|
992
|
+
i2++;
|
|
993
|
+
}
|
|
994
|
+
const remainstr = str.substr(idx, i2);
|
|
995
|
+
if (lastkey) {
|
|
996
|
+
k2v[lastkey] = remainstr;
|
|
997
|
+
} else {
|
|
998
|
+
k2v[remainstr] = 1;
|
|
999
|
+
}
|
|
1000
|
+
return k2v;
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
// ../shared/utils/dist/src/vcf.type.js
|
|
1004
|
+
function getVariantType(ref, alt) {
|
|
1005
|
+
if (ref.length == 1 && alt.length == 1) {
|
|
1006
|
+
if (alt == ".") {
|
|
1007
|
+
return mclassdeletion;
|
|
1008
|
+
}
|
|
1009
|
+
return mclasssnv;
|
|
1010
|
+
}
|
|
1011
|
+
if (ref.length == alt.length) return mclassmnv;
|
|
1012
|
+
if (ref.length < alt.length) return mclassinsertion;
|
|
1013
|
+
if (ref.length > alt.length) return mclassdeletion;
|
|
1014
|
+
return mclassnonstandard2;
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
// ../shared/utils/dist/src/vcf.js
|
|
1018
|
+
var getallelename = new RegExp(/<(.+)>/);
|
|
1019
|
+
var mclasslabel2key = {};
|
|
1020
|
+
for (const k in mclass) {
|
|
1021
|
+
mclasslabel2key[mclass[k].label.toUpperCase()] = k;
|
|
1022
|
+
}
|
|
1023
|
+
function vcfparsemeta(lines) {
|
|
1024
|
+
let sample = [], errlst = [], info = {}, hasinfo = false, format = {}, hasformat = false;
|
|
1025
|
+
for (const line of lines) {
|
|
1026
|
+
if (!line.startsWith("#")) {
|
|
1027
|
+
continue;
|
|
1028
|
+
}
|
|
1029
|
+
if (line.startsWith("#C")) {
|
|
1030
|
+
sample = line.split(" ").slice(9);
|
|
1031
|
+
continue;
|
|
1032
|
+
}
|
|
1033
|
+
if (line.startsWith("##INFO")) {
|
|
1034
|
+
const e = tohash(line.substring(8, line.length - 1), info);
|
|
1035
|
+
if (e) {
|
|
1036
|
+
errlst.push("INFO error: " + e);
|
|
1037
|
+
} else {
|
|
1038
|
+
hasinfo = true;
|
|
1039
|
+
}
|
|
1040
|
+
continue;
|
|
1041
|
+
}
|
|
1042
|
+
if (line.startsWith("##FORMAT")) {
|
|
1043
|
+
const e = tohash(line.substring(10, line.length - 1), format);
|
|
1044
|
+
if (e) {
|
|
1045
|
+
errlst.push("FORMAT error: " + e);
|
|
1046
|
+
} else {
|
|
1047
|
+
hasformat = true;
|
|
1048
|
+
}
|
|
1049
|
+
}
|
|
1050
|
+
}
|
|
1051
|
+
const sampleobjlst = [];
|
|
1052
|
+
for (const samplename of sample) {
|
|
1053
|
+
const a = { name: samplename };
|
|
1054
|
+
sampleobjlst.push(a);
|
|
1055
|
+
}
|
|
1056
|
+
if (info.CSQ) {
|
|
1057
|
+
const lst = info.CSQ.Description.split(" Format: ");
|
|
1058
|
+
if (lst[1]) {
|
|
1059
|
+
const lst2 = lst[1].split("|");
|
|
1060
|
+
if (lst2.length > 1) {
|
|
1061
|
+
info.CSQ.csqheader = [];
|
|
1062
|
+
for (const str of lst2) {
|
|
1063
|
+
const attr = { name: str };
|
|
1064
|
+
info.CSQ.csqheader.push(attr);
|
|
1065
|
+
}
|
|
1066
|
+
} else {
|
|
1067
|
+
errlst.push("unknown format for CSQ header: " + info.CSQ.Description);
|
|
1068
|
+
}
|
|
1069
|
+
} else {
|
|
1070
|
+
errlst.push("unknown format for CSQ header: " + info.CSQ.Description);
|
|
1071
|
+
}
|
|
1072
|
+
}
|
|
1073
|
+
if (info.ANN) {
|
|
1074
|
+
const lst = info.ANN.Description.split("'");
|
|
1075
|
+
if (lst[1]) {
|
|
1076
|
+
const lst2 = lst[1].split(" | ");
|
|
1077
|
+
if (lst2.length) {
|
|
1078
|
+
info.ANN.annheader = [];
|
|
1079
|
+
for (const s of lst2) {
|
|
1080
|
+
const attr = { name: s };
|
|
1081
|
+
info.ANN.annheader.push(attr);
|
|
1082
|
+
}
|
|
1083
|
+
} else {
|
|
1084
|
+
errlst.push('no " | " joined annotation fields for ANN (snpEff annotation): ' + info.ANN.Description);
|
|
1085
|
+
}
|
|
1086
|
+
} else {
|
|
1087
|
+
errlst.push("no single-quote enclosed annotation fields for ANN (snpEff annotation): " + info.ANN.Description);
|
|
1088
|
+
}
|
|
1089
|
+
}
|
|
1090
|
+
return [hasinfo ? info : null, hasformat ? format : null, sampleobjlst, errlst.length ? errlst : null];
|
|
1091
|
+
}
|
|
1092
|
+
function vcfparseline(line, vcf) {
|
|
1093
|
+
const lst = line.split(" ");
|
|
1094
|
+
if (lst.length < 8) {
|
|
1095
|
+
return ["line has less than 8 fields", null, null];
|
|
1096
|
+
}
|
|
1097
|
+
const rawpos = Number.parseInt(lst[2 - 1]);
|
|
1098
|
+
if (!Number.isInteger(rawpos)) {
|
|
1099
|
+
return ["invalid value for genomic position", null, null];
|
|
1100
|
+
}
|
|
1101
|
+
const refallele = lst[4 - 1];
|
|
1102
|
+
const m = {
|
|
1103
|
+
vcf_ID: lst[3 - 1],
|
|
1104
|
+
chr: (vcf.nochr ? "chr" : "") + lst[1 - 1],
|
|
1105
|
+
pos: rawpos - 1,
|
|
1106
|
+
ref: refallele,
|
|
1107
|
+
//refstr:refallele, // e.g. GA>GCC, ref:A, refstr:GA, "refstr" is required for matching in FORMAT
|
|
1108
|
+
altstr: lst[5 - 1],
|
|
1109
|
+
alleles: [
|
|
1110
|
+
{
|
|
1111
|
+
/*
|
|
1112
|
+
ref allele only a placeholder, to be removed, this array only contains alt alleles
|
|
1113
|
+
this is a must
|
|
1114
|
+
also allows GT allele index to work
|
|
1115
|
+
*/
|
|
1116
|
+
allele: refallele,
|
|
1117
|
+
sampledata: []
|
|
1118
|
+
}
|
|
1119
|
+
],
|
|
1120
|
+
info: {},
|
|
1121
|
+
// locus info, do not contain allele info
|
|
1122
|
+
name: lst[3 - 1] == "." ? null : lst[3 - 1]
|
|
1123
|
+
};
|
|
1124
|
+
const altinvalid = [];
|
|
1125
|
+
for (const alt of lst[5 - 1].split(",")) {
|
|
1126
|
+
const a = {
|
|
1127
|
+
ref: m.ref,
|
|
1128
|
+
// may be corrected just below!
|
|
1129
|
+
allele: alt,
|
|
1130
|
+
// 5078356.TATCAGAGAA.GGGAGGA keep original allele for matching with csq which hardcodes original allele
|
|
1131
|
+
allele_original: alt,
|
|
1132
|
+
sampledata: [],
|
|
1133
|
+
_m: m,
|
|
1134
|
+
info: {}
|
|
1135
|
+
// allele info, do not contain locus info
|
|
1136
|
+
};
|
|
1137
|
+
m.alleles.push(a);
|
|
1138
|
+
if (alt[0] == "<") {
|
|
1139
|
+
const tmp2 = alt.match(getallelename);
|
|
1140
|
+
if (!tmp2) {
|
|
1141
|
+
altinvalid.push(alt);
|
|
1142
|
+
continue;
|
|
1143
|
+
}
|
|
1144
|
+
a.type = tmp2[1];
|
|
1145
|
+
a.allele = tmp2[1];
|
|
1146
|
+
a.issymbolicallele = true;
|
|
1147
|
+
} else {
|
|
1148
|
+
const [p, ref, alt2] = correctRefAlt(m.pos, m.ref, a.allele);
|
|
1149
|
+
a.pos = p;
|
|
1150
|
+
a.ref = ref;
|
|
1151
|
+
a.allele = alt2;
|
|
1152
|
+
}
|
|
1153
|
+
}
|
|
1154
|
+
if (lst[9 - 1] && lst[10 - 1]) {
|
|
1155
|
+
parse_FORMAT2(lst, m, vcf);
|
|
1156
|
+
}
|
|
1157
|
+
m.alleles.shift();
|
|
1158
|
+
const tmp = lst[8 - 1] == "." ? [] : dissect_INFO(lst[8 - 1]);
|
|
1159
|
+
let badinfokeys = [];
|
|
1160
|
+
if (vcf.info) {
|
|
1161
|
+
badinfokeys = parse_INFO(tmp, m, vcf);
|
|
1162
|
+
} else {
|
|
1163
|
+
m.info = tmp;
|
|
1164
|
+
}
|
|
1165
|
+
const mlst = [];
|
|
1166
|
+
for (const a of m.alleles) {
|
|
1167
|
+
const m2 = {};
|
|
1168
|
+
for (const k in m) {
|
|
1169
|
+
if (k != "alleles") {
|
|
1170
|
+
m2[k] = m[k];
|
|
1171
|
+
}
|
|
1172
|
+
}
|
|
1173
|
+
for (const k in a) {
|
|
1174
|
+
if (k == "allele") {
|
|
1175
|
+
m2.alt = a[k];
|
|
1176
|
+
} else if (k == "info") {
|
|
1177
|
+
m2.altinfo = a[k];
|
|
1178
|
+
} else {
|
|
1179
|
+
m2[k] = a[k];
|
|
1180
|
+
}
|
|
1181
|
+
}
|
|
1182
|
+
if (!m2.issymbolicallele && m2.alt != "NON_REF") {
|
|
1183
|
+
m2.type = getVariantType(m2.ref, m2.alt);
|
|
1184
|
+
}
|
|
1185
|
+
mlst.push(m2);
|
|
1186
|
+
}
|
|
1187
|
+
return [
|
|
1188
|
+
badinfokeys.length ? "unknown info keys: " + badinfokeys.join(",") : null,
|
|
1189
|
+
mlst,
|
|
1190
|
+
altinvalid.length > 0 ? altinvalid : null
|
|
1191
|
+
];
|
|
1192
|
+
}
|
|
1193
|
+
function correctRefAlt(p, ref, alt) {
|
|
1194
|
+
while (ref.length > 1 && alt.length > 1 && ref[ref.length - 1] == alt[alt.length - 1]) {
|
|
1195
|
+
ref = ref.substr(0, ref.length - 1);
|
|
1196
|
+
alt = alt.substr(0, alt.length - 1);
|
|
1197
|
+
}
|
|
1198
|
+
while (ref.length > 1 && alt.length > 1 && ref[0] == alt[0]) {
|
|
1199
|
+
ref = ref.substr(1);
|
|
1200
|
+
alt = alt.substr(1);
|
|
1201
|
+
p++;
|
|
1202
|
+
}
|
|
1203
|
+
return [p, ref, alt];
|
|
1204
|
+
}
|
|
1205
|
+
function parse_FORMAT2(lst, m, vcf) {
|
|
1206
|
+
const formatfields = lst[9 - 1].split(":");
|
|
1207
|
+
for (let _sampleidx = 9; _sampleidx < lst.length; _sampleidx++) {
|
|
1208
|
+
const valuelst = lst[_sampleidx].split(":");
|
|
1209
|
+
{
|
|
1210
|
+
let none = true;
|
|
1211
|
+
for (const v of valuelst) {
|
|
1212
|
+
if (v != ".") {
|
|
1213
|
+
none = false;
|
|
1214
|
+
break;
|
|
1215
|
+
}
|
|
1216
|
+
}
|
|
1217
|
+
if (none) {
|
|
1218
|
+
continue;
|
|
1219
|
+
}
|
|
1220
|
+
}
|
|
1221
|
+
const sampleidx = _sampleidx - 9;
|
|
1222
|
+
for (let i2 = 1; i2 < m.alleles.length; i2++) {
|
|
1223
|
+
const sobj = {};
|
|
1224
|
+
if (vcf.samples && vcf.samples[sampleidx]) {
|
|
1225
|
+
for (const k in vcf.samples[sampleidx]) {
|
|
1226
|
+
sobj[k] = vcf.samples[sampleidx][k];
|
|
1227
|
+
}
|
|
1228
|
+
} else {
|
|
1229
|
+
sobj.name = "missing_samplename_from_vcf_header";
|
|
1230
|
+
}
|
|
1231
|
+
m.alleles[i2].sampledata.push({
|
|
1232
|
+
sampleobj: sobj
|
|
1233
|
+
});
|
|
1234
|
+
}
|
|
1235
|
+
for (let fi = 0; fi < formatfields.length; fi++) {
|
|
1236
|
+
const field = formatfields[fi];
|
|
1237
|
+
const value = valuelst[fi];
|
|
1238
|
+
if (value == ".") {
|
|
1239
|
+
continue;
|
|
1240
|
+
}
|
|
1241
|
+
if (field == "GT") {
|
|
1242
|
+
const splitter = value.indexOf("/") != -1 ? "/" : "|";
|
|
1243
|
+
let gtsum = 0;
|
|
1244
|
+
let unknowngt = false;
|
|
1245
|
+
const gtalleles = [];
|
|
1246
|
+
for (const i2 of value.split(splitter)) {
|
|
1247
|
+
if (i2 == ".") {
|
|
1248
|
+
unknowngt = true;
|
|
1249
|
+
continue;
|
|
1250
|
+
}
|
|
1251
|
+
const j = Number.parseInt(i2);
|
|
1252
|
+
if (Number.isNaN(j)) {
|
|
1253
|
+
unknowngt = true;
|
|
1254
|
+
continue;
|
|
1255
|
+
}
|
|
1256
|
+
gtsum += j;
|
|
1257
|
+
const ale = m.alleles[j];
|
|
1258
|
+
if (ale) {
|
|
1259
|
+
gtalleles.push(ale.allele);
|
|
1260
|
+
}
|
|
1261
|
+
}
|
|
1262
|
+
let gtallref = false;
|
|
1263
|
+
if (!unknowngt) {
|
|
1264
|
+
gtallref = gtsum == 0;
|
|
1265
|
+
}
|
|
1266
|
+
const genotype = gtalleles.join(splitter);
|
|
1267
|
+
for (let i2 = 1; i2 < m.alleles.length; i2++) {
|
|
1268
|
+
const ms = m.alleles[i2].sampledata[m.alleles[i2].sampledata.length - 1];
|
|
1269
|
+
ms.GT = value;
|
|
1270
|
+
ms.genotype = genotype;
|
|
1271
|
+
if (gtallref) {
|
|
1272
|
+
ms.gtallref = true;
|
|
1273
|
+
}
|
|
1274
|
+
ms.__gtalleles = gtalleles;
|
|
1275
|
+
}
|
|
1276
|
+
continue;
|
|
1277
|
+
}
|
|
1278
|
+
const formatdesc = vcf.format ? vcf.format[field] : null;
|
|
1279
|
+
if (!formatdesc) {
|
|
1280
|
+
for (let i2 = 1; i2 < m.alleles.length; i2++) {
|
|
1281
|
+
m.alleles[i2].sampledata[m.alleles[i2].sampledata.length - 1][field] = value;
|
|
1282
|
+
}
|
|
1283
|
+
continue;
|
|
1284
|
+
}
|
|
1285
|
+
const isinteger = formatdesc.Type == "Integer";
|
|
1286
|
+
const isfloat = formatdesc.Type == "Float";
|
|
1287
|
+
if (formatdesc.Number && formatdesc.Number == "R" || field == "AD") {
|
|
1288
|
+
const fvlst = value.split(",").map((i2) => {
|
|
1289
|
+
if (isinteger) return Number.parseInt(i2);
|
|
1290
|
+
if (isfloat) return Number.parseFloat(i2);
|
|
1291
|
+
return i2;
|
|
1292
|
+
});
|
|
1293
|
+
for (let i2 = 1; i2 < m.alleles.length; i2++) {
|
|
1294
|
+
if (fvlst[i2] != void 0) {
|
|
1295
|
+
const m2 = m.alleles[i2];
|
|
1296
|
+
const m2s = m2.sampledata[m2.sampledata.length - 1];
|
|
1297
|
+
m2s[field] = {};
|
|
1298
|
+
m2s[field][m2.ref] = fvlst[0];
|
|
1299
|
+
m2s[field][m2.allele] = fvlst[i2];
|
|
1300
|
+
}
|
|
1301
|
+
}
|
|
1302
|
+
continue;
|
|
1303
|
+
}
|
|
1304
|
+
if (formatdesc.Number && formatdesc.Number == "A") {
|
|
1305
|
+
const fvlst = value.split(",").map((i2) => {
|
|
1306
|
+
if (isinteger) return Number.parseInt(i2);
|
|
1307
|
+
if (isfloat) return Number.parseFloat(i2);
|
|
1308
|
+
return i2;
|
|
1309
|
+
});
|
|
1310
|
+
for (let i2 = 1; i2 < m.alleles.length; i2++) {
|
|
1311
|
+
if (fvlst[i2 - 1] != void 0) {
|
|
1312
|
+
const m2 = m.alleles[i2];
|
|
1313
|
+
const m2s = m2.sampledata[m2.sampledata.length - 1];
|
|
1314
|
+
m2s[field] = {};
|
|
1315
|
+
m2s[field][m2.allele] = fvlst[i2 - 1];
|
|
1316
|
+
}
|
|
1317
|
+
}
|
|
1318
|
+
continue;
|
|
1319
|
+
}
|
|
1320
|
+
for (let i2 = 1; i2 < m.alleles.length; i2++) {
|
|
1321
|
+
m.alleles[i2].sampledata[m.alleles[i2].sampledata.length - 1][field] = value;
|
|
1322
|
+
}
|
|
1323
|
+
}
|
|
1324
|
+
}
|
|
1325
|
+
for (const a of m.alleles) {
|
|
1326
|
+
for (const s of a.sampledata) {
|
|
1327
|
+
if (s.AD) {
|
|
1328
|
+
s.allele2readcount = {};
|
|
1329
|
+
for (const k in s.AD) {
|
|
1330
|
+
s.allele2readcount[k] = s.AD[k];
|
|
1331
|
+
}
|
|
1332
|
+
}
|
|
1333
|
+
}
|
|
1334
|
+
}
|
|
1335
|
+
}
|
|
1336
|
+
function tohash(s, hash2) {
|
|
1337
|
+
const h = {}, err = [];
|
|
1338
|
+
let prev = 0, prevdoublequote = false, k = null;
|
|
1339
|
+
for (let i2 = 0; i2 < s.length; i2++) {
|
|
1340
|
+
if (s[i2] == '"') {
|
|
1341
|
+
i2++;
|
|
1342
|
+
const thisstart = i2;
|
|
1343
|
+
while (s[i2] != '"') {
|
|
1344
|
+
i2++;
|
|
1345
|
+
}
|
|
1346
|
+
if (k) {
|
|
1347
|
+
h[k] = s.substring(thisstart, i2);
|
|
1348
|
+
k = null;
|
|
1349
|
+
} else {
|
|
1350
|
+
err.push("k undefined before double quotes");
|
|
1351
|
+
}
|
|
1352
|
+
prevdoublequote = true;
|
|
1353
|
+
continue;
|
|
1354
|
+
}
|
|
1355
|
+
if (s[i2] == "=") {
|
|
1356
|
+
k = s.substring(prev, i2);
|
|
1357
|
+
prev = i2 + 1;
|
|
1358
|
+
continue;
|
|
1359
|
+
}
|
|
1360
|
+
if (s[i2] == ",") {
|
|
1361
|
+
if (prevdoublequote) {
|
|
1362
|
+
prevdoublequote = false;
|
|
1363
|
+
} else {
|
|
1364
|
+
if (k) {
|
|
1365
|
+
h[k] = s.substring(prev, i2);
|
|
1366
|
+
k = null;
|
|
1367
|
+
} else {
|
|
1368
|
+
err.push("k undefined");
|
|
1369
|
+
}
|
|
1370
|
+
}
|
|
1371
|
+
prev = i2 + 1;
|
|
1372
|
+
continue;
|
|
1373
|
+
}
|
|
1374
|
+
}
|
|
1375
|
+
if (k) {
|
|
1376
|
+
h[k] = s.substring(prev, i);
|
|
1377
|
+
}
|
|
1378
|
+
if (h.ID) {
|
|
1379
|
+
hash2[h.ID] = h;
|
|
1380
|
+
} else {
|
|
1381
|
+
return "no ID";
|
|
1382
|
+
}
|
|
1383
|
+
if (err.length) return err.join("\n");
|
|
1384
|
+
}
|
|
1385
|
+
function parse_INFO(tmp, m, vcf) {
|
|
1386
|
+
const badinfokeys = [];
|
|
1387
|
+
for (const key in tmp) {
|
|
1388
|
+
if (vcf.info[key] == void 0) {
|
|
1389
|
+
badinfokeys.push(key);
|
|
1390
|
+
continue;
|
|
1391
|
+
}
|
|
1392
|
+
const value = tmp[key];
|
|
1393
|
+
if (key == "CSQ") {
|
|
1394
|
+
const okay = parse_CSQ(value, vcf.info.CSQ.csqheader, m);
|
|
1395
|
+
if (!okay) {
|
|
1396
|
+
m.info[key] = value;
|
|
1397
|
+
}
|
|
1398
|
+
continue;
|
|
1399
|
+
}
|
|
1400
|
+
if (key == "ANN") {
|
|
1401
|
+
const okay = parse_ANN(value, vcf.info.ANN.annheader, m);
|
|
1402
|
+
if (!okay) {
|
|
1403
|
+
m.info[key] = value;
|
|
1404
|
+
}
|
|
1405
|
+
continue;
|
|
1406
|
+
}
|
|
1407
|
+
if (vcf.info[key].Type == "Flag") {
|
|
1408
|
+
m.info[key] = key;
|
|
1409
|
+
continue;
|
|
1410
|
+
}
|
|
1411
|
+
const __number = vcf.info[key].Number;
|
|
1412
|
+
const isinteger = vcf.info[key].Type == "Integer";
|
|
1413
|
+
const isfloat = vcf.info[key].Type == "Float";
|
|
1414
|
+
if (__number == "0") {
|
|
1415
|
+
m.info[key] = key;
|
|
1416
|
+
continue;
|
|
1417
|
+
}
|
|
1418
|
+
if (__number == "A") {
|
|
1419
|
+
const tt = value.split(",");
|
|
1420
|
+
for (let j = 0; j < tt.length; j++) {
|
|
1421
|
+
if (m.alleles[j]) {
|
|
1422
|
+
m.alleles[j].info[key] = isinteger ? Number.parseInt(tt[j]) : isfloat ? Number.parseFloat(tt[j]) : tt[j];
|
|
1423
|
+
}
|
|
1424
|
+
}
|
|
1425
|
+
continue;
|
|
1426
|
+
}
|
|
1427
|
+
if (__number == "R") {
|
|
1428
|
+
}
|
|
1429
|
+
if (__number == "1") {
|
|
1430
|
+
m.info[key] = isinteger ? Number.parseInt(value) : isfloat ? Number.parseFloat(value) : value;
|
|
1431
|
+
continue;
|
|
1432
|
+
}
|
|
1433
|
+
if (!value.split) {
|
|
1434
|
+
continue;
|
|
1435
|
+
}
|
|
1436
|
+
const lst = value.split(",");
|
|
1437
|
+
if (isinteger) {
|
|
1438
|
+
m.info[key] = lst.map(Number.parseInt);
|
|
1439
|
+
} else if (isfloat) {
|
|
1440
|
+
m.info[key] = lst.map(Number.parseFloat);
|
|
1441
|
+
} else {
|
|
1442
|
+
m.info[key] = lst;
|
|
1443
|
+
}
|
|
1444
|
+
}
|
|
1445
|
+
return badinfokeys;
|
|
1446
|
+
}
|
|
1447
|
+
|
|
1448
|
+
// common/auth.js
|
|
1449
|
+
var jwtByDsRoute;
|
|
1450
|
+
function setJwtByDsRoute() {
|
|
1451
|
+
if (jwtByDsRoute) return;
|
|
1452
|
+
const jwtByDsRouteStr = localStorage.getItem("jwtByDsRoute") || `{}`;
|
|
1453
|
+
jwtByDsRoute = JSON.parse(jwtByDsRouteStr);
|
|
1454
|
+
}
|
|
1455
|
+
function setTokenByDsRoute(dslabel, route, jwt) {
|
|
1456
|
+
setJwtByDsRoute();
|
|
1457
|
+
if (!jwtByDsRoute[dslabel]) jwtByDsRoute[dslabel] = {};
|
|
1458
|
+
if (jwt) jwtByDsRoute[dslabel][route] = jwt;
|
|
1459
|
+
else delete jwtByDsRoute[dslabel][route];
|
|
1460
|
+
localStorage.setItem("jwtByDsRoute", JSON.stringify(jwtByDsRoute));
|
|
1461
|
+
}
|
|
1462
|
+
function getSavedToken(dslabel, route) {
|
|
1463
|
+
setJwtByDsRoute();
|
|
1464
|
+
return jwtByDsRoute[dslabel]?.[route] || jwtByDsRoute[dslabel]?.["/**"];
|
|
1465
|
+
}
|
|
1466
|
+
function mayAddJwtToRequest(init, body, url) {
|
|
1467
|
+
if (init.headers.authorization) return;
|
|
1468
|
+
let dslabel = body?.dslabel;
|
|
1469
|
+
if (!dslabel) {
|
|
1470
|
+
const param = url.split("?")[1]?.split("&").find((kv) => kv.includes("dslabel"));
|
|
1471
|
+
if (!param) return;
|
|
1472
|
+
let value = decodeURIComponent(param.split("=")[1]);
|
|
1473
|
+
if (value.startsWith("{") && value.endsWith("}")) {
|
|
1474
|
+
value = JSON.parse(value);
|
|
1475
|
+
dslabel = value.dslabel || value.mass?.vocab.dslabel || value.tracks?.find((t) => t.dslabel)?.dslabel;
|
|
1476
|
+
} else {
|
|
1477
|
+
dslabel = value;
|
|
1478
|
+
}
|
|
1479
|
+
}
|
|
1480
|
+
setJwtByDsRoute();
|
|
1481
|
+
if (!dslabel || !jwtByDsRoute[dslabel]) return;
|
|
1482
|
+
const h = url.split("//");
|
|
1483
|
+
const postProtocolStr = h[1] || h[0];
|
|
1484
|
+
const preQuestionMarkStr = postProtocolStr.split("?")[0];
|
|
1485
|
+
const pathSegments = preQuestionMarkStr.split("/");
|
|
1486
|
+
let route = pathSegments.find((p) => p != "" && !p.includes(":") && !p.includes("."));
|
|
1487
|
+
const jwt = jwtByDsRoute[dslabel][route] || jwtByDsRoute[dslabel]["/**"];
|
|
1488
|
+
if (jwt) init.headers.authorization = "Bearer " + btoa(jwt);
|
|
1489
|
+
}
|
|
1490
|
+
var dsAuthOk = /* @__PURE__ */ new Set();
|
|
1491
|
+
var dsAuth;
|
|
1492
|
+
var authUi;
|
|
1493
|
+
var authUiHolder;
|
|
1494
|
+
var includeEmbedder = false;
|
|
1495
|
+
async function setDsAuthOk(opts) {
|
|
1496
|
+
dsAuth = opts.dsAuth;
|
|
1497
|
+
authUi = opts.ui || defaultAuthUi;
|
|
1498
|
+
authUiHolder = opts.holder || select_default("body");
|
|
1499
|
+
for (const auth of dsAuth) {
|
|
1500
|
+
if (auth.insession) dsAuthOk.add(auth);
|
|
1501
|
+
}
|
|
1502
|
+
includeEmbedder = opts.dsAuth?.length > 0 || false;
|
|
1503
|
+
}
|
|
1504
|
+
function getRequiredAuth(dslabel, route) {
|
|
1505
|
+
if (!dsAuth || !Array.isArray(dsAuth)) return;
|
|
1506
|
+
for (const a of dsAuth) {
|
|
1507
|
+
if (a.dslabel == dslabel && (a.route == route || a.route == "*" || a.route == "/**")) return a;
|
|
1508
|
+
}
|
|
1509
|
+
}
|
|
1510
|
+
async function isInSession(dslabel, route) {
|
|
1511
|
+
if (!dslabel) return false;
|
|
1512
|
+
if (!Array.isArray(dsAuth)) return false;
|
|
1513
|
+
for (const a of dsAuth) {
|
|
1514
|
+
if (a.dslabel != dslabel || a.route != route && a.route != "/**") continue;
|
|
1515
|
+
if (dsAuthOk.has(a)) return true;
|
|
1516
|
+
if (a.checked) return false;
|
|
1517
|
+
const jwt = getSavedToken(dslabel, a.route);
|
|
1518
|
+
if (!jwt) return false;
|
|
1519
|
+
const { dofetch3: dofetch32 } = await import("./dofetch-4TO3QMT6.js");
|
|
1520
|
+
const payload = decodeJwtPayload(jwt);
|
|
1521
|
+
if (payload.exp && Math.ceil(Date.now() / 1e3) > payload.exp) return false;
|
|
1522
|
+
const data = await dofetch32("/jwt-status", {
|
|
1523
|
+
method: "POST",
|
|
1524
|
+
headers: {
|
|
1525
|
+
//authorization: `Bearer ${btoa(jwt)}`
|
|
1526
|
+
[a.headerKey]: jwt
|
|
1527
|
+
},
|
|
1528
|
+
body: {
|
|
1529
|
+
dslabel,
|
|
1530
|
+
route,
|
|
1531
|
+
embedder: location.hostname
|
|
1532
|
+
}
|
|
1533
|
+
});
|
|
1534
|
+
a.checked = true;
|
|
1535
|
+
if (data.ok || data.status == "ok") {
|
|
1536
|
+
dsAuthOk.add(a);
|
|
1537
|
+
a.insession = true;
|
|
1538
|
+
return true;
|
|
1539
|
+
}
|
|
1540
|
+
}
|
|
1541
|
+
return false;
|
|
1542
|
+
}
|
|
1543
|
+
async function mayShowAuthUi(init, path, opts = {}) {
|
|
1544
|
+
const ok = { status: "ok" };
|
|
1545
|
+
if (!dsAuth || path.endsWith("jwt-status")) return ok;
|
|
1546
|
+
const body = JSON.parse(init.body || `{}`);
|
|
1547
|
+
const params = (path.split("?")[1] || "").split("&").reduce((obj, kv) => {
|
|
1548
|
+
const [key, value] = kv.split("=");
|
|
1549
|
+
obj[key] = value;
|
|
1550
|
+
return obj;
|
|
1551
|
+
}, {});
|
|
1552
|
+
const q = Object.assign({}, body, params);
|
|
1553
|
+
const route = ((path.split("?")[0] || "").split("//")[1] || "").split("/").slice(1).join("/");
|
|
1554
|
+
for (const a of dsAuth) {
|
|
1555
|
+
if (q.dslabel == a.dslabel && (a.route == "/**" || route == a.route)) {
|
|
1556
|
+
if (dsAuthOk.has(a)) return ok;
|
|
1557
|
+
else if (a.route != "/**") return ok;
|
|
1558
|
+
else if (a.type == "basic") return await authUi(a.dslabel, a, opts);
|
|
1559
|
+
else if (a.type == "jwt") {
|
|
1560
|
+
} else if (a.type == "forbidden") {
|
|
1561
|
+
alert("Forbidden access");
|
|
1562
|
+
} else throw `unsupported dsAuth type='${a.type}'`;
|
|
1563
|
+
}
|
|
1564
|
+
}
|
|
1565
|
+
return ok;
|
|
1566
|
+
}
|
|
1567
|
+
async function defaultAuthUi(dslabel, auth, opts = {}) {
|
|
1568
|
+
const mask = authUiHolder.append("div").style("position", "fixed").style("top", 0).style("left", 0).style("height", "100%").style("width", "100%").style("margin", 0).style("padding", "20px").style("background-color", "rgb(150,150,150)");
|
|
1569
|
+
const form = mask.append("div").style("opacity", 1);
|
|
1570
|
+
form.append("div").html(`Restricted dataset '${dslabel}'`);
|
|
1571
|
+
form.append("span").html("Please enter password ");
|
|
1572
|
+
const pwd = form.append("input").attr("type", "password");
|
|
1573
|
+
pwd.node().focus();
|
|
1574
|
+
const btn = form.append("button").html("Submit");
|
|
1575
|
+
return new Promise((resolve, reject) => {
|
|
1576
|
+
function login() {
|
|
1577
|
+
fetch("/dslogin", {
|
|
1578
|
+
method: "POST",
|
|
1579
|
+
headers: {
|
|
1580
|
+
authorization: `Basic ${btoa(pwd.property("value"))}`
|
|
1581
|
+
},
|
|
1582
|
+
body: JSON.stringify({ dslabel, route: auth.route, embedder: window.location.hostname })
|
|
1583
|
+
}).then((res) => res.json()).then((res) => {
|
|
1584
|
+
if (res.error) throw res.error;
|
|
1585
|
+
mask.remove();
|
|
1586
|
+
dsAuthOk.add(auth);
|
|
1587
|
+
if (res.jwt) {
|
|
1588
|
+
setTokenByDsRoute(dslabel, res.route, res.jwt);
|
|
1589
|
+
}
|
|
1590
|
+
if (!opts.setDomRefs) window.location.reload();
|
|
1591
|
+
else resolve(dslabel);
|
|
1592
|
+
}).catch((e) => {
|
|
1593
|
+
alert("login error: " + e);
|
|
1594
|
+
});
|
|
1595
|
+
}
|
|
1596
|
+
btn.on("click", login);
|
|
1597
|
+
pwd.on("change", login);
|
|
1598
|
+
if (opts.setDomRefs)
|
|
1599
|
+
opts.setDomRefs({
|
|
1600
|
+
pwd,
|
|
1601
|
+
btn,
|
|
1602
|
+
mask,
|
|
1603
|
+
authUiHolder
|
|
1604
|
+
});
|
|
1605
|
+
});
|
|
1606
|
+
}
|
|
1607
|
+
function decodeJwtPayload(token) {
|
|
1608
|
+
const base64Url = token.split(".")[1];
|
|
1609
|
+
const base64 = base64Url.replace(/-/g, "+").replace(/_/g, "/");
|
|
1610
|
+
const paddedBase64 = base64 + "=".repeat((4 - base64.length % 4) % 4);
|
|
1611
|
+
const jsonPayload = decodeURIComponent(window.atob(paddedBase64).split("").map(convertAtoBresult).join(""));
|
|
1612
|
+
return JSON.parse(jsonPayload);
|
|
1613
|
+
}
|
|
1614
|
+
function convertAtoBresult(c) {
|
|
1615
|
+
return "%" + ("00" + c.charCodeAt(0).toString(16)).slice(-2);
|
|
1616
|
+
}
|
|
1617
|
+
|
|
1618
|
+
// common/dofetch.js
|
|
1619
|
+
function dofetch(path, arg, opts = null) {
|
|
1620
|
+
if (opts && typeof opts == "object") {
|
|
1621
|
+
if (opts.serverData && typeof opts.serverData == "object") {
|
|
1622
|
+
if (!dofetch.serverData) {
|
|
1623
|
+
dofetch.serverData = opts.serverData;
|
|
1624
|
+
} else if (!opts.serverData) {
|
|
1625
|
+
opts.serverData = dofetch.serverData;
|
|
1626
|
+
}
|
|
1627
|
+
}
|
|
1628
|
+
return dofetch2(
|
|
1629
|
+
path,
|
|
1630
|
+
{
|
|
1631
|
+
method: "POST",
|
|
1632
|
+
headers: {
|
|
1633
|
+
"content-type": "application/json"
|
|
1634
|
+
},
|
|
1635
|
+
body: JSON.stringify(arg)
|
|
1636
|
+
},
|
|
1637
|
+
opts
|
|
1638
|
+
);
|
|
1639
|
+
} else {
|
|
1640
|
+
if (path[0] == "/") {
|
|
1641
|
+
path = path.slice(1);
|
|
1642
|
+
}
|
|
1643
|
+
const jwt = sessionStorage.getItem("jwt");
|
|
1644
|
+
if (jwt) {
|
|
1645
|
+
arg.jwt = jwt;
|
|
1646
|
+
}
|
|
1647
|
+
let url = path;
|
|
1648
|
+
const host = sessionStorage.getItem("hostURL") || window.testHost || "";
|
|
1649
|
+
if (host) {
|
|
1650
|
+
if (host.endsWith("/")) {
|
|
1651
|
+
url = host + path;
|
|
1652
|
+
} else {
|
|
1653
|
+
url = host + "/" + path;
|
|
1654
|
+
}
|
|
1655
|
+
}
|
|
1656
|
+
return fetch(
|
|
1657
|
+
new Request(url, {
|
|
1658
|
+
method: "POST",
|
|
1659
|
+
headers: {
|
|
1660
|
+
"content-type": "application/json"
|
|
1661
|
+
},
|
|
1662
|
+
body: JSON.stringify(arg)
|
|
1663
|
+
})
|
|
1664
|
+
).then((r) => r.json());
|
|
1665
|
+
}
|
|
1666
|
+
}
|
|
1667
|
+
function dofetch2(path, init = {}, opts = {}) {
|
|
1668
|
+
if (path[0] == "/") {
|
|
1669
|
+
path = path.slice(1);
|
|
1670
|
+
}
|
|
1671
|
+
let url = path;
|
|
1672
|
+
const host = sessionStorage.getItem("hostURL") || window.testHost || "";
|
|
1673
|
+
if (host) {
|
|
1674
|
+
if (host.endsWith("/")) {
|
|
1675
|
+
url = host + path;
|
|
1676
|
+
} else {
|
|
1677
|
+
url = host + "/" + path;
|
|
1678
|
+
}
|
|
1679
|
+
}
|
|
1680
|
+
const body = init.body || {};
|
|
1681
|
+
url = mayAdjustRequest(url, init);
|
|
1682
|
+
if (!init.headers) {
|
|
1683
|
+
init.headers = {};
|
|
1684
|
+
}
|
|
1685
|
+
if (!init.headers["content-type"] && init.body) {
|
|
1686
|
+
init.headers["content-type"] = "application/json";
|
|
1687
|
+
}
|
|
1688
|
+
const jwt = sessionStorage.getItem("jwt");
|
|
1689
|
+
if (jwt) {
|
|
1690
|
+
init.headers.authorization = "Bearer " + jwt;
|
|
1691
|
+
}
|
|
1692
|
+
return mayShowAuthUi(init, url).then(async () => {
|
|
1693
|
+
if (!jwt) mayAddJwtToRequest(init, body, url);
|
|
1694
|
+
if (opts.serverData) {
|
|
1695
|
+
return namedFetch(url, init, opts);
|
|
1696
|
+
} else {
|
|
1697
|
+
return fetch(url, init).then(processResponse);
|
|
1698
|
+
}
|
|
1699
|
+
});
|
|
1700
|
+
}
|
|
1701
|
+
var optsServerDataNames2 = /* @__PURE__ */ new WeakMap();
|
|
1702
|
+
async function namedFetch(url, init, opts = {}) {
|
|
1703
|
+
if (!opts.serverData) throw `use ezFetch() from fetch-helpers if a fetched response is not meant to be cached`;
|
|
1704
|
+
if (typeof opts.serverData != "object") throw `opts.serverData is not an object`;
|
|
1705
|
+
let result;
|
|
1706
|
+
const dataName = await getDataName(url, init);
|
|
1707
|
+
if (opts.serverData[dataName]) {
|
|
1708
|
+
if (init.signal) {
|
|
1709
|
+
await sleep(0);
|
|
1710
|
+
if (init.signal.aborted) throw `stale sequenceId`;
|
|
1711
|
+
}
|
|
1712
|
+
result = structuredClone(opts.serverData[dataName]);
|
|
1713
|
+
}
|
|
1714
|
+
if (!result || typeof result != "object" && !(result instanceof Promise)) {
|
|
1715
|
+
delete opts.serverData[dataName];
|
|
1716
|
+
result = void 0;
|
|
1717
|
+
}
|
|
1718
|
+
if (!result) {
|
|
1719
|
+
try {
|
|
1720
|
+
const res = await fetch(url, init);
|
|
1721
|
+
result = await processResponse(res);
|
|
1722
|
+
if (typeof result == "object" && !(result instanceof Promise)) {
|
|
1723
|
+
deepFreeze(result);
|
|
1724
|
+
opts.serverData[dataName] = result;
|
|
1725
|
+
result = structuredClone(result);
|
|
1726
|
+
}
|
|
1727
|
+
} catch (e) {
|
|
1728
|
+
delete opts.serverData[dataName];
|
|
1729
|
+
throw e;
|
|
1730
|
+
}
|
|
1731
|
+
}
|
|
1732
|
+
if (!optsServerDataNames2.has(opts.serverData)) optsServerDataNames2.set(opts.serverData, []);
|
|
1733
|
+
const keys = optsServerDataNames2.get(opts.serverData);
|
|
1734
|
+
const i2 = keys.indexOf(dataName);
|
|
1735
|
+
if (i2 > 0) {
|
|
1736
|
+
keys.splice(i2, 1);
|
|
1737
|
+
}
|
|
1738
|
+
keys.unshift(dataName);
|
|
1739
|
+
const maxKeys = 360;
|
|
1740
|
+
while (keys.length > maxKeys) {
|
|
1741
|
+
const oldestDataKey = keys.pop();
|
|
1742
|
+
delete opts.serverData[oldestDataKey];
|
|
1743
|
+
}
|
|
1744
|
+
return result;
|
|
1745
|
+
}
|
|
1746
|
+
var defaultServerDataCache = {};
|
|
1747
|
+
function dofetch3(path, init = {}, opts = {}) {
|
|
1748
|
+
if (!init.signal && typeof this?.app?.getAbortSignal == "function") init.signal = this.app.getAbortSignal();
|
|
1749
|
+
opts.serverData = defaultServerDataCache;
|
|
1750
|
+
return dofetch2(path, init, opts);
|
|
1751
|
+
}
|
|
1752
|
+
function clearServerDataCache(opts = {}) {
|
|
1753
|
+
const cache = opts?.serverData || defaultServerDataCache;
|
|
1754
|
+
if (!cache) return;
|
|
1755
|
+
for (const k of Object.keys(cache)) {
|
|
1756
|
+
delete cache[k];
|
|
1757
|
+
}
|
|
1758
|
+
}
|
|
1759
|
+
var urlMaxLength = 2e3;
|
|
1760
|
+
function mayAdjustRequest(url, init) {
|
|
1761
|
+
const hostname = window.location.hostname;
|
|
1762
|
+
const method = init.method && init.method.toUpperCase() || "GET";
|
|
1763
|
+
if (method == "POST") {
|
|
1764
|
+
if (typeof init.body == "string") init.body = JSON.parse(init.body);
|
|
1765
|
+
if (!init.body.embedder && includeEmbedder) init.body.embedder = hostname;
|
|
1766
|
+
init.body = JSON.stringify(init.body);
|
|
1767
|
+
return url;
|
|
1768
|
+
}
|
|
1769
|
+
if (method != "GET" && method != "DELETE" && method != "PUT") {
|
|
1770
|
+
throw `unsupported init.method='${method}': must be undefined or GET or POST or DELETE or PUT`;
|
|
1771
|
+
}
|
|
1772
|
+
if (init.body) {
|
|
1773
|
+
if (!init.body.embedder && includeEmbedder) init.body.embedder = hostname;
|
|
1774
|
+
const params = encode(init.body);
|
|
1775
|
+
if (!url.includes("?")) url += "?";
|
|
1776
|
+
url += params;
|
|
1777
|
+
}
|
|
1778
|
+
if (!url.includes("embedder=") && includeEmbedder) {
|
|
1779
|
+
const sep = url.includes("?") ? "&" : "?";
|
|
1780
|
+
url += `${sep}embedder=${hostname}`;
|
|
1781
|
+
}
|
|
1782
|
+
if (url.length < urlMaxLength) {
|
|
1783
|
+
if (init.body) delete init.body;
|
|
1784
|
+
return url;
|
|
1785
|
+
}
|
|
1786
|
+
init.method = "POST";
|
|
1787
|
+
const [hostpath, query] = url.split("?");
|
|
1788
|
+
if (init.body) {
|
|
1789
|
+
init.body = JSON.stringify(init.body);
|
|
1790
|
+
} else {
|
|
1791
|
+
const params = {};
|
|
1792
|
+
if (query)
|
|
1793
|
+
query.split("&").forEach((p) => {
|
|
1794
|
+
const [k, v] = p.split("=");
|
|
1795
|
+
const decodedVal = decodeURIComponent(v);
|
|
1796
|
+
try {
|
|
1797
|
+
params[k] = JSON.parse(decodedVal);
|
|
1798
|
+
} catch {
|
|
1799
|
+
params[k] = decodedVal;
|
|
1800
|
+
}
|
|
1801
|
+
});
|
|
1802
|
+
if (!params.embedder && includeEmbedder) params.embedder = hostname;
|
|
1803
|
+
init.body = JSON.stringify(params);
|
|
1804
|
+
}
|
|
1805
|
+
return hostpath;
|
|
1806
|
+
}
|
|
1807
|
+
function setAuth(opts) {
|
|
1808
|
+
setDsAuthOk(opts, dofetch3);
|
|
1809
|
+
}
|
|
1810
|
+
|
|
1811
|
+
export {
|
|
1812
|
+
FlagStatus,
|
|
1813
|
+
FeaturePrefixes,
|
|
1814
|
+
SelectionPrefixes,
|
|
1815
|
+
FlagStatusMessages,
|
|
1816
|
+
createSelectionID,
|
|
1817
|
+
checkSelectionType,
|
|
1818
|
+
createFeatureID,
|
|
1819
|
+
init_bulk_flag,
|
|
1820
|
+
parsesample,
|
|
1821
|
+
clusterMethodLst,
|
|
1822
|
+
distanceMethodLst,
|
|
1823
|
+
computePercentile,
|
|
1824
|
+
processFormData,
|
|
1825
|
+
fileSize,
|
|
1826
|
+
ssmIdFieldsSeparator,
|
|
1827
|
+
summarize_mclass,
|
|
1828
|
+
guessSsmid,
|
|
1829
|
+
initBinConfig,
|
|
1830
|
+
isUsableTerm,
|
|
1831
|
+
formatElapsedTime,
|
|
1832
|
+
vcfparsemeta,
|
|
1833
|
+
vcfparseline,
|
|
1834
|
+
setTokenByDsRoute,
|
|
1835
|
+
getSavedToken,
|
|
1836
|
+
mayAddJwtToRequest,
|
|
1837
|
+
includeEmbedder,
|
|
1838
|
+
setDsAuthOk,
|
|
1839
|
+
getRequiredAuth,
|
|
1840
|
+
isInSession,
|
|
1841
|
+
mayShowAuthUi,
|
|
1842
|
+
dofetch,
|
|
1843
|
+
dofetch2,
|
|
1844
|
+
namedFetch,
|
|
1845
|
+
dofetch3,
|
|
1846
|
+
clearServerDataCache,
|
|
1847
|
+
setAuth
|
|
1848
|
+
};
|
|
1849
|
+
//# sourceMappingURL=chunk-MYWJQRTD.js.map
|