@sjcrh/proteinpaint-client 2.196.0 → 2.198.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/2dmaf-R3PFZNRN.js +1373 -0
- package/dist/AIProjectAdmin-DM3KG6SR.js +958 -0
- package/dist/AppHeader-6DZQ6YZX.js +835 -0
- package/dist/BoxPlot-76NINVX4.js +1217 -0
- package/dist/CorrelationVolcano-U5UMJNH5.js +619 -0
- package/dist/DE-AXNYWIQK.js +95 -0
- package/dist/DEinput-JH6YY6LS.js +301 -0
- package/dist/DifferentialAnalysis-25P4CGIY.js +242 -0
- package/dist/DifferentialAnalysis-25P4CGIY.js.map +7 -0
- package/dist/Disco-NVMLF3BK.js +3392 -0
- package/dist/Disco-NVMLF3BK.js.map +7 -0
- package/dist/Disco.UI-C7CZINUQ.js +249 -0
- package/dist/DmrPlot-WROR4ENM.js +642 -0
- package/dist/GB-JUABODPH.js +1394 -0
- package/dist/GB-JUABODPH.js.map +7 -0
- package/dist/GSEA-Y5R2THIJ.js +846 -0
- package/dist/GSEA-Y5R2THIJ.js.map +7 -0
- package/dist/GeneExpInput-JDU6EI7K.js +367 -0
- package/dist/Geomap-J763OK2F.js +89 -0
- package/dist/Geomap-J763OK2F.js.map +7 -0
- package/dist/HicApp-UNIJLH4B.js +2250 -0
- package/dist/IDCViewer-KVPCIUDW.js +10803 -0
- package/dist/IDCViewer-KVPCIUDW.js.map +7 -0
- package/dist/NumBinaryEditor-WMN2GGO4.js +271 -0
- package/dist/NumBinaryEditor.unit.spec-TAMXV6SE.js +286 -0
- package/dist/NumContEditor-XYIOJY4E.js +109 -0
- package/dist/NumContEditor.unit.spec-WDZ75BHO.js +169 -0
- package/dist/NumCustomBinEditor-5SY3C4TY.js +38 -0
- package/dist/NumCustomBinEditor.unit.spec-XHTAIXR3.js +284 -0
- package/dist/NumDiscreteEditor-NRDRX4FD.js +179 -0
- package/dist/NumDiscreteEditor.unit.spec-2CJW7OAT.js +202 -0
- package/dist/NumRegularBinEditor-DUDVTNDC.js +38 -0
- package/dist/NumRegularBinEditor.unit.spec-H3GNQHMN.js +227 -0
- package/dist/NumSplineEditor-7Q4AC7KH.js +198 -0
- package/dist/NumSplineEditor.unit.spec-YRZK5PH5.js +199 -0
- package/dist/NumericDensity-NTNWUESG.js +38 -0
- package/dist/NumericDensity.unit.spec-5I5U6T6P.js +221 -0
- package/dist/NumericHandler-MEW2KMPX.js +39 -0
- package/dist/NumericHandler.unit.spec-JFX4BPRG.js +219 -0
- package/dist/ProteomeInput-K2ZHR2U6.js +395 -0
- package/dist/ProteomeInput-K2ZHR2U6.js.map +7 -0
- package/dist/RunChart2-BEBDU7RC.js +758 -0
- package/dist/SC-XCBFJVUJ.js +1120 -0
- package/dist/SC-XCBFJVUJ.js.map +7 -0
- package/dist/Volcano-4Y4TP3UX.js +1385 -0
- package/dist/Volcano-4Y4TP3UX.js.map +7 -0
- package/dist/WSIViewer-ZLQU62PD.js +48562 -0
- package/dist/WsiSamplesPlot-JMBSITOM.js +165 -0
- package/dist/adSandbox-664IRCRL.js +38 -0
- package/dist/animatedBubbleChart-TX7NW34K.js +555 -0
- package/dist/app-63WJ3BMP.js +37 -0
- package/dist/app-77FIZHCG.js +49 -0
- package/dist/app.js +19 -19
- package/dist/bam-IETNVAYD.js +860 -0
- package/dist/barchart-YUVXJNH4.js +47 -0
- package/dist/barchart.data-P4EIQXGE.js +22 -0
- package/dist/barchart.events-JPVCLTIG.js +47 -0
- package/dist/barchart.integration.spec-ZH7DEQI2.js +2196 -0
- package/dist/barchart2-XO2FG76J.js +314 -0
- package/dist/bars.renderer-AUIWUJDH.js +12 -0
- package/dist/block-NBTCOT3H.js +6255 -0
- package/dist/block-NBTCOT3H.js.map +7 -0
- package/dist/block.init-X7Y2EEVR.js +38 -0
- package/dist/block.mds.expressionrank-BIAOZIZ3.js +359 -0
- package/dist/block.mds.geneboxplot-CNICDVLK.js +828 -0
- package/dist/block.mds.junction-PQXCTSUI.js +1545 -0
- package/dist/block.mds.svcnv-32KMVTCT.js +6801 -0
- package/dist/block.svg-LRTOYQK2.js +164 -0
- package/dist/block.tk.aicheck-HDV7ZIUD.js +283 -0
- package/dist/block.tk.ase-JIDWKMYI.js +365 -0
- package/dist/block.tk.bam-5X3OS5HB.js +1906 -0
- package/dist/block.tk.bedgraphdot-T7JX7YQL.js +384 -0
- package/dist/block.tk.bigwig.ui-OSAYEBAE.js +212 -0
- package/dist/block.tk.hicstraw-DEY3VQFK.js +823 -0
- package/dist/block.tk.junction-7UAFEZSJ.js +2364 -0
- package/dist/block.tk.junction.textmatrixui-27LHS33U.js +199 -0
- package/dist/block.tk.ld-DF2PI7OO.js +99 -0
- package/dist/block.tk.menu-L2D5KBIV.js +1029 -0
- package/dist/block.tk.pgv-QO56SKBV.js +944 -0
- package/dist/brainImaging-NIPQWFWO.js +423 -0
- package/dist/brainRegions-ZNZ2WHSU.js +221 -0
- package/dist/bubbleHeatmap-ERWNEKZB.js +383 -0
- package/dist/chunk-2GYWFQML.js +299 -0
- package/dist/chunk-2HYJ4GDH.js +50 -0
- package/dist/chunk-2MG6XE6R.js +272 -0
- package/dist/chunk-2X6W4E3W.js +1507 -0
- package/dist/chunk-2X6W4E3W.js.map +7 -0
- package/dist/chunk-33K5PA52.js +54 -0
- package/dist/chunk-37XDBPOP.js +26 -0
- package/dist/chunk-3EWB3246.js +58 -0
- package/dist/chunk-3RSKOPIY.js +100 -0
- package/dist/chunk-3XVVN66M.js +4085 -0
- package/dist/chunk-3XVVN66M.js.map +7 -0
- package/dist/chunk-4DPVT4NE.js +1102 -0
- package/dist/chunk-4IH7DORZ.js +98 -0
- package/dist/chunk-4QNBFIIR.js +399 -0
- package/dist/chunk-4STKL6SR.js +217 -0
- package/dist/chunk-4TZIVSL5.js +34 -0
- package/dist/chunk-5ABGFJSP.js +467 -0
- package/dist/chunk-5AZNP47R.js +302 -0
- package/dist/chunk-5RL2OHXX.js +5070 -0
- package/dist/chunk-5RL2OHXX.js.map +7 -0
- package/dist/chunk-5VOPABBA.js +20941 -0
- package/dist/chunk-5VOPABBA.js.map +7 -0
- package/dist/chunk-6BB43SIB.js +102 -0
- package/dist/chunk-7OHRR2IE.js +276 -0
- package/dist/chunk-ARBHWDMY.js +226 -0
- package/dist/chunk-ARBHWDMY.js.map +7 -0
- package/dist/chunk-ASATD4T7.js +14 -0
- package/dist/chunk-AZ47Q7BX.js +1223 -0
- package/dist/chunk-AZ47Q7BX.js.map +7 -0
- package/dist/chunk-B5B3LZB3.js +236 -0
- package/dist/chunk-BHGISFCA.js +2681 -0
- package/dist/chunk-BMBOZ64T.js +2786 -0
- package/dist/chunk-BOZJHPJP.js +216 -0
- package/dist/chunk-CDD7LYJM.js +194 -0
- package/dist/chunk-CTQ3IUCA.js +2327 -0
- package/dist/chunk-D7TID3HR.js +158 -0
- package/dist/chunk-DBKNWR4J.js +1561 -0
- package/dist/chunk-DBKNWR4J.js.map +7 -0
- package/dist/chunk-E55LLYRX.js +55 -0
- package/dist/chunk-ESGXULRH.js +386 -0
- package/dist/chunk-EZ4LZ6ZT.js +117 -0
- package/dist/chunk-F3SJTVP5.js +4284 -0
- package/dist/chunk-F5IXNJO7.js +222 -0
- package/dist/chunk-FJYECRHW.js +448 -0
- package/dist/chunk-FPNRUQOU.js +833 -0
- package/dist/chunk-G5S4R77D.js +1942 -0
- package/dist/chunk-G5S4R77D.js.map +7 -0
- package/dist/chunk-G764NXQN.js +170 -0
- package/dist/chunk-GAPI4MML.js +148 -0
- package/dist/chunk-HLUZOZXJ.js +272 -0
- package/dist/chunk-HOKIK2FR.js +375 -0
- package/dist/chunk-I6WR4CG7.js +323 -0
- package/dist/chunk-I6WR4CG7.js.map +7 -0
- package/dist/chunk-KLGL6XZD.js +129 -0
- package/dist/chunk-KTKZSYIH.js +24 -0
- package/dist/chunk-KTKZSYIH.js.map +7 -0
- package/dist/chunk-L7IRWUKT.js +480 -0
- package/dist/chunk-LFCYMSVA.js +314 -0
- package/dist/chunk-LFCYMSVA.js.map +7 -0
- package/dist/chunk-LX6G7HJJ.js +617 -0
- package/dist/chunk-M2G5R4WB.js +142 -0
- package/dist/chunk-M4TTGGT4.js +102 -0
- package/dist/chunk-M6EF3WVV.js +1825 -0
- package/dist/chunk-M6KHT3MM.js +146 -0
- package/dist/chunk-MCZFHWIR.js +230 -0
- package/dist/chunk-MFQACKYU.js +448 -0
- package/dist/chunk-MVGAGTM3.js +343 -0
- package/dist/chunk-NELOT3NJ.js +119 -0
- package/dist/chunk-NRKMXULC.js +54 -0
- package/dist/chunk-NSTL4MY2.js +2110 -0
- package/dist/chunk-NSTL4MY2.js.map +7 -0
- package/dist/chunk-NYRZNRG5.js +177 -0
- package/dist/chunk-ONPKE6DC.js +368 -0
- package/dist/chunk-OXVLWQ6M.js +556 -0
- package/dist/chunk-OXVLWQ6M.js.map +7 -0
- package/dist/chunk-PFRWS4CR.js +203 -0
- package/dist/chunk-PJKQUXEN.js +1275 -0
- package/dist/chunk-Q2L44HK3.js +6364 -0
- package/dist/chunk-QNHT74XC.js +1245 -0
- package/dist/chunk-QNHT74XC.js.map +7 -0
- package/dist/chunk-RKO6BL5N.js +446 -0
- package/dist/chunk-T25QNZHB.js +254 -0
- package/dist/chunk-U7TBYVIQ.js +31 -0
- package/dist/chunk-UGRQXBL4.js +381 -0
- package/dist/chunk-USFSHSCJ.js +477 -0
- package/dist/chunk-VJ6UFVGC.js +2833 -0
- package/dist/chunk-W3WPPOXH.js +292 -0
- package/dist/chunk-WFCSOTBO.js +263 -0
- package/dist/chunk-WHP4AKDM.js +185 -0
- package/dist/chunk-WHP4AKDM.js.map +7 -0
- package/dist/chunk-WZ2L57MB.js +102 -0
- package/dist/chunk-XPY6AWXO.js +787 -0
- package/dist/chunk-XPY6AWXO.js.map +7 -0
- package/dist/chunk-Y4UAKFWC.js +37 -0
- package/dist/chunk-YQBS2ZCK.js +514 -0
- package/dist/chunk-Z5U6HOE4.js +190 -0
- package/dist/chunk-Z5U6HOE4.js.map +7 -0
- package/dist/chunk-ZNEJUKJW.js +140 -0
- package/dist/chunk-ZNEJUKJW.js.map +7 -0
- package/dist/chunk-ZTHM2TKP.js +176 -0
- package/dist/condition-2PASYSUC.js +332 -0
- package/dist/controls-5IMJ6K5L.js +41 -0
- package/dist/controls.config-P5PG2DHW.js +39 -0
- package/dist/correlation-U3EDLNHR.js +102 -0
- package/dist/cuminc-2HUFEROK.js +1149 -0
- package/dist/cuminc.integration.spec-WFWAPTDA.js +678 -0
- package/dist/cuminc.integration.spec-WFWAPTDA.js.map +7 -0
- package/dist/customdata.inputui-ZHWNEPFH.js +289 -0
- package/dist/dataDownload-VBSJBKMP.js +330 -0
- package/dist/dataDownload.integration.spec-LUFSETOP.js +193 -0
- package/dist/databrowser.ui-6H2KMSTJ.js +433 -0
- package/dist/dictionary-V37LXFIP.js +118 -0
- package/dist/dnaMethylation-OIZMHMLK.js +38 -0
- package/dist/dnaMethylation.integration.spec-CWPTJ74H.js +203 -0
- package/dist/dofetch-IWPZQB5N.js +51 -0
- package/dist/e2pca-7SLIAGYW.js +350 -0
- package/dist/ep-7L6KF6K4.js +1256 -0
- package/dist/expclust.gdc.spec-JT452Q3G.js +307 -0
- package/dist/facet-CXOUU5AS.js +521 -0
- package/dist/forms2-VPNCLQOY.js +539 -0
- package/dist/gb-P4VRXRED.js +88 -0
- package/dist/geneExpClustering-FQTCKRJJ.js +249 -0
- package/dist/geneExpression-BHO5326K.js +313 -0
- package/dist/geneExpression-ZMERB64E.js +38 -0
- package/dist/geneExpression.unit.spec-CNVHZWNG.js +102 -0
- package/dist/geneORA-FXVUCXGX.js +278 -0
- package/dist/geneRanking-SFK4UBKQ.js +553 -0
- package/dist/geneVariant-IYEHB4H7.js +41 -0
- package/dist/geneVariant-LIRRLUFR.js +39 -0
- package/dist/geneVariant.integration.spec-Y2NPNTYX.js +198 -0
- package/dist/genefusion.ui-L3HIJM3N.js +309 -0
- package/dist/geneset-A6VUFX63.js +208 -0
- package/dist/genomeBrowser.spec-CB4HHHBN.js +281 -0
- package/dist/grin2-FKBIMH5N.js +75 -0
- package/dist/grin2-V36KLEBU.js +1143 -0
- package/dist/grin2-V36KLEBU.js.map +7 -0
- package/dist/hierCluster-QFPRMHVA.js +63 -0
- package/dist/hierCluster-YWC3XYPV.js +59 -0
- package/dist/hierCluster.config-F7YYZNM3.js +40 -0
- package/dist/hierCluster.integration.spec-AF4L3YT6.js +488 -0
- package/dist/hierCluster.interactivity-RPY74PK6.js +54 -0
- package/dist/hierCluster.renderers-LOKHZ3V2.js +21 -0
- package/dist/imagePlot-BBEXA754.js +163 -0
- package/dist/importPlot-7QGANZGK.js +8 -0
- package/dist/isoformExpression-4SLLCVFD.js +40 -0
- package/dist/isoformExpression.unit.spec-GEL4JJ64.js +208 -0
- package/dist/launch.adhoc-LWLBQJS5.js +42 -0
- package/dist/leftlabel.sample-RTEZOIH2.js +264 -0
- package/dist/legacyDataset-VLD7ZYWI.js +119 -0
- package/dist/lollipop-XKQK5QZU.js +171 -0
- package/dist/maf-AZQPPWDO.js +459 -0
- package/dist/maftimeline-7MSVYKQU.js +593 -0
- package/dist/matrix-BGLWC25D.js +58 -0
- package/dist/matrix-IQR5SRMK.js +63 -0
- package/dist/matrix.cells-5C57NWOY.js +28 -0
- package/dist/matrix.config-2DQXAN2E.js +41 -0
- package/dist/matrix.data-ADCGF5H6.js +25 -0
- package/dist/matrix.groups-V4ITQ5F7.js +27 -0
- package/dist/matrix.integration.spec-IBNOO2WP.js +3072 -0
- package/dist/matrix.integration.spec-IBNOO2WP.js.map +7 -0
- package/dist/matrix.interactivity-JNELJFOV.js +42 -0
- package/dist/matrix.layout-WBVIV6GR.js +44 -0
- package/dist/matrix.legend-YHOWPK77.js +22 -0
- package/dist/matrix.renderers-5BGVRR3M.js +38 -0
- package/dist/matrix.serieses-2GZJOASZ.js +21 -0
- package/dist/matrix.sort-WKIWPJKP.js +27 -0
- package/dist/matrix.sort.unit.spec-L2E4D4AS.js +472 -0
- package/dist/matrix.sorterUi-TEJWWJ64.js +18 -0
- package/dist/matrix.sorterUi.unit.spec-SHP7C4P7.js +342 -0
- package/dist/mavb-4MXNYUEO.js +732 -0
- package/dist/mds.fimo-WHIJIBOI.js +518 -0
- package/dist/mds.samplescatterplot-BRJ6NG2D.js +1550 -0
- package/dist/mds.survivalplot-OPCMB5PB.js +483 -0
- package/dist/numericDictTermCluster-7MIFOP2K.js +65 -0
- package/dist/oncomatrix-BGG6BEUI.js +295 -0
- package/dist/oncomatrix.spec-LYQ4L4F3.js +448 -0
- package/dist/plot.2dvaf-6WVCP2ZI.js +377 -0
- package/dist/plot.app-MLBP6WFP.js +41 -0
- package/dist/plot.barplot-JEPRZSCU.js +102 -0
- package/dist/plot.boxplot-GNFW42VM.js +152 -0
- package/dist/plot.brainImaging-5ACNSD45.js +51 -0
- package/dist/plot.disco-Q2V2KKIH.js +102 -0
- package/dist/plot.dzi-KVT6S7K7.js +33 -0
- package/dist/plot.ssgq-4N3KFJQ2.js +139 -0
- package/dist/plot.vaf2cov-ITRG5U43.js +259 -0
- package/dist/plot.wsi-26YZNU4V.js +36 -0
- package/dist/polar2-J7GVUK4X.js +231 -0
- package/dist/profileForms-VXV2JLXU.js +446 -0
- package/dist/profilePlot-ZZYZK4SY.js +54 -0
- package/dist/proteinView-7KN532D3.js +1568 -0
- package/dist/qualitative-MLRVLIAU.js +43 -0
- package/dist/radar2-WM2ZBOH3.js +326 -0
- package/dist/radarFacility2-3SBR2JJ3.js +334 -0
- package/dist/regression-WMRPQJW2.js +56 -0
- package/dist/regression.inputs-VWZKSYNY.js +48 -0
- package/dist/regression.inputs.term-OWE6GWHM.js +48 -0
- package/dist/regression.inputs.values.table-4INNZQI2.js +45 -0
- package/dist/regression.integration.spec-XKQ2JOOT.js +784 -0
- package/dist/regression.results-VZBYMBYC.js +40 -0
- package/dist/regression.spec-DU3UTDCJ.js +708 -0
- package/dist/render-N5FOF247.js +38 -0
- package/dist/report-DW3OHB67.js +222 -0
- package/dist/sampleScatter.spec-REFSK2V4.js +202 -0
- package/dist/sampleView-ICOT2R6O.js +48 -0
- package/dist/samplelst-TJEVASYG.js +111 -0
- package/dist/samplematrix-6DAWCXQ3.js +2198 -0
- package/dist/sc-53LNOB7N.js +86 -0
- package/dist/scatter-DKYSS4DL.js +851 -0
- package/dist/selectGenomeWithTklst-WTX66TV3.js +134 -0
- package/dist/singleCellCellType-D2CN2BHQ.js +38 -0
- package/dist/singleCellCellType.unit.spec-LADUCI4R.js +160 -0
- package/dist/singleCellGeneExpression-YR2ZT34W.js +38 -0
- package/dist/singleCellGeneExpression.unit.spec-BM63M432.js +153 -0
- package/dist/singleCellPlot-3ICIOILE.js +54 -0
- package/dist/singlecell-6ZUFA3BQ.js +86 -0
- package/dist/singlecell-KX7W4U57.js +1572 -0
- package/dist/snp-VIURB7L3.js +38 -0
- package/dist/snp.unit.spec-ACZNZUNS.js +176 -0
- package/dist/snplocus-3LW4ZUZR.js +208 -0
- package/dist/spliceevent.a53ss.diagram-AKTZGWNM.js +151 -0
- package/dist/spliceevent.exonskip.diagram-XZHXB77R.js +283 -0
- package/dist/spliceevent.exonskip.diagram-XZHXB77R.js.map +7 -0
- package/dist/spliceevent.noeventdiagram-YTXWWNTJ.js +460 -0
- package/dist/ssGSEA-THW4WFMI.js +38 -0
- package/dist/ssGSEA.unit.spec-HTRGQI2K.js +88 -0
- package/dist/summarizeCnvGeneexp-RFYC3H2Z.js +163 -0
- package/dist/summarizeGeneexpSurvival-DQBZUTQ6.js +114 -0
- package/dist/summarizeMutationCnv-7AYEMHAI.js +164 -0
- package/dist/summarizeMutationDiagnosis-AKFJDSAF.js +40 -0
- package/dist/summarizeMutationSurvival-QJHZRQBZ.js +99 -0
- package/dist/summary-A5P7AYK4.js +49 -0
- package/dist/summary.integration.spec-HQISXGNL.js +414 -0
- package/dist/summaryInput-HP675QOQ.js +235 -0
- package/dist/sunburst-65LSYRXX.js +284 -0
- package/dist/survival-QNEI6YVK.js +46 -0
- package/dist/survival-UI74VXSM.js +58 -0
- package/dist/survival.integration.spec-X5N3JQXS.js +915 -0
- package/dist/survival.integration.spec-X5N3JQXS.js.map +7 -0
- package/dist/svgraph-PSX2NER3.js +1387 -0
- package/dist/svmr-QDQ33EFX.js +3842 -0
- package/dist/table-LWAI27UO.js +200 -0
- package/dist/termCollection-3JHR74FG.js +179 -0
- package/dist/termCollection-CDF5LYUG.js +38 -0
- package/dist/termCollection.unit.spec-HOJKYWHF.js +208 -0
- package/dist/tk-GL4QCL4K.js +1019 -0
- package/dist/tk-GL4QCL4K.js.map +7 -0
- package/dist/tk-OEQFO73V.js +46 -0
- package/dist/tp.ui-SHNERDGC.js +1459 -0
- package/dist/tvs.dt-CZDC4TSR.js +39 -0
- package/dist/tvs.dtcnv.categorical-OPBDHZGB.js +40 -0
- package/dist/tvs.dtcnv.continuous-AR6P4EP3.js +72 -0
- package/dist/tvs.dtfusion-2YQ7N6FQ.js +40 -0
- package/dist/tvs.dtitd-ATCHW735.js +40 -0
- package/dist/tvs.dtitd-ATCHW735.js.map +7 -0
- package/dist/tvs.dtsnvindel-WHHWAATJ.js +40 -0
- package/dist/tvs.dtsv-3UMCW65O.js +40 -0
- package/dist/tvs.numeric-TOEPASWN.js +21 -0
- package/dist/tvs.samplelst-M7XKXRTZ.js +104 -0
- package/dist/tvs.termCollection-WT4WZMYR.js +159 -0
- package/dist/violin-2YGXTBDS.js +46 -0
- package/dist/violin.integration.spec-YWNHVAGS.js +1425 -0
- package/dist/violin.interactivity-J6BE2UQL.js +38 -0
- package/dist/violin.renderer-3GRUWP2U.js +40 -0
- package/dist/vocabulary-2INCVPYJ.js +41 -0
- package/package.json +3 -3
- package/dist/2dmaf-SKNV7IHT.js +0 -1373
- package/dist/AIProjectAdmin-AOTVRBNH.js +0 -958
- package/dist/AppHeader-M2ZSS3M3.js +0 -835
- package/dist/BoxPlot-P3EECSQA.js +0 -1217
- package/dist/CorrelationVolcano-YCQ5S6MT.js +0 -619
- package/dist/DE-RBMOQZCR.js +0 -95
- package/dist/DEinput-PTW6RS6U.js +0 -301
- package/dist/DifferentialAnalysis-M6IDWPYX.js +0 -245
- package/dist/DifferentialAnalysis-M6IDWPYX.js.map +0 -7
- package/dist/Disco-GUKDAHUY.js +0 -3297
- package/dist/Disco-GUKDAHUY.js.map +0 -7
- package/dist/Disco.UI-YBIMV7RH.js +0 -249
- package/dist/DmrPlot-JQPLLU6P.js +0 -642
- package/dist/GB-UOTFNVJE.js +0 -1353
- package/dist/GB-UOTFNVJE.js.map +0 -7
- package/dist/GeneExpInput-3OPDDCXR.js +0 -367
- package/dist/HicApp-VFOWRP6G.js +0 -2250
- package/dist/IDCViewer-Y7EOIIBG.js +0 -10455
- package/dist/IDCViewer-Y7EOIIBG.js.map +0 -7
- package/dist/NumBinaryEditor-RL44SO3T.js +0 -271
- package/dist/NumBinaryEditor.unit.spec-P73PGAX5.js +0 -286
- package/dist/NumContEditor-MIC7M73G.js +0 -109
- package/dist/NumContEditor.unit.spec-5XZH7OCG.js +0 -169
- package/dist/NumCustomBinEditor-W357XTIR.js +0 -38
- package/dist/NumCustomBinEditor.unit.spec-CJMK4CYW.js +0 -284
- package/dist/NumDiscreteEditor-PRSUMS3I.js +0 -179
- package/dist/NumDiscreteEditor.unit.spec-A6R56P3Z.js +0 -202
- package/dist/NumRegularBinEditor-7OHUEUCC.js +0 -38
- package/dist/NumRegularBinEditor.unit.spec-NOAX42UZ.js +0 -227
- package/dist/NumSplineEditor-XI7AT5LM.js +0 -198
- package/dist/NumSplineEditor.unit.spec-ZH4M2N2C.js +0 -199
- package/dist/NumericDensity-X6IHQAW3.js +0 -38
- package/dist/NumericDensity.unit.spec-EKVD4AUG.js +0 -221
- package/dist/NumericHandler-5ONBWFJ5.js +0 -39
- package/dist/NumericHandler.unit.spec-SHI6E4VA.js +0 -219
- package/dist/ProteomeInput-HN46MIBP.js +0 -396
- package/dist/ProteomeInput-HN46MIBP.js.map +0 -7
- package/dist/RunChart2-Y6IY6MW2.js +0 -758
- package/dist/SC-JYF564FK.js +0 -1130
- package/dist/SC-JYF564FK.js.map +0 -7
- package/dist/Volcano-WZGAUYGY.js +0 -1380
- package/dist/Volcano-WZGAUYGY.js.map +0 -7
- package/dist/WSIViewer-RLLL7MAL.js +0 -48562
- package/dist/WsiSamplesPlot-FU3TCOTY.js +0 -165
- package/dist/adSandbox-ZINST5DE.js +0 -38
- package/dist/animatedBubbleChart-PIQWCVBJ.js +0 -555
- package/dist/app-N42SVGI2.js +0 -37
- package/dist/app-RWN4XLCP.js +0 -49
- package/dist/bam-QTSTXJ4N.js +0 -860
- package/dist/barchart-27BYTRVI.js +0 -47
- package/dist/barchart.data-OUNVH4JU.js +0 -22
- package/dist/barchart.events-PY4CEDSO.js +0 -47
- package/dist/barchart.integration.spec-H4WGHQ7R.js +0 -2196
- package/dist/barchart2-TIOTRAC2.js +0 -314
- package/dist/bars.renderer-57KSYAAT.js +0 -12
- package/dist/block-YPM767A4.js +0 -6226
- package/dist/block-YPM767A4.js.map +0 -7
- package/dist/block.init-LRZ3QAGC.js +0 -38
- package/dist/block.mds.expressionrank-IV7JLC52.js +0 -359
- package/dist/block.mds.geneboxplot-IBCE5XZU.js +0 -828
- package/dist/block.mds.junction-ISSCJHNF.js +0 -1545
- package/dist/block.mds.svcnv-ZEBVBTL7.js +0 -6801
- package/dist/block.svg-FYWA5VYH.js +0 -164
- package/dist/block.tk.aicheck-AD6DTKXR.js +0 -283
- package/dist/block.tk.ase-LO2J4KRE.js +0 -365
- package/dist/block.tk.bam-XGX22FCN.js +0 -1906
- package/dist/block.tk.bedgraphdot-SUIRFNFL.js +0 -384
- package/dist/block.tk.bigwig.ui-2Q7FAK3V.js +0 -212
- package/dist/block.tk.hicstraw-4MVP2PCL.js +0 -823
- package/dist/block.tk.junction-F54FTEPB.js +0 -2364
- package/dist/block.tk.junction.textmatrixui-ETROZJVK.js +0 -199
- package/dist/block.tk.ld-NJEDKSTU.js +0 -99
- package/dist/block.tk.menu-LZOY4FKT.js +0 -1029
- package/dist/block.tk.pgv-I3XHJ7VU.js +0 -944
- package/dist/brainImaging-BGP6VRFV.js +0 -423
- package/dist/brainRegions-AAN7LM2Y.js +0 -221
- package/dist/bubbleHeatmap-HNEU4CYA.js +0 -383
- package/dist/chunk-25XCVML7.js +0 -236
- package/dist/chunk-2XV6U42J.js +0 -100
- package/dist/chunk-36NAWXQ7.js +0 -5067
- package/dist/chunk-36NAWXQ7.js.map +0 -7
- package/dist/chunk-3LYZMOLO.js +0 -58
- package/dist/chunk-427UL37G.js +0 -222
- package/dist/chunk-4C3XRI6J.js +0 -54
- package/dist/chunk-4O6H4ZHL.js +0 -514
- package/dist/chunk-53JJ7SXN.js +0 -276
- package/dist/chunk-5CR24RTX.js +0 -381
- package/dist/chunk-5HMX4NUJ.js +0 -217
- package/dist/chunk-5QTJUPFS.js +0 -26
- package/dist/chunk-5V2BMEAS.js +0 -55
- package/dist/chunk-6MBTPVIM.js +0 -1275
- package/dist/chunk-6MQWYMPB.js +0 -183
- package/dist/chunk-6MQWYMPB.js.map +0 -7
- package/dist/chunk-7D3WX34I.js +0 -1230
- package/dist/chunk-7D3WX34I.js.map +0 -7
- package/dist/chunk-7FSIZZOX.js +0 -176
- package/dist/chunk-7KRS7L4U.js +0 -1443
- package/dist/chunk-7KRS7L4U.js.map +0 -7
- package/dist/chunk-A3URBFXN.js +0 -119
- package/dist/chunk-A45KH7LP.js +0 -254
- package/dist/chunk-B4GS7OLB.js +0 -4284
- package/dist/chunk-BKPDYW5T.js +0 -177
- package/dist/chunk-BWQV2OBL.js +0 -102
- package/dist/chunk-BXGQXLHP.js +0 -2786
- package/dist/chunk-CDJAHMAN.js +0 -299
- package/dist/chunk-CXHLROWX.js +0 -37
- package/dist/chunk-EKKQMKQI.js +0 -102
- package/dist/chunk-EPWIJEMK.js +0 -158
- package/dist/chunk-F7Y67LK7.js +0 -230
- package/dist/chunk-FDBVAL6K.js +0 -14
- package/dist/chunk-FISP5YN2.js +0 -292
- package/dist/chunk-G3FSS7GR.js +0 -477
- package/dist/chunk-GE4NJDV4.js +0 -98
- package/dist/chunk-GYGU4UT5.js +0 -34
- package/dist/chunk-I5IPJG2R.js +0 -148
- package/dist/chunk-I73KUUYG.js +0 -287
- package/dist/chunk-I73KUUYG.js.map +0 -7
- package/dist/chunk-IFK24IXL.js +0 -194
- package/dist/chunk-ILE6ML2D.js +0 -50
- package/dist/chunk-IRKP6IZ4.js +0 -216
- package/dist/chunk-J6ZOUCWN.js +0 -170
- package/dist/chunk-JFRSVFWO.js +0 -736
- package/dist/chunk-JFRSVFWO.js.map +0 -7
- package/dist/chunk-JNBJG57F.js +0 -448
- package/dist/chunk-K5UVG3FQ.js +0 -117
- package/dist/chunk-KE5B34CS.js +0 -102
- package/dist/chunk-L6A2BEXB.js +0 -2681
- package/dist/chunk-LQJMCE7G.js +0 -467
- package/dist/chunk-LSWU6EAQ.js +0 -31
- package/dist/chunk-LWEGSYDD.js +0 -226
- package/dist/chunk-LWEGSYDD.js.map +0 -7
- package/dist/chunk-LYVLF6HO.js +0 -1825
- package/dist/chunk-MBUQ34CF.js +0 -189
- package/dist/chunk-MBUQ34CF.js.map +0 -7
- package/dist/chunk-MN3KDNHC.js +0 -617
- package/dist/chunk-MNIBZTQE.js +0 -146
- package/dist/chunk-MTHEEXT2.js +0 -1450
- package/dist/chunk-MTHEEXT2.js.map +0 -7
- package/dist/chunk-MTZSN3H4.js +0 -302
- package/dist/chunk-N7O7NPUO.js +0 -534
- package/dist/chunk-N7O7NPUO.js.map +0 -7
- package/dist/chunk-NNFAUP2I.js +0 -315
- package/dist/chunk-NNFAUP2I.js.map +0 -7
- package/dist/chunk-OF5FE6GT.js +0 -142
- package/dist/chunk-OVSKJROY.js +0 -815
- package/dist/chunk-OVSKJROY.js.map +0 -7
- package/dist/chunk-PJ3FCJBZ.js +0 -480
- package/dist/chunk-PU2Q4SZR.js +0 -2327
- package/dist/chunk-PZPS56Z6.js +0 -343
- package/dist/chunk-QKR3ZD3S.js +0 -833
- package/dist/chunk-QMXCK4Y5.js +0 -203
- package/dist/chunk-ROJ3LJLE.js +0 -448
- package/dist/chunk-SLHWUFAW.js +0 -1943
- package/dist/chunk-SLHWUFAW.js.map +0 -7
- package/dist/chunk-SOTB4FRE.js +0 -2098
- package/dist/chunk-SOTB4FRE.js.map +0 -7
- package/dist/chunk-TJYRBEBK.js +0 -2878
- package/dist/chunk-TJYRBEBK.js.map +0 -7
- package/dist/chunk-U3G4JGKJ.js +0 -54
- package/dist/chunk-UN3O2MNB.js +0 -375
- package/dist/chunk-VDZ5QOF6.js +0 -446
- package/dist/chunk-VO5XZ2EG.js +0 -129
- package/dist/chunk-VRH7NP6R.js +0 -263
- package/dist/chunk-VTMJGRT5.js +0 -272
- package/dist/chunk-W5X6C7LY.js +0 -399
- package/dist/chunk-WJGUNGFK.js +0 -272
- package/dist/chunk-WKT46ZJ6.js +0 -368
- package/dist/chunk-WQCQWUUP.js +0 -2833
- package/dist/chunk-WY2PGUVX.js +0 -20898
- package/dist/chunk-WY2PGUVX.js.map +0 -7
- package/dist/chunk-WZ2U5QXJ.js +0 -6364
- package/dist/chunk-WZUWK5Q6.js +0 -1102
- package/dist/chunk-XPMTUVSS.js +0 -1220
- package/dist/chunk-XPMTUVSS.js.map +0 -7
- package/dist/chunk-YYFQPGIE.js +0 -386
- package/dist/condition-GVIEMQG7.js +0 -332
- package/dist/controls-73K3XBDR.js +0 -41
- package/dist/controls.config-FQKY2LRE.js +0 -39
- package/dist/correlation-AOAXIUFJ.js +0 -102
- package/dist/cuminc-OD2PPCEK.js +0 -1149
- package/dist/cuminc.integration.spec-TMIFW7EO.js +0 -678
- package/dist/cuminc.integration.spec-TMIFW7EO.js.map +0 -7
- package/dist/customdata.inputui-SWLGLATL.js +0 -289
- package/dist/dataDownload-456HL2OE.js +0 -330
- package/dist/dataDownload.integration.spec-5YS4MWK5.js +0 -193
- package/dist/databrowser.ui-7APC5MNM.js +0 -433
- package/dist/dictionary-A3HA5MVK.js +0 -118
- package/dist/dnaMethylation-6ONBKARD.js +0 -38
- package/dist/dnaMethylation.integration.spec-T3WEGVX3.js +0 -203
- package/dist/dofetch-RVPQUMVX.js +0 -51
- package/dist/e2pca-75WZ46XG.js +0 -350
- package/dist/ep-QG5CWPTW.js +0 -1256
- package/dist/expclust.gdc.spec-KBBQJR4M.js +0 -307
- package/dist/facet-QGB2Q7YV.js +0 -521
- package/dist/forms2-CJGDCWYH.js +0 -539
- package/dist/gb-NEFAHKQI.js +0 -88
- package/dist/geneExpClustering-ZVR44UZC.js +0 -249
- package/dist/geneExpression-25EX4DFK.js +0 -313
- package/dist/geneExpression-FALOA4GC.js +0 -38
- package/dist/geneExpression.unit.spec-BQLELQUS.js +0 -102
- package/dist/geneORA-K2B7JYWD.js +0 -278
- package/dist/geneRanking-6AXL5ZJS.js +0 -553
- package/dist/geneVariant-RZFDP5J5.js +0 -41
- package/dist/geneVariant-UIBZ5UIQ.js +0 -39
- package/dist/geneVariant.integration.spec-4EZQMPQB.js +0 -198
- package/dist/genefusion.ui-YK4TNS2P.js +0 -309
- package/dist/geneset-47J4D5ID.js +0 -208
- package/dist/genomeBrowser.spec-LFFWRIWG.js +0 -281
- package/dist/grin2-DQB2WW3C.js +0 -75
- package/dist/grin2-TZFU4JM3.js +0 -1078
- package/dist/grin2-TZFU4JM3.js.map +0 -7
- package/dist/gsea-KKLAMLMG.js +0 -47
- package/dist/hierCluster-3MZEJG6B.js +0 -59
- package/dist/hierCluster-YGBC4XCZ.js +0 -63
- package/dist/hierCluster.config-A4N54K3A.js +0 -40
- package/dist/hierCluster.integration.spec-GLKXFZDM.js +0 -488
- package/dist/hierCluster.interactivity-4TPWGIVC.js +0 -54
- package/dist/hierCluster.renderers-WUWSXXHU.js +0 -21
- package/dist/imagePlot-JRPYOV3Q.js +0 -163
- package/dist/importPlot-A3PFUP6K.js +0 -8
- package/dist/isoformExpression-5L4O3WKL.js +0 -40
- package/dist/isoformExpression.unit.spec-SLB6XIX4.js +0 -208
- package/dist/launch.adhoc-QI7TPYSC.js +0 -42
- package/dist/leftlabel.sample-OSIRTJFW.js +0 -264
- package/dist/legacyDataset-TNIIJABK.js +0 -119
- package/dist/lollipop-LAELXNQY.js +0 -171
- package/dist/maf-HZAYVZFO.js +0 -459
- package/dist/maftimeline-BLBNUGAL.js +0 -593
- package/dist/matrix-LVJSHXDM.js +0 -58
- package/dist/matrix-S5QQV4JU.js +0 -63
- package/dist/matrix.cells-JUTRYPG4.js +0 -28
- package/dist/matrix.config-ZTWWYNIZ.js +0 -41
- package/dist/matrix.data-BREYB54F.js +0 -25
- package/dist/matrix.groups-WMHTLOXC.js +0 -27
- package/dist/matrix.integration.spec-S6FIEE2X.js +0 -3072
- package/dist/matrix.integration.spec-S6FIEE2X.js.map +0 -7
- package/dist/matrix.interactivity-TMBVAM5M.js +0 -42
- package/dist/matrix.layout-POK5NOUV.js +0 -44
- package/dist/matrix.legend-6XVQ67AC.js +0 -22
- package/dist/matrix.renderers-G5FQZZ73.js +0 -38
- package/dist/matrix.serieses-XNLQSQS6.js +0 -21
- package/dist/matrix.sort-XNES23OQ.js +0 -27
- package/dist/matrix.sort.unit.spec-65BDBQUV.js +0 -472
- package/dist/matrix.sorterUi-WC2YX7S7.js +0 -18
- package/dist/matrix.sorterUi.unit.spec-GZQBW7F7.js +0 -342
- package/dist/mavb-T2UCRWWM.js +0 -732
- package/dist/mds.fimo-65UUK7ER.js +0 -518
- package/dist/mds.samplescatterplot-4NHGQBJF.js +0 -1550
- package/dist/mds.survivalplot-WVAHDM3Z.js +0 -483
- package/dist/numericDictTermCluster-CXASCSQ6.js +0 -65
- package/dist/oncomatrix-5WMOICWR.js +0 -295
- package/dist/oncomatrix.spec-POVBNFJR.js +0 -448
- package/dist/plot.2dvaf-63K5RSIU.js +0 -377
- package/dist/plot.app-V5IY25QS.js +0 -41
- package/dist/plot.barplot-IQTYHNFE.js +0 -102
- package/dist/plot.boxplot-2RMTO7AS.js +0 -152
- package/dist/plot.brainImaging-DLUHAHHG.js +0 -51
- package/dist/plot.disco-WK6GDLNF.js +0 -102
- package/dist/plot.dzi-3V3FWE7U.js +0 -33
- package/dist/plot.ssgq-TENK2RP4.js +0 -139
- package/dist/plot.vaf2cov-P2QOOZGZ.js +0 -259
- package/dist/plot.wsi-BVRGJF4E.js +0 -36
- package/dist/polar2-NNOZOQQJ.js +0 -231
- package/dist/profileForms-RS4GEZZV.js +0 -446
- package/dist/profilePlot-3DLME3NH.js +0 -54
- package/dist/proteinView-NPKJAQAI.js +0 -1568
- package/dist/qualitative-S45RXXRJ.js +0 -43
- package/dist/radar2-EX7YBNMT.js +0 -326
- package/dist/radarFacility2-WU5O6O77.js +0 -334
- package/dist/regression-7MCOYJVD.js +0 -56
- package/dist/regression.inputs-QHSWJ23R.js +0 -48
- package/dist/regression.inputs.term-EJ4Z5Q5O.js +0 -48
- package/dist/regression.inputs.values.table-YKMAWNXN.js +0 -45
- package/dist/regression.integration.spec-XOX7OXXA.js +0 -784
- package/dist/regression.results-YKPOTPCC.js +0 -40
- package/dist/regression.spec-YIIY2AZA.js +0 -708
- package/dist/report-JEJFCWUU.js +0 -222
- package/dist/sampleScatter.spec-LBAZBDYA.js +0 -202
- package/dist/sampleView-WKZT5ZFE.js +0 -48
- package/dist/samplelst-HXM3H6M4.js +0 -111
- package/dist/samplematrix-LCGHK2EK.js +0 -2198
- package/dist/sc-3OE2G4BU.js +0 -86
- package/dist/scatter-AGVUDTTU.js +0 -851
- package/dist/selectGenomeWithTklst-WF2XZ6GH.js +0 -134
- package/dist/singleCellCellType-2SRGROMS.js +0 -38
- package/dist/singleCellCellType.unit.spec-DCGHNRJI.js +0 -160
- package/dist/singleCellGeneExpression-RASZA4NO.js +0 -38
- package/dist/singleCellGeneExpression.unit.spec-5MRGH2OO.js +0 -153
- package/dist/singleCellPlot-TIYA3GNM.js +0 -54
- package/dist/singlecell-CFA43TTU.js +0 -1572
- package/dist/singlecell-JS5SIZHY.js +0 -86
- package/dist/snp-VXZXPMKS.js +0 -38
- package/dist/snp.unit.spec-TR5TCO7X.js +0 -176
- package/dist/snplocus-VLPH5Y65.js +0 -208
- package/dist/spliceevent.a53ss.diagram-PATK67SH.js +0 -151
- package/dist/spliceevent.exonskip.diagram-7B3SEOAJ.js +0 -277
- package/dist/spliceevent.exonskip.diagram-7B3SEOAJ.js.map +0 -7
- package/dist/spliceevent.noeventdiagram-4NPNZUEN.js +0 -460
- package/dist/ssGSEA-XMW5BLAU.js +0 -38
- package/dist/ssGSEA.unit.spec-ASUWKVUT.js +0 -88
- package/dist/summarizeCnvGeneexp-KWRFGX32.js +0 -163
- package/dist/summarizeGeneexpSurvival-FIPIMEJR.js +0 -114
- package/dist/summarizeMutationCnv-IUYRVLZG.js +0 -164
- package/dist/summarizeMutationDiagnosis-ZFJPCABL.js +0 -40
- package/dist/summarizeMutationSurvival-HFHYB7DT.js +0 -99
- package/dist/summary-AZUNEZ5I.js +0 -49
- package/dist/summary.integration.spec-WLBAJL44.js +0 -414
- package/dist/summaryInput-NJWVXDXW.js +0 -235
- package/dist/sunburst-PXGF4WM6.js +0 -284
- package/dist/survival-RAU4XCKG.js +0 -58
- package/dist/survival-ZZ4QLZHK.js +0 -46
- package/dist/survival.integration.spec-GBQ5X362.js +0 -915
- package/dist/survival.integration.spec-GBQ5X362.js.map +0 -7
- package/dist/svgraph-7UCFRL6A.js +0 -1387
- package/dist/svmr-DB3RY2ID.js +0 -3842
- package/dist/table-HJRWWXGM.js +0 -200
- package/dist/termCollection-AW7M6DTP.js +0 -38
- package/dist/termCollection-WPON7RG3.js +0 -179
- package/dist/termCollection.unit.spec-254ESHOE.js +0 -208
- package/dist/tk-SUAFM5YA.js +0 -46
- package/dist/tp.ui-ELEQGSK2.js +0 -1459
- package/dist/tvs.dt-DCXY66YY.js +0 -39
- package/dist/tvs.dtcnv.categorical-SFQZMYX7.js +0 -40
- package/dist/tvs.dtcnv.continuous-AUZNJMC3.js +0 -72
- package/dist/tvs.dtfusion-5F7MYFHZ.js +0 -40
- package/dist/tvs.dtsnvindel-JJSPL4PH.js +0 -40
- package/dist/tvs.dtsv-DARTSV5H.js +0 -40
- package/dist/tvs.numeric-KYAU5OV3.js +0 -21
- package/dist/tvs.samplelst-HHBIO26C.js +0 -104
- package/dist/tvs.termCollection-KCMALH6B.js +0 -159
- package/dist/violin-C26FW5WK.js +0 -46
- package/dist/violin.integration.spec-QQ43XWHQ.js +0 -1425
- package/dist/violin.interactivity-H2BHC6M4.js +0 -38
- package/dist/violin.renderer-GSG2I7AV.js +0 -40
- package/dist/vocabulary-3G525O5V.js +0 -41
- /package/dist/{2dmaf-SKNV7IHT.js.map → 2dmaf-R3PFZNRN.js.map} +0 -0
- /package/dist/{AIProjectAdmin-AOTVRBNH.js.map → AIProjectAdmin-DM3KG6SR.js.map} +0 -0
- /package/dist/{AppHeader-M2ZSS3M3.js.map → AppHeader-6DZQ6YZX.js.map} +0 -0
- /package/dist/{BoxPlot-P3EECSQA.js.map → BoxPlot-76NINVX4.js.map} +0 -0
- /package/dist/{CorrelationVolcano-YCQ5S6MT.js.map → CorrelationVolcano-U5UMJNH5.js.map} +0 -0
- /package/dist/{DE-RBMOQZCR.js.map → DE-AXNYWIQK.js.map} +0 -0
- /package/dist/{DEinput-PTW6RS6U.js.map → DEinput-JH6YY6LS.js.map} +0 -0
- /package/dist/{Disco.UI-YBIMV7RH.js.map → Disco.UI-C7CZINUQ.js.map} +0 -0
- /package/dist/{DmrPlot-JQPLLU6P.js.map → DmrPlot-WROR4ENM.js.map} +0 -0
- /package/dist/{GeneExpInput-3OPDDCXR.js.map → GeneExpInput-JDU6EI7K.js.map} +0 -0
- /package/dist/{HicApp-VFOWRP6G.js.map → HicApp-UNIJLH4B.js.map} +0 -0
- /package/dist/{NumBinaryEditor-RL44SO3T.js.map → NumBinaryEditor-WMN2GGO4.js.map} +0 -0
- /package/dist/{NumBinaryEditor.unit.spec-P73PGAX5.js.map → NumBinaryEditor.unit.spec-TAMXV6SE.js.map} +0 -0
- /package/dist/{NumContEditor-MIC7M73G.js.map → NumContEditor-XYIOJY4E.js.map} +0 -0
- /package/dist/{NumContEditor.unit.spec-5XZH7OCG.js.map → NumContEditor.unit.spec-WDZ75BHO.js.map} +0 -0
- /package/dist/{NumCustomBinEditor-W357XTIR.js.map → NumCustomBinEditor-5SY3C4TY.js.map} +0 -0
- /package/dist/{NumCustomBinEditor.unit.spec-CJMK4CYW.js.map → NumCustomBinEditor.unit.spec-XHTAIXR3.js.map} +0 -0
- /package/dist/{NumDiscreteEditor-PRSUMS3I.js.map → NumDiscreteEditor-NRDRX4FD.js.map} +0 -0
- /package/dist/{NumDiscreteEditor.unit.spec-A6R56P3Z.js.map → NumDiscreteEditor.unit.spec-2CJW7OAT.js.map} +0 -0
- /package/dist/{NumRegularBinEditor-7OHUEUCC.js.map → NumRegularBinEditor-DUDVTNDC.js.map} +0 -0
- /package/dist/{NumRegularBinEditor.unit.spec-NOAX42UZ.js.map → NumRegularBinEditor.unit.spec-H3GNQHMN.js.map} +0 -0
- /package/dist/{NumSplineEditor-XI7AT5LM.js.map → NumSplineEditor-7Q4AC7KH.js.map} +0 -0
- /package/dist/{NumSplineEditor.unit.spec-ZH4M2N2C.js.map → NumSplineEditor.unit.spec-YRZK5PH5.js.map} +0 -0
- /package/dist/{NumericDensity-X6IHQAW3.js.map → NumericDensity-NTNWUESG.js.map} +0 -0
- /package/dist/{NumericDensity.unit.spec-EKVD4AUG.js.map → NumericDensity.unit.spec-5I5U6T6P.js.map} +0 -0
- /package/dist/{NumericHandler-5ONBWFJ5.js.map → NumericHandler-MEW2KMPX.js.map} +0 -0
- /package/dist/{NumericHandler.unit.spec-SHI6E4VA.js.map → NumericHandler.unit.spec-JFX4BPRG.js.map} +0 -0
- /package/dist/{RunChart2-Y6IY6MW2.js.map → RunChart2-BEBDU7RC.js.map} +0 -0
- /package/dist/{WSIViewer-RLLL7MAL.js.map → WSIViewer-ZLQU62PD.js.map} +0 -0
- /package/dist/{WsiSamplesPlot-FU3TCOTY.js.map → WsiSamplesPlot-JMBSITOM.js.map} +0 -0
- /package/dist/{adSandbox-ZINST5DE.js.map → adSandbox-664IRCRL.js.map} +0 -0
- /package/dist/{animatedBubbleChart-PIQWCVBJ.js.map → animatedBubbleChart-TX7NW34K.js.map} +0 -0
- /package/dist/{app-N42SVGI2.js.map → app-63WJ3BMP.js.map} +0 -0
- /package/dist/{app-RWN4XLCP.js.map → app-77FIZHCG.js.map} +0 -0
- /package/dist/{bam-QTSTXJ4N.js.map → bam-IETNVAYD.js.map} +0 -0
- /package/dist/{barchart-27BYTRVI.js.map → barchart-YUVXJNH4.js.map} +0 -0
- /package/dist/{barchart.data-OUNVH4JU.js.map → barchart.data-P4EIQXGE.js.map} +0 -0
- /package/dist/{barchart.events-PY4CEDSO.js.map → barchart.events-JPVCLTIG.js.map} +0 -0
- /package/dist/{barchart.integration.spec-H4WGHQ7R.js.map → barchart.integration.spec-ZH7DEQI2.js.map} +0 -0
- /package/dist/{barchart2-TIOTRAC2.js.map → barchart2-XO2FG76J.js.map} +0 -0
- /package/dist/{bars.renderer-57KSYAAT.js.map → bars.renderer-AUIWUJDH.js.map} +0 -0
- /package/dist/{block.init-LRZ3QAGC.js.map → block.init-X7Y2EEVR.js.map} +0 -0
- /package/dist/{block.mds.expressionrank-IV7JLC52.js.map → block.mds.expressionrank-BIAOZIZ3.js.map} +0 -0
- /package/dist/{block.mds.geneboxplot-IBCE5XZU.js.map → block.mds.geneboxplot-CNICDVLK.js.map} +0 -0
- /package/dist/{block.mds.junction-ISSCJHNF.js.map → block.mds.junction-PQXCTSUI.js.map} +0 -0
- /package/dist/{block.mds.svcnv-ZEBVBTL7.js.map → block.mds.svcnv-32KMVTCT.js.map} +0 -0
- /package/dist/{block.svg-FYWA5VYH.js.map → block.svg-LRTOYQK2.js.map} +0 -0
- /package/dist/{block.tk.aicheck-AD6DTKXR.js.map → block.tk.aicheck-HDV7ZIUD.js.map} +0 -0
- /package/dist/{block.tk.ase-LO2J4KRE.js.map → block.tk.ase-JIDWKMYI.js.map} +0 -0
- /package/dist/{block.tk.bam-XGX22FCN.js.map → block.tk.bam-5X3OS5HB.js.map} +0 -0
- /package/dist/{block.tk.bedgraphdot-SUIRFNFL.js.map → block.tk.bedgraphdot-T7JX7YQL.js.map} +0 -0
- /package/dist/{block.tk.bigwig.ui-2Q7FAK3V.js.map → block.tk.bigwig.ui-OSAYEBAE.js.map} +0 -0
- /package/dist/{block.tk.hicstraw-4MVP2PCL.js.map → block.tk.hicstraw-DEY3VQFK.js.map} +0 -0
- /package/dist/{block.tk.junction-F54FTEPB.js.map → block.tk.junction-7UAFEZSJ.js.map} +0 -0
- /package/dist/{block.tk.junction.textmatrixui-ETROZJVK.js.map → block.tk.junction.textmatrixui-27LHS33U.js.map} +0 -0
- /package/dist/{block.tk.ld-NJEDKSTU.js.map → block.tk.ld-DF2PI7OO.js.map} +0 -0
- /package/dist/{block.tk.menu-LZOY4FKT.js.map → block.tk.menu-L2D5KBIV.js.map} +0 -0
- /package/dist/{block.tk.pgv-I3XHJ7VU.js.map → block.tk.pgv-QO56SKBV.js.map} +0 -0
- /package/dist/{brainImaging-BGP6VRFV.js.map → brainImaging-NIPQWFWO.js.map} +0 -0
- /package/dist/{brainRegions-AAN7LM2Y.js.map → brainRegions-ZNZ2WHSU.js.map} +0 -0
- /package/dist/{bubbleHeatmap-HNEU4CYA.js.map → bubbleHeatmap-ERWNEKZB.js.map} +0 -0
- /package/dist/{chunk-CDJAHMAN.js.map → chunk-2GYWFQML.js.map} +0 -0
- /package/dist/{chunk-ILE6ML2D.js.map → chunk-2HYJ4GDH.js.map} +0 -0
- /package/dist/{chunk-VTMJGRT5.js.map → chunk-2MG6XE6R.js.map} +0 -0
- /package/dist/{chunk-4C3XRI6J.js.map → chunk-33K5PA52.js.map} +0 -0
- /package/dist/{chunk-5QTJUPFS.js.map → chunk-37XDBPOP.js.map} +0 -0
- /package/dist/{chunk-3LYZMOLO.js.map → chunk-3EWB3246.js.map} +0 -0
- /package/dist/{chunk-2XV6U42J.js.map → chunk-3RSKOPIY.js.map} +0 -0
- /package/dist/{chunk-WZUWK5Q6.js.map → chunk-4DPVT4NE.js.map} +0 -0
- /package/dist/{chunk-GE4NJDV4.js.map → chunk-4IH7DORZ.js.map} +0 -0
- /package/dist/{chunk-W5X6C7LY.js.map → chunk-4QNBFIIR.js.map} +0 -0
- /package/dist/{chunk-5HMX4NUJ.js.map → chunk-4STKL6SR.js.map} +0 -0
- /package/dist/{chunk-GYGU4UT5.js.map → chunk-4TZIVSL5.js.map} +0 -0
- /package/dist/{chunk-LQJMCE7G.js.map → chunk-5ABGFJSP.js.map} +0 -0
- /package/dist/{chunk-MTZSN3H4.js.map → chunk-5AZNP47R.js.map} +0 -0
- /package/dist/{chunk-KE5B34CS.js.map → chunk-6BB43SIB.js.map} +0 -0
- /package/dist/{chunk-53JJ7SXN.js.map → chunk-7OHRR2IE.js.map} +0 -0
- /package/dist/{chunk-FDBVAL6K.js.map → chunk-ASATD4T7.js.map} +0 -0
- /package/dist/{chunk-25XCVML7.js.map → chunk-B5B3LZB3.js.map} +0 -0
- /package/dist/{chunk-L6A2BEXB.js.map → chunk-BHGISFCA.js.map} +0 -0
- /package/dist/{chunk-BXGQXLHP.js.map → chunk-BMBOZ64T.js.map} +0 -0
- /package/dist/{chunk-IRKP6IZ4.js.map → chunk-BOZJHPJP.js.map} +0 -0
- /package/dist/{chunk-IFK24IXL.js.map → chunk-CDD7LYJM.js.map} +0 -0
- /package/dist/{chunk-PU2Q4SZR.js.map → chunk-CTQ3IUCA.js.map} +0 -0
- /package/dist/{chunk-EPWIJEMK.js.map → chunk-D7TID3HR.js.map} +0 -0
- /package/dist/{chunk-5V2BMEAS.js.map → chunk-E55LLYRX.js.map} +0 -0
- /package/dist/{chunk-YYFQPGIE.js.map → chunk-ESGXULRH.js.map} +0 -0
- /package/dist/{chunk-K5UVG3FQ.js.map → chunk-EZ4LZ6ZT.js.map} +0 -0
- /package/dist/{chunk-B4GS7OLB.js.map → chunk-F3SJTVP5.js.map} +0 -0
- /package/dist/{chunk-427UL37G.js.map → chunk-F5IXNJO7.js.map} +0 -0
- /package/dist/{chunk-ROJ3LJLE.js.map → chunk-FJYECRHW.js.map} +0 -0
- /package/dist/{chunk-QKR3ZD3S.js.map → chunk-FPNRUQOU.js.map} +0 -0
- /package/dist/{chunk-J6ZOUCWN.js.map → chunk-G764NXQN.js.map} +0 -0
- /package/dist/{chunk-I5IPJG2R.js.map → chunk-GAPI4MML.js.map} +0 -0
- /package/dist/{chunk-WJGUNGFK.js.map → chunk-HLUZOZXJ.js.map} +0 -0
- /package/dist/{chunk-UN3O2MNB.js.map → chunk-HOKIK2FR.js.map} +0 -0
- /package/dist/{chunk-VO5XZ2EG.js.map → chunk-KLGL6XZD.js.map} +0 -0
- /package/dist/{chunk-PJ3FCJBZ.js.map → chunk-L7IRWUKT.js.map} +0 -0
- /package/dist/{chunk-MN3KDNHC.js.map → chunk-LX6G7HJJ.js.map} +0 -0
- /package/dist/{chunk-OF5FE6GT.js.map → chunk-M2G5R4WB.js.map} +0 -0
- /package/dist/{chunk-EKKQMKQI.js.map → chunk-M4TTGGT4.js.map} +0 -0
- /package/dist/{chunk-LYVLF6HO.js.map → chunk-M6EF3WVV.js.map} +0 -0
- /package/dist/{chunk-MNIBZTQE.js.map → chunk-M6KHT3MM.js.map} +0 -0
- /package/dist/{chunk-F7Y67LK7.js.map → chunk-MCZFHWIR.js.map} +0 -0
- /package/dist/{chunk-JNBJG57F.js.map → chunk-MFQACKYU.js.map} +0 -0
- /package/dist/{chunk-PZPS56Z6.js.map → chunk-MVGAGTM3.js.map} +0 -0
- /package/dist/{chunk-A3URBFXN.js.map → chunk-NELOT3NJ.js.map} +0 -0
- /package/dist/{chunk-U3G4JGKJ.js.map → chunk-NRKMXULC.js.map} +0 -0
- /package/dist/{chunk-BKPDYW5T.js.map → chunk-NYRZNRG5.js.map} +0 -0
- /package/dist/{chunk-WKT46ZJ6.js.map → chunk-ONPKE6DC.js.map} +0 -0
- /package/dist/{chunk-QMXCK4Y5.js.map → chunk-PFRWS4CR.js.map} +0 -0
- /package/dist/{chunk-6MBTPVIM.js.map → chunk-PJKQUXEN.js.map} +0 -0
- /package/dist/{chunk-WZ2U5QXJ.js.map → chunk-Q2L44HK3.js.map} +0 -0
- /package/dist/{chunk-VDZ5QOF6.js.map → chunk-RKO6BL5N.js.map} +0 -0
- /package/dist/{chunk-A45KH7LP.js.map → chunk-T25QNZHB.js.map} +0 -0
- /package/dist/{chunk-LSWU6EAQ.js.map → chunk-U7TBYVIQ.js.map} +0 -0
- /package/dist/{chunk-5CR24RTX.js.map → chunk-UGRQXBL4.js.map} +0 -0
- /package/dist/{chunk-G3FSS7GR.js.map → chunk-USFSHSCJ.js.map} +0 -0
- /package/dist/{chunk-WQCQWUUP.js.map → chunk-VJ6UFVGC.js.map} +0 -0
- /package/dist/{chunk-FISP5YN2.js.map → chunk-W3WPPOXH.js.map} +0 -0
- /package/dist/{chunk-VRH7NP6R.js.map → chunk-WFCSOTBO.js.map} +0 -0
- /package/dist/{chunk-BWQV2OBL.js.map → chunk-WZ2L57MB.js.map} +0 -0
- /package/dist/{chunk-CXHLROWX.js.map → chunk-Y4UAKFWC.js.map} +0 -0
- /package/dist/{chunk-4O6H4ZHL.js.map → chunk-YQBS2ZCK.js.map} +0 -0
- /package/dist/{chunk-7FSIZZOX.js.map → chunk-ZTHM2TKP.js.map} +0 -0
- /package/dist/{condition-GVIEMQG7.js.map → condition-2PASYSUC.js.map} +0 -0
- /package/dist/{controls-73K3XBDR.js.map → controls-5IMJ6K5L.js.map} +0 -0
- /package/dist/{controls.config-FQKY2LRE.js.map → controls.config-P5PG2DHW.js.map} +0 -0
- /package/dist/{correlation-AOAXIUFJ.js.map → correlation-U3EDLNHR.js.map} +0 -0
- /package/dist/{cuminc-OD2PPCEK.js.map → cuminc-2HUFEROK.js.map} +0 -0
- /package/dist/{customdata.inputui-SWLGLATL.js.map → customdata.inputui-ZHWNEPFH.js.map} +0 -0
- /package/dist/{dataDownload-456HL2OE.js.map → dataDownload-VBSJBKMP.js.map} +0 -0
- /package/dist/{dataDownload.integration.spec-5YS4MWK5.js.map → dataDownload.integration.spec-LUFSETOP.js.map} +0 -0
- /package/dist/{databrowser.ui-7APC5MNM.js.map → databrowser.ui-6H2KMSTJ.js.map} +0 -0
- /package/dist/{dictionary-A3HA5MVK.js.map → dictionary-V37LXFIP.js.map} +0 -0
- /package/dist/{dnaMethylation-6ONBKARD.js.map → dnaMethylation-OIZMHMLK.js.map} +0 -0
- /package/dist/{dnaMethylation.integration.spec-T3WEGVX3.js.map → dnaMethylation.integration.spec-CWPTJ74H.js.map} +0 -0
- /package/dist/{dofetch-RVPQUMVX.js.map → dofetch-IWPZQB5N.js.map} +0 -0
- /package/dist/{e2pca-75WZ46XG.js.map → e2pca-7SLIAGYW.js.map} +0 -0
- /package/dist/{ep-QG5CWPTW.js.map → ep-7L6KF6K4.js.map} +0 -0
- /package/dist/{expclust.gdc.spec-KBBQJR4M.js.map → expclust.gdc.spec-JT452Q3G.js.map} +0 -0
- /package/dist/{facet-QGB2Q7YV.js.map → facet-CXOUU5AS.js.map} +0 -0
- /package/dist/{forms2-CJGDCWYH.js.map → forms2-VPNCLQOY.js.map} +0 -0
- /package/dist/{gb-NEFAHKQI.js.map → gb-P4VRXRED.js.map} +0 -0
- /package/dist/{geneExpClustering-ZVR44UZC.js.map → geneExpClustering-FQTCKRJJ.js.map} +0 -0
- /package/dist/{geneExpression-25EX4DFK.js.map → geneExpression-BHO5326K.js.map} +0 -0
- /package/dist/{geneExpression-FALOA4GC.js.map → geneExpression-ZMERB64E.js.map} +0 -0
- /package/dist/{geneExpression.unit.spec-BQLELQUS.js.map → geneExpression.unit.spec-CNVHZWNG.js.map} +0 -0
- /package/dist/{geneORA-K2B7JYWD.js.map → geneORA-FXVUCXGX.js.map} +0 -0
- /package/dist/{geneRanking-6AXL5ZJS.js.map → geneRanking-SFK4UBKQ.js.map} +0 -0
- /package/dist/{geneVariant-RZFDP5J5.js.map → geneVariant-IYEHB4H7.js.map} +0 -0
- /package/dist/{geneVariant-UIBZ5UIQ.js.map → geneVariant-LIRRLUFR.js.map} +0 -0
- /package/dist/{geneVariant.integration.spec-4EZQMPQB.js.map → geneVariant.integration.spec-Y2NPNTYX.js.map} +0 -0
- /package/dist/{genefusion.ui-YK4TNS2P.js.map → genefusion.ui-L3HIJM3N.js.map} +0 -0
- /package/dist/{geneset-47J4D5ID.js.map → geneset-A6VUFX63.js.map} +0 -0
- /package/dist/{genomeBrowser.spec-LFFWRIWG.js.map → genomeBrowser.spec-CB4HHHBN.js.map} +0 -0
- /package/dist/{grin2-DQB2WW3C.js.map → grin2-FKBIMH5N.js.map} +0 -0
- /package/dist/{gsea-KKLAMLMG.js.map → hierCluster-QFPRMHVA.js.map} +0 -0
- /package/dist/{hierCluster-3MZEJG6B.js.map → hierCluster-YWC3XYPV.js.map} +0 -0
- /package/dist/{hierCluster-YGBC4XCZ.js.map → hierCluster.config-F7YYZNM3.js.map} +0 -0
- /package/dist/{hierCluster.integration.spec-GLKXFZDM.js.map → hierCluster.integration.spec-AF4L3YT6.js.map} +0 -0
- /package/dist/{hierCluster.config-A4N54K3A.js.map → hierCluster.interactivity-RPY74PK6.js.map} +0 -0
- /package/dist/{hierCluster.interactivity-4TPWGIVC.js.map → hierCluster.renderers-LOKHZ3V2.js.map} +0 -0
- /package/dist/{imagePlot-JRPYOV3Q.js.map → imagePlot-BBEXA754.js.map} +0 -0
- /package/dist/{hierCluster.renderers-WUWSXXHU.js.map → importPlot-7QGANZGK.js.map} +0 -0
- /package/dist/{importPlot-A3PFUP6K.js.map → isoformExpression-4SLLCVFD.js.map} +0 -0
- /package/dist/{isoformExpression.unit.spec-SLB6XIX4.js.map → isoformExpression.unit.spec-GEL4JJ64.js.map} +0 -0
- /package/dist/{isoformExpression-5L4O3WKL.js.map → launch.adhoc-LWLBQJS5.js.map} +0 -0
- /package/dist/{leftlabel.sample-OSIRTJFW.js.map → leftlabel.sample-RTEZOIH2.js.map} +0 -0
- /package/dist/{legacyDataset-TNIIJABK.js.map → legacyDataset-VLD7ZYWI.js.map} +0 -0
- /package/dist/{lollipop-LAELXNQY.js.map → lollipop-XKQK5QZU.js.map} +0 -0
- /package/dist/{maf-HZAYVZFO.js.map → maf-AZQPPWDO.js.map} +0 -0
- /package/dist/{maftimeline-BLBNUGAL.js.map → maftimeline-7MSVYKQU.js.map} +0 -0
- /package/dist/{launch.adhoc-QI7TPYSC.js.map → matrix-BGLWC25D.js.map} +0 -0
- /package/dist/{matrix-LVJSHXDM.js.map → matrix-IQR5SRMK.js.map} +0 -0
- /package/dist/{matrix-S5QQV4JU.js.map → matrix.cells-5C57NWOY.js.map} +0 -0
- /package/dist/{matrix.cells-JUTRYPG4.js.map → matrix.config-2DQXAN2E.js.map} +0 -0
- /package/dist/{matrix.config-ZTWWYNIZ.js.map → matrix.data-ADCGF5H6.js.map} +0 -0
- /package/dist/{matrix.data-BREYB54F.js.map → matrix.groups-V4ITQ5F7.js.map} +0 -0
- /package/dist/{matrix.groups-WMHTLOXC.js.map → matrix.interactivity-JNELJFOV.js.map} +0 -0
- /package/dist/{matrix.interactivity-TMBVAM5M.js.map → matrix.layout-WBVIV6GR.js.map} +0 -0
- /package/dist/{matrix.layout-POK5NOUV.js.map → matrix.legend-YHOWPK77.js.map} +0 -0
- /package/dist/{matrix.legend-6XVQ67AC.js.map → matrix.renderers-5BGVRR3M.js.map} +0 -0
- /package/dist/{matrix.renderers-G5FQZZ73.js.map → matrix.serieses-2GZJOASZ.js.map} +0 -0
- /package/dist/{matrix.serieses-XNLQSQS6.js.map → matrix.sort-WKIWPJKP.js.map} +0 -0
- /package/dist/{matrix.sort.unit.spec-65BDBQUV.js.map → matrix.sort.unit.spec-L2E4D4AS.js.map} +0 -0
- /package/dist/{matrix.sort-XNES23OQ.js.map → matrix.sorterUi-TEJWWJ64.js.map} +0 -0
- /package/dist/{matrix.sorterUi.unit.spec-GZQBW7F7.js.map → matrix.sorterUi.unit.spec-SHP7C4P7.js.map} +0 -0
- /package/dist/{mavb-T2UCRWWM.js.map → mavb-4MXNYUEO.js.map} +0 -0
- /package/dist/{mds.fimo-65UUK7ER.js.map → mds.fimo-WHIJIBOI.js.map} +0 -0
- /package/dist/{mds.samplescatterplot-4NHGQBJF.js.map → mds.samplescatterplot-BRJ6NG2D.js.map} +0 -0
- /package/dist/{mds.survivalplot-WVAHDM3Z.js.map → mds.survivalplot-OPCMB5PB.js.map} +0 -0
- /package/dist/{numericDictTermCluster-CXASCSQ6.js.map → numericDictTermCluster-7MIFOP2K.js.map} +0 -0
- /package/dist/{oncomatrix-5WMOICWR.js.map → oncomatrix-BGG6BEUI.js.map} +0 -0
- /package/dist/{oncomatrix.spec-POVBNFJR.js.map → oncomatrix.spec-LYQ4L4F3.js.map} +0 -0
- /package/dist/{plot.2dvaf-63K5RSIU.js.map → plot.2dvaf-6WVCP2ZI.js.map} +0 -0
- /package/dist/{matrix.sorterUi-WC2YX7S7.js.map → plot.app-MLBP6WFP.js.map} +0 -0
- /package/dist/{plot.barplot-IQTYHNFE.js.map → plot.barplot-JEPRZSCU.js.map} +0 -0
- /package/dist/{plot.boxplot-2RMTO7AS.js.map → plot.boxplot-GNFW42VM.js.map} +0 -0
- /package/dist/{plot.brainImaging-DLUHAHHG.js.map → plot.brainImaging-5ACNSD45.js.map} +0 -0
- /package/dist/{plot.disco-WK6GDLNF.js.map → plot.disco-Q2V2KKIH.js.map} +0 -0
- /package/dist/{plot.dzi-3V3FWE7U.js.map → plot.dzi-KVT6S7K7.js.map} +0 -0
- /package/dist/{plot.ssgq-TENK2RP4.js.map → plot.ssgq-4N3KFJQ2.js.map} +0 -0
- /package/dist/{plot.vaf2cov-P2QOOZGZ.js.map → plot.vaf2cov-ITRG5U43.js.map} +0 -0
- /package/dist/{plot.wsi-BVRGJF4E.js.map → plot.wsi-26YZNU4V.js.map} +0 -0
- /package/dist/{polar2-NNOZOQQJ.js.map → polar2-J7GVUK4X.js.map} +0 -0
- /package/dist/{profileForms-RS4GEZZV.js.map → profileForms-VXV2JLXU.js.map} +0 -0
- /package/dist/{plot.app-V5IY25QS.js.map → profilePlot-ZZYZK4SY.js.map} +0 -0
- /package/dist/{proteinView-NPKJAQAI.js.map → proteinView-7KN532D3.js.map} +0 -0
- /package/dist/{profilePlot-3DLME3NH.js.map → qualitative-MLRVLIAU.js.map} +0 -0
- /package/dist/{radar2-EX7YBNMT.js.map → radar2-WM2ZBOH3.js.map} +0 -0
- /package/dist/{radarFacility2-WU5O6O77.js.map → radarFacility2-3SBR2JJ3.js.map} +0 -0
- /package/dist/{qualitative-S45RXXRJ.js.map → regression-WMRPQJW2.js.map} +0 -0
- /package/dist/{regression-7MCOYJVD.js.map → regression.inputs-VWZKSYNY.js.map} +0 -0
- /package/dist/{regression.inputs-QHSWJ23R.js.map → regression.inputs.term-OWE6GWHM.js.map} +0 -0
- /package/dist/{regression.inputs.term-EJ4Z5Q5O.js.map → regression.inputs.values.table-4INNZQI2.js.map} +0 -0
- /package/dist/{regression.integration.spec-XOX7OXXA.js.map → regression.integration.spec-XKQ2JOOT.js.map} +0 -0
- /package/dist/{regression.inputs.values.table-YKMAWNXN.js.map → regression.results-VZBYMBYC.js.map} +0 -0
- /package/dist/{regression.spec-YIIY2AZA.js.map → regression.spec-DU3UTDCJ.js.map} +0 -0
- /package/dist/{regression.results-YKPOTPCC.js.map → render-N5FOF247.js.map} +0 -0
- /package/dist/{report-JEJFCWUU.js.map → report-DW3OHB67.js.map} +0 -0
- /package/dist/{sampleScatter.spec-LBAZBDYA.js.map → sampleScatter.spec-REFSK2V4.js.map} +0 -0
- /package/dist/{sampleView-WKZT5ZFE.js.map → sampleView-ICOT2R6O.js.map} +0 -0
- /package/dist/{samplelst-HXM3H6M4.js.map → samplelst-TJEVASYG.js.map} +0 -0
- /package/dist/{samplematrix-LCGHK2EK.js.map → samplematrix-6DAWCXQ3.js.map} +0 -0
- /package/dist/{sc-3OE2G4BU.js.map → sc-53LNOB7N.js.map} +0 -0
- /package/dist/{scatter-AGVUDTTU.js.map → scatter-DKYSS4DL.js.map} +0 -0
- /package/dist/{selectGenomeWithTklst-WF2XZ6GH.js.map → selectGenomeWithTklst-WTX66TV3.js.map} +0 -0
- /package/dist/{singleCellCellType-2SRGROMS.js.map → singleCellCellType-D2CN2BHQ.js.map} +0 -0
- /package/dist/{singleCellCellType.unit.spec-DCGHNRJI.js.map → singleCellCellType.unit.spec-LADUCI4R.js.map} +0 -0
- /package/dist/{singleCellGeneExpression-RASZA4NO.js.map → singleCellGeneExpression-YR2ZT34W.js.map} +0 -0
- /package/dist/{singleCellGeneExpression.unit.spec-5MRGH2OO.js.map → singleCellGeneExpression.unit.spec-BM63M432.js.map} +0 -0
- /package/dist/{singleCellPlot-TIYA3GNM.js.map → singleCellPlot-3ICIOILE.js.map} +0 -0
- /package/dist/{singlecell-JS5SIZHY.js.map → singlecell-6ZUFA3BQ.js.map} +0 -0
- /package/dist/{singlecell-CFA43TTU.js.map → singlecell-KX7W4U57.js.map} +0 -0
- /package/dist/{snp-VXZXPMKS.js.map → snp-VIURB7L3.js.map} +0 -0
- /package/dist/{snp.unit.spec-TR5TCO7X.js.map → snp.unit.spec-ACZNZUNS.js.map} +0 -0
- /package/dist/{snplocus-VLPH5Y65.js.map → snplocus-3LW4ZUZR.js.map} +0 -0
- /package/dist/{spliceevent.a53ss.diagram-PATK67SH.js.map → spliceevent.a53ss.diagram-AKTZGWNM.js.map} +0 -0
- /package/dist/{spliceevent.noeventdiagram-4NPNZUEN.js.map → spliceevent.noeventdiagram-YTXWWNTJ.js.map} +0 -0
- /package/dist/{ssGSEA-XMW5BLAU.js.map → ssGSEA-THW4WFMI.js.map} +0 -0
- /package/dist/{ssGSEA.unit.spec-ASUWKVUT.js.map → ssGSEA.unit.spec-HTRGQI2K.js.map} +0 -0
- /package/dist/{summarizeCnvGeneexp-KWRFGX32.js.map → summarizeCnvGeneexp-RFYC3H2Z.js.map} +0 -0
- /package/dist/{summarizeGeneexpSurvival-FIPIMEJR.js.map → summarizeGeneexpSurvival-DQBZUTQ6.js.map} +0 -0
- /package/dist/{summarizeMutationCnv-IUYRVLZG.js.map → summarizeMutationCnv-7AYEMHAI.js.map} +0 -0
- /package/dist/{summarizeMutationDiagnosis-ZFJPCABL.js.map → summarizeMutationDiagnosis-AKFJDSAF.js.map} +0 -0
- /package/dist/{summarizeMutationSurvival-HFHYB7DT.js.map → summarizeMutationSurvival-QJHZRQBZ.js.map} +0 -0
- /package/dist/{summary-AZUNEZ5I.js.map → summary-A5P7AYK4.js.map} +0 -0
- /package/dist/{summary.integration.spec-WLBAJL44.js.map → summary.integration.spec-HQISXGNL.js.map} +0 -0
- /package/dist/{summaryInput-NJWVXDXW.js.map → summaryInput-HP675QOQ.js.map} +0 -0
- /package/dist/{sunburst-PXGF4WM6.js.map → sunburst-65LSYRXX.js.map} +0 -0
- /package/dist/{survival-ZZ4QLZHK.js.map → survival-QNEI6YVK.js.map} +0 -0
- /package/dist/{survival-RAU4XCKG.js.map → survival-UI74VXSM.js.map} +0 -0
- /package/dist/{svgraph-7UCFRL6A.js.map → svgraph-PSX2NER3.js.map} +0 -0
- /package/dist/{svmr-DB3RY2ID.js.map → svmr-QDQ33EFX.js.map} +0 -0
- /package/dist/{table-HJRWWXGM.js.map → table-LWAI27UO.js.map} +0 -0
- /package/dist/{termCollection-WPON7RG3.js.map → termCollection-3JHR74FG.js.map} +0 -0
- /package/dist/{termCollection-AW7M6DTP.js.map → termCollection-CDF5LYUG.js.map} +0 -0
- /package/dist/{termCollection.unit.spec-254ESHOE.js.map → termCollection.unit.spec-HOJKYWHF.js.map} +0 -0
- /package/dist/{tk-SUAFM5YA.js.map → tk-OEQFO73V.js.map} +0 -0
- /package/dist/{tp.ui-ELEQGSK2.js.map → tp.ui-SHNERDGC.js.map} +0 -0
- /package/dist/{tvs.dt-DCXY66YY.js.map → tvs.dt-CZDC4TSR.js.map} +0 -0
- /package/dist/{tvs.dtcnv.categorical-SFQZMYX7.js.map → tvs.dtcnv.categorical-OPBDHZGB.js.map} +0 -0
- /package/dist/{tvs.dtcnv.continuous-AUZNJMC3.js.map → tvs.dtcnv.continuous-AR6P4EP3.js.map} +0 -0
- /package/dist/{tvs.dtfusion-5F7MYFHZ.js.map → tvs.dtfusion-2YQ7N6FQ.js.map} +0 -0
- /package/dist/{tvs.dtsnvindel-JJSPL4PH.js.map → tvs.dtsnvindel-WHHWAATJ.js.map} +0 -0
- /package/dist/{tvs.dtsv-DARTSV5H.js.map → tvs.dtsv-3UMCW65O.js.map} +0 -0
- /package/dist/{tvs.numeric-KYAU5OV3.js.map → tvs.numeric-TOEPASWN.js.map} +0 -0
- /package/dist/{tvs.samplelst-HHBIO26C.js.map → tvs.samplelst-M7XKXRTZ.js.map} +0 -0
- /package/dist/{tvs.termCollection-KCMALH6B.js.map → tvs.termCollection-WT4WZMYR.js.map} +0 -0
- /package/dist/{violin-C26FW5WK.js.map → violin-2YGXTBDS.js.map} +0 -0
- /package/dist/{violin.integration.spec-QQ43XWHQ.js.map → violin.integration.spec-YWNHVAGS.js.map} +0 -0
- /package/dist/{violin.interactivity-H2BHC6M4.js.map → violin.interactivity-J6BE2UQL.js.map} +0 -0
- /package/dist/{violin.renderer-GSG2I7AV.js.map → violin.renderer-3GRUWP2U.js.map} +0 -0
- /package/dist/{vocabulary-3G525O5V.js.map → vocabulary-2INCVPYJ.js.map} +0 -0
|
@@ -0,0 +1,1906 @@
|
|
|
1
|
+
import {
|
|
2
|
+
urlmap_default
|
|
3
|
+
} from "./chunk-WKNI3HRQ.js";
|
|
4
|
+
import {
|
|
5
|
+
axisstyle,
|
|
6
|
+
make_one_checkbox,
|
|
7
|
+
make_radios,
|
|
8
|
+
sayerror,
|
|
9
|
+
table2col
|
|
10
|
+
} from "./chunk-5VOPABBA.js";
|
|
11
|
+
import "./chunk-HJ6L54YS.js";
|
|
12
|
+
import "./chunk-LSEFWW72.js";
|
|
13
|
+
import "./chunk-Z5U6HOE4.js";
|
|
14
|
+
import {
|
|
15
|
+
Menu
|
|
16
|
+
} from "./chunk-HYOEWQ5P.js";
|
|
17
|
+
import "./chunk-HBW42TDT.js";
|
|
18
|
+
import "./chunk-FN5XPUPH.js";
|
|
19
|
+
import "./chunk-5ABGFJSP.js";
|
|
20
|
+
import "./chunk-IIT367QZ.js";
|
|
21
|
+
import "./chunk-RZGEKL77.js";
|
|
22
|
+
import "./chunk-XPY6AWXO.js";
|
|
23
|
+
import "./chunk-NELOT3NJ.js";
|
|
24
|
+
import {
|
|
25
|
+
dofetch3
|
|
26
|
+
} from "./chunk-M6EF3WVV.js";
|
|
27
|
+
import "./chunk-7IYJZZQI.js";
|
|
28
|
+
import "./chunk-M3J4MINX.js";
|
|
29
|
+
import "./chunk-PF4DSFDR.js";
|
|
30
|
+
import "./chunk-LFCYMSVA.js";
|
|
31
|
+
import "./chunk-I6WR4CG7.js";
|
|
32
|
+
import "./chunk-2X6W4E3W.js";
|
|
33
|
+
import "./chunk-NYRZNRG5.js";
|
|
34
|
+
import "./chunk-JNITUVXP.js";
|
|
35
|
+
import "./chunk-3XVVN66M.js";
|
|
36
|
+
import {
|
|
37
|
+
axisRight
|
|
38
|
+
} from "./chunk-LOZEKOES.js";
|
|
39
|
+
import "./chunk-VQZ2Z5YU.js";
|
|
40
|
+
import {
|
|
41
|
+
linear
|
|
42
|
+
} from "./chunk-NSTL4MY2.js";
|
|
43
|
+
import "./chunk-TLT4YIG3.js";
|
|
44
|
+
import "./chunk-KYBIQBXE.js";
|
|
45
|
+
import {
|
|
46
|
+
pointer_default,
|
|
47
|
+
select_default
|
|
48
|
+
} from "./chunk-I6Y4O3RR.js";
|
|
49
|
+
import "./chunk-OMR2DT66.js";
|
|
50
|
+
import "./chunk-DQC5FFGV.js";
|
|
51
|
+
import "./chunk-HFNDKYVF.js";
|
|
52
|
+
|
|
53
|
+
// src/block.tk.bam.js
|
|
54
|
+
var stackpagesize = 60;
|
|
55
|
+
var slider_rail_color = "#eee";
|
|
56
|
+
var slider_color = "#c7edc5";
|
|
57
|
+
var slider_color_dark = "#9ed19b";
|
|
58
|
+
var slider_color_dark_line = "#36a32f";
|
|
59
|
+
var messagerowheight = 15;
|
|
60
|
+
var stackheight_min = 7;
|
|
61
|
+
async function loadTk(tk, block) {
|
|
62
|
+
block.tkcloakon(tk);
|
|
63
|
+
block.block_setheight();
|
|
64
|
+
if (tk.uninitialized) {
|
|
65
|
+
makeTk(tk, block);
|
|
66
|
+
}
|
|
67
|
+
const regions = [];
|
|
68
|
+
let xoff = 0;
|
|
69
|
+
for (let i = block.startidx; i <= block.stopidx; i++) {
|
|
70
|
+
const r = block.rglst[i];
|
|
71
|
+
regions.push({
|
|
72
|
+
chr: r.chr,
|
|
73
|
+
start: r.start,
|
|
74
|
+
stop: r.stop,
|
|
75
|
+
width: r.width,
|
|
76
|
+
x: xoff
|
|
77
|
+
});
|
|
78
|
+
xoff += r.width + block.regionspace;
|
|
79
|
+
}
|
|
80
|
+
for (const [idx, r] of block.subpanels.entries()) {
|
|
81
|
+
xoff += r.leftpad;
|
|
82
|
+
regions.push({
|
|
83
|
+
chr: r.chr,
|
|
84
|
+
start: r.start,
|
|
85
|
+
stop: r.stop,
|
|
86
|
+
width: r.width,
|
|
87
|
+
exonsf: r.exonsf,
|
|
88
|
+
subpanelidx: idx,
|
|
89
|
+
x: xoff
|
|
90
|
+
});
|
|
91
|
+
xoff += r.width;
|
|
92
|
+
}
|
|
93
|
+
tk.regions = regions;
|
|
94
|
+
try {
|
|
95
|
+
if (tk.groups) {
|
|
96
|
+
for (const g of tk.groups) {
|
|
97
|
+
delete g.partstack;
|
|
98
|
+
delete g.dom.rightg.vslider.boxy;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
const data = await getData(tk, block);
|
|
102
|
+
if (data.error) throw data.error;
|
|
103
|
+
if (data.colorscale) {
|
|
104
|
+
tk.colorscale = data.colorscale;
|
|
105
|
+
}
|
|
106
|
+
if (tk.variants) {
|
|
107
|
+
for (let var_idx = 0; var_idx < tk.variants.length; var_idx++) {
|
|
108
|
+
if (tk.variants[var_idx].pos != data.allele_positions[var_idx]) {
|
|
109
|
+
tk.variants[var_idx].pos = data.allele_positions[var_idx];
|
|
110
|
+
tk.variants[var_idx].ref = data.ref_alleles[var_idx];
|
|
111
|
+
tk.variants[var_idx].alt = data.alt_alleles[var_idx];
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
renderTk(data, tk, block);
|
|
116
|
+
block.tkcloakoff(tk, {});
|
|
117
|
+
} catch (e) {
|
|
118
|
+
if (e.stack) console.log(e.stack);
|
|
119
|
+
if (tk.pileup_shown) {
|
|
120
|
+
tk.dom.pileup_axis.selectAll("*").remove();
|
|
121
|
+
tk.dom.pileup_img.attr("width", 0);
|
|
122
|
+
}
|
|
123
|
+
if (tk.groups) {
|
|
124
|
+
for (const g of tk.groups) {
|
|
125
|
+
g.dom.img_fullstack.attr("width", 0).attr("height", 0);
|
|
126
|
+
g.dom.img_partstack.attr("width", 0).attr("height", 0);
|
|
127
|
+
g.dom.img_cover.attr("width", 0).attr("height", 0);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
tk.height_main = tk.height = 100;
|
|
131
|
+
if (typeof e == "string" && e.startsWith("No reads in view range")) {
|
|
132
|
+
tk.leftlabel_count.text("");
|
|
133
|
+
tk.leftlabel_skip.text("");
|
|
134
|
+
}
|
|
135
|
+
block.tkcloakoff(tk, { error: e.message || e });
|
|
136
|
+
}
|
|
137
|
+
setLeftlabelWidth(tk, block);
|
|
138
|
+
block.block_setheight();
|
|
139
|
+
}
|
|
140
|
+
async function getData(tk, block, additional = {}) {
|
|
141
|
+
const body = {
|
|
142
|
+
genome: block.genome.name,
|
|
143
|
+
regions: tk.regions,
|
|
144
|
+
nucleotide_length: block.exonsf,
|
|
145
|
+
pileupheight: tk.pileupheight,
|
|
146
|
+
...additional
|
|
147
|
+
};
|
|
148
|
+
if (tk.gdcFile) {
|
|
149
|
+
body.gdcFileUUID = tk.gdcFile.uuid;
|
|
150
|
+
body.gdcFilePosition = tk.gdcFile.position;
|
|
151
|
+
}
|
|
152
|
+
if (tk.variants) {
|
|
153
|
+
body.variant = tk.variants.map((m) => m.chr + "." + m.pos + "." + m.ref + "." + m.alt).join(".");
|
|
154
|
+
body.strictness = tk.strictness;
|
|
155
|
+
body.diff_score_plotwidth = tk.dom.diff_score_plotwidth;
|
|
156
|
+
if (Number.isFinite(tk.max_diff_score)) {
|
|
157
|
+
body.max_diff_score = tk.max_diff_score;
|
|
158
|
+
body.min_diff_score = tk.min_diff_score;
|
|
159
|
+
}
|
|
160
|
+
} else if (tk.sv) {
|
|
161
|
+
if (tk.sv[0].strandA == "+") {
|
|
162
|
+
tk.sv[0].strandA = "positive";
|
|
163
|
+
} else if (tk.sv[0].strandA == "-") {
|
|
164
|
+
tk.sv[0].strandA = "negative";
|
|
165
|
+
}
|
|
166
|
+
if (tk.sv[0].strandB == "+") {
|
|
167
|
+
tk.sv[0].strandB = "positive";
|
|
168
|
+
} else if (tk.sv[0].strandB == "-") {
|
|
169
|
+
tk.sv[0].strandB = "negative";
|
|
170
|
+
}
|
|
171
|
+
body.sv = tk.sv.map((m) => m.chrA + "." + m.startA + "." + m.strandA + "." + m.chrB + "." + m.startB + "." + m.strandB).join(".");
|
|
172
|
+
}
|
|
173
|
+
if (tk.variants && tk.alleleAlreadyUpdated) {
|
|
174
|
+
body.alleleAlreadyUpdated = 1;
|
|
175
|
+
body.refseqs = tk.variants.refseqs;
|
|
176
|
+
body.altseqs = tk.variants.altseqs;
|
|
177
|
+
body.leftflankseqs = tk.variants.leftflankseqs;
|
|
178
|
+
body.rightflankseqs = tk.variants.rightflankseqs;
|
|
179
|
+
body.ref_positions = tk.variants.ref_positions;
|
|
180
|
+
body.refalleles = tk.variants.refalleles;
|
|
181
|
+
body.altalleles = tk.variants.altalleles;
|
|
182
|
+
}
|
|
183
|
+
if (tk.uninitialized) {
|
|
184
|
+
body.getcolorscale = 1;
|
|
185
|
+
delete tk.uninitialized;
|
|
186
|
+
}
|
|
187
|
+
if (tk.asPaired) body.asPaired = 1;
|
|
188
|
+
if ("nochr" in tk) body.nochr = tk.nochr;
|
|
189
|
+
if (tk.file) body.file = tk.file;
|
|
190
|
+
if (tk.url) body.url = tk.url;
|
|
191
|
+
if (tk.indexURL) body.indexURL = tk.indexURL;
|
|
192
|
+
if (tk.drop_pcrduplicates) body.drop_pcrduplicates = 1;
|
|
193
|
+
if (tk.drop_supplementary_alignments) body.drop_supplementary_alignments = 1;
|
|
194
|
+
if (window.devicePixelRatio > 1) body.devicePixelRatio = window.devicePixelRatio;
|
|
195
|
+
const data = await dofetch3("tkbam", { headers: getHeaders(tk), body });
|
|
196
|
+
if (tk.variants && !tk.alleleAlreadyUpdated) {
|
|
197
|
+
tk.variants.refseqs = data.refseqs;
|
|
198
|
+
tk.variants.altseqs = data.altseqs;
|
|
199
|
+
tk.variants.refalleles = data.refalleles;
|
|
200
|
+
tk.variants.altalleles = data.altalleles;
|
|
201
|
+
tk.variants.leftflankseqs = data.leftflankseqs;
|
|
202
|
+
tk.variants.rightflankseqs = data.rightflankseqs;
|
|
203
|
+
tk.variants.ref_positions = data.ref_positions;
|
|
204
|
+
tk.alleleAlreadyUpdated = true;
|
|
205
|
+
}
|
|
206
|
+
if (data.error) throw data.error;
|
|
207
|
+
return data;
|
|
208
|
+
}
|
|
209
|
+
function renderTk(data, tk, block) {
|
|
210
|
+
if ("nochr" in data) tk.nochr = data.nochr;
|
|
211
|
+
if (data.pileup_data) {
|
|
212
|
+
tk.pileup_shown = true;
|
|
213
|
+
tk.dom.pileup_img.attr("xlink:href", data.pileup_data.src).attr("width", data.pileup_data.width).attr("height", tk.pileupheight);
|
|
214
|
+
tk.dom.pileup_axis.selectAll("*").remove();
|
|
215
|
+
const scale = linear().domain([0, data.pileup_data.maxValue]).range([tk.pileupheight, 0]);
|
|
216
|
+
axisstyle({
|
|
217
|
+
axis: tk.dom.pileup_axis.call(axisRight().scale(scale).ticks(5)),
|
|
218
|
+
// at most 5 ticks
|
|
219
|
+
color: "black",
|
|
220
|
+
showline: true
|
|
221
|
+
});
|
|
222
|
+
} else {
|
|
223
|
+
tk.pileup_shown = false;
|
|
224
|
+
tk.dom.pileup_axis.selectAll("*").remove();
|
|
225
|
+
tk.dom.pileup_img.attr("width", 0);
|
|
226
|
+
}
|
|
227
|
+
if (data.count.read_limit_reached) {
|
|
228
|
+
tk.toomanyreads = true;
|
|
229
|
+
tk.dom.read_limit_text.text(
|
|
230
|
+
`Downsampled to ${data.groups.reduce((i, j) => i + j.count.r, 0)} from ${data.count.read_limit_reached} reads. Try zooming into a smaller region.`
|
|
231
|
+
).attr("x", data.pileup_data.width / 2).attr("transform", "scale(1)");
|
|
232
|
+
} else {
|
|
233
|
+
tk.toomanyreads = false;
|
|
234
|
+
tk.dom.read_limit_text.attr("transform", "scale(0)");
|
|
235
|
+
}
|
|
236
|
+
if (!tk.groups) {
|
|
237
|
+
tk.groups = [];
|
|
238
|
+
for (const g of data.groups) {
|
|
239
|
+
const gd = makeGroup(g, tk, block, data);
|
|
240
|
+
tk.groups.push(gd);
|
|
241
|
+
}
|
|
242
|
+
} else {
|
|
243
|
+
updateExistingGroups(data, tk, block);
|
|
244
|
+
}
|
|
245
|
+
may_render_variant(data, tk, block);
|
|
246
|
+
for (const g of tk.groups) {
|
|
247
|
+
g.dom.message_rowg.selectAll("*").remove();
|
|
248
|
+
let y = 0;
|
|
249
|
+
for (const m of g.data.messages) {
|
|
250
|
+
const msg = g.dom.message_rowg.append("text").attr("x", block.width / 2).attr("y", y + messagerowheight - 1).attr("font-size", messagerowheight).attr("text-anchor", "middle").text(m.t);
|
|
251
|
+
if (m.isheader && !tk.gdcFile) {
|
|
252
|
+
msg.attr("class", "sja_clbtext2").on("click", () => {
|
|
253
|
+
click_groupheader(tk, g, block);
|
|
254
|
+
});
|
|
255
|
+
}
|
|
256
|
+
y += messagerowheight;
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
setTkHeight(tk);
|
|
260
|
+
let countr = 0, countt = 0;
|
|
261
|
+
for (const g of tk.groups) {
|
|
262
|
+
countr += g.data.count.r;
|
|
263
|
+
if (tk.asPaired) {
|
|
264
|
+
countt += g.data.count.t;
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
tk.leftlabel_count.text(
|
|
268
|
+
(countr ? countr + " read" + (countr > 1 ? "s" : "") : "") + (countt ? ", " + countt + " template" + (countt > 1 ? "s" : "") : "")
|
|
269
|
+
);
|
|
270
|
+
if (data.count.skipped) {
|
|
271
|
+
tk.leftlabel_skip.text(`${data.count.skipped} read${data.count.skipped > 1 ? "s" : ""} skipped`);
|
|
272
|
+
} else {
|
|
273
|
+
tk.leftlabel_skip.text("");
|
|
274
|
+
}
|
|
275
|
+
tk.read_alignment_diff_scores_asc = data.read_alignment_diff_scores_asc;
|
|
276
|
+
}
|
|
277
|
+
function setLeftlabelWidth(tk, block) {
|
|
278
|
+
const lst = [
|
|
279
|
+
tk.tklabel.node().getBBox().width,
|
|
280
|
+
tk.leftlabel_count.node().getBBox().width,
|
|
281
|
+
tk.leftlabel_skip.node().getBBox().width,
|
|
282
|
+
tk.leftlabel_about ? tk.leftlabel_about.node().getBBox().width : 0
|
|
283
|
+
];
|
|
284
|
+
if (tk.show_readnames) {
|
|
285
|
+
for (const g of tk.groups) lst.push(g.ReadNameMaxwidth);
|
|
286
|
+
}
|
|
287
|
+
tk.leftLabelMaxwidth = Math.max(...lst);
|
|
288
|
+
block.setllabel();
|
|
289
|
+
}
|
|
290
|
+
function may_render_variant(data, tk, block) {
|
|
291
|
+
if (!tk.dom.variantg || tk.sv) return;
|
|
292
|
+
let var_idx = 0;
|
|
293
|
+
for (const g of tk.groups) {
|
|
294
|
+
if (g.data.type.includes("support_alt")) {
|
|
295
|
+
if (g.variantg) {
|
|
296
|
+
g.variantg.selectAll("*").remove();
|
|
297
|
+
} else {
|
|
298
|
+
g.variantg = tk.glider.append("g");
|
|
299
|
+
}
|
|
300
|
+
let x1, x2;
|
|
301
|
+
{
|
|
302
|
+
const hits = block.seekcoord(tk.variants[0].chr, tk.variants[var_idx].pos);
|
|
303
|
+
if (hits[0]) {
|
|
304
|
+
x1 = hits[0].x - block.exonsf / 2;
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
{
|
|
308
|
+
const hits = block.seekcoord(tk.variants[0].chr, tk.variants[var_idx].pos + tk.variants[var_idx].ref.length);
|
|
309
|
+
if (hits[0]) {
|
|
310
|
+
x2 = hits[0].x - block.exonsf / 2;
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
if (x1 === void 0 || x2 === void 0 || x1 >= block.width || x2 <= 0) return;
|
|
314
|
+
let variant_box_width = x2 - x1;
|
|
315
|
+
if (x2 > data.pileup_data.width) {
|
|
316
|
+
variant_box_width = data.pileup_data.width - x1;
|
|
317
|
+
} else if (x1 < 0) {
|
|
318
|
+
variant_box_width = x2;
|
|
319
|
+
}
|
|
320
|
+
if (tk.variants.length == 1) {
|
|
321
|
+
g.variantg.append("rect").attr("x", Math.max(0, x1)).attr("width", variant_box_width).attr("height", tk.dom.variantrowheight).attr("fill", "grey");
|
|
322
|
+
} else {
|
|
323
|
+
g.variantg.append("rect").attr("x", Math.max(0, x1)).attr("width", variant_box_width).attr("height", tk.dom.variantrowheight).attr("fill", g.data.group_color);
|
|
324
|
+
}
|
|
325
|
+
const variant_string = tk.variants[0].chr + "." + (data.allele_positions[var_idx] + 1).toString() + "." + data.ref_alleles[var_idx] + "." + data.alt_alleles[var_idx];
|
|
326
|
+
let variant_start_text_pos = 0;
|
|
327
|
+
const space_param = 10;
|
|
328
|
+
const pad_param = 15;
|
|
329
|
+
const var_str = g.variantg.append("text").attr("y", tk.dom.variantrowheight - 2).attr("font-size", tk.dom.variantrowheight).text(variant_string);
|
|
330
|
+
const var_str_bbox = var_str.node().getBBox();
|
|
331
|
+
if (var_str_bbox.width + space_param < x1) {
|
|
332
|
+
variant_start_text_pos = x1 - var_str_bbox.width - space_param;
|
|
333
|
+
} else if (var_str_bbox.width < variant_box_width) {
|
|
334
|
+
variant_start_text_pos = Math.max(0, x1) + (variant_box_width - var_str_bbox.width) / 2;
|
|
335
|
+
} else if (x2 + var_str_bbox.width < data.pileup_data.width) {
|
|
336
|
+
variant_start_text_pos = x2 + space_param;
|
|
337
|
+
}
|
|
338
|
+
var_str.attr("x", variant_start_text_pos);
|
|
339
|
+
if (data.refalleleerror == true) {
|
|
340
|
+
let text_start_pos = 0;
|
|
341
|
+
const incorrect_string = g.variantg.append("text").attr("x", text_start_pos).attr("y", tk.dom.variantrowheight).style("fill", "red").attr("font-size", tk.dom.variantrowheight).text("Incorrect reference allele");
|
|
342
|
+
const incorrect_ref_bbox = incorrect_string.node().getBBox();
|
|
343
|
+
if (variant_start_text_pos == 0 && incorrect_ref_bbox.width + space_param < x1 - var_str_bbox.width - space_param) {
|
|
344
|
+
text_start_pos = var_str_bbox.width + space_param;
|
|
345
|
+
} else if (variant_start_text_pos == 0 && incorrect_ref_bbox.width + space_param > x1 - var_str_bbox.width - space_param) {
|
|
346
|
+
text_start_pos = x2 + space_param;
|
|
347
|
+
} else if (var_str_bbox.width + space_param < x1 && x2 + incorrect_ref_bbox.width + space_param < data.pileup_data.width) {
|
|
348
|
+
text_start_pos = x2 + space_param;
|
|
349
|
+
} else if (var_str_bbox.width + space_param < x1 && x2 + incorrect_ref_bbox.width + space_param >= data.pileup_data.width && incorrect_ref_bbox.width + space_param < variant_box_width) {
|
|
350
|
+
text_start_pos = Math.max(0, x1);
|
|
351
|
+
} else if (var_str_bbox.width + space_param < x1 && x2 + incorrect_ref_bbox.width + space_param >= data.pileup_data.width) {
|
|
352
|
+
text_start_pos = x1 - var_str_bbox.width - space_param * 2 - incorrect_ref_bbox.width;
|
|
353
|
+
} else if (var_str_bbox.width < variant_box_width && incorrect_ref_bbox.width + space_param < x1) {
|
|
354
|
+
text_start_pos = x1 - incorrect_ref_bbox.width - space_param;
|
|
355
|
+
} else if (var_str_bbox.width < variant_box_width && incorrect_ref_bbox.width + space_param >= x1) {
|
|
356
|
+
text_start_pos = x2 + space_param;
|
|
357
|
+
} else if (x2 + var_str_bbox.width < data.pileup_data.width && incorrect_ref_bbox.width + space_param < x1) {
|
|
358
|
+
text_start_pos = x1 - incorrect_ref_bbox.width - space_param;
|
|
359
|
+
} else if (x2 + var_str_bbox.width < data.pileup_data.width && incorrect_ref_bbox.width + space_param >= x1) {
|
|
360
|
+
text_start_pos = x2 + var_str_bbox.width + 2 * space_param;
|
|
361
|
+
} else if (x2 + var_str_bbox.width < data.pileup_data.width && incorrect_ref_bbox.width < variant_box_width) {
|
|
362
|
+
text_start_pos = Math.max(0, x1);
|
|
363
|
+
}
|
|
364
|
+
incorrect_string.attr("x", text_start_pos);
|
|
365
|
+
}
|
|
366
|
+
var_idx += 1;
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
if (tk.variants.length == 1) {
|
|
370
|
+
tk.fs_string.text("FS = " + data.strand_probability);
|
|
371
|
+
if (data.strand_significance) {
|
|
372
|
+
tk.fs_string.style("fill", "red");
|
|
373
|
+
} else {
|
|
374
|
+
tk.fs_string.style("fill", "black");
|
|
375
|
+
}
|
|
376
|
+
tk.fs_string.on("click", (event) => {
|
|
377
|
+
tk.tktip.clear().showunder(event.target);
|
|
378
|
+
tk.tktip.d.append("div").style("width", "350px").html(
|
|
379
|
+
`Fisher strand (FS) analysis score containing p-values in phred scale (-10*log(p-value)). If <a href='https://gatk.broadinstitute.org/hc/en-us/articles/360035890471' target='_blank'>FS>60</a>, the variant maybe a sequencing artifact and highlighted in red.
|
|
380
|
+
</br></br>
|
|
381
|
+
To compute the p-value, Fisher's exact test is used for variants with a sequencing depth <= 300. If depth > 300 and each individual category > 150, chi-squared test is used. Following table displays read counts in each category.`
|
|
382
|
+
);
|
|
383
|
+
const table = tk.tktip.d.append("table").style("margin-top", "20px").style("border-spacing", "5px");
|
|
384
|
+
{
|
|
385
|
+
const tr = table.append("tr").style("font-weight", "bold");
|
|
386
|
+
tr.append("td");
|
|
387
|
+
tr.append("td").text("Alternative");
|
|
388
|
+
tr.append("td").text("Reference");
|
|
389
|
+
}
|
|
390
|
+
{
|
|
391
|
+
const tr = table.append("tr");
|
|
392
|
+
tr.append("td").text("Forward").style("font-weight", "bold");
|
|
393
|
+
tr.append("td").text(data.alternate_forward_count);
|
|
394
|
+
tr.append("td").text(data.reference_forward_count);
|
|
395
|
+
}
|
|
396
|
+
{
|
|
397
|
+
const tr = table.append("tr");
|
|
398
|
+
tr.append("td").text("Reverse").style("font-weight", "bold");
|
|
399
|
+
tr.append("td").text(data.alternate_reverse_count);
|
|
400
|
+
tr.append("td").text(data.reference_reverse_count);
|
|
401
|
+
}
|
|
402
|
+
});
|
|
403
|
+
}
|
|
404
|
+
if (Number.isFinite(data.max_diff_score) && !tk.dom.alleleSimilarityHeaderLabel) {
|
|
405
|
+
tk.dom.alleleSimilarityHeaderLabel = tk.dom.alleleSimilarityHeaderG.append("text").attr("y", 2 * tk.dom.variantrowheight).attr("font-size", tk.dom.variantrowheight).attr("class", "sja_clbtext2").text("Allele similarity");
|
|
406
|
+
const html_text = [
|
|
407
|
+
"Allele similarity: This chart shows the allele to which the read has maximum sequence similarity. In case of alternative and reference alleles, all reads in the same group have same color. In case of none category, color representing allele with maximum sequence color is displayed. In case of ambiguous category, for each read colors representing each alleles having equal similarity to each other are displayed."
|
|
408
|
+
];
|
|
409
|
+
let var_idx2 = 0;
|
|
410
|
+
html_text.push("<br>Allele color codes:");
|
|
411
|
+
let old_pos = tk.variants[0].pos;
|
|
412
|
+
let old_ref_length = tk.variants[0].ref.length;
|
|
413
|
+
tk.is_same_ref = true;
|
|
414
|
+
let ref_color;
|
|
415
|
+
for (const g of tk.groups) {
|
|
416
|
+
if (g.data.type.includes("support_alt")) {
|
|
417
|
+
let test_text = '<svg width="10" height="10" style = "display:inline-block;"><rect width="10" height="10" style="fill:' + g.data.group_color + ';" /> </svg> ' + tk.variants[var_idx2].alt;
|
|
418
|
+
html_text.push(test_text);
|
|
419
|
+
if (tk.variants[var_idx2].pos != old_pos || tk.variants[var_idx2].ref.length != old_ref_length) {
|
|
420
|
+
tk.is_same_ref = false;
|
|
421
|
+
}
|
|
422
|
+
var_idx2 += 1;
|
|
423
|
+
} else if (g.data.type == "support_ref") {
|
|
424
|
+
ref_color = g.data.group_color;
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
if (!ref_color) {
|
|
428
|
+
ref_color = "#47C8FF";
|
|
429
|
+
}
|
|
430
|
+
if (tk.is_same_ref == true) {
|
|
431
|
+
html_text.push(
|
|
432
|
+
'<svg width="10" height="10" style = "display:inline-block;"><rect width="10" height="10" style="fill:' + ref_color + ';" /> </svg> ' + tk.variants[0].ref
|
|
433
|
+
);
|
|
434
|
+
} else {
|
|
435
|
+
html_text.push(
|
|
436
|
+
'<svg width="10" height="10" style = "display:inline-block;"><rect width="10" height="10" style="fill:' + ref_color + ';" /> </svg> Combined reference allele'
|
|
437
|
+
);
|
|
438
|
+
}
|
|
439
|
+
if (!tk.gdcFile) {
|
|
440
|
+
html_text.push(
|
|
441
|
+
"<br><a href='https://proteinpaint.stjude.org/bam' target='_blank'>Click here to view details of this method</a>."
|
|
442
|
+
);
|
|
443
|
+
}
|
|
444
|
+
tk.dom.alleleSimilarityHeaderLabel.on("click", (event) => {
|
|
445
|
+
const b = event.target.getBoundingClientRect();
|
|
446
|
+
tk.tktip.clear().show(b.x - 250, b.y);
|
|
447
|
+
tk.tktip.d.append("div").style("width", "300px").html(html_text.join("<br>"));
|
|
448
|
+
});
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
function setTkHeight(tk) {
|
|
452
|
+
let h = 0;
|
|
453
|
+
if (tk.pileup_shown) h += tk.pileupheight + tk.pileupbottompad;
|
|
454
|
+
if (tk.toomanyreads) {
|
|
455
|
+
h += tk.dom.read_limit_height;
|
|
456
|
+
tk.dom.read_limit_text.attr("y", h);
|
|
457
|
+
h += tk.dom.read_limit_bottompad;
|
|
458
|
+
}
|
|
459
|
+
if (tk.dom.variantg) {
|
|
460
|
+
tk.dom.variantg.attr("transform", "translate(0," + h + ")");
|
|
461
|
+
}
|
|
462
|
+
if (tk.dom.alleleSimilarityHeaderG) {
|
|
463
|
+
tk.dom.alleleSimilarityHeaderG.attr("transform", "translate(0," + (tk.pileupheight - tk.pileupbottompad * 2) + ")");
|
|
464
|
+
}
|
|
465
|
+
let var_idx = 0;
|
|
466
|
+
for (const g of tk.groups) {
|
|
467
|
+
if (g.data.type.includes("support_alt")) {
|
|
468
|
+
g.variantg.attr("transform", "translate(0," + h + ")");
|
|
469
|
+
h += tk.dom.variantrowheight + tk.dom.variantrowbottompad;
|
|
470
|
+
var_idx += 1;
|
|
471
|
+
}
|
|
472
|
+
g.dom.groupg.transition().attr("transform", "translate(0," + h + ")");
|
|
473
|
+
g.dom.rightg.transition().attr("transform", "translate(0," + h + ")");
|
|
474
|
+
g.msgheight = messagerowheight * g.data.messages.length;
|
|
475
|
+
g.dom.leftg.transition().attr("transform", "translate(0," + (h + g.msgheight) + ")");
|
|
476
|
+
g.dom.imgg.transition().attr("transform", "translate(0," + g.msgheight + ")");
|
|
477
|
+
if (tk.variants) {
|
|
478
|
+
g.dom.diff_score_barplot_fullstack.transition().attr("transform", "translate(0," + g.msgheight + ")");
|
|
479
|
+
}
|
|
480
|
+
if (g.partstack) {
|
|
481
|
+
if (tk.variants) {
|
|
482
|
+
g.dom.diff_score_barplot_partstack.transition().attr("transform", "translate(0," + g.msgheight + ")");
|
|
483
|
+
g.dom.rightg.vslider.g.transition().attr("transform", "translate(" + tk.dom.diff_score_plotwidth * 1.1 + "," + g.msgheight + ") scale(1)");
|
|
484
|
+
} else {
|
|
485
|
+
g.dom.rightg.vslider.g.transition().attr("transform", "translate(0,0) scale(1)");
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
h += g.data.height + g.msgheight;
|
|
489
|
+
if (g.data.type.includes("support_alt") && var_idx < tk.variants.length) {
|
|
490
|
+
h += tk.dom.variantrowheight;
|
|
491
|
+
}
|
|
492
|
+
}
|
|
493
|
+
tk.height_main = tk.height = h;
|
|
494
|
+
tk.height_main += tk.toppad + tk.bottompad;
|
|
495
|
+
}
|
|
496
|
+
function updateExistingGroups(data, tk, block) {
|
|
497
|
+
for (let i = 0; i < tk.groups.length; i++) {
|
|
498
|
+
const group = data.groups.find((g) => g.type == tk.groups[i].data.type);
|
|
499
|
+
if (!group) {
|
|
500
|
+
deleteGroupDom(tk.groups[i]);
|
|
501
|
+
tk.groups.splice(i, 1);
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
for (const gd of data.groups) {
|
|
505
|
+
const group = tk.groups.find((g) => g.data.type == gd.type);
|
|
506
|
+
if (!group) {
|
|
507
|
+
const g = makeGroup(gd, tk, block, data);
|
|
508
|
+
tk.groups.push(g);
|
|
509
|
+
} else {
|
|
510
|
+
group.data = gd;
|
|
511
|
+
update_boxes(group, tk, block);
|
|
512
|
+
group.dom.img_fullstack.attr("xlink:href", group.data.src).attr("width", group.data.width).attr("height", group.data.height);
|
|
513
|
+
if (tk.variants) {
|
|
514
|
+
group.ReadNameMaxwidth = 0;
|
|
515
|
+
if (tk.show_readnames) {
|
|
516
|
+
if (group.data.templatebox) {
|
|
517
|
+
group.dom.read_names_g.selectAll("*").remove();
|
|
518
|
+
let read_count = 1;
|
|
519
|
+
for (const read of group.data.templatebox) {
|
|
520
|
+
const read_name_bbox = group.dom.read_names_g.append("text").attr("x", 0).attr("y", group.data.height * read_count / group.data.templatebox.length).attr("text-anchor", "end").style("fill", "black").attr("font-size", group.data.height / group.data.templatebox.length).text(read.qname);
|
|
521
|
+
group.ReadNameMaxwidth = Math.max(group.ReadNameMaxwidth, read_name_bbox.node().getBBox().width);
|
|
522
|
+
read_count += 1;
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
} else {
|
|
526
|
+
group.dom.read_names_g.selectAll("*").remove();
|
|
527
|
+
group.ReadNameMaxwidth = 0;
|
|
528
|
+
}
|
|
529
|
+
if (group.my_partstack) {
|
|
530
|
+
if (group.data.allowpartstack) {
|
|
531
|
+
enter_partstack(group, tk, block, group.my_partstack, data);
|
|
532
|
+
}
|
|
533
|
+
} else {
|
|
534
|
+
group.dom.diff_score_barplot_fullstack.attr("xlink:href", gd.diff_scores_img.src).attr("width", gd.diff_scores_img.width).attr("height", gd.diff_scores_img.height);
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
group.dom.img_partstack.attr("width", 0).attr("height", 0);
|
|
538
|
+
if (tk.variants) {
|
|
539
|
+
group.dom.diff_score_barplot_partstack.attr("width", 0).attr("height", 0);
|
|
540
|
+
}
|
|
541
|
+
group.dom.rightg.vslider.g.transition().attr("transform", "scale(0)");
|
|
542
|
+
group.dom.img_cover.attr("width", group.data.width).attr("height", group.data.height);
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
function update_boxes(group, tk, block) {
|
|
547
|
+
group.dom.box_move.attr("width", 0);
|
|
548
|
+
update_box_stay(group, tk, block);
|
|
549
|
+
}
|
|
550
|
+
function update_box_stay(group, tk, block) {
|
|
551
|
+
if (!group.data.templatebox) {
|
|
552
|
+
group.dom.box_stay.attr("width", 0);
|
|
553
|
+
return;
|
|
554
|
+
}
|
|
555
|
+
if (!group.clickedtemplate) {
|
|
556
|
+
group.dom.box_stay.attr("width", 0);
|
|
557
|
+
return;
|
|
558
|
+
}
|
|
559
|
+
for (const t of group.data.templatebox) {
|
|
560
|
+
if (t.qname == group.clickedtemplate.qname) {
|
|
561
|
+
if (tk.asPaired || t.isfirst && group.clickedtemplate.isfirst || t.islast && group.clickedtemplate.islast) {
|
|
562
|
+
const bx1 = Math.max(0, t.x1);
|
|
563
|
+
const bx2 = Math.min(block.width, t.x2);
|
|
564
|
+
group.dom.box_stay.attr("width", bx2 - bx1).attr("height", t.y2 - t.y1).attr("transform", "translate(" + bx1 + "," + t.y1 + ")");
|
|
565
|
+
return;
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
}
|
|
569
|
+
group.dom.box_stay.attr("width", 0);
|
|
570
|
+
}
|
|
571
|
+
function deleteGroupDom(g) {
|
|
572
|
+
g.dom.message_rowg.remove();
|
|
573
|
+
g.dom.img_fullstack.remove();
|
|
574
|
+
g.dom.img_partstack.remove();
|
|
575
|
+
g.dom.diff_score_barplot_fullstack?.remove();
|
|
576
|
+
g.dom.diff_score_barplot_partstack?.remove();
|
|
577
|
+
g.dom.read_names_g?.remove();
|
|
578
|
+
g.dom.leftg.remove();
|
|
579
|
+
g.dom.box_stay?.remove();
|
|
580
|
+
g.dom.box_move?.remove();
|
|
581
|
+
g.dom.rightg.remove();
|
|
582
|
+
}
|
|
583
|
+
function makeTk(tk, block) {
|
|
584
|
+
if (tk.gdcFile) {
|
|
585
|
+
block.gdcBamSliceDownloadBtn.style("display", "inline-block");
|
|
586
|
+
}
|
|
587
|
+
may_add_urlparameter(tk, block);
|
|
588
|
+
if (tk.drop_pcrduplicates == void 0) {
|
|
589
|
+
tk.drop_pcrduplicates = true;
|
|
590
|
+
}
|
|
591
|
+
tk.drop_supplementary_alignments = false;
|
|
592
|
+
if (tk.show_readnames == void 0) {
|
|
593
|
+
tk.show_readnames = false;
|
|
594
|
+
}
|
|
595
|
+
tk.config_handle = block.maketkconfighandle(tk).attr("y", 10 + block.labelfontsize).on("click", () => {
|
|
596
|
+
configPanel(tk, block);
|
|
597
|
+
});
|
|
598
|
+
tk.readMenu = new Menu();
|
|
599
|
+
tk.readMenu.d.style("max-width", "90vw").style("max-height", "65vh").attr("class", "sjpp_show_scrollbar");
|
|
600
|
+
tk.multiAlignMenu = new Menu();
|
|
601
|
+
tk.multiAlignMenu.d.style("max-width", "90vw").style("max-height", "65vh").attr("class", "sjpp_show_scrollbar");
|
|
602
|
+
tk.pileupheight = 100;
|
|
603
|
+
tk.pileupbottompad = 6;
|
|
604
|
+
tk.dom = {
|
|
605
|
+
pileup_g: tk.glider.append("g"),
|
|
606
|
+
pileup_axis: tk.glider.append("g"),
|
|
607
|
+
read_limit_height: 15,
|
|
608
|
+
read_limit_bottompad: 6,
|
|
609
|
+
read_limit_g: tk.glider.append("g")
|
|
610
|
+
};
|
|
611
|
+
tk.dom.pileup_img = tk.dom.pileup_g.append("image");
|
|
612
|
+
tk.dom.read_limit_text = tk.dom.read_limit_g.append("text").style("fill", "red").attr("text-anchor", "middle").attr("font-size", tk.dom.read_limit_height).attr("transform", "scale(0)");
|
|
613
|
+
if (tk.variants) {
|
|
614
|
+
tk.dom.variantg = tk.glider.append("g");
|
|
615
|
+
tk.dom.alleleSimilarityHeaderG = tk.gright.append("g");
|
|
616
|
+
tk.dom.variantrowheight = 15;
|
|
617
|
+
tk.dom.variantrowbottompad = 5;
|
|
618
|
+
tk.dom.diff_score_plotwidth = 20;
|
|
619
|
+
tk.fs_string = block.maketklefthandle(tk, tk.pileupheight + tk.dom.variantrowheight / 2);
|
|
620
|
+
} else if (tk.sv) {
|
|
621
|
+
tk.dom.variantg = tk.glider.append("g");
|
|
622
|
+
tk.dom.variantrowheight = 15;
|
|
623
|
+
tk.dom.variantrowbottompad = 5;
|
|
624
|
+
}
|
|
625
|
+
tk.asPaired = false;
|
|
626
|
+
let laby = block.labelfontsize + 5;
|
|
627
|
+
tk.leftlabel_count = block.maketklefthandle(tk, laby);
|
|
628
|
+
laby += block.labelfontsize;
|
|
629
|
+
tk.leftlabel_skip = block.maketklefthandle(tk, laby).text("");
|
|
630
|
+
if (tk.aboutThisFile) {
|
|
631
|
+
laby += block.labelfontsize;
|
|
632
|
+
tk.leftlabel_about = block.maketklefthandle(tk, laby).text("About the BAM file").on("mouseover", (event) => {
|
|
633
|
+
tk.tktip.showunder(event.target).clear();
|
|
634
|
+
const t = table2col({ holder: tk.tktip.d });
|
|
635
|
+
for (const r of tk.aboutThisFile) t.addRow(r.k, r.v);
|
|
636
|
+
}).on("mouseout", () => {
|
|
637
|
+
tk.tktip.hide();
|
|
638
|
+
});
|
|
639
|
+
}
|
|
640
|
+
delete tk.alleleAlreadyUpdated;
|
|
641
|
+
if (tk.groups) {
|
|
642
|
+
for (const g of tk.groups) deleteGroupDom(g);
|
|
643
|
+
delete tk.groups;
|
|
644
|
+
}
|
|
645
|
+
}
|
|
646
|
+
function may_add_urlparameter(tk, block) {
|
|
647
|
+
const u2p = urlmap_default();
|
|
648
|
+
if (u2p.has("variant")) {
|
|
649
|
+
tk.variants = [];
|
|
650
|
+
if (typeof u2p.get("variant") == "string") {
|
|
651
|
+
const tmp = u2p.get("variant").split(".");
|
|
652
|
+
if (tmp.length == 4) {
|
|
653
|
+
const pos = Number(tmp[1]);
|
|
654
|
+
if (!Number.isInteger(pos)) throw "urlparam variant pos is not integer";
|
|
655
|
+
if (!tmp[2]) throw "ref allele missing";
|
|
656
|
+
if (!tmp[3]) throw "alt allele missing";
|
|
657
|
+
tk.variants.push({ chr: tmp[0], pos: pos - 1, ref: tmp[2], alt: tmp[3], strictness: 1 });
|
|
658
|
+
}
|
|
659
|
+
} else {
|
|
660
|
+
const variant_json = u2p.get("variant");
|
|
661
|
+
for (const item of variant_json.variants) {
|
|
662
|
+
if (!Number.isInteger(item.pos)) throw "urlparam variant pos is not integer";
|
|
663
|
+
if (!item.ref) throw "ref allele missing";
|
|
664
|
+
if (!item.alt) throw "alt allele missing";
|
|
665
|
+
tk.variants.push({ chr: variant_json.chr, pos: Number(item.pos) - 1, ref: item.ref, alt: item.alt });
|
|
666
|
+
}
|
|
667
|
+
}
|
|
668
|
+
if (u2p.has("strictness")) {
|
|
669
|
+
const tmp = u2p.get("strictness");
|
|
670
|
+
if (!Number.isInteger(Number(tmp))) throw "strictness must be an integer";
|
|
671
|
+
tk.strictness = Number(tmp);
|
|
672
|
+
if (tk.strictness != 1 && tk.strictness != 0) {
|
|
673
|
+
throw "strictness must be 0 or 1";
|
|
674
|
+
}
|
|
675
|
+
} else {
|
|
676
|
+
tk.strictness = 1;
|
|
677
|
+
}
|
|
678
|
+
} else if (u2p.has("sv")) {
|
|
679
|
+
const tmp = u2p.get("sv").split(".");
|
|
680
|
+
tk.sv = [];
|
|
681
|
+
if (tmp.length == 7) {
|
|
682
|
+
tk.sv.push({
|
|
683
|
+
chrA: tmp[0],
|
|
684
|
+
startA: tmp[1],
|
|
685
|
+
strandA: tmp[2],
|
|
686
|
+
chrB: tmp[3],
|
|
687
|
+
startB: tmp[4],
|
|
688
|
+
strandB: tmp[5],
|
|
689
|
+
contig: tmp[6]
|
|
690
|
+
});
|
|
691
|
+
} else if (tmp.length == 6) {
|
|
692
|
+
tk.sv.push({
|
|
693
|
+
chrA: tmp[0],
|
|
694
|
+
startA: tmp[1],
|
|
695
|
+
strandA: tmp[2],
|
|
696
|
+
chrB: tmp[3],
|
|
697
|
+
startB: tmp[4],
|
|
698
|
+
strandB: tmp[5]
|
|
699
|
+
});
|
|
700
|
+
}
|
|
701
|
+
}
|
|
702
|
+
}
|
|
703
|
+
function makeGroup(gd, tk, block, data) {
|
|
704
|
+
const group = {
|
|
705
|
+
data: gd,
|
|
706
|
+
dom: {
|
|
707
|
+
groupg: tk.glider.append("g"),
|
|
708
|
+
rightg: tk.gright.append("g"),
|
|
709
|
+
leftg: tk.gleft.append("g")
|
|
710
|
+
}
|
|
711
|
+
};
|
|
712
|
+
group.dom.message_rowg = group.dom.groupg.append("g");
|
|
713
|
+
group.dom.imgg = group.dom.groupg.append("g");
|
|
714
|
+
group.dom.rightg.vslider = group.dom.rightg.append("g");
|
|
715
|
+
group.dom.rightg.vslider.g = group.dom.rightg.vslider.append("g").attr("transform", "scale(0)");
|
|
716
|
+
if (tk.variants) {
|
|
717
|
+
group.dom.diff_score_g = group.dom.rightg.append("g");
|
|
718
|
+
group.dom.read_names_g = group.dom.leftg.append("g");
|
|
719
|
+
group.dom.diff_score_barplot_fullstack = group.dom.diff_score_g.append("image").attr("xlink:href", gd.diff_scores_img.src).attr("width", gd.diff_scores_img.width).attr("height", gd.diff_scores_img.height);
|
|
720
|
+
group.dom.diff_score_barplot_partstack = group.dom.diff_score_g.append("image").attr("xlink:href", gd.diff_scores_img.src).attr("width", 0).attr("height", 0);
|
|
721
|
+
if (!group.allowpartstack && !Number.isFinite(tk.max_diff_score) && tk.variants) {
|
|
722
|
+
tk.max_diff_score = data.max_diff_score;
|
|
723
|
+
tk.min_diff_score = data.min_diff_score;
|
|
724
|
+
}
|
|
725
|
+
let diff_score_height = tk.pileupheight + tk.dom.variantrowheight * 2;
|
|
726
|
+
if (tk.toomanyreads) {
|
|
727
|
+
diff_score_height = tk.pileupheight + tk.dom.variantrowheight * 3;
|
|
728
|
+
}
|
|
729
|
+
}
|
|
730
|
+
group.dom.img_fullstack = group.dom.imgg.append("image").attr("xlink:href", group.data.src).attr("width", group.data.width).attr("height", group.data.height);
|
|
731
|
+
group.dom.img_partstack = group.dom.imgg.append("image").attr("width", 0).attr("height", 0);
|
|
732
|
+
group.dom.box_move = group.dom.imgg.append("rect").attr("stroke", "black").attr("fill", "none");
|
|
733
|
+
group.dom.box_stay = group.dom.imgg.append("rect").attr("stroke", "magenta").attr("fill", "none");
|
|
734
|
+
let mousedownx;
|
|
735
|
+
const left_margin = tk.regions[0].x;
|
|
736
|
+
const right_margin = tk.regions[tk.regions.length - 1].x + tk.regions[tk.regions.length - 1].width;
|
|
737
|
+
group.dom.img_cover = group.dom.imgg.append("rect").attr("fill", "white").attr("fill-opacity", 0).attr("width", group.data.width).attr("height", group.data.height).on("mousedown", (event) => {
|
|
738
|
+
mousedownx = event.clientX;
|
|
739
|
+
}).on("mousemove", (event) => {
|
|
740
|
+
if (group.data.allowpartstack) {
|
|
741
|
+
return;
|
|
742
|
+
}
|
|
743
|
+
if (!group.data.templatebox) return;
|
|
744
|
+
const [mx, my] = pointer_default(event, group.dom.img_cover.node());
|
|
745
|
+
let read_number = 0;
|
|
746
|
+
for (const t of group.data.templatebox) {
|
|
747
|
+
read_number += 1;
|
|
748
|
+
const bx1 = Math.max(t.x1, left_margin);
|
|
749
|
+
const bx2 = Math.min(t.x2, right_margin);
|
|
750
|
+
if (mx > bx1 && mx < bx2 && my > t.y1 && my < t.y2) {
|
|
751
|
+
group.dom.box_move.attr("width", bx2 - bx1).attr("height", t.y2 - t.y1).attr("transform", "translate(" + bx1 + "," + t.y1 + ")");
|
|
752
|
+
if (tk.readAlignmentTable && tk.readAlignmentTableGroup == group.data.type) {
|
|
753
|
+
updateExistingMultiReadAligInfo(tk, read_number);
|
|
754
|
+
} else if (tk.readAlignmentTable && tk.readAlignmentTableGroup != group.data.type) {
|
|
755
|
+
updateExistingMultiReadAligInfo(tk, group.data.templatebox.length + 10);
|
|
756
|
+
}
|
|
757
|
+
return;
|
|
758
|
+
}
|
|
759
|
+
}
|
|
760
|
+
}).on("click", (event) => {
|
|
761
|
+
if (mousedownx != event.clientX) return;
|
|
762
|
+
const [mx, my] = pointer_default(event, group.dom.img_cover.node());
|
|
763
|
+
group.my_partstack = my;
|
|
764
|
+
if (group.data.allowpartstack) {
|
|
765
|
+
enter_partstack(group, tk, block, my, data);
|
|
766
|
+
return;
|
|
767
|
+
}
|
|
768
|
+
if (!group.data.templatebox) return;
|
|
769
|
+
tk.readMenu.clear().show(50, event.clientY);
|
|
770
|
+
let readNotShown = true;
|
|
771
|
+
for (let region_idx = 0; region_idx < tk.regions.length; region_idx += 1) {
|
|
772
|
+
for (const t of group.data.templatebox) {
|
|
773
|
+
const cx1 = Math.max(t.x1, left_margin);
|
|
774
|
+
const cx2 = Math.min(t.x2, right_margin);
|
|
775
|
+
const bx1 = Math.max(tk.regions[region_idx].x, t.x1);
|
|
776
|
+
const bx2 = Math.min(tk.regions[region_idx].x + tk.regions[region_idx].width, t.x2);
|
|
777
|
+
if (mx > bx1 && mx < bx2 && my > t.y1 && my < t.y2) {
|
|
778
|
+
if (group.clickedtemplate && group.clickedtemplate.qname == t.qname) {
|
|
779
|
+
if (tk.asPaired || t.isfirst && group.clickedtemplate.isfirst || t.islast && group.clickedtemplate.islast) {
|
|
780
|
+
delete group.clickedtemplate;
|
|
781
|
+
group.dom.box_stay.attr("width", 0);
|
|
782
|
+
break;
|
|
783
|
+
}
|
|
784
|
+
}
|
|
785
|
+
group.clickedtemplate = {
|
|
786
|
+
qname: t.qname
|
|
787
|
+
};
|
|
788
|
+
if (tk.asPaired) {
|
|
789
|
+
group.clickedtemplate.isfirst = true;
|
|
790
|
+
} else {
|
|
791
|
+
if (t.isfirst) group.clickedtemplate.isfirst = true;
|
|
792
|
+
if (t.islast) group.clickedtemplate.islast = true;
|
|
793
|
+
}
|
|
794
|
+
group.dom.box_stay.attr("width", cx2 - cx1).attr("height", t.y2 - t.y1).attr("transform", "translate(" + cx1 + "," + t.y1 + ")");
|
|
795
|
+
getReadInfo(tk, block, t, region_idx);
|
|
796
|
+
readNotShown = false;
|
|
797
|
+
}
|
|
798
|
+
}
|
|
799
|
+
}
|
|
800
|
+
if (readNotShown) tk.readMenu.hide();
|
|
801
|
+
});
|
|
802
|
+
group.dom.rightg.vslider.bar = group.dom.rightg.vslider.g.append("rect").attr("fill", slider_rail_color).attr("x", 10).attr("width", 20).on("mouseover", () => group.dom.rightg.vslider.bar.attr("fill", "#fae8e8")).on("mouseout", () => group.dom.rightg.vslider.bar.attr("fill", slider_rail_color)).on("click", () => {
|
|
803
|
+
delete group.dom.rightg.vslider.boxy;
|
|
804
|
+
delete group.partstack;
|
|
805
|
+
if (group.my_partstack) {
|
|
806
|
+
delete group.my_partstack;
|
|
807
|
+
}
|
|
808
|
+
group.ReadNameMaxwidth = 0;
|
|
809
|
+
group.data = group.data_fullstack;
|
|
810
|
+
renderGroup(group, tk, block);
|
|
811
|
+
setTkHeight(tk);
|
|
812
|
+
block.block_setheight();
|
|
813
|
+
});
|
|
814
|
+
group.dom.rightg.vslider.boxg = group.dom.rightg.vslider.g.append("g");
|
|
815
|
+
group.dom.rightg.vslider.box = group.dom.rightg.vslider.boxg.append("rect").attr("fill", slider_color).attr("width", 40).on("mousedown", (event) => {
|
|
816
|
+
event.preventDefault();
|
|
817
|
+
group.dom.rightg.vslider.box.attr("fill", slider_color_dark);
|
|
818
|
+
const scrollableheight = group.data.height;
|
|
819
|
+
const y0 = event.clientY;
|
|
820
|
+
let deltay = 0;
|
|
821
|
+
const b = select_default(document.body);
|
|
822
|
+
b.on("mousemove", (event2) => {
|
|
823
|
+
const y1 = event2.clientY;
|
|
824
|
+
const d = y1 - y0;
|
|
825
|
+
if (d < 0) {
|
|
826
|
+
if (group.dom.rightg.vslider.boxy + d <= 0) return;
|
|
827
|
+
} else {
|
|
828
|
+
if (group.dom.rightg.vslider.boxy + d >= scrollableheight - group.dom.rightg.vslider.boxh) return;
|
|
829
|
+
}
|
|
830
|
+
deltay = d;
|
|
831
|
+
if (tk.variants) {
|
|
832
|
+
group.dom.diff_score_barplot_partstack.attr(
|
|
833
|
+
"transform",
|
|
834
|
+
"translate(0," + (-1 * deltay * group.data_fullstack.stackcount * group.data.stackheight / scrollableheight + group.msgheight) + ")"
|
|
835
|
+
);
|
|
836
|
+
group.dom.read_names_g.attr(
|
|
837
|
+
"transform",
|
|
838
|
+
"translate(0," + -1 * deltay * group.data_fullstack.stackcount * group.data.stackheight / scrollableheight + ")"
|
|
839
|
+
);
|
|
840
|
+
}
|
|
841
|
+
group.dom.rightg.vslider.boxg.attr("transform", "translate(0," + (group.dom.rightg.vslider.boxy + deltay) + ")");
|
|
842
|
+
group.dom.img_partstack.attr(
|
|
843
|
+
"y",
|
|
844
|
+
-(deltay * group.data_fullstack.stackcount * group.data.stackheight / scrollableheight)
|
|
845
|
+
);
|
|
846
|
+
group.dom.box_move.attr("width", 0);
|
|
847
|
+
group.dom.box_stay.attr("width", 0);
|
|
848
|
+
});
|
|
849
|
+
b.on("mouseup", async () => {
|
|
850
|
+
group.dom.rightg.vslider.box.attr("fill", slider_color);
|
|
851
|
+
b.on("mousemove", null).on("mouseup", null);
|
|
852
|
+
if (deltay == 0) return;
|
|
853
|
+
group.dom.rightg.vslider.boxy += deltay;
|
|
854
|
+
const delta = Math.ceil(group.data_fullstack.stackcount * deltay / scrollableheight);
|
|
855
|
+
group.partstack.start += delta;
|
|
856
|
+
group.partstack.stop += delta;
|
|
857
|
+
block.tkcloakon(tk);
|
|
858
|
+
const _d = await getData(tk, block, {
|
|
859
|
+
stackstart: group.partstack.start,
|
|
860
|
+
stackstop: group.partstack.stop,
|
|
861
|
+
grouptype: group.data.type
|
|
862
|
+
});
|
|
863
|
+
group.data = _d.groups[0];
|
|
864
|
+
renderGroup(group, tk, block);
|
|
865
|
+
setTkHeight(tk);
|
|
866
|
+
block.tkcloakoff(tk, {});
|
|
867
|
+
block.block_setheight();
|
|
868
|
+
});
|
|
869
|
+
});
|
|
870
|
+
group.dom.rightg.vslider.boxtopline = group.dom.rightg.vslider.boxg.append("line").attr("stroke", slider_color_dark).attr("stroke-width", 3).attr("x2", 40).on("mouseover", () => group.dom.rightg.vslider.boxtopline.attr("stroke", slider_color_dark_line)).on("mouseout", () => group.dom.rightg.vslider.boxtopline.attr("stroke", slider_color_dark)).on("mousedown", (event) => {
|
|
871
|
+
event.preventDefault();
|
|
872
|
+
const scrollableheight = group.data.height;
|
|
873
|
+
const y0 = event.clientY;
|
|
874
|
+
let deltay = 0;
|
|
875
|
+
const b = select_default(document.body);
|
|
876
|
+
b.on("mousemove", (event2) => {
|
|
877
|
+
const y1 = event2.clientY;
|
|
878
|
+
const d = y1 - y0;
|
|
879
|
+
if (d < 0) {
|
|
880
|
+
if (group.dom.rightg.vslider.boxy + d <= 0) return;
|
|
881
|
+
} else {
|
|
882
|
+
if (group.dom.rightg.vslider.boxh - d <= stackpagesize * scrollableheight / group.data_fullstack.stackcount)
|
|
883
|
+
return;
|
|
884
|
+
}
|
|
885
|
+
deltay = d;
|
|
886
|
+
group.dom.rightg.vslider.boxg.attr("transform", "translate(0," + (group.dom.rightg.vslider.boxy + deltay) + ")");
|
|
887
|
+
group.dom.rightg.vslider.box.attr("height", group.dom.rightg.vslider.boxh - deltay);
|
|
888
|
+
group.dom.rightg.vslider.boxbotline.attr("y1", group.dom.rightg.vslider.boxh - deltay).attr("y2", group.dom.rightg.vslider.boxh - deltay);
|
|
889
|
+
});
|
|
890
|
+
b.on("mouseup", async () => {
|
|
891
|
+
b.on("mousemove", null).on("mouseup", null);
|
|
892
|
+
if (deltay == 0) return;
|
|
893
|
+
group.dom.rightg.vslider.boxy += deltay;
|
|
894
|
+
group.partstack.start += Math.ceil(group.data_fullstack.stackcount * deltay / scrollableheight);
|
|
895
|
+
block.tkcloakon(tk);
|
|
896
|
+
const _d = await getData(tk, block, {
|
|
897
|
+
stackstart: group.partstack.start,
|
|
898
|
+
stackstop: group.partstack.stop,
|
|
899
|
+
grouptype: group.data.type
|
|
900
|
+
});
|
|
901
|
+
group.data = _d.groups[0];
|
|
902
|
+
renderGroup(group, tk, block);
|
|
903
|
+
block.tkcloakoff(tk, {});
|
|
904
|
+
setTkHeight(tk);
|
|
905
|
+
block.block_setheight();
|
|
906
|
+
});
|
|
907
|
+
});
|
|
908
|
+
group.dom.rightg.vslider.boxbotline = group.dom.rightg.vslider.boxg.append("line").attr("stroke", slider_color_dark).attr("stroke-width", 3).attr("x2", 40).on("mouseover", () => group.dom.rightg.vslider.boxbotline.attr("stroke", slider_color_dark_line)).on("mouseout", () => group.dom.rightg.vslider.boxbotline.attr("stroke", slider_color_dark)).on("mousedown", (event) => {
|
|
909
|
+
event.preventDefault();
|
|
910
|
+
const scrollableheight = group.data.height;
|
|
911
|
+
const y0 = event.clientY;
|
|
912
|
+
let deltay = 0;
|
|
913
|
+
const b = select_default(document.body);
|
|
914
|
+
b.on("mousemove", (event2) => {
|
|
915
|
+
const y1 = event2.clientY;
|
|
916
|
+
const d = y1 - y0;
|
|
917
|
+
if (d < 0) {
|
|
918
|
+
if (group.dom.rightg.vslider.boxh + d <= stackpagesize * scrollableheight / group.data_fullstack.stackcount)
|
|
919
|
+
return;
|
|
920
|
+
} else {
|
|
921
|
+
if (group.dom.rightg.vslider.boxy + d >= scrollableheight - group.dom.rightg.vslider.boxh) return;
|
|
922
|
+
}
|
|
923
|
+
deltay = d;
|
|
924
|
+
group.dom.rightg.vslider.box.attr("height", group.dom.rightg.vslider.boxh + deltay);
|
|
925
|
+
group.dom.rightg.vslider.boxbotline.attr("y1", group.dom.rightg.vslider.boxh + deltay).attr("y2", group.dom.rightg.vslider.boxh + deltay);
|
|
926
|
+
});
|
|
927
|
+
b.on("mouseup", async () => {
|
|
928
|
+
b.on("mousemove", null).on("mouseup", null);
|
|
929
|
+
if (deltay == 0) return;
|
|
930
|
+
group.dom.rightg.vslider.boxh += deltay;
|
|
931
|
+
group.partstack.stop += Math.ceil(group.data_fullstack.stackcount * deltay / scrollableheight);
|
|
932
|
+
block.tkcloakon(tk);
|
|
933
|
+
const _d = await getData(tk, block, {
|
|
934
|
+
stackstart: group.partstack.start,
|
|
935
|
+
stackstop: group.partstack.stop,
|
|
936
|
+
grouptype: group.data.type
|
|
937
|
+
});
|
|
938
|
+
group.data = _d.groups[0];
|
|
939
|
+
renderGroup(group, tk, block);
|
|
940
|
+
setTkHeight(tk);
|
|
941
|
+
block.tkcloakoff(tk, {});
|
|
942
|
+
block.block_setheight();
|
|
943
|
+
});
|
|
944
|
+
});
|
|
945
|
+
return group;
|
|
946
|
+
}
|
|
947
|
+
async function align_reads_to_allele(tk, group, block) {
|
|
948
|
+
const body = {
|
|
949
|
+
alignOneGroup: group.data.type,
|
|
950
|
+
genome: block.genome.name,
|
|
951
|
+
regions: tk.regions,
|
|
952
|
+
variant: tk.variants.map((m) => m.chr + "." + m.pos + "." + m.ref + "." + m.alt).join(".")
|
|
953
|
+
};
|
|
954
|
+
if (tk.file) body.file = tk.file;
|
|
955
|
+
if (tk.url) body.url = tk.url;
|
|
956
|
+
if (tk.indexURL) body.indexURL = tk.indexURL;
|
|
957
|
+
if (tk.gdcFile) {
|
|
958
|
+
body.gdcFileUUID = tk.gdcFile.uuid;
|
|
959
|
+
body.gdcFilePosition = tk.gdcFile.position;
|
|
960
|
+
}
|
|
961
|
+
if (tk.alleleAlreadyUpdated) {
|
|
962
|
+
body.alleleAlreadyUpdated = 1;
|
|
963
|
+
body.refseqs = tk.variants.refseqs;
|
|
964
|
+
body.altseqs = tk.variants.altseqs;
|
|
965
|
+
body.refalleles = tk.variants.refalleles;
|
|
966
|
+
body.altalleles = tk.variants.altalleles;
|
|
967
|
+
body.leftflankseqs = tk.variants.leftflankseqs;
|
|
968
|
+
body.rightflankseqs = tk.variants.rightflankseqs;
|
|
969
|
+
body.ref_positions = tk.variants.ref_positions;
|
|
970
|
+
body.strictness = tk.strictness;
|
|
971
|
+
}
|
|
972
|
+
if (tk.asPaired) body.asPaired = 1;
|
|
973
|
+
if ("nochr" in tk) body.nochr = tk.nochr;
|
|
974
|
+
if (tk.drop_pcrduplicates) body.drop_pcrduplicates = 1;
|
|
975
|
+
if (tk.drop_supplementary_alignments) body.drop_supplementary_alignments = 1;
|
|
976
|
+
if (group.partstack) {
|
|
977
|
+
body.stackstart = group.partstack.start;
|
|
978
|
+
body.stackstop = group.partstack.stop;
|
|
979
|
+
body.grouptype = group.data.type;
|
|
980
|
+
}
|
|
981
|
+
return await dofetch3("tkbam", { headers: getHeaders(tk), body });
|
|
982
|
+
}
|
|
983
|
+
function getHeaders(tk) {
|
|
984
|
+
const headers = { "Content-Type": "application/json", Accept: "application/json" };
|
|
985
|
+
if (tk.gdcToken) headers["X-Auth-Token"] = tk.gdcToken;
|
|
986
|
+
return headers;
|
|
987
|
+
}
|
|
988
|
+
function configPanel(tk, block) {
|
|
989
|
+
{
|
|
990
|
+
const b = tk.config_handle.node().getBoundingClientRect();
|
|
991
|
+
tk.tkconfigtip.clear().show(b.x - 300, b.y);
|
|
992
|
+
}
|
|
993
|
+
const d = tk.tkconfigtip.d.append("div").style("max-width", "50vw");
|
|
994
|
+
{
|
|
995
|
+
const row = d.append("div");
|
|
996
|
+
row.append("span").html("Show reads as: ").style("opacity", 0.5).style("margin", "10px 5px");
|
|
997
|
+
make_radios({
|
|
998
|
+
holder: row,
|
|
999
|
+
options: [
|
|
1000
|
+
{ label: "Single", value: false, checked: !tk.asPaired },
|
|
1001
|
+
{ label: "Paired", value: true, checked: tk.asPaired }
|
|
1002
|
+
],
|
|
1003
|
+
styles: { margin: "10px 5px" },
|
|
1004
|
+
callback: (v) => {
|
|
1005
|
+
tk.asPaired = v;
|
|
1006
|
+
loadTk(tk, block);
|
|
1007
|
+
}
|
|
1008
|
+
});
|
|
1009
|
+
}
|
|
1010
|
+
{
|
|
1011
|
+
make_one_checkbox({
|
|
1012
|
+
holder: d.append("div"),
|
|
1013
|
+
labeltext: "Drop PCR or optical duplicates",
|
|
1014
|
+
checked: tk.drop_pcrduplicates,
|
|
1015
|
+
divstyle: { display: "block", margin: "10px 5px", height: "10px", "margin-left": "6.5px" },
|
|
1016
|
+
callback: () => {
|
|
1017
|
+
tk.drop_pcrduplicates = !tk.drop_pcrduplicates;
|
|
1018
|
+
loadTk(tk, block);
|
|
1019
|
+
}
|
|
1020
|
+
});
|
|
1021
|
+
}
|
|
1022
|
+
if (tk.variants) {
|
|
1023
|
+
make_one_checkbox({
|
|
1024
|
+
holder: d.append("div"),
|
|
1025
|
+
labeltext: "Show read names",
|
|
1026
|
+
checked: tk.show_readnames,
|
|
1027
|
+
divstyle: { display: "block", margin: "10px 5px", height: "10px", "margin-left": "6.5px" },
|
|
1028
|
+
callback: () => {
|
|
1029
|
+
tk.show_readnames = !tk.show_readnames;
|
|
1030
|
+
loadTk(tk, block);
|
|
1031
|
+
}
|
|
1032
|
+
});
|
|
1033
|
+
if (tk.variants[0].strictness == 0) {
|
|
1034
|
+
} else if (!tk.variants[0].strictness) {
|
|
1035
|
+
tk.variants[0].strictness = 1;
|
|
1036
|
+
}
|
|
1037
|
+
const row = d.append("div");
|
|
1038
|
+
row.append("span").html("Strictness: ").style("display", "block").style("height", "10px").style("opacity", 0.5).style("margin", "10px 5px").style("margin-top", "20px");
|
|
1039
|
+
make_radios({
|
|
1040
|
+
holder: row,
|
|
1041
|
+
options: [
|
|
1042
|
+
{
|
|
1043
|
+
label: 'Lenient: "None group" is not generated.',
|
|
1044
|
+
value: 0,
|
|
1045
|
+
checked: tk.strictness == 0
|
|
1046
|
+
},
|
|
1047
|
+
{
|
|
1048
|
+
label: 'Strict: "None group" is generated for reads with imperfect match to both reference and alternative alleles.',
|
|
1049
|
+
value: 1,
|
|
1050
|
+
checked: tk.strictness == 1
|
|
1051
|
+
}
|
|
1052
|
+
],
|
|
1053
|
+
styles: { display: "block", margin: "10px 5px", height: "10px", "margin-left": "30px" },
|
|
1054
|
+
callback: (v) => {
|
|
1055
|
+
tk.strictness = v;
|
|
1056
|
+
loadTk(tk, block);
|
|
1057
|
+
}
|
|
1058
|
+
});
|
|
1059
|
+
}
|
|
1060
|
+
d.append("div").style("display", "inline-block").style("height", "10px").style("margin-top", "20px").style("font-size", ".8em").html(`
|
|
1061
|
+
<ul style="padding-left:15px">
|
|
1062
|
+
<li><b>Matches</b> are rendered as gray boxes aligned to the reference.</li>
|
|
1063
|
+
<li><b>Mismatches</b> will be checked when 1 bp is wider than 1 pixel, and are rendered as red boxes aligned to the reference.</li>
|
|
1064
|
+
<li><b>Softclips</b> are rendered as blue boxes not aligned to the reference.</li>
|
|
1065
|
+
<li><b>Base qualities</b> are rendered when 1 bp is wider than 2 pixels. See color scale below. When base quality is not used or is unavailable, full colors are used.</li>
|
|
1066
|
+
<li><b>Sequences</b> from mismatch and softclip will be printed when 1 bp is wider than 7 pixels.</li>
|
|
1067
|
+
<li>An <b>insertion</b> with on-screen size wider than 1 pixel will be rendered as cyan text between aligned bases, in either a letter or the number of inserted bp. Text color scales by average base quality when that is in use.</li>
|
|
1068
|
+
<li><b>Deletions</b> are gaps joined by black horizontal lines.</li>
|
|
1069
|
+
<li><b>Split reads</b> and splice junctions are indicated by solid gray lines.</li>
|
|
1070
|
+
<li><b>Read pairs</b> are joined by dashed gray lines.</li>
|
|
1071
|
+
<li><b>Discordant reads</b> Discordant reads are colored based on their respective features as described below:<ul style="list-style-type:none;"> <li> <svg width="10" height="10" style = "display:inline-block;"> <rect width="10" height="10" style="fill:#3B7A57;" /> </svg> Read pair has wrong insert size </li> <li> <svg width="10" height="10" style = "display:inline-block;"> <rect width="10" height="10" style="fill:#6B4423;" /> </svg> Mate is unmapped </li> <li> <svg width="10" height="10" style = "display:inline-block;"> <rect width="10" height="10" style="fill:#fc6df3;" /> </svg> Wrong orientation </li> <li> <svg width="10" height="10" style = "display:inline-block;"> <rect width="10" height="10" style="fill:#d48b37;" /> </svg> Mate mapped to different chromosome </li> </ul>
|
|
1072
|
+
</li>
|
|
1073
|
+
</ul>`);
|
|
1074
|
+
d.append("div").style("margin-top", "10px").append("img").attr("width", tk.colorscale.width).attr("height", tk.colorscale.height).attr("src", tk.colorscale.src);
|
|
1075
|
+
d.append("div").style("font-size", ".8em").html(`
|
|
1076
|
+
`);
|
|
1077
|
+
}
|
|
1078
|
+
function click_groupheader(tk, group, block) {
|
|
1079
|
+
if (tk.variants) {
|
|
1080
|
+
click_groupheader_showMultiReadAlign(tk, group, block);
|
|
1081
|
+
}
|
|
1082
|
+
}
|
|
1083
|
+
function updateExistingMultiReadAligInfo(tk, read_number) {
|
|
1084
|
+
const rows = tk.readAlignmentTable._groups[0][0].querySelectorAll("tr");
|
|
1085
|
+
rows.forEach((row) => {
|
|
1086
|
+
if (row.rowIndex == read_number + 1 && !tk.is_align_gene) {
|
|
1087
|
+
row.style.setProperty("font-weight", "bold");
|
|
1088
|
+
const cols = row.querySelectorAll("td");
|
|
1089
|
+
cols.forEach((col) => {
|
|
1090
|
+
if (col.style.backgroundColor.toString() == "rgb(255, 255, 255)") {
|
|
1091
|
+
col.style.setProperty("background-color", "yellow");
|
|
1092
|
+
}
|
|
1093
|
+
});
|
|
1094
|
+
} else if (row.rowIndex == read_number + 2 && tk.is_align_gene) {
|
|
1095
|
+
row.style.setProperty("font-weight", "bold");
|
|
1096
|
+
const cols = row.querySelectorAll("td");
|
|
1097
|
+
cols.forEach((col) => {
|
|
1098
|
+
if (col.style.backgroundColor.toString() == "rgb(255, 255, 255)") {
|
|
1099
|
+
col.style.setProperty("background-color", "yellow");
|
|
1100
|
+
}
|
|
1101
|
+
});
|
|
1102
|
+
} else {
|
|
1103
|
+
row.style.setProperty("font-weight", "normal");
|
|
1104
|
+
const cols = row.querySelectorAll("td");
|
|
1105
|
+
cols.forEach((col) => {
|
|
1106
|
+
if (col.style.backgroundColor.toString() == "yellow") {
|
|
1107
|
+
col.style.setProperty("background-color", "rgb(255, 255, 255)");
|
|
1108
|
+
}
|
|
1109
|
+
});
|
|
1110
|
+
}
|
|
1111
|
+
});
|
|
1112
|
+
}
|
|
1113
|
+
async function create_gene_models_refalt(tk, block, multi_read_alig_data, group, alt_var_idx) {
|
|
1114
|
+
const gene_model_images = [];
|
|
1115
|
+
const break_points = [];
|
|
1116
|
+
const gene_model_order = [];
|
|
1117
|
+
let refalt_seq = multi_read_alig_data.alignmentData.final_read_align[0];
|
|
1118
|
+
let left_most_pos = tk.variants[0].pos - tk.variants.leftflankseqs[0].length;
|
|
1119
|
+
let right_most_pos = tk.variants[0].pos + tk.variants.rightflankseqs[0].length;
|
|
1120
|
+
if (group.data.type == "support_alt" + alt_var_idx.toString()) {
|
|
1121
|
+
left_most_pos = tk.variants[alt_var_idx].pos - tk.variants.leftflankseqs[alt_var_idx].length;
|
|
1122
|
+
right_most_pos = tk.variants[alt_var_idx].pos + tk.variants.rightflankseqs[alt_var_idx].length;
|
|
1123
|
+
}
|
|
1124
|
+
let segstart = left_most_pos;
|
|
1125
|
+
let segstop = left_most_pos;
|
|
1126
|
+
let local_alignment_width = 0;
|
|
1127
|
+
let first_row = tk.readAlignmentTable.node().children[0];
|
|
1128
|
+
let gm_nuc_count = 0;
|
|
1129
|
+
let prev_nclt_not_blank = false;
|
|
1130
|
+
let nclt_count = 0;
|
|
1131
|
+
for (const nclt of refalt_seq) {
|
|
1132
|
+
if (nclt == "-") {
|
|
1133
|
+
if (prev_nclt_not_blank == true) {
|
|
1134
|
+
break_points.push(1);
|
|
1135
|
+
gene_model_order.push("break");
|
|
1136
|
+
segstart += 1;
|
|
1137
|
+
segstop += 1;
|
|
1138
|
+
} else {
|
|
1139
|
+
const gene_model_image = await get_gene_models_refalt(block, tk, segstart, segstop - 1, local_alignment_width);
|
|
1140
|
+
const gm = {
|
|
1141
|
+
src: gene_model_image.src,
|
|
1142
|
+
width: local_alignment_width,
|
|
1143
|
+
height: gene_model_image.height,
|
|
1144
|
+
colspan: gm_nuc_count
|
|
1145
|
+
};
|
|
1146
|
+
gene_model_images.push(gm);
|
|
1147
|
+
gene_model_order.push("gene_model");
|
|
1148
|
+
gm_nuc_count = 0;
|
|
1149
|
+
segstart = left_most_pos + nclt_count + 1;
|
|
1150
|
+
segstop = left_most_pos + nclt_count + 1;
|
|
1151
|
+
local_alignment_width = 0;
|
|
1152
|
+
prev_nclt_not_blank = true;
|
|
1153
|
+
break_points.push(1);
|
|
1154
|
+
gene_model_order.push("break");
|
|
1155
|
+
}
|
|
1156
|
+
gm_nuc_count += 1;
|
|
1157
|
+
local_alignment_width += first_row.children[nclt_count].getBoundingClientRect().width;
|
|
1158
|
+
} else if (group.data.type == "support_alt" + alt_var_idx.toString() && tk.variants[alt_var_idx].alt.length > tk.variants[alt_var_idx].ref.length && // Insertion case
|
|
1159
|
+
tk.variants[alt_var_idx].pos < left_most_pos + nclt_count && tk.variants[alt_var_idx].pos + tk.variants[alt_var_idx].alt.length - 1 >= left_most_pos + nclt_count) {
|
|
1160
|
+
} else if (tk.variants[0].pos == left_most_pos + nclt_count && group.data.type == "support_alt" + alt_var_idx.toString()) {
|
|
1161
|
+
if (tk.variants[alt_var_idx].ref.length == 1 && tk.variants[alt_var_idx].alt.length == 1) {
|
|
1162
|
+
continue;
|
|
1163
|
+
}
|
|
1164
|
+
if (tk.variants[alt_var_idx].ref.length >= tk.variants[alt_var_idx].alt.length) {
|
|
1165
|
+
segstop += 1;
|
|
1166
|
+
gm_nuc_count += 1;
|
|
1167
|
+
local_alignment_width += first_row.children[nclt_count + 1].getBoundingClientRect().width;
|
|
1168
|
+
}
|
|
1169
|
+
const gene_model_image = await get_gene_models_refalt(block, tk, segstart, segstop, local_alignment_width);
|
|
1170
|
+
const gm = {
|
|
1171
|
+
src: gene_model_image.src,
|
|
1172
|
+
width: local_alignment_width,
|
|
1173
|
+
height: gene_model_image.height,
|
|
1174
|
+
colspan: gm_nuc_count
|
|
1175
|
+
};
|
|
1176
|
+
gene_model_images.push(gm);
|
|
1177
|
+
gene_model_order.push("gene_model");
|
|
1178
|
+
gm_nuc_count = 0;
|
|
1179
|
+
segstart = left_most_pos + nclt_count + tk.variants[alt_var_idx].ref.length;
|
|
1180
|
+
segstop = left_most_pos + nclt_count + tk.variants[alt_var_idx].ref.length;
|
|
1181
|
+
if (tk.variants[alt_var_idx].ref.length < tk.variants[alt_var_idx].alt.length) {
|
|
1182
|
+
break_points.push(tk.variants[0].alt.length);
|
|
1183
|
+
gene_model_order.push("break");
|
|
1184
|
+
}
|
|
1185
|
+
local_alignment_width = 0;
|
|
1186
|
+
prev_nclt_not_blank = false;
|
|
1187
|
+
} else if (nclt_count == refalt_seq.length - 1) {
|
|
1188
|
+
segstop += 1;
|
|
1189
|
+
gm_nuc_count += 1;
|
|
1190
|
+
local_alignment_width += first_row.children[nclt_count].getBoundingClientRect().width;
|
|
1191
|
+
const gene_model_image = await get_gene_models_refalt(block, tk, segstart, segstop, local_alignment_width);
|
|
1192
|
+
const gm = {
|
|
1193
|
+
src: gene_model_image.src,
|
|
1194
|
+
width: local_alignment_width,
|
|
1195
|
+
height: gene_model_image.height,
|
|
1196
|
+
colspan: gm_nuc_count
|
|
1197
|
+
};
|
|
1198
|
+
gene_model_images.push(gm);
|
|
1199
|
+
gene_model_order.push("gene_model");
|
|
1200
|
+
} else {
|
|
1201
|
+
segstop += 1;
|
|
1202
|
+
gm_nuc_count += 1;
|
|
1203
|
+
local_alignment_width += first_row.children[nclt_count].getBoundingClientRect().width;
|
|
1204
|
+
prev_nclt_not_blank = false;
|
|
1205
|
+
}
|
|
1206
|
+
nclt_count += 1;
|
|
1207
|
+
}
|
|
1208
|
+
let j = 0;
|
|
1209
|
+
let k = 0;
|
|
1210
|
+
const gene_model_tr = tk.readAlignmentTable.node().insertRow();
|
|
1211
|
+
if (tk.readAlignmentTable.node().children.length >= 3) {
|
|
1212
|
+
const first_read = tk.readAlignmentTable.node().children[2];
|
|
1213
|
+
tk.readAlignmentTable.node().insertBefore(gene_model_tr, first_read);
|
|
1214
|
+
} else {
|
|
1215
|
+
console.log("Possible problem in placing gene model in table. Please check");
|
|
1216
|
+
}
|
|
1217
|
+
for (let i = 0; i < gene_model_order.length; i++) {
|
|
1218
|
+
const gene_models_cell = gene_model_tr.insertCell();
|
|
1219
|
+
if (gene_model_order[i] == "gene_model") {
|
|
1220
|
+
const img = document.createElement("img");
|
|
1221
|
+
img.src = gene_model_images[k].src;
|
|
1222
|
+
img.width = gene_model_images[k].width;
|
|
1223
|
+
img.height = gene_model_images[k].height;
|
|
1224
|
+
gene_models_cell.appendChild(img);
|
|
1225
|
+
gene_models_cell.colSpan = gene_model_images[k].colspan;
|
|
1226
|
+
k += 1;
|
|
1227
|
+
} else if (gene_model_order[i] == "break") {
|
|
1228
|
+
gene_models_cell.colSpan = break_points[j];
|
|
1229
|
+
j += 1;
|
|
1230
|
+
}
|
|
1231
|
+
}
|
|
1232
|
+
}
|
|
1233
|
+
async function click_groupheader_showMultiReadAlign(tk, group, block) {
|
|
1234
|
+
tk.multiAlignMenu.clear().show(50, 100);
|
|
1235
|
+
const wait = tk.multiAlignMenu.d.append("div").text("Loading...");
|
|
1236
|
+
try {
|
|
1237
|
+
const data = await align_reads_to_allele(tk, group, block);
|
|
1238
|
+
if (data.error) {
|
|
1239
|
+
wait.remove();
|
|
1240
|
+
sayerror(tk.multiAlignMenu.d, "Realignment of reads in ambiguous group is not currently implemented.");
|
|
1241
|
+
setTimeout(() => tk.multiAlignMenu.d.remove(), 3e3);
|
|
1242
|
+
return;
|
|
1243
|
+
}
|
|
1244
|
+
wait.remove();
|
|
1245
|
+
let alt_var_idx = 0;
|
|
1246
|
+
let ref_start_stops = [];
|
|
1247
|
+
let highlight_regions_in_refallele = [];
|
|
1248
|
+
if (group.data.type.includes("support_alt")) {
|
|
1249
|
+
for (let var_idx = 0; var_idx < tk.variants.length; var_idx++) {
|
|
1250
|
+
if (group.data.type == "support_alt" + var_idx.toString()) {
|
|
1251
|
+
alt_var_idx = var_idx;
|
|
1252
|
+
}
|
|
1253
|
+
}
|
|
1254
|
+
} else if (group.data.type == "support_ref") {
|
|
1255
|
+
for (let var_idx = 0; var_idx < tk.variants.length; var_idx++) {
|
|
1256
|
+
ref_start_stops.push({
|
|
1257
|
+
start: tk.variants[var_idx].pos,
|
|
1258
|
+
stop: tk.variants[var_idx].pos + tk.variants[var_idx].ref.length
|
|
1259
|
+
});
|
|
1260
|
+
}
|
|
1261
|
+
ref_start_stops.sort((i, j) => i.start - j.start);
|
|
1262
|
+
let old_variant = { start: ref_start_stops[0].start, stop: ref_start_stops[0].stop };
|
|
1263
|
+
highlight_regions_in_refallele.push(ref_start_stops[0].start);
|
|
1264
|
+
let break_point = false;
|
|
1265
|
+
for (let var_idx = 1; var_idx < ref_start_stops.length; var_idx++) {
|
|
1266
|
+
if (ref_start_stops[var_idx].start <= old_variant.stop && old_variant.stop <= ref_start_stops[var_idx].stop) {
|
|
1267
|
+
old_variant = ref_start_stops[var_idx];
|
|
1268
|
+
} else if (old_variant.stop > ref_start_stops[var_idx].stop) {
|
|
1269
|
+
continue;
|
|
1270
|
+
} else {
|
|
1271
|
+
highlight_regions_in_refallele.push(old_variant.stop);
|
|
1272
|
+
highlight_regions_in_refallele.push(ref_start_stops[var_idx].start);
|
|
1273
|
+
}
|
|
1274
|
+
}
|
|
1275
|
+
highlight_regions_in_refallele.push(Math.max(old_variant.stop, ref_start_stops[ref_start_stops.length - 1].stop));
|
|
1276
|
+
}
|
|
1277
|
+
if (data.alignmentData.final_read_align.length > 0 && (group.data.type.includes("support_alt") || group.data.type == "support_ref")) {
|
|
1278
|
+
const gene_button = tk.multiAlignMenu.d.append("button").style("margin-left", "10px").text("Show gene model").on("click", async () => {
|
|
1279
|
+
tk.is_align_gene = true;
|
|
1280
|
+
gene_button.property("disabled", true);
|
|
1281
|
+
await create_gene_models_refalt(tk, block, data, group, alt_var_idx);
|
|
1282
|
+
});
|
|
1283
|
+
}
|
|
1284
|
+
create_multi_alignment_table(tk, data, group, alt_var_idx, highlight_regions_in_refallele);
|
|
1285
|
+
} catch (e) {
|
|
1286
|
+
wait.remove();
|
|
1287
|
+
sayerror(tk.multiAlignMenu.d, e);
|
|
1288
|
+
}
|
|
1289
|
+
}
|
|
1290
|
+
function create_multi_alignment_table(tk, multi_read_alig_data, group, alt_var_idx, highlight_regions_in_refallele) {
|
|
1291
|
+
let num_read_div;
|
|
1292
|
+
if (!multi_read_alig_data.alignmentData.read_count) {
|
|
1293
|
+
multi_read_alig_data.alignmentData.read_count = 0;
|
|
1294
|
+
}
|
|
1295
|
+
if (group.data.type == "support_ref") {
|
|
1296
|
+
num_read_div = tk.multiAlignMenu.d.append("div").text("Number of reads aligned to reference allele = " + multi_read_alig_data.alignmentData.read_count).style("text-align", "center");
|
|
1297
|
+
} else if (group.data.type == "support_no" || group.data.type == "support_amb") {
|
|
1298
|
+
num_read_div = tk.multiAlignMenu.d.append("div").text("Number of reads aligned = " + multi_read_alig_data.alignmentData.read_count).style("text-align", "center");
|
|
1299
|
+
} else if (group.data.type.includes("support_alt")) {
|
|
1300
|
+
let hit = 0;
|
|
1301
|
+
for (let var_idx = 0; var_idx < tk.variants.length; var_idx++) {
|
|
1302
|
+
if (group.data.type == "support_alt" + var_idx.toString()) {
|
|
1303
|
+
hit = 1;
|
|
1304
|
+
alt_var_idx = var_idx;
|
|
1305
|
+
num_read_div = tk.multiAlignMenu.d.append("div").text(
|
|
1306
|
+
"Number of reads aligned to alternative allele " + tk.variants[var_idx].alt + " = " + multi_read_alig_data.alignmentData.read_count
|
|
1307
|
+
).style("text-align", "center");
|
|
1308
|
+
}
|
|
1309
|
+
}
|
|
1310
|
+
if (hit == 0) {
|
|
1311
|
+
console.log("group.data.type:", group.data.type);
|
|
1312
|
+
console.log("Alternate allele not found");
|
|
1313
|
+
}
|
|
1314
|
+
}
|
|
1315
|
+
if (multi_read_alig_data.alignmentData.partstack_start) {
|
|
1316
|
+
const partstack_div = tk.multiAlignMenu.d.append("div").text(
|
|
1317
|
+
"Reads aligned from " + multi_read_alig_data.alignmentData.partstack_start + " to " + multi_read_alig_data.alignmentData.partstack_stop
|
|
1318
|
+
).style("text-align", "center");
|
|
1319
|
+
}
|
|
1320
|
+
const div = tk.multiAlignMenu.d.append("div").style("margin", "20px");
|
|
1321
|
+
tk.readAlignmentTable = div.append("table").style("font-family", "Courier").style("font-size", "0.8em").style("color", "#303030").style("margin", "5px 5px 20px 5px").style("border-spacing", 0).style("border-collapse", "separate").style("text-align", "center").style("empty-cells", "show");
|
|
1322
|
+
let refallele_tr = tk.readAlignmentTable.append("tr").style("color", "white").style("background-color", "white");
|
|
1323
|
+
refallele_tr.attr("id", "RefAltBar");
|
|
1324
|
+
let variant_string;
|
|
1325
|
+
let nclt_count = 0;
|
|
1326
|
+
let allele_start = 0;
|
|
1327
|
+
let variant_string_count = 0;
|
|
1328
|
+
let inside_variant_box = 1;
|
|
1329
|
+
if (group.data.type == "support_alt" + alt_var_idx.toString()) {
|
|
1330
|
+
if (tk.variants.length == 1) {
|
|
1331
|
+
variant_string = "Alternative allele";
|
|
1332
|
+
if (variant_string.length < tk.variants[alt_var_idx].alt.length) {
|
|
1333
|
+
inside_variant_box = 0;
|
|
1334
|
+
} else {
|
|
1335
|
+
variant_string = " Alternative allele";
|
|
1336
|
+
}
|
|
1337
|
+
} else {
|
|
1338
|
+
if (group.data.type == "support_alt" + alt_var_idx.toString()) {
|
|
1339
|
+
variant_string = "Alternative allele = " + tk.variants[alt_var_idx].alt;
|
|
1340
|
+
if (variant_string.length < tk.variants[alt_var_idx].alt.length) {
|
|
1341
|
+
inside_variant_box = 0;
|
|
1342
|
+
} else {
|
|
1343
|
+
variant_string = " Alternative allele = " + tk.variants[alt_var_idx].alt;
|
|
1344
|
+
}
|
|
1345
|
+
}
|
|
1346
|
+
}
|
|
1347
|
+
} else if (group.data.type == "support_ref") {
|
|
1348
|
+
if (tk.is_same_ref == false) {
|
|
1349
|
+
variant_string = "Combined reference allele";
|
|
1350
|
+
} else {
|
|
1351
|
+
variant_string = "Reference allele";
|
|
1352
|
+
}
|
|
1353
|
+
if (variant_string.length < highlight_regions_in_refallele[1] - highlight_regions_in_refallele[0]) {
|
|
1354
|
+
inside_variant_box = 0;
|
|
1355
|
+
} else {
|
|
1356
|
+
if (tk.is_same_ref == false) {
|
|
1357
|
+
variant_string = " Combined reference allele";
|
|
1358
|
+
} else {
|
|
1359
|
+
variant_string = " Reference allele";
|
|
1360
|
+
}
|
|
1361
|
+
}
|
|
1362
|
+
}
|
|
1363
|
+
tk.readAlignmentTableGroup = group.data.type;
|
|
1364
|
+
if (multi_read_alig_data.alignmentData.final_read_align.length > 0) {
|
|
1365
|
+
for (const nclt of multi_read_alig_data.alignmentData.final_read_align[0]) {
|
|
1366
|
+
nclt_count += 1;
|
|
1367
|
+
const refallele_td = refallele_tr.append("td");
|
|
1368
|
+
if (group.data.type == "support_alt" + alt_var_idx.toString() && nclt_count > tk.variants.leftflankseqs[alt_var_idx].length + multi_read_alig_data.alignmentData.gaps_before_variant && nclt_count <= tk.variants.leftflankseqs[alt_var_idx].length + tk.variants[alt_var_idx].alt.length + multi_read_alig_data.alignmentData.gaps_before_variant) {
|
|
1369
|
+
if (inside_variant_box == 1) {
|
|
1370
|
+
allele_start = 1;
|
|
1371
|
+
refallele_td.text(" ").style("text-align", "right").style("font-weight", "550").style("margin", "5px 5px 10px 5px").style("color", "black").style("background-color", "black");
|
|
1372
|
+
} else {
|
|
1373
|
+
if (variant_string_count < variant_string.length) {
|
|
1374
|
+
refallele_td.text(variant_string[variant_string_count]).style("text-align", "right").style("font-weight", "550").style("margin", "5px 5px 10px 5px").style("color", "white").style("background-color", "black");
|
|
1375
|
+
variant_string_count += 1;
|
|
1376
|
+
} else {
|
|
1377
|
+
refallele_td.text(" ").style("text-align", "right").style("font-weight", "550").style("margin", "5px 5px 10px 5px").style("color", "black").style("background-color", "black");
|
|
1378
|
+
}
|
|
1379
|
+
}
|
|
1380
|
+
} else if (group.data.type == "support_ref" && nclt_count > tk.variants.leftflankseqs[0].length + multi_read_alig_data.alignmentData.gaps_before_variant && nclt_count <= tk.variants.leftflankseqs[0].length + highlight_regions_in_refallele[1] - // For now assuming there are no breaks within ref alleles on the reference sequence.
|
|
1381
|
+
highlight_regions_in_refallele[0] + multi_read_alig_data.alignmentData.gaps_before_variant) {
|
|
1382
|
+
if (inside_variant_box == 1) {
|
|
1383
|
+
allele_start = 1;
|
|
1384
|
+
refallele_td.text("").style("text-align", "right").style("font-weight", "550").style("margin", "5px 5px 10px 5px").style("color", "black").style("background-color", "black");
|
|
1385
|
+
} else {
|
|
1386
|
+
if (variant_string_count < variant_string.length) {
|
|
1387
|
+
refallele_td.text(variant_string[variant_string_count]).style("text-align", "right").style("font-weight", "550").style("margin", "5px 5px 10px 5px").style("color", "white").style("background-color", "black");
|
|
1388
|
+
variant_string_count += 1;
|
|
1389
|
+
} else {
|
|
1390
|
+
refallele_td.text("").style("text-align", "right").style("font-weight", "550").style("margin", "5px 5px 10px 5px").style("color", "black").style("background-color", "black");
|
|
1391
|
+
}
|
|
1392
|
+
}
|
|
1393
|
+
} else if (allele_start == 1 && inside_variant_box == 1) {
|
|
1394
|
+
refallele_td.text(variant_string[variant_string_count]).style("text-align", "right").style("font-weight", "550").style("margin", "5px 5px 10px 5px").style("color", "black").style("background-color", "white");
|
|
1395
|
+
variant_string_count += 1;
|
|
1396
|
+
if (variant_string_count == variant_string.length) {
|
|
1397
|
+
allele_start = 0;
|
|
1398
|
+
}
|
|
1399
|
+
} else {
|
|
1400
|
+
refallele_td.text("").style("text-align", "right").style("font-weight", "550").style("margin", "5px 5px 10px 5px").style("color", "white").style("background-color", "white");
|
|
1401
|
+
}
|
|
1402
|
+
}
|
|
1403
|
+
let read_count = 0;
|
|
1404
|
+
for (const read of multi_read_alig_data.alignmentData.final_read_align) {
|
|
1405
|
+
let nclt_count2 = 0;
|
|
1406
|
+
const read_tr = tk.readAlignmentTable.append("tr").style("color", "white").style("background-color", "white");
|
|
1407
|
+
if (read_count == 0 && (group.data.type == "support_ref" || group.data.type == "support_alt")) {
|
|
1408
|
+
read_tr.attr("id", "RefAltSeq");
|
|
1409
|
+
} else {
|
|
1410
|
+
read_tr.attr("id", read_count.toString());
|
|
1411
|
+
}
|
|
1412
|
+
const r_colors = multi_read_alig_data.alignmentData.qual_r[read_count].split(",");
|
|
1413
|
+
const g_colors = multi_read_alig_data.alignmentData.qual_g[read_count].split(",");
|
|
1414
|
+
const b_colors = multi_read_alig_data.alignmentData.qual_b[read_count].split(",");
|
|
1415
|
+
for (const nclt of read) {
|
|
1416
|
+
nclt_count2 += 1;
|
|
1417
|
+
let nclt_td;
|
|
1418
|
+
if (read_count == 0 && (group.data.type == "support_ref" || group.data.type.includes("support_alt"))) {
|
|
1419
|
+
nclt_td = read_tr.append("td").text(nclt).style("background-color", "white").style("color", "black").style("font-weight", "550");
|
|
1420
|
+
} else {
|
|
1421
|
+
nclt_td = read_tr.append("td").text(nclt).style(
|
|
1422
|
+
"background-color",
|
|
1423
|
+
"rgb(" + r_colors[nclt_count2 - 1] + "," + g_colors[nclt_count2 - 1] + "," + b_colors[nclt_count2 - 1] + ")"
|
|
1424
|
+
);
|
|
1425
|
+
if (nclt != "-") {
|
|
1426
|
+
nclt_td.style("color", "white");
|
|
1427
|
+
} else {
|
|
1428
|
+
nclt_td.style("color", "black");
|
|
1429
|
+
}
|
|
1430
|
+
}
|
|
1431
|
+
if (group.data.type == "support_alt" + alt_var_idx.toString() && nclt_count2 > tk.variants.leftflankseqs[alt_var_idx].length + multi_read_alig_data.alignmentData.gaps_before_variant && nclt_count2 <= tk.variants.leftflankseqs[alt_var_idx].length + tk.variants[alt_var_idx].alt.length + multi_read_alig_data.alignmentData.gaps_before_variant) {
|
|
1432
|
+
nclt_td.style("color", "black");
|
|
1433
|
+
} else if (group.data.type == "support_ref" && nclt_count2 > tk.variants.leftflankseqs[0].length + multi_read_alig_data.alignmentData.gaps_before_variant && nclt_count2 <= tk.variants.leftflankseqs[0].length + highlight_regions_in_refallele[1] - // For now assuming there are no breaks within ref alleles on the reference sequence.
|
|
1434
|
+
highlight_regions_in_refallele[0] + multi_read_alig_data.alignmentData.gaps_before_variant) {
|
|
1435
|
+
nclt_td.style("color", "black");
|
|
1436
|
+
}
|
|
1437
|
+
}
|
|
1438
|
+
read_count += 1;
|
|
1439
|
+
}
|
|
1440
|
+
}
|
|
1441
|
+
}
|
|
1442
|
+
async function getReadInfo(tk, block, box, ridx) {
|
|
1443
|
+
const wait = tk.readMenu.d.append("div").text("Loading...");
|
|
1444
|
+
const param = getparam(
|
|
1445
|
+
tk.variants ? {
|
|
1446
|
+
refseqs: tk.variants.refseqs,
|
|
1447
|
+
altseqs: tk.variants.altseqs,
|
|
1448
|
+
chrom: tk.variants[0].chr,
|
|
1449
|
+
ref_positions: tk.variants.ref_positions,
|
|
1450
|
+
refalleles: tk.variants.refalleles,
|
|
1451
|
+
altalleles: tk.variants.altalleles,
|
|
1452
|
+
start: box.start,
|
|
1453
|
+
stop: box.stop,
|
|
1454
|
+
paired: tk.asPaired
|
|
1455
|
+
} : { start: box.start, stop: box.stop, paired: tk.asPaired }
|
|
1456
|
+
);
|
|
1457
|
+
const data = await dofetch3("tkbam", param);
|
|
1458
|
+
if (data.error) {
|
|
1459
|
+
sayerror(wait, data.error);
|
|
1460
|
+
return;
|
|
1461
|
+
}
|
|
1462
|
+
wait.remove();
|
|
1463
|
+
for (const r of data.lst) {
|
|
1464
|
+
const div = tk.readMenu.d.append("div").style("margin", "10px");
|
|
1465
|
+
const read_reference_div = div.append("div").html(r.alignment);
|
|
1466
|
+
const row = div.append("div").style("margin-top", "10px");
|
|
1467
|
+
row.append("button").text("Copy read sequence").on("click", function() {
|
|
1468
|
+
navigator.clipboard.writeText(r.seq).then(() => {
|
|
1469
|
+
}, console.warn);
|
|
1470
|
+
select_default(this).html("Copy read sequence ✓");
|
|
1471
|
+
});
|
|
1472
|
+
if (data.lst[0].alignments) {
|
|
1473
|
+
select_default(this).append("span").html(" ");
|
|
1474
|
+
const alignment_button = row.append("button").style("margin-left", "10px").text("Align read to variant alleles");
|
|
1475
|
+
let first = true;
|
|
1476
|
+
alignment_button.on("click", () => {
|
|
1477
|
+
if (first) {
|
|
1478
|
+
first = false;
|
|
1479
|
+
for (let var_idx = 0; var_idx < tk.variants.length; var_idx++) {
|
|
1480
|
+
makeReadAlignmentTable(variantAlignmentTable, "Ref", tk, data.lst[0].start_readpos - 1, var_idx);
|
|
1481
|
+
makeReadAlignmentTable(variantAlignmentTable, "Alt", tk, data.lst[0].start_readpos - 1, var_idx);
|
|
1482
|
+
}
|
|
1483
|
+
}
|
|
1484
|
+
if (variantAlignmentTable.style("display") == "none") {
|
|
1485
|
+
variantAlignmentTable.style("display", "block");
|
|
1486
|
+
} else {
|
|
1487
|
+
variantAlignmentTable.style("display", "none");
|
|
1488
|
+
}
|
|
1489
|
+
});
|
|
1490
|
+
}
|
|
1491
|
+
if (r.unmapped_mate && !tk.asPaired) {
|
|
1492
|
+
const mate_button = row.append("button").style("margin-left", "10px").text("Show unmapped mate").on("click", async () => {
|
|
1493
|
+
mate_button.property("disabled", true);
|
|
1494
|
+
const wait2 = tk.readMenu.d.append("div").text("Loading...");
|
|
1495
|
+
const data2 = await dofetch3("tkbam", getparam({ show_unmapped: 1 }));
|
|
1496
|
+
if (data2.error) {
|
|
1497
|
+
wait2.text("");
|
|
1498
|
+
sayerror(wait2, data2.error);
|
|
1499
|
+
mate_button.property("disabled", false);
|
|
1500
|
+
return;
|
|
1501
|
+
}
|
|
1502
|
+
wait2.remove();
|
|
1503
|
+
mate_button.remove();
|
|
1504
|
+
const r2 = data2.lst[0];
|
|
1505
|
+
div.append("div").html(r2.alignment);
|
|
1506
|
+
const row2 = div.append("div").style("margin-top", "10px");
|
|
1507
|
+
row2.append("button").text("Copy read sequence").on("click", function() {
|
|
1508
|
+
navigator.clipboard.writeText(r2.seq).then(() => {
|
|
1509
|
+
}, console.warn);
|
|
1510
|
+
select_default(this).html("Copy read sequence ✓");
|
|
1511
|
+
});
|
|
1512
|
+
mayshow_blatbutton(r2, row2, tk, block);
|
|
1513
|
+
div.append("div").html(r2.info);
|
|
1514
|
+
});
|
|
1515
|
+
}
|
|
1516
|
+
const gene_button = row.append("button").style("margin-left", "10px").text("Show gene model").property("disabled", !r.seq || r.seq == "*").on("click", async () => {
|
|
1517
|
+
gene_button.property("disabled", true);
|
|
1518
|
+
let i = 0;
|
|
1519
|
+
let nuc_count = 0;
|
|
1520
|
+
let gm_nuc_count = 0;
|
|
1521
|
+
let segstart = data.lst[0].boxes[0].start;
|
|
1522
|
+
let segstop;
|
|
1523
|
+
let local_alignment_width = 0;
|
|
1524
|
+
const tbodyRef = read_reference_div.node().children[0].getElementsByTagName("tbody")[0];
|
|
1525
|
+
const gene_model_tr = tbodyRef.insertRow();
|
|
1526
|
+
const heading_gene_cell = gene_model_tr.insertCell();
|
|
1527
|
+
const heading_gene_text = document.createTextNode("");
|
|
1528
|
+
heading_gene_cell.appendChild(heading_gene_text);
|
|
1529
|
+
const gene_models = [];
|
|
1530
|
+
const break_points = [];
|
|
1531
|
+
let num_break_points = 0;
|
|
1532
|
+
let gene_model_td;
|
|
1533
|
+
const refseq_row = read_reference_div.node().children[0].children[0].children[0];
|
|
1534
|
+
for (const item of data.lst[0].boxes) {
|
|
1535
|
+
if (item.opr == "H") {
|
|
1536
|
+
continue;
|
|
1537
|
+
} else if (item.opr == "M" || item.opr == "S" || item.opr == "N" && item.len < data.lst[0].readpanel_DN_maxlength || item.opr == "D" && item.len < data.lst[0].readpanel_DN_maxlength) {
|
|
1538
|
+
for (let j2 = 0; j2 < item.len; j2++) {
|
|
1539
|
+
local_alignment_width += refseq_row.children[nuc_count + 1].getBoundingClientRect().width;
|
|
1540
|
+
nuc_count += 1;
|
|
1541
|
+
}
|
|
1542
|
+
gm_nuc_count += item.len;
|
|
1543
|
+
} else if (item.opr == "I" || item.opr == "N" && item.len >= data.lst[0].readpanel_DN_maxlength || item.opr == "D" && item.len >= data.lst[0].readpanel_DN_maxlength) {
|
|
1544
|
+
segstop = item.start;
|
|
1545
|
+
const gene_model = await get_gene_models_reads(block, ridx, segstart, segstop, local_alignment_width);
|
|
1546
|
+
const gm = {
|
|
1547
|
+
src: gene_model.src,
|
|
1548
|
+
width: local_alignment_width,
|
|
1549
|
+
height: gene_model.height,
|
|
1550
|
+
colspan: gm_nuc_count
|
|
1551
|
+
};
|
|
1552
|
+
gene_models.push(gm);
|
|
1553
|
+
if (item.opr == "I") {
|
|
1554
|
+
break_points.push(item.len);
|
|
1555
|
+
} else if (item.opr == "N" || item.opr == "D") {
|
|
1556
|
+
break_points.push(1);
|
|
1557
|
+
}
|
|
1558
|
+
if (item.opr == "D" || item.opr == "N") {
|
|
1559
|
+
segstart = item.start + item.len;
|
|
1560
|
+
} else if (item.opr == "I") {
|
|
1561
|
+
segstart = item.start;
|
|
1562
|
+
}
|
|
1563
|
+
local_alignment_width = 0;
|
|
1564
|
+
gm_nuc_count = 0;
|
|
1565
|
+
num_break_points += 1;
|
|
1566
|
+
}
|
|
1567
|
+
if (i == data.lst[0].boxes.length - 1) {
|
|
1568
|
+
segstop = item.start + item.len;
|
|
1569
|
+
const gene_model = await get_gene_models_reads(block, ridx, segstart, segstop, local_alignment_width);
|
|
1570
|
+
const gm = {
|
|
1571
|
+
src: gene_model.src,
|
|
1572
|
+
width: local_alignment_width,
|
|
1573
|
+
height: gene_model.height,
|
|
1574
|
+
colspan: gm_nuc_count
|
|
1575
|
+
};
|
|
1576
|
+
gene_models.push(gm);
|
|
1577
|
+
}
|
|
1578
|
+
i += 1;
|
|
1579
|
+
}
|
|
1580
|
+
const num_gene_cells = num_break_points + gene_models.length;
|
|
1581
|
+
let j = 0;
|
|
1582
|
+
let k = 0;
|
|
1583
|
+
for (let i2 = 0; i2 < num_gene_cells; i2++) {
|
|
1584
|
+
const gene_model_cell = gene_model_tr.insertCell();
|
|
1585
|
+
if (i2 % 2 == 0) {
|
|
1586
|
+
const img = document.createElement("img");
|
|
1587
|
+
img.src = gene_models[k].src;
|
|
1588
|
+
img.width = gene_models[k].width;
|
|
1589
|
+
img.height = gene_models[k].height;
|
|
1590
|
+
gene_model_cell.appendChild(img);
|
|
1591
|
+
gene_model_cell.colSpan = gene_models[k].colspan;
|
|
1592
|
+
k += 1;
|
|
1593
|
+
} else {
|
|
1594
|
+
gene_model_cell.colSpan = break_points[j];
|
|
1595
|
+
j += 1;
|
|
1596
|
+
}
|
|
1597
|
+
}
|
|
1598
|
+
});
|
|
1599
|
+
mayshow_blatbutton(r, row, tk, block);
|
|
1600
|
+
div.append("div").html(r.info);
|
|
1601
|
+
const variantAlignmentTable = div.append("div").style("display", "none");
|
|
1602
|
+
}
|
|
1603
|
+
function getparam(extra = {}) {
|
|
1604
|
+
const r = tk.regions[ridx];
|
|
1605
|
+
const body = {
|
|
1606
|
+
getread: 1,
|
|
1607
|
+
qname: encodeURIComponent(box.qname),
|
|
1608
|
+
// convert + to %2B, so it can be kept the same but not a space instead
|
|
1609
|
+
genome: block.genome.name,
|
|
1610
|
+
chr: r.chr,
|
|
1611
|
+
start: r.start,
|
|
1612
|
+
stop: r.stop,
|
|
1613
|
+
...extra
|
|
1614
|
+
};
|
|
1615
|
+
if (tk.gdcFile) {
|
|
1616
|
+
body.gdcFileUUID = tk.gdcFile.uuid;
|
|
1617
|
+
body.gdcFilePosition = tk.gdcFile.position;
|
|
1618
|
+
}
|
|
1619
|
+
if (tk.nochr) body.nochr = 1;
|
|
1620
|
+
if (tk.file) body.file = tk.file;
|
|
1621
|
+
if (tk.url) body.url = tk.url;
|
|
1622
|
+
if (tk.indexURL) body.indexURL = tk.indexURL;
|
|
1623
|
+
if (tk.asPaired) {
|
|
1624
|
+
body.getpair = 1;
|
|
1625
|
+
} else {
|
|
1626
|
+
if (box.isfirst) {
|
|
1627
|
+
body.getfirst = 1;
|
|
1628
|
+
} else if (box.islast) {
|
|
1629
|
+
body.getlast = 1;
|
|
1630
|
+
} else {
|
|
1631
|
+
body.unknownorder = 1;
|
|
1632
|
+
body.readstart = box.start;
|
|
1633
|
+
body.readstop = box.stop;
|
|
1634
|
+
}
|
|
1635
|
+
}
|
|
1636
|
+
return { headers: getHeaders(tk), body };
|
|
1637
|
+
}
|
|
1638
|
+
function makeReadAlignmentTable(div, type, tk2, read_start_pos, var_idx) {
|
|
1639
|
+
let q_align, align_wrt, r_align;
|
|
1640
|
+
if (type == "Ref") {
|
|
1641
|
+
q_align = data.lst[0].alignments[var_idx].q_seq_ref;
|
|
1642
|
+
align_wrt = data.lst[0].alignments[var_idx].align_ref;
|
|
1643
|
+
r_align = data.lst[0].alignments[var_idx].r_seq_ref;
|
|
1644
|
+
}
|
|
1645
|
+
if (type == "Alt") {
|
|
1646
|
+
q_align = data.lst[0].alignments[var_idx].q_seq_alt;
|
|
1647
|
+
align_wrt = data.lst[0].alignments[var_idx].align_alt;
|
|
1648
|
+
r_align = data.lst[0].alignments[var_idx].r_seq_alt;
|
|
1649
|
+
}
|
|
1650
|
+
if (data.lst[0].alignments.length == 1) {
|
|
1651
|
+
div.append("span").text(type + " alignment").style("font-family", "Courier").style("font-size", "15px").style("color", "#303030").style("margin", "5px 5px 10px 5px");
|
|
1652
|
+
} else {
|
|
1653
|
+
if (type == "Alt") {
|
|
1654
|
+
div.append("span").text("Alignment with Alt allele: " + tk2.variants[var_idx].alt).style("font-family", "Courier").style("font-size", "15px").style("color", "#303030").style("margin", "5px 5px 10px 5px");
|
|
1655
|
+
} else if (type == "Ref") {
|
|
1656
|
+
div.append("span").text("Alignment with Ref allele: " + tk2.variants[var_idx].ref).style("font-family", "Courier").style("font-size", "15px").style("color", "#303030").style("margin", "5px 5px 10px 5px");
|
|
1657
|
+
} else {
|
|
1658
|
+
console.log("Unknown allele, please check");
|
|
1659
|
+
}
|
|
1660
|
+
}
|
|
1661
|
+
const table = div.append("table").style("font-family", "Courier").style("font-size", "0.8em").style("color", "#303030").style("margin", "5px 5px 20px 5px");
|
|
1662
|
+
let nclt_count = 0;
|
|
1663
|
+
const refAlt_tr = table.append("tr");
|
|
1664
|
+
refAlt_tr.append("td").text(type + " allele").style("text-align", "right").style("font-weight", "550").style("white-space", "nowrap");
|
|
1665
|
+
for (const nclt of r_align) {
|
|
1666
|
+
nclt_count += 1;
|
|
1667
|
+
if (type == "Ref" && nclt_count > data.lst[0].alignments[var_idx].red_region_start_ref && nclt_count <= data.lst[0].alignments[var_idx].red_region_stop_ref) {
|
|
1668
|
+
refAlt_tr.append("td").text(nclt).style("color", "red");
|
|
1669
|
+
} else if (type == "Alt" && nclt_count > data.lst[0].alignments[var_idx].red_region_start_alt && nclt_count <= data.lst[0].alignments[var_idx].red_region_stop_alt) {
|
|
1670
|
+
refAlt_tr.append("td").text(nclt).style("color", "red");
|
|
1671
|
+
} else {
|
|
1672
|
+
refAlt_tr.append("td").text(nclt);
|
|
1673
|
+
}
|
|
1674
|
+
}
|
|
1675
|
+
const alignment_tr = table.append("tr");
|
|
1676
|
+
alignment_tr.append("td");
|
|
1677
|
+
nclt_count = 0;
|
|
1678
|
+
for (const align_str of align_wrt) {
|
|
1679
|
+
nclt_count += 1;
|
|
1680
|
+
if (type == "Ref" && nclt_count > data.lst[0].alignments[var_idx].red_region_start_ref && nclt_count <= data.lst[0].alignments[var_idx].red_region_stop_ref) {
|
|
1681
|
+
alignment_tr.append("td").text(align_str).style("color", "red");
|
|
1682
|
+
} else if (type == "Alt" && nclt_count > data.lst[0].alignments[var_idx].red_region_start_alt && nclt_count <= data.lst[0].alignments[var_idx].red_region_stop_alt) {
|
|
1683
|
+
alignment_tr.append("td").text(align_str).style("color", "red");
|
|
1684
|
+
} else {
|
|
1685
|
+
alignment_tr.append("td").text(align_str);
|
|
1686
|
+
}
|
|
1687
|
+
}
|
|
1688
|
+
const query_tr = table.append("tr");
|
|
1689
|
+
query_tr.append("td").text("Read").style("text-align", "right").style("font-weight", "550");
|
|
1690
|
+
nclt_count = 0;
|
|
1691
|
+
for (const nclt of q_align) {
|
|
1692
|
+
nclt_count += 1;
|
|
1693
|
+
if (type == "Ref" && nclt_count > data.lst[0].alignments[var_idx].red_region_start_ref && nclt_count <= data.lst[0].alignments[var_idx].red_region_stop_ref) {
|
|
1694
|
+
query_tr.append("td").text(nclt).style("color", "red");
|
|
1695
|
+
} else if (type == "Alt" && nclt_count > data.lst[0].alignments[var_idx].red_region_start_alt && nclt_count <= data.lst[0].alignments[var_idx].red_region_stop_alt) {
|
|
1696
|
+
query_tr.append("td").text(nclt).style("color", "red");
|
|
1697
|
+
} else {
|
|
1698
|
+
query_tr.append("td").text(nclt);
|
|
1699
|
+
}
|
|
1700
|
+
}
|
|
1701
|
+
}
|
|
1702
|
+
}
|
|
1703
|
+
async function get_gene_models_refalt(block, tk, segstart, segstop, local_alignment_width) {
|
|
1704
|
+
const genetk = block.genome.tracks.find((i) => i.__isgene);
|
|
1705
|
+
const args = {
|
|
1706
|
+
name: genetk.name,
|
|
1707
|
+
genome: block.genome.name,
|
|
1708
|
+
rglst: [
|
|
1709
|
+
{
|
|
1710
|
+
chr: tk.variants[0].chr,
|
|
1711
|
+
start: segstart,
|
|
1712
|
+
stop: segstop,
|
|
1713
|
+
width: local_alignment_width
|
|
1714
|
+
}
|
|
1715
|
+
],
|
|
1716
|
+
width: local_alignment_width,
|
|
1717
|
+
stackheight: 16,
|
|
1718
|
+
stackspace: 1,
|
|
1719
|
+
regionspace: 0,
|
|
1720
|
+
file: genetk.file,
|
|
1721
|
+
devicePixelRatio: window.devicePixelRatio > 1 ? window.devicePixelRatio : 1,
|
|
1722
|
+
color: genetk.color,
|
|
1723
|
+
translatecoding: 1,
|
|
1724
|
+
__isgene: true,
|
|
1725
|
+
noNameHover: true
|
|
1726
|
+
};
|
|
1727
|
+
{
|
|
1728
|
+
const tk2 = block.tklst.find((i) => i.name == args.name && i.type == "bedj");
|
|
1729
|
+
if (tk2 && tk2.filterByName) {
|
|
1730
|
+
args.filterByName = tk2.filterByName;
|
|
1731
|
+
}
|
|
1732
|
+
}
|
|
1733
|
+
return await dofetch3("tkbedj", { method: "POST", body: JSON.stringify(args) });
|
|
1734
|
+
}
|
|
1735
|
+
async function get_gene_models_reads(block, ridx, segstart, segstop, local_alignment_width) {
|
|
1736
|
+
const genetk = block.genome.tracks.find((i) => i.__isgene);
|
|
1737
|
+
const args = {
|
|
1738
|
+
name: genetk.name,
|
|
1739
|
+
genome: block.genome.name,
|
|
1740
|
+
rglst: [
|
|
1741
|
+
{
|
|
1742
|
+
chr: block.rglst[ridx].chr,
|
|
1743
|
+
start: segstart,
|
|
1744
|
+
stop: segstop,
|
|
1745
|
+
width: local_alignment_width
|
|
1746
|
+
}
|
|
1747
|
+
],
|
|
1748
|
+
width: local_alignment_width,
|
|
1749
|
+
stackheight: 16,
|
|
1750
|
+
stackspace: 1,
|
|
1751
|
+
regionspace: 0,
|
|
1752
|
+
file: genetk.file,
|
|
1753
|
+
devicePixelRatio: window.devicePixelRatio > 1 ? window.devicePixelRatio : 1,
|
|
1754
|
+
color: genetk.color,
|
|
1755
|
+
translatecoding: 1,
|
|
1756
|
+
__isgene: true,
|
|
1757
|
+
noNameHover: true
|
|
1758
|
+
};
|
|
1759
|
+
{
|
|
1760
|
+
const tk = block.tklst.find((i) => i.name == args.name && i.type == "bedj");
|
|
1761
|
+
if (tk && tk.filterByName) {
|
|
1762
|
+
args.filterByName = tk.filterByName;
|
|
1763
|
+
}
|
|
1764
|
+
}
|
|
1765
|
+
return await dofetch3("tkbedj", { method: "POST", body: JSON.stringify(args) });
|
|
1766
|
+
}
|
|
1767
|
+
function mayshow_blatbutton(read, div, tk, block) {
|
|
1768
|
+
if (!block.genome.blat) {
|
|
1769
|
+
return;
|
|
1770
|
+
}
|
|
1771
|
+
const button = div.append("button").style("margin-left", "10px").text("BLAT").on("click", async () => {
|
|
1772
|
+
button.property("disabled", true);
|
|
1773
|
+
blatdiv.selectAll("*").remove();
|
|
1774
|
+
const wait = blatdiv.append("div").text("Loading...");
|
|
1775
|
+
try {
|
|
1776
|
+
const data = await dofetch3("blat", {
|
|
1777
|
+
body: {
|
|
1778
|
+
genome: block.genome.name,
|
|
1779
|
+
seq: read.seq,
|
|
1780
|
+
soft_starts: read.soft_starts,
|
|
1781
|
+
soft_stops: read.soft_stops
|
|
1782
|
+
}
|
|
1783
|
+
});
|
|
1784
|
+
if (data.error) throw data.error;
|
|
1785
|
+
if (data.nohit) throw "No hit";
|
|
1786
|
+
if (!data.hits) throw ".hits[] missing";
|
|
1787
|
+
wait.remove();
|
|
1788
|
+
show_blatresult(data.hits, blatdiv, tk, block);
|
|
1789
|
+
} catch (e) {
|
|
1790
|
+
wait.text(e.message || e);
|
|
1791
|
+
if (e.stack) console.log(e.stack);
|
|
1792
|
+
}
|
|
1793
|
+
button.property("disabled", false);
|
|
1794
|
+
});
|
|
1795
|
+
const blatdiv = div.append("div");
|
|
1796
|
+
}
|
|
1797
|
+
async function enter_partstack(group, tk, block, y, data) {
|
|
1798
|
+
group.data_fullstack = group.data;
|
|
1799
|
+
const clickstackidx = (group.partstack ? group.partstack.start : 0) + Math.floor(y / group.data.stackheight);
|
|
1800
|
+
if (clickstackidx < stackpagesize / 2) {
|
|
1801
|
+
group.partstack = {
|
|
1802
|
+
start: 0,
|
|
1803
|
+
stop: stackpagesize
|
|
1804
|
+
};
|
|
1805
|
+
} else if (clickstackidx > group.data_fullstack.stackcount - stackpagesize / 2) {
|
|
1806
|
+
group.partstack = {
|
|
1807
|
+
start: group.data_fullstack.stackcount - stackpagesize,
|
|
1808
|
+
stop: group.data_fullstack.stackcount
|
|
1809
|
+
};
|
|
1810
|
+
} else {
|
|
1811
|
+
group.partstack = {
|
|
1812
|
+
start: clickstackidx - stackpagesize / 2,
|
|
1813
|
+
stop: clickstackidx + stackpagesize / 2
|
|
1814
|
+
};
|
|
1815
|
+
}
|
|
1816
|
+
block.tkcloakon(tk);
|
|
1817
|
+
const _d = await getData(tk, block, {
|
|
1818
|
+
stackstart: group.partstack.start,
|
|
1819
|
+
stackstop: group.partstack.stop,
|
|
1820
|
+
grouptype: group.data.type
|
|
1821
|
+
});
|
|
1822
|
+
group.data = _d.groups[0];
|
|
1823
|
+
renderGroup(group, tk, block);
|
|
1824
|
+
setTkHeight(tk);
|
|
1825
|
+
block.tkcloakoff(tk, {});
|
|
1826
|
+
block.block_setheight();
|
|
1827
|
+
}
|
|
1828
|
+
function show_blatresult(hits, div, tk, block) {
|
|
1829
|
+
const table = div.append("table");
|
|
1830
|
+
const tr = table.append("tr").style("opacity", 0.5).style("font-size", ".8em");
|
|
1831
|
+
tr.append("td").text("QScore");
|
|
1832
|
+
tr.append("td").text("QStart");
|
|
1833
|
+
tr.append("td").text("QStop");
|
|
1834
|
+
tr.append("td").text("QStrand");
|
|
1835
|
+
tr.append("td").text("QAlignLen");
|
|
1836
|
+
tr.append("td").text("RChr");
|
|
1837
|
+
tr.append("td").text("RStart");
|
|
1838
|
+
tr.append("td").text("RStop");
|
|
1839
|
+
tr.append("td").text("RAlignLen");
|
|
1840
|
+
for (const h of hits) {
|
|
1841
|
+
let tr2 = table.append("tr").style("font-size", ".8em");
|
|
1842
|
+
tr2.append("td").text(h.query_match);
|
|
1843
|
+
tr2.append("td").text(h.query_startpos);
|
|
1844
|
+
tr2.append("td").text(h.query_stoppos);
|
|
1845
|
+
tr2.append("td").text(h.query_strand);
|
|
1846
|
+
tr2.append("td").text(h.query_alignlen);
|
|
1847
|
+
tr2.append("td").text(h.ref_chr);
|
|
1848
|
+
tr2.append("td").text(h.ref_startpos);
|
|
1849
|
+
tr2.append("td").text(h.ref_stoppos);
|
|
1850
|
+
tr2.append("td").text(h.ref_alignlen);
|
|
1851
|
+
}
|
|
1852
|
+
}
|
|
1853
|
+
function renderGroup(group, tk, block) {
|
|
1854
|
+
update_boxes(group, tk, block);
|
|
1855
|
+
if (group.partstack) {
|
|
1856
|
+
if (tk.variants) {
|
|
1857
|
+
group.dom.diff_score_barplot_partstack.attr("xlink:href", group.data.diff_scores_img.src).attr("width", group.data.diff_scores_img.width).attr("height", group.data.diff_scores_img.height);
|
|
1858
|
+
group.ReadNameMaxwidth = 0;
|
|
1859
|
+
if (tk.show_readnames) {
|
|
1860
|
+
group.dom.read_names_g.attr("transform", "translate(0,0)");
|
|
1861
|
+
group.dom.read_names_g.selectAll("*").remove();
|
|
1862
|
+
if (group.data.templatebox && group.data.stackheight >= stackheight_min) {
|
|
1863
|
+
let read_count = 1;
|
|
1864
|
+
for (const read of group.data.templatebox) {
|
|
1865
|
+
const read_name_bbox = group.dom.read_names_g.append("text").attr("x", 0).attr("y", group.data.height * read_count / group.data.templatebox.length).attr("text-anchor", "end").style("fill", "black").attr("font-size", group.data.height / group.data.templatebox.length).text(read.qname);
|
|
1866
|
+
group.ReadNameMaxwidth = Math.max(group.ReadNameMaxwidth, read_name_bbox.node().getBBox().width);
|
|
1867
|
+
read_count += 1;
|
|
1868
|
+
}
|
|
1869
|
+
}
|
|
1870
|
+
} else {
|
|
1871
|
+
group.dom.read_names_g.selectAll("*").remove();
|
|
1872
|
+
group.ReadNameMaxwidth = 0;
|
|
1873
|
+
}
|
|
1874
|
+
}
|
|
1875
|
+
group.dom.img_partstack.attr("xlink:href", group.data.src).attr("width", group.data.width).attr("height", group.data.height).attr("y", 0);
|
|
1876
|
+
group.dom.img_fullstack.attr("width", 0).attr("height", 0);
|
|
1877
|
+
if (tk.variants) {
|
|
1878
|
+
group.dom.diff_score_barplot_fullstack.attr("width", 0).attr("height", 0);
|
|
1879
|
+
}
|
|
1880
|
+
const scrollableheight = group.data.height;
|
|
1881
|
+
group.dom.rightg.vslider.bar.transition().attr("height", scrollableheight);
|
|
1882
|
+
group.dom.rightg.vslider.boxy = scrollableheight * group.partstack.start / group.data_fullstack.stackcount;
|
|
1883
|
+
group.dom.rightg.vslider.boxh = scrollableheight * (group.partstack.stop - group.partstack.start) / group.data_fullstack.stackcount;
|
|
1884
|
+
group.dom.rightg.vslider.box.transition().attr("height", group.dom.rightg.vslider.boxh);
|
|
1885
|
+
group.dom.rightg.vslider.boxbotline.transition().attr("y1", group.dom.rightg.vslider.boxh).attr("y2", group.dom.rightg.vslider.boxh);
|
|
1886
|
+
group.dom.rightg.vslider.boxg.transition().attr("transform", "translate(0," + group.dom.rightg.vslider.boxy + ")");
|
|
1887
|
+
} else {
|
|
1888
|
+
group.dom.img_fullstack.attr("xlink:href", group.data.src).attr("width", group.data.width).attr("height", group.data.height);
|
|
1889
|
+
group.dom.img_partstack.attr("width", 0).attr("height", 0);
|
|
1890
|
+
if (tk.variants) {
|
|
1891
|
+
if (group.dom.diff_score_barplot_partstack) {
|
|
1892
|
+
group.dom.diff_score_barplot_partstack.attr("width", 0).attr("height", 0);
|
|
1893
|
+
}
|
|
1894
|
+
group.dom.diff_score_barplot_fullstack.attr("width", group.data.diff_scores_img.width).attr("height", group.data.diff_scores_img.height);
|
|
1895
|
+
if (tk.show_readnames) {
|
|
1896
|
+
group.dom.read_names_g.selectAll("*").remove();
|
|
1897
|
+
}
|
|
1898
|
+
}
|
|
1899
|
+
group.dom.rightg.vslider.g.transition().attr("transform", "scale(0)");
|
|
1900
|
+
}
|
|
1901
|
+
group.dom.img_cover.attr("width", group.data.width).attr("height", group.data.height);
|
|
1902
|
+
}
|
|
1903
|
+
export {
|
|
1904
|
+
loadTk
|
|
1905
|
+
};
|
|
1906
|
+
//# sourceMappingURL=block.tk.bam-5X3OS5HB.js.map
|