@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
package/dist/chunk-YC6ZJ7RP.js
DELETED
|
@@ -1,1842 +0,0 @@
|
|
|
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-EGWVYY7K.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-AMYSEKPF.js";
|
|
30
|
-
import {
|
|
31
|
-
isNumeric
|
|
32
|
-
} from "./chunk-TV74I3Y5.js";
|
|
33
|
-
import {
|
|
34
|
-
select_default
|
|
35
|
-
} from "./chunk-I6Y4O3RR.js";
|
|
36
|
-
|
|
37
|
-
// ../shared/utils/src/bulk.js
|
|
38
|
-
function init_bulk_flag(genome) {
|
|
39
|
-
if (!genome) {
|
|
40
|
-
return null;
|
|
41
|
-
}
|
|
42
|
-
const mclasslabel2key2 = {};
|
|
43
|
-
for (const n in mclass) {
|
|
44
|
-
mclasslabel2key2[mclass[n].label.toUpperCase()] = n;
|
|
45
|
-
}
|
|
46
|
-
return {
|
|
47
|
-
genome,
|
|
48
|
-
mclasslabel2key: mclasslabel2key2,
|
|
49
|
-
data: {},
|
|
50
|
-
sample2disease: {},
|
|
51
|
-
// (proof) k: sample, v: disease
|
|
52
|
-
// will only record this when origin is used
|
|
53
|
-
patient2st: {},
|
|
54
|
-
// k: patient, v: { k: sampletype, v: sample }
|
|
55
|
-
// new sample names always override old
|
|
56
|
-
good: 0,
|
|
57
|
-
geneToUpper: true,
|
|
58
|
-
// option to not force uppercase on gene names
|
|
59
|
-
snv: {
|
|
60
|
-
loaded: false,
|
|
61
|
-
header: null,
|
|
62
|
-
badlines: [],
|
|
63
|
-
// jinghui: based on missense/silent ratio of entire dataset to decide whether to include silent when importing...
|
|
64
|
-
// hard-coded class codes
|
|
65
|
-
missense: 0,
|
|
66
|
-
silent: 0
|
|
67
|
-
},
|
|
68
|
-
svjson: {
|
|
69
|
-
loaded: false,
|
|
70
|
-
header: null,
|
|
71
|
-
badlines: []
|
|
72
|
-
},
|
|
73
|
-
fusion: {
|
|
74
|
-
loaded: false,
|
|
75
|
-
header: null,
|
|
76
|
-
badlines: [],
|
|
77
|
-
original: []
|
|
78
|
-
},
|
|
79
|
-
sv: {
|
|
80
|
-
loaded: false,
|
|
81
|
-
header: null,
|
|
82
|
-
badlines: [],
|
|
83
|
-
original: []
|
|
84
|
-
},
|
|
85
|
-
cnv: {
|
|
86
|
-
loaded: false,
|
|
87
|
-
header: null,
|
|
88
|
-
badlines: []
|
|
89
|
-
},
|
|
90
|
-
itd: {
|
|
91
|
-
loaded: false,
|
|
92
|
-
header: null,
|
|
93
|
-
badlines: []
|
|
94
|
-
},
|
|
95
|
-
del: {
|
|
96
|
-
loaded: false,
|
|
97
|
-
header: null,
|
|
98
|
-
badlines: []
|
|
99
|
-
},
|
|
100
|
-
truncation: {
|
|
101
|
-
loaded: false,
|
|
102
|
-
header: null,
|
|
103
|
-
badlines: []
|
|
104
|
-
}
|
|
105
|
-
};
|
|
106
|
-
}
|
|
107
|
-
function parsesample(m, flag, i2, lst, badline) {
|
|
108
|
-
let variantorigin = moriginsomatic;
|
|
109
|
-
if (m.sampletype) {
|
|
110
|
-
const s = m.sampletype.toLowerCase();
|
|
111
|
-
switch (s) {
|
|
112
|
-
case "relapse":
|
|
113
|
-
variantorigin = moriginrelapse;
|
|
114
|
-
break;
|
|
115
|
-
case "germline":
|
|
116
|
-
variantorigin = morigingermline;
|
|
117
|
-
break;
|
|
118
|
-
case "somatic":
|
|
119
|
-
case "diagnosis":
|
|
120
|
-
break;
|
|
121
|
-
}
|
|
122
|
-
if (m.sample) {
|
|
123
|
-
if (m.patient) {
|
|
124
|
-
} else {
|
|
125
|
-
m.patient = m.sample + " " + m.sampletype;
|
|
126
|
-
}
|
|
127
|
-
} else {
|
|
128
|
-
if (m.patient) {
|
|
129
|
-
m.sample = m.patient + " " + m.sampletype;
|
|
130
|
-
} else {
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
} else {
|
|
134
|
-
if (m.patient) {
|
|
135
|
-
if (m.sample) {
|
|
136
|
-
m.sampletype = m.sample;
|
|
137
|
-
} else {
|
|
138
|
-
m.sample = m.sampletype = m.patient;
|
|
139
|
-
}
|
|
140
|
-
} else {
|
|
141
|
-
if (m.sample) {
|
|
142
|
-
m.sampletype = m.sample;
|
|
143
|
-
} else {
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
if (m.origin) {
|
|
148
|
-
const s = m.origin.toLowerCase();
|
|
149
|
-
switch (s) {
|
|
150
|
-
case "r":
|
|
151
|
-
case "relapse":
|
|
152
|
-
variantorigin = moriginrelapse;
|
|
153
|
-
m.isrim2 = true;
|
|
154
|
-
break;
|
|
155
|
-
case "g":
|
|
156
|
-
case "germline":
|
|
157
|
-
variantorigin = morigingermline;
|
|
158
|
-
m.isrim1 = true;
|
|
159
|
-
break;
|
|
160
|
-
case "gp":
|
|
161
|
-
case "germline pathogenic":
|
|
162
|
-
variantorigin = morigingermlinepathogenic;
|
|
163
|
-
m.isrim1 = true;
|
|
164
|
-
break;
|
|
165
|
-
case "gnp":
|
|
166
|
-
case "germline nonpathogenic":
|
|
167
|
-
case "germline non-pathogenic":
|
|
168
|
-
variantorigin = morigingermlinenonpathogenic;
|
|
169
|
-
m.isrim1 = true;
|
|
170
|
-
break;
|
|
171
|
-
case "s":
|
|
172
|
-
case "somatic":
|
|
173
|
-
case "diagnosis":
|
|
174
|
-
variantorigin = moriginsomatic;
|
|
175
|
-
break;
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
m.origin = variantorigin;
|
|
179
|
-
if (!m.sample && !m.patient) {
|
|
180
|
-
return;
|
|
181
|
-
}
|
|
182
|
-
const nopatientname = "no patient/individual name";
|
|
183
|
-
let p;
|
|
184
|
-
if (m.patient) {
|
|
185
|
-
if (!flag.patient2st[m.patient]) {
|
|
186
|
-
flag.patient2st[m.patient] = {};
|
|
187
|
-
}
|
|
188
|
-
flag.patient2st[m.patient][m.sampletype] = m.sample;
|
|
189
|
-
} else {
|
|
190
|
-
if (!flag.patient2st[nopatientname]) {
|
|
191
|
-
flag.patient2st[nopatientname] = {};
|
|
192
|
-
}
|
|
193
|
-
flag.patient2st[nopatientname][m.sampletype] = m.sample;
|
|
194
|
-
}
|
|
195
|
-
if (m.sample) {
|
|
196
|
-
if (m.disease) {
|
|
197
|
-
if (m.sample in flag.sample2disease) {
|
|
198
|
-
if (m.disease != flag.sample2disease[m.sample]) {
|
|
199
|
-
flag.snv.badlines.push([
|
|
200
|
-
i2,
|
|
201
|
-
'conflict of disease types for sample "' + m.sample + '": ' + m.disease + ", " + flag.sample2disease[m.sample],
|
|
202
|
-
lst
|
|
203
|
-
]);
|
|
204
|
-
return true;
|
|
205
|
-
}
|
|
206
|
-
} else {
|
|
207
|
-
flag.sample2disease[m.sample] = m.disease;
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
return false;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
// ../shared/utils/src/clustering.js
|
|
215
|
-
var clusterMethodLst = [
|
|
216
|
-
{
|
|
217
|
-
label: "Average",
|
|
218
|
-
value: "average",
|
|
219
|
-
title: `Cluster by average value`
|
|
220
|
-
},
|
|
221
|
-
{
|
|
222
|
-
label: `Complete`,
|
|
223
|
-
value: "complete",
|
|
224
|
-
title: `Use the complete clustering method`
|
|
225
|
-
},
|
|
226
|
-
{
|
|
227
|
-
label: `Single`,
|
|
228
|
-
value: "single",
|
|
229
|
-
title: `Use the single clustering method`
|
|
230
|
-
},
|
|
231
|
-
{
|
|
232
|
-
label: `Ward.D`,
|
|
233
|
-
value: "ward.D",
|
|
234
|
-
title: `Use the ward.D clustering method`
|
|
235
|
-
},
|
|
236
|
-
{
|
|
237
|
-
label: `Ward.D2`,
|
|
238
|
-
value: "ward.D2",
|
|
239
|
-
title: `Use the ward.D2 clustering method`
|
|
240
|
-
},
|
|
241
|
-
{
|
|
242
|
-
label: `Mcquitty`,
|
|
243
|
-
value: "mcquitty",
|
|
244
|
-
title: `Use the Mcquity clustering method`
|
|
245
|
-
}
|
|
246
|
-
/* These methods are currently disabled because the dendrogram lines tend to cross one another.
|
|
247
|
-
{
|
|
248
|
-
label: `Centroid`,
|
|
249
|
-
value: 'centroid',
|
|
250
|
-
title: `Use the centroid clustering method`
|
|
251
|
-
},
|
|
252
|
-
{
|
|
253
|
-
label: `Median`,
|
|
254
|
-
value: 'median',
|
|
255
|
-
title: `Use the median clustering method`
|
|
256
|
-
}
|
|
257
|
-
*/
|
|
258
|
-
];
|
|
259
|
-
var distanceMethodLst = [
|
|
260
|
-
{
|
|
261
|
-
label: "Euclidean",
|
|
262
|
-
value: "euclidean",
|
|
263
|
-
title: `Calculate distance using euclidean method`
|
|
264
|
-
},
|
|
265
|
-
{
|
|
266
|
-
label: "Maximum",
|
|
267
|
-
value: "maximum",
|
|
268
|
-
title: `Maximum distance between two components of x and y`
|
|
269
|
-
},
|
|
270
|
-
{
|
|
271
|
-
label: "Manhattan",
|
|
272
|
-
value: "manhattan",
|
|
273
|
-
title: `Calculate distance using the absolute distance between the two vectors`
|
|
274
|
-
},
|
|
275
|
-
{
|
|
276
|
-
label: "Canberra",
|
|
277
|
-
value: "canberra",
|
|
278
|
-
title: `Calculate distance using Canberra method`
|
|
279
|
-
}
|
|
280
|
-
];
|
|
281
|
-
|
|
282
|
-
// ../shared/utils/src/compute.percentile.js
|
|
283
|
-
function computePercentile(values, percentile, sorted = false) {
|
|
284
|
-
if (!sorted) values.sort((a, b) => a - b);
|
|
285
|
-
const index = Math.abs(percentile / 100 * values.length - 1);
|
|
286
|
-
const value = Number.isInteger(index) ? (values[index] + values[index + 1]) / 2 : values[Math.ceil(index)];
|
|
287
|
-
return value;
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
// ../shared/utils/src/hash.js
|
|
291
|
-
var encoder = new TextEncoder();
|
|
292
|
-
async function hash(message) {
|
|
293
|
-
const msgUint8 = encoder.encode(message);
|
|
294
|
-
const hashBuffer = await crypto.subtle.digest("SHA-1", msgUint8);
|
|
295
|
-
const hashArray = Array.from(new Uint8Array(hashBuffer));
|
|
296
|
-
const hashHex = hashArray.map((b) => b.toString(16).padStart(2, "0")).join("");
|
|
297
|
-
return hexToBase64(hashHex).replace("=", "-");
|
|
298
|
-
}
|
|
299
|
-
function hexToBase64(hexStr) {
|
|
300
|
-
return btoa(
|
|
301
|
-
[...hexStr].reduce(
|
|
302
|
-
(acc, _, i2) => acc += !(i2 - 1 & 1) ? String.fromCharCode(parseInt(hexStr.substring(i2 - 1, i2 + 1), 16)) : "",
|
|
303
|
-
""
|
|
304
|
-
)
|
|
305
|
-
);
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
// ../shared/utils/src/urljson.js
|
|
309
|
-
var reserved = ["false", "true", "null", "undefined"];
|
|
310
|
-
var delimiters = ['"', "{", "["];
|
|
311
|
-
function encode(rawObject) {
|
|
312
|
-
const params = [];
|
|
313
|
-
for (const [key, value] of Object.entries(rawObject)) {
|
|
314
|
-
if (typeof value == "string" && !isNumeric(value) && !reserved.includes(value) && !delimiters.includes(value[0])) {
|
|
315
|
-
params.push(`${key}=${encodeURIComponent(value)}`);
|
|
316
|
-
} else if (value !== void 0) {
|
|
317
|
-
params.push(`${key}=${encodeURIComponent(JSON.stringify(value))}`);
|
|
318
|
-
}
|
|
319
|
-
}
|
|
320
|
-
return params.join("&");
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
// ../shared/utils/src/fetch-helpers.js
|
|
324
|
-
async function processResponse(r) {
|
|
325
|
-
const ct = r.headers.get("content-type");
|
|
326
|
-
if (!ct) throw `missing response.header['content-type']`;
|
|
327
|
-
if (ct.includes("/json")) {
|
|
328
|
-
const payload = await r.json();
|
|
329
|
-
return payload;
|
|
330
|
-
}
|
|
331
|
-
if (ct.includes("/text") || ct.includes("text/")) {
|
|
332
|
-
return r.text();
|
|
333
|
-
}
|
|
334
|
-
if (ct.includes("multipart")) {
|
|
335
|
-
if (ct.startsWith("multipart/form-data")) return processFormData(r);
|
|
336
|
-
else throw `cannot handle response content-type: '${ct}'`;
|
|
337
|
-
}
|
|
338
|
-
if (ct == "application/x-ndjson-nestedkey") {
|
|
339
|
-
return processNDJSON_nestedKey(r);
|
|
340
|
-
}
|
|
341
|
-
return r.blob();
|
|
342
|
-
}
|
|
343
|
-
async function processFormData(res) {
|
|
344
|
-
const decoder = new TextDecoder();
|
|
345
|
-
const data = {};
|
|
346
|
-
try {
|
|
347
|
-
const form = await res.formData();
|
|
348
|
-
for (const [key, value] of form.entries()) {
|
|
349
|
-
if (value.type) {
|
|
350
|
-
data[key] = { headers: { "content-type": value.type }, body: value };
|
|
351
|
-
} else {
|
|
352
|
-
const body = !value ? [] : value.trim().split("\n").map(JSON.parse);
|
|
353
|
-
data[key] = { headers: { "content-type": "application/json" }, body };
|
|
354
|
-
}
|
|
355
|
-
}
|
|
356
|
-
return data;
|
|
357
|
-
} catch (e) {
|
|
358
|
-
throw e;
|
|
359
|
-
}
|
|
360
|
-
}
|
|
361
|
-
async function processNDJSON_nestedKey(r) {
|
|
362
|
-
const stream = r.body.pipeThrough(new TextDecoderStream());
|
|
363
|
-
const reader = stream.getReader();
|
|
364
|
-
let rootObj = {};
|
|
365
|
-
let buffer = "";
|
|
366
|
-
while (true) {
|
|
367
|
-
const { value, done } = await reader.read();
|
|
368
|
-
if (done) break;
|
|
369
|
-
buffer += value;
|
|
370
|
-
let parts = buffer.split("\n");
|
|
371
|
-
buffer = parts.pop();
|
|
372
|
-
for (const line of parts) {
|
|
373
|
-
if (line.trim()) {
|
|
374
|
-
const [keys, data] = JSON.parse(line);
|
|
375
|
-
if (!keys.length) rootObj = data;
|
|
376
|
-
else {
|
|
377
|
-
const lastKey = keys.pop();
|
|
378
|
-
let target = rootObj;
|
|
379
|
-
for (const k of keys) target = target[k];
|
|
380
|
-
target[lastKey] = data;
|
|
381
|
-
}
|
|
382
|
-
}
|
|
383
|
-
}
|
|
384
|
-
}
|
|
385
|
-
return rootObj;
|
|
386
|
-
}
|
|
387
|
-
var cacheLifetime = 1e3 * 60 * 5;
|
|
388
|
-
async function getDataName(url, init) {
|
|
389
|
-
const dataName = url + " | " + init.method + " | " + init.body + " | " + JSON.stringify(init.headers);
|
|
390
|
-
return await hash(dataName);
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
// ../shared/utils/src/fileSize.js
|
|
394
|
-
function fileSize(v) {
|
|
395
|
-
if (v > 1e9) return (v / 1e9).toFixed(2) + " GB";
|
|
396
|
-
if (v > 1e6) return (v / 1e6).toFixed(2) + " MB";
|
|
397
|
-
if (v > 1e3) return (v / 1e3).toFixed(2) + " KB";
|
|
398
|
-
return v + " Bytes";
|
|
399
|
-
}
|
|
400
|
-
|
|
401
|
-
// ../shared/utils/src/mds3tk.js
|
|
402
|
-
var ssmIdFieldsSeparator = "__";
|
|
403
|
-
function summarize_mclass(mlst) {
|
|
404
|
-
const m2c = /* @__PURE__ */ new Map();
|
|
405
|
-
const cnvs = [];
|
|
406
|
-
for (const m of mlst) {
|
|
407
|
-
if (m.dt == dtcnv) {
|
|
408
|
-
cnvs.push(m);
|
|
409
|
-
continue;
|
|
410
|
-
}
|
|
411
|
-
const key = m.class || m.dt;
|
|
412
|
-
m2c.set(key, 1 + (m2c.get(key) || 0));
|
|
413
|
-
}
|
|
414
|
-
if (cnvs.length) {
|
|
415
|
-
if (Number.isFinite(cnvs[0].value)) {
|
|
416
|
-
m2c.set(dtcnv, cnvs.length);
|
|
417
|
-
} else {
|
|
418
|
-
for (const c of cnvs) {
|
|
419
|
-
if (!c.class) continue;
|
|
420
|
-
m2c.set(c.class, 1 + (m2c.get(c.class) || 0));
|
|
421
|
-
}
|
|
422
|
-
}
|
|
423
|
-
}
|
|
424
|
-
return [...m2c].sort((i2, j) => j[1] - i2[1]);
|
|
425
|
-
}
|
|
426
|
-
function guessSsmid(ssmid) {
|
|
427
|
-
const l = ssmid.split(ssmIdFieldsSeparator);
|
|
428
|
-
if (l.length == 4) {
|
|
429
|
-
const [chr, tmp, ref, alt] = l;
|
|
430
|
-
const pos = Number(tmp);
|
|
431
|
-
if (Number.isNaN(pos)) throw "ssmid snvindel pos not integer";
|
|
432
|
-
return { dt: dtsnvindel2, l: [chr, pos, ref, alt] };
|
|
433
|
-
}
|
|
434
|
-
if (l.length == 5) {
|
|
435
|
-
const [chr, _start, _stop, _class, _value] = l;
|
|
436
|
-
const start = Number(_start), stop = Number(_stop), value = _value == "" ? null : Number(_value);
|
|
437
|
-
if (Number.isNaN(start) || Number.isNaN(stop))
|
|
438
|
-
throw "ssmid cnv start/stop not integer";
|
|
439
|
-
return { dt: dtcnv, l: [chr, start, stop, _class, value] };
|
|
440
|
-
}
|
|
441
|
-
if (l.length == 6) {
|
|
442
|
-
if (l[3] == "+" || l[3] == "-") {
|
|
443
|
-
const [_dt, chr2, _pos, strand, _pi, _mname] = l;
|
|
444
|
-
const mname = decodeURIComponent(_mname);
|
|
445
|
-
const dt = Number(_dt);
|
|
446
|
-
if (dt != dtsv && dt != dtfusionrna) throw "ssmid dt not sv/fusion";
|
|
447
|
-
const pos = Number(_pos);
|
|
448
|
-
if (Number.isNaN(pos)) throw "ssmid svfusion position not integer";
|
|
449
|
-
const pairlstIdx = Number(_pi);
|
|
450
|
-
if (Number.isNaN(pairlstIdx)) throw "ssmid pairlstIdx not integer";
|
|
451
|
-
return { dt, l: [dt, chr2, pos, strand, pairlstIdx, mname] };
|
|
452
|
-
}
|
|
453
|
-
const [chr, _start, _stop, _class, _value, sample] = l;
|
|
454
|
-
const start = Number(_start), stop = Number(_stop), value = _value == "" ? null : Number(_value);
|
|
455
|
-
if (Number.isNaN(start) || Number.isNaN(stop))
|
|
456
|
-
throw "ssmid cnv start/stop not integer";
|
|
457
|
-
return { dt: dtcnv, l: [chr, start, stop, _class, value, sample] };
|
|
458
|
-
}
|
|
459
|
-
throw "unknown ssmid";
|
|
460
|
-
}
|
|
461
|
-
|
|
462
|
-
// ../shared/utils/src/termdb.initbinconfig.js
|
|
463
|
-
function initBinConfig(data, opts = {}) {
|
|
464
|
-
if (!data.length)
|
|
465
|
-
return {
|
|
466
|
-
mode: "discrete",
|
|
467
|
-
type: "regular-bin",
|
|
468
|
-
startinclusive: true,
|
|
469
|
-
bin_size: null,
|
|
470
|
-
first_bin: { stop: null }
|
|
471
|
-
};
|
|
472
|
-
if (data.find((d) => !Number.isFinite(d)))
|
|
473
|
-
throw new Error("non-numeric values found");
|
|
474
|
-
let binConfig;
|
|
475
|
-
const s = new Set(data);
|
|
476
|
-
if (s.size === 1) {
|
|
477
|
-
const value = [...s][0];
|
|
478
|
-
binConfig = {
|
|
479
|
-
type: "custom-bin",
|
|
480
|
-
lst: [
|
|
481
|
-
{
|
|
482
|
-
stop: value,
|
|
483
|
-
stopinclusive: false,
|
|
484
|
-
startunbounded: true,
|
|
485
|
-
label: "<" + value
|
|
486
|
-
},
|
|
487
|
-
{
|
|
488
|
-
start: value,
|
|
489
|
-
stop: value,
|
|
490
|
-
startinclusive: true,
|
|
491
|
-
stopinclusive: true,
|
|
492
|
-
label: "=" + value
|
|
493
|
-
},
|
|
494
|
-
{
|
|
495
|
-
start: value,
|
|
496
|
-
startinclusive: false,
|
|
497
|
-
stopunbounded: true,
|
|
498
|
-
label: ">" + value
|
|
499
|
-
}
|
|
500
|
-
]
|
|
501
|
-
};
|
|
502
|
-
} else {
|
|
503
|
-
data.sort((a, b) => a - b);
|
|
504
|
-
const l = data.length;
|
|
505
|
-
const min = data[0];
|
|
506
|
-
const max = data[l - 1];
|
|
507
|
-
const p5idx = Math.ceil(l * 0.05) - 1;
|
|
508
|
-
const p98idx = Math.ceil(l * 0.98) - 1;
|
|
509
|
-
const p5 = data[p5idx];
|
|
510
|
-
const p98 = data[p98idx];
|
|
511
|
-
const binSize = p98 != p5 ? (p98 - p5) / 8 : (max - min) / 8;
|
|
512
|
-
const firstBinStop = Math.max(min + binSize, p5);
|
|
513
|
-
let [binSize_rnd, firstBinStop_rnd, lastBinStart_rnd, rounding] = roundBinVals(binSize, firstBinStop, max, min);
|
|
514
|
-
binConfig = {
|
|
515
|
-
type: "regular-bin",
|
|
516
|
-
startinclusive: true,
|
|
517
|
-
bin_size: binSize_rnd,
|
|
518
|
-
first_bin: { stop: firstBinStop_rnd }
|
|
519
|
-
};
|
|
520
|
-
if (lastBinStart_rnd) binConfig.last_bin = { start: lastBinStart_rnd };
|
|
521
|
-
if (rounding) binConfig.rounding = rounding;
|
|
522
|
-
}
|
|
523
|
-
if ("format" in opts) {
|
|
524
|
-
if (opts.format === "string") {
|
|
525
|
-
return JSON.stringify(binConfig);
|
|
526
|
-
} else {
|
|
527
|
-
throw "options are not in the correct format";
|
|
528
|
-
}
|
|
529
|
-
} else {
|
|
530
|
-
return binConfig;
|
|
531
|
-
}
|
|
532
|
-
}
|
|
533
|
-
function roundBinVals(binSize, firstBinStop, max, min) {
|
|
534
|
-
let binSize_rnd, firstBinStop_rnd, lastBinStart_rnd, rounding;
|
|
535
|
-
const log = Math.floor(Math.log10(binSize));
|
|
536
|
-
if (binSize >= 0.1 && binSize <= 2) {
|
|
537
|
-
binSize_rnd = Math.round(binSize / (1 * 10 ** log)) * (1 * 10 ** log);
|
|
538
|
-
firstBinStop_rnd = Math.round(firstBinStop / (1 * 10 ** log)) * (1 * 10 ** log);
|
|
539
|
-
} else {
|
|
540
|
-
binSize_rnd = Math.round(binSize / (5 * 10 ** log)) * (5 * 10 ** log);
|
|
541
|
-
firstBinStop_rnd = Math.round(firstBinStop / (5 * 10 ** log)) * (5 * 10 ** log);
|
|
542
|
-
if (binSize_rnd === 0) binSize_rnd = 1 * 10 ** log;
|
|
543
|
-
if (firstBinStop_rnd === 0) firstBinStop_rnd = 1 * 10 ** log;
|
|
544
|
-
if (binSize_rnd === 5 * 10 ** log && firstBinStop_rnd === 1 * 10 ** log)
|
|
545
|
-
firstBinStop_rnd = 5 * 10 ** log;
|
|
546
|
-
}
|
|
547
|
-
if (firstBinStop_rnd < min) firstBinStop_rnd = firstBinStop_rnd * 2;
|
|
548
|
-
const eighthBinStop_rnd = firstBinStop_rnd + binSize_rnd * 7;
|
|
549
|
-
if (max > eighthBinStop_rnd) {
|
|
550
|
-
lastBinStart_rnd = firstBinStop_rnd + binSize_rnd * 6;
|
|
551
|
-
}
|
|
552
|
-
if (binSize < 1) {
|
|
553
|
-
const digits = Math.abs(log);
|
|
554
|
-
binSize_rnd = Number(binSize_rnd.toFixed(digits));
|
|
555
|
-
firstBinStop_rnd = Number(firstBinStop_rnd.toFixed(digits));
|
|
556
|
-
if (lastBinStart_rnd)
|
|
557
|
-
lastBinStart_rnd = Number(lastBinStart_rnd.toFixed(digits));
|
|
558
|
-
rounding = "." + digits + "f";
|
|
559
|
-
}
|
|
560
|
-
if (Object.is(firstBinStop_rnd, -0)) firstBinStop_rnd = 0;
|
|
561
|
-
return [binSize_rnd, firstBinStop_rnd, lastBinStart_rnd, rounding];
|
|
562
|
-
}
|
|
563
|
-
|
|
564
|
-
// ../shared/utils/src/termdb.usecase.js
|
|
565
|
-
var graphableTypes = /* @__PURE__ */ new Set([
|
|
566
|
-
"categorical",
|
|
567
|
-
"integer",
|
|
568
|
-
"float",
|
|
569
|
-
"condition",
|
|
570
|
-
"survival",
|
|
571
|
-
"snplst",
|
|
572
|
-
"snplocus",
|
|
573
|
-
"geneVariant",
|
|
574
|
-
"samplelst",
|
|
575
|
-
"geneExpression",
|
|
576
|
-
ISOFORM_EXPRESSION,
|
|
577
|
-
"dtcnv",
|
|
578
|
-
"dtsnvindel",
|
|
579
|
-
"dtfusion",
|
|
580
|
-
"dtsv",
|
|
581
|
-
"date",
|
|
582
|
-
TermTypes.SSGSEA,
|
|
583
|
-
TermTypes.DNA_METHYLATION,
|
|
584
|
-
TermTypes.METABOLITE_INTENSITY,
|
|
585
|
-
TermTypes.PROTEOME_ABUNDANCE,
|
|
586
|
-
SINGLECELL_GENE_EXPRESSION,
|
|
587
|
-
SINGLECELL_CELLTYPE,
|
|
588
|
-
TermTypes.SNP,
|
|
589
|
-
TermTypes.TERM_COLLECTION
|
|
590
|
-
]);
|
|
591
|
-
function isUsableTerm(term, _usecase, termdbConfig, ds) {
|
|
592
|
-
const usecase = _usecase || {};
|
|
593
|
-
if (typeof ds?.usecase?.[usecase.target] == "function") {
|
|
594
|
-
return ds.usecase[usecase.target](term, usecase);
|
|
595
|
-
}
|
|
596
|
-
const uses = /* @__PURE__ */ new Set();
|
|
597
|
-
const child_types = term.child_types || [];
|
|
598
|
-
switch (usecase.target) {
|
|
599
|
-
case "barchart":
|
|
600
|
-
case "violin":
|
|
601
|
-
case "boxplot":
|
|
602
|
-
case "summary":
|
|
603
|
-
if (term.type && term.type !== "survival") uses.add("plot");
|
|
604
|
-
if (hasAllowedChildTypes(child_types, ["survival"])) uses.add("branch");
|
|
605
|
-
return uses;
|
|
606
|
-
case "summaryInput":
|
|
607
|
-
if (usecase.detail === "term2" || usecase.detail == "term0") {
|
|
608
|
-
if (term.type && term.type !== "survival") uses.add("plot");
|
|
609
|
-
if (hasAllowedChildTypes(child_types, ["survival"])) uses.add("branch");
|
|
610
|
-
return uses;
|
|
611
|
-
} else {
|
|
612
|
-
if (graphableTypes.has(term.type)) uses.add("plot");
|
|
613
|
-
if (!term.isleaf) uses.add("branch");
|
|
614
|
-
return uses;
|
|
615
|
-
}
|
|
616
|
-
case "matrix":
|
|
617
|
-
if (term.type) uses.add("plot");
|
|
618
|
-
if (!term.isleaf) uses.add("branch");
|
|
619
|
-
return uses;
|
|
620
|
-
case "table":
|
|
621
|
-
if (usecase.detail == "term") uses.add("plot");
|
|
622
|
-
if (child_types.length > 1) uses.add("branch");
|
|
623
|
-
return uses;
|
|
624
|
-
case "sampleScatter":
|
|
625
|
-
if (usecase.detail == "numeric") {
|
|
626
|
-
if (isNumericTerm(term)) {
|
|
627
|
-
uses.add("plot");
|
|
628
|
-
}
|
|
629
|
-
if (hasNumericChild(child_types)) uses.add("branch");
|
|
630
|
-
} else {
|
|
631
|
-
if (graphableTypes.has(term.type)) uses.add("plot");
|
|
632
|
-
if (!term.isleaf) uses.add("branch");
|
|
633
|
-
}
|
|
634
|
-
return uses;
|
|
635
|
-
case "runChart2":
|
|
636
|
-
if (usecase.detail == "date" || usecase.detail == "xtw") {
|
|
637
|
-
if (term.type == "date") {
|
|
638
|
-
uses.add("plot");
|
|
639
|
-
}
|
|
640
|
-
if (child_types.includes("date")) uses.add("branch");
|
|
641
|
-
} else if (usecase.detail == "numeric") {
|
|
642
|
-
if (isNumericTerm(term) && term.type != "date") {
|
|
643
|
-
uses.add("plot");
|
|
644
|
-
}
|
|
645
|
-
if (hasNumericChild(child_types)) uses.add("branch");
|
|
646
|
-
} else {
|
|
647
|
-
if (graphableTypes.has(term.type)) uses.add("plot");
|
|
648
|
-
if (!term.isleaf) uses.add("branch");
|
|
649
|
-
}
|
|
650
|
-
return uses;
|
|
651
|
-
case "numericDictTermCluster":
|
|
652
|
-
if (!usecase.detail?.exclude?.includes(term.id)) {
|
|
653
|
-
if (isNumericTerm(term)) {
|
|
654
|
-
uses.add("plot");
|
|
655
|
-
}
|
|
656
|
-
if (hasNumericChild(child_types)) {
|
|
657
|
-
uses.add("branch");
|
|
658
|
-
}
|
|
659
|
-
}
|
|
660
|
-
return uses;
|
|
661
|
-
case "termCollections":
|
|
662
|
-
if (usecase.detail?.termIds?.includes(term.id)) uses.add("plot");
|
|
663
|
-
if (usecase.detail?.branchIds?.includes(term.id)) uses.add("branch");
|
|
664
|
-
return uses;
|
|
665
|
-
case "profileForms":
|
|
666
|
-
if (!term.isleaf) {
|
|
667
|
-
const ancestors = term.id.split("__").length;
|
|
668
|
-
if (ancestors == 3) {
|
|
669
|
-
uses.add("plot");
|
|
670
|
-
} else if (ancestors < 3) uses.add("branch");
|
|
671
|
-
}
|
|
672
|
-
return uses;
|
|
673
|
-
case "profileForms2": {
|
|
674
|
-
if (term.isleaf) return uses;
|
|
675
|
-
const allowed = termdbConfig?.plotConfigByCohort?.[usecase.cohort]?.profileForms2?.domains;
|
|
676
|
-
if (!allowed) return uses;
|
|
677
|
-
const ancestors = term.id.split("__").length;
|
|
678
|
-
const subtype = usecase.subtype;
|
|
679
|
-
if (ancestors == 3) {
|
|
680
|
-
if (allowed.find((d) => d.id === term.id)?.plotTypes?.includes(subtype))
|
|
681
|
-
uses.add("plot");
|
|
682
|
-
} else if (ancestors < 3) {
|
|
683
|
-
const prefix = term.id + "__";
|
|
684
|
-
if (allowed.some(
|
|
685
|
-
(d) => d.id.startsWith(prefix) && d.plotTypes.includes(subtype)
|
|
686
|
-
)) {
|
|
687
|
-
uses.add("branch");
|
|
688
|
-
}
|
|
689
|
-
}
|
|
690
|
-
return uses;
|
|
691
|
-
}
|
|
692
|
-
// case 'boxplot':
|
|
693
|
-
// if (term.type == 'float' || term.type == 'integer') uses.add('plot')
|
|
694
|
-
// if (usecase.detail === 'term2' && hasNumericChild(child_types)) uses.add('branch')
|
|
695
|
-
// return uses
|
|
696
|
-
case "cuminc":
|
|
697
|
-
if (usecase.detail == "term") {
|
|
698
|
-
if (term.type == "condition") uses.add("plot");
|
|
699
|
-
if (child_types.includes("condition")) uses.add("branch");
|
|
700
|
-
return uses;
|
|
701
|
-
}
|
|
702
|
-
if (usecase.detail === "term2" || usecase.detail == "term0") {
|
|
703
|
-
if (term.type && term.type != "condition" && term.type != "survival")
|
|
704
|
-
uses.add("plot");
|
|
705
|
-
if (hasAllowedChildTypes(child_types, ["condition", "survival"]))
|
|
706
|
-
uses.add("branch");
|
|
707
|
-
return uses;
|
|
708
|
-
}
|
|
709
|
-
return uses;
|
|
710
|
-
case "survival":
|
|
711
|
-
if (usecase.detail == "term") {
|
|
712
|
-
if (term.type == "survival") uses.add("plot");
|
|
713
|
-
if (child_types.includes("survival")) uses.add("branch");
|
|
714
|
-
return uses;
|
|
715
|
-
}
|
|
716
|
-
if (usecase.detail === "term2" || usecase.detail == "term0") {
|
|
717
|
-
if (term.type && term.type != "survival") uses.add("plot");
|
|
718
|
-
if (hasAllowedChildTypes(child_types, ["survival"])) uses.add("branch");
|
|
719
|
-
return uses;
|
|
720
|
-
}
|
|
721
|
-
return uses;
|
|
722
|
-
case "regression":
|
|
723
|
-
if (usecase.detail == "outcome") {
|
|
724
|
-
if (usecase.regressionType == "linear") {
|
|
725
|
-
if (term.type == "float" || term.type == "integer") uses.add("plot");
|
|
726
|
-
if (hasNumericChild(child_types)) uses.add("branch");
|
|
727
|
-
return uses;
|
|
728
|
-
}
|
|
729
|
-
if (usecase.regressionType == "logistic") {
|
|
730
|
-
if (term.type && term.type != "survival") uses.add("plot");
|
|
731
|
-
if (hasAllowedChildTypes(child_types, ["survival"]))
|
|
732
|
-
uses.add("branch");
|
|
733
|
-
return uses;
|
|
734
|
-
} else if (usecase.regressionType == "cox") {
|
|
735
|
-
if (term.type == "condition" || term.type == "survival")
|
|
736
|
-
uses.add("plot");
|
|
737
|
-
if (child_types.includes("condition") || child_types.includes("survival"))
|
|
738
|
-
uses.add("branch");
|
|
739
|
-
return uses;
|
|
740
|
-
}
|
|
741
|
-
}
|
|
742
|
-
if (usecase.detail == "independent") {
|
|
743
|
-
if (term.type == "float" || term.type == "integer" || term.type == "categorical" || term.type == "samplelst")
|
|
744
|
-
uses.add("plot");
|
|
745
|
-
if (hasChildTypes(child_types, ["categorical", "float", "integer"]))
|
|
746
|
-
uses.add("branch");
|
|
747
|
-
return uses;
|
|
748
|
-
}
|
|
749
|
-
return uses;
|
|
750
|
-
case "filter": {
|
|
751
|
-
const exlst = termdbConfig?.excludedTermtypeByTarget?.filter;
|
|
752
|
-
if (exlst) {
|
|
753
|
-
if (graphableTypes.has(term.type) && !exlst.includes(term.type))
|
|
754
|
-
uses.add("plot");
|
|
755
|
-
if (child_types.find((t) => !exlst.includes(t))) uses.add("branch");
|
|
756
|
-
return uses;
|
|
757
|
-
}
|
|
758
|
-
if (graphableTypes.has(term.type)) uses.add("plot");
|
|
759
|
-
if (!term.isleaf) uses.add("branch");
|
|
760
|
-
return uses;
|
|
761
|
-
}
|
|
762
|
-
case "correlationVolcano":
|
|
763
|
-
if (usecase.detail == "numeric") {
|
|
764
|
-
if (isNumericTerm(term)) {
|
|
765
|
-
uses.add("plot");
|
|
766
|
-
}
|
|
767
|
-
if (hasNumericChild(child_types)) uses.add("branch");
|
|
768
|
-
} else {
|
|
769
|
-
if (graphableTypes.has(term.type)) uses.add("plot");
|
|
770
|
-
if (!term.isleaf) uses.add("branch");
|
|
771
|
-
}
|
|
772
|
-
return uses;
|
|
773
|
-
case "proteinView":
|
|
774
|
-
if (term.type == TermTypes.PROTEOME_ABUNDANCE) uses.add("plot");
|
|
775
|
-
if (child_types.includes(TermTypes.PROTEOME_ABUNDANCE)) uses.add("branch");
|
|
776
|
-
return uses;
|
|
777
|
-
default:
|
|
778
|
-
if (graphableTypes.has(term.type)) uses.add("plot");
|
|
779
|
-
if (!term.isleaf) uses.add("branch");
|
|
780
|
-
return uses;
|
|
781
|
-
}
|
|
782
|
-
}
|
|
783
|
-
function hasAllowedChildTypes(child_types, excluded_types) {
|
|
784
|
-
if (!child_types.length) {
|
|
785
|
-
return false;
|
|
786
|
-
}
|
|
787
|
-
if (!excluded_types?.length) {
|
|
788
|
-
return true;
|
|
789
|
-
}
|
|
790
|
-
if (child_types.some((type) => !excluded_types.includes(type))) {
|
|
791
|
-
return true;
|
|
792
|
-
}
|
|
793
|
-
}
|
|
794
|
-
function hasNumericChild(child_types) {
|
|
795
|
-
return child_types.includes("float") || child_types.includes("integer");
|
|
796
|
-
}
|
|
797
|
-
function hasChildTypes(child_types, expected_types) {
|
|
798
|
-
for (const a of expected_types) {
|
|
799
|
-
if (child_types.includes(a)) return true;
|
|
800
|
-
}
|
|
801
|
-
}
|
|
802
|
-
|
|
803
|
-
// ../shared/utils/src/time.js
|
|
804
|
-
function formatElapsedTime(ms, precision = 2) {
|
|
805
|
-
if (typeof ms !== "number" || isNaN(ms)) {
|
|
806
|
-
return typeof ms !== "number" ? "Invalid time: not a number" : "Invalid time: NaN";
|
|
807
|
-
}
|
|
808
|
-
if (!isFinite(ms)) {
|
|
809
|
-
return ms > 0 ? "Infinite time" : "-Infinite time";
|
|
810
|
-
}
|
|
811
|
-
const absMs = Math.abs(ms);
|
|
812
|
-
const sign = ms < 0 ? "-" : "";
|
|
813
|
-
if (absMs < 1e3) {
|
|
814
|
-
return `${sign}${absMs}ms`;
|
|
815
|
-
}
|
|
816
|
-
if (absMs < 6e4) {
|
|
817
|
-
return `${sign}${(absMs / 1e3).toFixed(precision)}s`;
|
|
818
|
-
}
|
|
819
|
-
const minutes = Math.floor(absMs / 6e4);
|
|
820
|
-
const seconds = (absMs % 6e4 / 1e3).toFixed(precision);
|
|
821
|
-
return `${sign}${minutes}m ${seconds}s`;
|
|
822
|
-
}
|
|
823
|
-
|
|
824
|
-
// ../shared/utils/src/vcf.ann.js
|
|
825
|
-
function parse_ANN(str, header, m) {
|
|
826
|
-
if (!header) {
|
|
827
|
-
return null;
|
|
828
|
-
}
|
|
829
|
-
for (const thisannotation of str.split(",")) {
|
|
830
|
-
const lst = thisannotation.replace(/&/g, ",").split("|");
|
|
831
|
-
const o = {};
|
|
832
|
-
for (let i2 = 0; i2 < header.length; i2++) {
|
|
833
|
-
if (lst[i2]) {
|
|
834
|
-
o[header[i2].name] = lst[i2];
|
|
835
|
-
}
|
|
836
|
-
}
|
|
837
|
-
if (!o.Allele) {
|
|
838
|
-
continue;
|
|
839
|
-
}
|
|
840
|
-
let allele = null;
|
|
841
|
-
for (const a of m.alleles) {
|
|
842
|
-
if (a.allele == o.Allele) {
|
|
843
|
-
allele = a;
|
|
844
|
-
break;
|
|
845
|
-
}
|
|
846
|
-
}
|
|
847
|
-
if (!allele) {
|
|
848
|
-
continue;
|
|
849
|
-
}
|
|
850
|
-
if (!allele.ann) {
|
|
851
|
-
allele.ann = [];
|
|
852
|
-
}
|
|
853
|
-
allele.ann.push(o);
|
|
854
|
-
o._gene = o.Gene_Name;
|
|
855
|
-
if (o.Feature_Type && o.Feature_Type == "transcript" && o.Feature_ID) {
|
|
856
|
-
o._isoform = o.Feature_ID.split(".")[0];
|
|
857
|
-
}
|
|
858
|
-
if (o.Annotation) {
|
|
859
|
-
const [dt, cls, rank] = vepinfo(o.Annotation);
|
|
860
|
-
o._dt = dt;
|
|
861
|
-
o._class = cls;
|
|
862
|
-
o._csqrank = rank;
|
|
863
|
-
} else {
|
|
864
|
-
o._dt = dtsnvindel;
|
|
865
|
-
o._class = mclassnonstandard;
|
|
866
|
-
}
|
|
867
|
-
if (o["HGVS.p"]) {
|
|
868
|
-
o._mname = o["HGVS.p"];
|
|
869
|
-
} else if (o["HGVS.c"]) {
|
|
870
|
-
o._mname = o["HGVS.c"];
|
|
871
|
-
} else {
|
|
872
|
-
}
|
|
873
|
-
}
|
|
874
|
-
return true;
|
|
875
|
-
}
|
|
876
|
-
|
|
877
|
-
// ../shared/utils/src/vcf.csq.js
|
|
878
|
-
function parse_CSQ(str, header, m) {
|
|
879
|
-
if (!header) {
|
|
880
|
-
return null;
|
|
881
|
-
}
|
|
882
|
-
for (const thisannotation of str.split(",")) {
|
|
883
|
-
const lst = thisannotation.replace(/&/g, ",").split("|");
|
|
884
|
-
const o = {};
|
|
885
|
-
for (let i2 = 0; i2 < header.length; i2++) {
|
|
886
|
-
if (lst[i2]) {
|
|
887
|
-
o[header[i2].name] = lst[i2];
|
|
888
|
-
}
|
|
889
|
-
}
|
|
890
|
-
if (!o.Allele) {
|
|
891
|
-
continue;
|
|
892
|
-
}
|
|
893
|
-
let allele = null;
|
|
894
|
-
for (const a of m.mlst || m.alleles) {
|
|
895
|
-
if (a.allele_original == o.Allele) {
|
|
896
|
-
allele = a;
|
|
897
|
-
break;
|
|
898
|
-
}
|
|
899
|
-
}
|
|
900
|
-
if (!allele) {
|
|
901
|
-
if (o.Allele == "-") {
|
|
902
|
-
if (m.mlst) {
|
|
903
|
-
if (m.mlst.length == 1) {
|
|
904
|
-
allele = m.mlst[0];
|
|
905
|
-
}
|
|
906
|
-
} else if (m.alleles) {
|
|
907
|
-
if (m.alleles.length == 1) {
|
|
908
|
-
allele = m.alleles[0];
|
|
909
|
-
}
|
|
910
|
-
}
|
|
911
|
-
} else {
|
|
912
|
-
for (const a of m.mlst || m.alleles) {
|
|
913
|
-
if (a.allele_original.substr(1) == o.Allele) {
|
|
914
|
-
allele = a;
|
|
915
|
-
break;
|
|
916
|
-
}
|
|
917
|
-
}
|
|
918
|
-
}
|
|
919
|
-
if (!allele) {
|
|
920
|
-
continue;
|
|
921
|
-
}
|
|
922
|
-
}
|
|
923
|
-
if (!allele.csq) {
|
|
924
|
-
allele.csq = [];
|
|
925
|
-
}
|
|
926
|
-
allele.csq.push(o);
|
|
927
|
-
o._gene = o.SYMBOL || o.Gene;
|
|
928
|
-
if (o.Feature_type && o.Feature_type == "Transcript") {
|
|
929
|
-
o._isoform = o.Feature.split(".")[0];
|
|
930
|
-
} else {
|
|
931
|
-
o._isoform = o._gene;
|
|
932
|
-
}
|
|
933
|
-
if (o.Consequence) {
|
|
934
|
-
const [dt, cls, rank] = vepinfo(o.Consequence);
|
|
935
|
-
o._dt = dt;
|
|
936
|
-
o._class = cls;
|
|
937
|
-
o._csqrank = rank;
|
|
938
|
-
} else {
|
|
939
|
-
o._dt = dtsnvindel;
|
|
940
|
-
o._class = mclassnonstandard;
|
|
941
|
-
}
|
|
942
|
-
if (o.HGVSp) {
|
|
943
|
-
o._mname = decodeURIComponent(o.HGVSp.substr(o.HGVSp.indexOf(":") + 1));
|
|
944
|
-
} else if (o.Protein_position && o.Amino_acids) {
|
|
945
|
-
o._mname = decodeURIComponent(o.Protein_position + o.Amino_acids);
|
|
946
|
-
} else if (o.HGVSc) {
|
|
947
|
-
o._mname = o.HGVSc.substr(o.HGVSc.indexOf(":") + 1);
|
|
948
|
-
} else if (o.Existing_variation) {
|
|
949
|
-
o._name = o.Existing_variation;
|
|
950
|
-
} else {
|
|
951
|
-
}
|
|
952
|
-
}
|
|
953
|
-
return true;
|
|
954
|
-
}
|
|
955
|
-
|
|
956
|
-
// ../shared/utils/src/vcf.info.js
|
|
957
|
-
function dissect_INFO(str) {
|
|
958
|
-
let findsemicolon = false;
|
|
959
|
-
let findequalorsemicolon = true;
|
|
960
|
-
let i2 = 0;
|
|
961
|
-
let idx = 0;
|
|
962
|
-
const k2v = {};
|
|
963
|
-
let lastkey;
|
|
964
|
-
while (i2 < str.length) {
|
|
965
|
-
const c = str[i2];
|
|
966
|
-
if (findequalorsemicolon) {
|
|
967
|
-
if (c == "=") {
|
|
968
|
-
findsemicolon = true;
|
|
969
|
-
findequalorsemicolon = false;
|
|
970
|
-
lastkey = str.substring(idx, i2);
|
|
971
|
-
idx = i2 + 1;
|
|
972
|
-
} else if (c == ";") {
|
|
973
|
-
k2v[str.substring(idx, i2)] = 1;
|
|
974
|
-
idx = i2 + 1;
|
|
975
|
-
}
|
|
976
|
-
} else if (findsemicolon && c == ";") {
|
|
977
|
-
findequalorsemicolon = true;
|
|
978
|
-
findsemicolon = false;
|
|
979
|
-
k2v[lastkey] = str.substring(idx, i2);
|
|
980
|
-
lastkey = null;
|
|
981
|
-
idx = i2 + 1;
|
|
982
|
-
}
|
|
983
|
-
i2++;
|
|
984
|
-
}
|
|
985
|
-
const remainstr = str.substr(idx, i2);
|
|
986
|
-
if (lastkey) {
|
|
987
|
-
k2v[lastkey] = remainstr;
|
|
988
|
-
} else {
|
|
989
|
-
k2v[remainstr] = 1;
|
|
990
|
-
}
|
|
991
|
-
return k2v;
|
|
992
|
-
}
|
|
993
|
-
|
|
994
|
-
// ../shared/utils/src/vcf.type.js
|
|
995
|
-
function getVariantType(ref, alt) {
|
|
996
|
-
if (ref.length == 1 && alt.length == 1) {
|
|
997
|
-
if (alt == ".") {
|
|
998
|
-
return mclassdeletion;
|
|
999
|
-
}
|
|
1000
|
-
return mclasssnv;
|
|
1001
|
-
}
|
|
1002
|
-
if (ref.length == alt.length) return mclassmnv;
|
|
1003
|
-
if (ref.length < alt.length) return mclassinsertion;
|
|
1004
|
-
if (ref.length > alt.length) return mclassdeletion;
|
|
1005
|
-
return mclassnonstandard2;
|
|
1006
|
-
}
|
|
1007
|
-
|
|
1008
|
-
// ../shared/utils/src/vcf.js
|
|
1009
|
-
var getallelename = new RegExp(/<(.+)>/);
|
|
1010
|
-
var mclasslabel2key = {};
|
|
1011
|
-
for (const k in mclass) {
|
|
1012
|
-
mclasslabel2key[mclass[k].label.toUpperCase()] = k;
|
|
1013
|
-
}
|
|
1014
|
-
function vcfparsemeta(lines) {
|
|
1015
|
-
let sample = [], errlst = [], info = {}, hasinfo = false, format = {}, hasformat = false;
|
|
1016
|
-
for (const line of lines) {
|
|
1017
|
-
if (!line.startsWith("#")) {
|
|
1018
|
-
continue;
|
|
1019
|
-
}
|
|
1020
|
-
if (line.startsWith("#C")) {
|
|
1021
|
-
sample = line.split(" ").slice(9);
|
|
1022
|
-
continue;
|
|
1023
|
-
}
|
|
1024
|
-
if (line.startsWith("##INFO")) {
|
|
1025
|
-
const e = tohash(line.substring(8, line.length - 1), info);
|
|
1026
|
-
if (e) {
|
|
1027
|
-
errlst.push("INFO error: " + e);
|
|
1028
|
-
} else {
|
|
1029
|
-
hasinfo = true;
|
|
1030
|
-
}
|
|
1031
|
-
continue;
|
|
1032
|
-
}
|
|
1033
|
-
if (line.startsWith("##FORMAT")) {
|
|
1034
|
-
const e = tohash(line.substring(10, line.length - 1), format);
|
|
1035
|
-
if (e) {
|
|
1036
|
-
errlst.push("FORMAT error: " + e);
|
|
1037
|
-
} else {
|
|
1038
|
-
hasformat = true;
|
|
1039
|
-
}
|
|
1040
|
-
}
|
|
1041
|
-
}
|
|
1042
|
-
const sampleobjlst = [];
|
|
1043
|
-
for (const samplename of sample) {
|
|
1044
|
-
const a = { name: samplename };
|
|
1045
|
-
sampleobjlst.push(a);
|
|
1046
|
-
}
|
|
1047
|
-
if (info.CSQ) {
|
|
1048
|
-
const lst = info.CSQ.Description.split(" Format: ");
|
|
1049
|
-
if (lst[1]) {
|
|
1050
|
-
const lst2 = lst[1].split("|");
|
|
1051
|
-
if (lst2.length > 1) {
|
|
1052
|
-
info.CSQ.csqheader = [];
|
|
1053
|
-
for (const str of lst2) {
|
|
1054
|
-
const attr = { name: str };
|
|
1055
|
-
info.CSQ.csqheader.push(attr);
|
|
1056
|
-
}
|
|
1057
|
-
} else {
|
|
1058
|
-
errlst.push("unknown format for CSQ header: " + info.CSQ.Description);
|
|
1059
|
-
}
|
|
1060
|
-
} else {
|
|
1061
|
-
errlst.push("unknown format for CSQ header: " + info.CSQ.Description);
|
|
1062
|
-
}
|
|
1063
|
-
}
|
|
1064
|
-
if (info.ANN) {
|
|
1065
|
-
const lst = info.ANN.Description.split("'");
|
|
1066
|
-
if (lst[1]) {
|
|
1067
|
-
const lst2 = lst[1].split(" | ");
|
|
1068
|
-
if (lst2.length) {
|
|
1069
|
-
info.ANN.annheader = [];
|
|
1070
|
-
for (const s of lst2) {
|
|
1071
|
-
const attr = { name: s };
|
|
1072
|
-
info.ANN.annheader.push(attr);
|
|
1073
|
-
}
|
|
1074
|
-
} else {
|
|
1075
|
-
errlst.push(
|
|
1076
|
-
'no " | " joined annotation fields for ANN (snpEff annotation): ' + info.ANN.Description
|
|
1077
|
-
);
|
|
1078
|
-
}
|
|
1079
|
-
} else {
|
|
1080
|
-
errlst.push(
|
|
1081
|
-
"no single-quote enclosed annotation fields for ANN (snpEff annotation): " + info.ANN.Description
|
|
1082
|
-
);
|
|
1083
|
-
}
|
|
1084
|
-
}
|
|
1085
|
-
return [
|
|
1086
|
-
hasinfo ? info : null,
|
|
1087
|
-
hasformat ? format : null,
|
|
1088
|
-
sampleobjlst,
|
|
1089
|
-
errlst.length ? errlst : null
|
|
1090
|
-
];
|
|
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-WSYK5OTB.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
|
-
init_bulk_flag,
|
|
1813
|
-
parsesample,
|
|
1814
|
-
clusterMethodLst,
|
|
1815
|
-
distanceMethodLst,
|
|
1816
|
-
computePercentile,
|
|
1817
|
-
processFormData,
|
|
1818
|
-
fileSize,
|
|
1819
|
-
ssmIdFieldsSeparator,
|
|
1820
|
-
summarize_mclass,
|
|
1821
|
-
guessSsmid,
|
|
1822
|
-
initBinConfig,
|
|
1823
|
-
isUsableTerm,
|
|
1824
|
-
formatElapsedTime,
|
|
1825
|
-
vcfparsemeta,
|
|
1826
|
-
vcfparseline,
|
|
1827
|
-
setTokenByDsRoute,
|
|
1828
|
-
getSavedToken,
|
|
1829
|
-
mayAddJwtToRequest,
|
|
1830
|
-
includeEmbedder,
|
|
1831
|
-
setDsAuthOk,
|
|
1832
|
-
getRequiredAuth,
|
|
1833
|
-
isInSession,
|
|
1834
|
-
mayShowAuthUi,
|
|
1835
|
-
dofetch,
|
|
1836
|
-
dofetch2,
|
|
1837
|
-
namedFetch,
|
|
1838
|
-
dofetch3,
|
|
1839
|
-
clearServerDataCache,
|
|
1840
|
-
setAuth
|
|
1841
|
-
};
|
|
1842
|
-
//# sourceMappingURL=chunk-YC6ZJ7RP.js.map
|