@sjcrh/proteinpaint-client 2.191.4 → 2.192.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-BNMEUJVM.js +1373 -0
- package/dist/AIProjectAdmin-AEXQY5LY.js +958 -0
- package/dist/AIProjectAdmin-AEXQY5LY.js.map +7 -0
- package/dist/AppHeader-RXDJBHXZ.js +835 -0
- package/dist/BoxPlot-HDP3SIGU.js +1217 -0
- package/dist/BoxPlot-HDP3SIGU.js.map +7 -0
- package/dist/CorrelationVolcano-V2E566XL.js +619 -0
- package/dist/DE-7YUZSW4E.js +95 -0
- package/dist/DEinput-P2HOQC4Z.js +301 -0
- package/dist/DifferentialAnalysis-2Z6BHS7A.js +245 -0
- package/dist/Disco-ZLC54X7T.js +3297 -0
- package/dist/Disco-ZLC54X7T.js.map +7 -0
- package/dist/Disco.UI-LXJJYQVV.js +249 -0
- package/dist/Disco.UI-LXJJYQVV.js.map +7 -0
- package/dist/DmrPlot-OEJRGNI3.js +642 -0
- package/dist/GB-2GHDD3MW.js +1130 -0
- package/dist/GeneExpInput-PWLPDLYT.js +367 -0
- package/dist/GeneExpInput-PWLPDLYT.js.map +7 -0
- package/dist/HicApp-CAYC4DPO.js +2250 -0
- package/dist/NumBinaryEditor-EUOYSGPM.js +271 -0
- package/dist/NumBinaryEditor.unit.spec-5B3W4B4F.js +286 -0
- package/dist/NumContEditor-7KK6CIB3.js +109 -0
- package/dist/NumContEditor.unit.spec-IMKGVYFZ.js +169 -0
- package/dist/NumCustomBinEditor-PDAF6I7B.js +38 -0
- package/dist/NumCustomBinEditor.unit.spec-IU3DPECJ.js +284 -0
- package/dist/NumDiscreteEditor-YTKUHG6Z.js +179 -0
- package/dist/NumDiscreteEditor.unit.spec-FUBS7Z7Z.js +202 -0
- package/dist/NumRegularBinEditor-LU3KLBLY.js +38 -0
- package/dist/NumRegularBinEditor.unit.spec-2BKOHI7L.js +227 -0
- package/dist/NumSplineEditor-56RJ2HT2.js +198 -0
- package/dist/NumSplineEditor.unit.spec-PW6VUUBZ.js +199 -0
- package/dist/NumericDensity-EB4H54EF.js +38 -0
- package/dist/NumericDensity.unit.spec-LSEM4OEY.js +221 -0
- package/dist/NumericHandler-VGPDXP35.js +39 -0
- package/dist/NumericHandler.unit.spec-NR3F7XHV.js +219 -0
- package/dist/ProteomeInput-AUXWUIWK.js +396 -0
- package/dist/RunChart2-SQ6TFOHD.js +758 -0
- package/dist/SC-OWJ6LYIW.js +1124 -0
- package/dist/SC-OWJ6LYIW.js.map +7 -0
- package/dist/Volcano-XHDH6UN7.js +1379 -0
- package/dist/WSIViewer-WT2QV747.js +48562 -0
- package/dist/WSIViewer-WT2QV747.js.map +7 -0
- package/dist/WsiSamplesPlot-YUOAWG2A.js +165 -0
- package/dist/adSandbox-VMMAL22L.js +38 -0
- package/dist/animatedBubbleChart-Q6Z5W2UL.js +555 -0
- package/dist/animatedBubbleChart-Q6Z5W2UL.js.map +7 -0
- package/dist/app-FX3KZ67X.js +37 -0
- package/dist/app-X7ZYEOZN.js +49 -0
- package/dist/app.js +20 -20
- package/dist/bam-ZYLH4U5R.js +860 -0
- package/dist/barchart-MXSPTKV4.js +47 -0
- package/dist/barchart.data-ZWF6EVJH.js +22 -0
- package/dist/barchart.events-XON2ANOC.js +47 -0
- package/dist/barchart.integration.spec-PJIENJGT.js +1980 -0
- package/dist/barchart2-HIKBGSSE.js +314 -0
- package/dist/barchart2-HIKBGSSE.js.map +7 -0
- package/dist/bars.renderer-57KSYAAT.js +12 -0
- package/dist/block-EGPYVWNP.js +6226 -0
- package/dist/block-EGPYVWNP.js.map +7 -0
- package/dist/block.init-IJBRPZNM.js +38 -0
- package/dist/block.mds.expressionrank-3DANCP7E.js +359 -0
- package/dist/block.mds.geneboxplot-CRGSCZMG.js +828 -0
- package/dist/block.mds.junction-4UIH2ZYN.js +1545 -0
- package/dist/block.mds.svcnv-NF4UIRR2.js +6801 -0
- package/dist/block.svg-AIZ47JCQ.js +164 -0
- package/dist/block.tk.aicheck-7HZFGE63.js +283 -0
- package/dist/block.tk.ase-U3VNPZEA.js +365 -0
- package/dist/block.tk.bam-4TQ7P2OX.js +1906 -0
- package/dist/block.tk.bedgraphdot-MYHKKO6K.js +384 -0
- package/dist/block.tk.bigwig.ui-E3YVGIDN.js +212 -0
- package/dist/block.tk.hicstraw-Y4XOMG7T.js +823 -0
- package/dist/block.tk.junction-T5C7LK6F.js +2364 -0
- package/dist/block.tk.junction.textmatrixui-Z3ACCVXH.js +199 -0
- package/dist/block.tk.ld-Y5KDA5AU.js +99 -0
- package/dist/block.tk.menu-EWRRISDY.js +1029 -0
- package/dist/block.tk.pgv-3JYGOZVQ.js +944 -0
- package/dist/brainImaging-P3AF3C5N.js +423 -0
- package/dist/brainRegions-YA2H2QOI.js +221 -0
- package/dist/brainRegions-YA2H2QOI.js.map +7 -0
- package/dist/chunk-2JR7RPB6.js +1825 -0
- package/dist/chunk-2U2CP2Y2.js +317 -0
- package/dist/chunk-2U2CP2Y2.js.map +7 -0
- package/dist/chunk-3BBK6A4X.js +176 -0
- package/dist/chunk-3BBK6A4X.js.map +7 -0
- package/dist/chunk-3FVIDQOX.js +54 -0
- package/dist/chunk-3K2O2NIH.js +446 -0
- package/dist/chunk-3RSJU6YM.js +2681 -0
- package/dist/chunk-3ZKD6C5S.js +34 -0
- package/dist/chunk-46AEH34Z.js +95 -0
- package/dist/chunk-4CQVC6XL.js +182 -0
- package/dist/chunk-5FXNI724.js +216 -0
- package/dist/chunk-634MOGE3.js +314 -0
- package/dist/chunk-634MOGE3.js.map +7 -0
- package/dist/chunk-6JHIX4RA.js +4269 -0
- package/dist/chunk-6JHIX4RA.js.map +7 -0
- package/dist/chunk-7PFRBGMN.js +129 -0
- package/dist/chunk-7R63MAPC.js +448 -0
- package/dist/chunk-7R63MAPC.js.map +7 -0
- package/dist/chunk-A4Z3CI24.js +276 -0
- package/dist/chunk-AI2LUQS6.js +119 -0
- package/dist/chunk-AJYJW4LX.js +6364 -0
- package/dist/chunk-BKPDYW5T.js +177 -0
- package/dist/chunk-BMS32SNA.js +37 -0
- package/dist/chunk-C4BCMAIK.js +188 -0
- package/dist/chunk-C4BCMAIK.js.map +7 -0
- package/dist/chunk-CJPGYPI3.js +291 -0
- package/dist/chunk-CTQH7LQ6.js +31 -0
- package/dist/chunk-D5CVYITI.js +203 -0
- package/dist/chunk-DMSX5PSO.js +477 -0
- package/dist/chunk-E3JRW3T3.js +1102 -0
- package/dist/chunk-E574SMCX.js +283 -0
- package/dist/chunk-E76O5Z42.js +98 -0
- package/dist/chunk-EEW443GL.js +14 -0
- package/dist/chunk-EVNMW7BS.js +833 -0
- package/dist/chunk-EVNMW7BS.js.map +7 -0
- package/dist/chunk-F2WPS7VY.js +1943 -0
- package/dist/chunk-FDPWWODM.js +2832 -0
- package/dist/chunk-FDPWWODM.js.map +7 -0
- package/dist/chunk-FVHUROIJ.js +446 -0
- package/dist/chunk-FVHUROIJ.js.map +7 -0
- package/dist/chunk-FYFX42YD.js +222 -0
- package/dist/chunk-G6RZYGWY.js +386 -0
- package/dist/chunk-GTZV2UZV.js +736 -0
- package/dist/chunk-H34LAFGH.js +142 -0
- package/dist/chunk-I2R5O2XX.js +263 -0
- package/dist/chunk-IEYDMN3H.js +26 -0
- package/dist/chunk-JWBP4ZZB.js +148 -0
- package/dist/chunk-KUZPTJJO.js +20874 -0
- package/dist/chunk-KUZPTJJO.js.map +7 -0
- package/dist/chunk-KVIH5JPC.js +1275 -0
- package/dist/chunk-L5HCOTRF.js +302 -0
- package/dist/chunk-LHKDLWG5.js +194 -0
- package/dist/chunk-LQJMCE7G.js +467 -0
- package/dist/chunk-M7UKOCJA.js +234 -0
- package/dist/chunk-M7UKOCJA.js.map +7 -0
- package/dist/chunk-MHFH66I3.js +1289 -0
- package/dist/chunk-MHFH66I3.js.map +7 -0
- package/dist/chunk-MNIBZTQE.js +146 -0
- package/dist/chunk-MP3DN6JK.js +117 -0
- package/dist/chunk-N5OVBS5L.js +2786 -0
- package/dist/chunk-NEKAGDTL.js +58 -0
- package/dist/chunk-NPCNDM6Y.js +54 -0
- package/dist/chunk-NYN2WQN3.js +100 -0
- package/dist/chunk-O6WL7USJ.js +343 -0
- package/dist/chunk-OH5I6I2D.js +368 -0
- package/dist/chunk-PDFCQ7AU.js +5054 -0
- package/dist/chunk-PDFCQ7AU.js.map +7 -0
- package/dist/chunk-PSJVMAWA.js +294 -0
- package/dist/chunk-PSJVMAWA.js.map +7 -0
- package/dist/chunk-PTQ774XH.js +514 -0
- package/dist/chunk-PXOH4ZN2.js +399 -0
- package/dist/chunk-QG4BJUM7.js +102 -0
- package/dist/chunk-R7AV73BV.js +617 -0
- package/dist/chunk-R7AV73BV.js.map +7 -0
- package/dist/chunk-RITTG5WN.js +158 -0
- package/dist/chunk-SMSFTTEO.js +272 -0
- package/dist/chunk-SOTB4FRE.js +2098 -0
- package/dist/chunk-SOTB4FRE.js.map +7 -0
- package/dist/chunk-TBZKVKR4.js +50 -0
- package/dist/chunk-TJYRBEBK.js +2878 -0
- package/dist/chunk-TLTS33EY.js +287 -0
- package/dist/chunk-TMM7BWW7.js +381 -0
- package/dist/chunk-TTC4MNEM.js +2327 -0
- package/dist/chunk-UN3O2MNB.js +375 -0
- package/dist/chunk-UN3O2MNB.js.map +7 -0
- package/dist/chunk-UQ5CDHYF.js +1218 -0
- package/dist/chunk-UQ5CDHYF.js.map +7 -0
- package/dist/chunk-UXIZYI3X.js +226 -0
- package/dist/chunk-VIUATDO2.js +170 -0
- package/dist/chunk-VIUDFDN4.js +102 -0
- package/dist/chunk-VQZ2Z5YU.js +587 -0
- package/dist/chunk-VQZ2Z5YU.js.map +7 -0
- package/dist/chunk-W5OEFZCR.js +254 -0
- package/dist/chunk-WXSRK3XR.js +534 -0
- package/dist/chunk-XHGMDBTS.js +230 -0
- package/dist/chunk-XQ2OBL6R.js +1205 -0
- package/dist/chunk-XQ2OBL6R.js.map +7 -0
- package/dist/chunk-XVGS3QXS.js +55 -0
- package/dist/chunk-XYNYQMLH.js +482 -0
- package/dist/chunk-Y4JJMUWG.js +217 -0
- package/dist/chunk-Z457XQSX.js +815 -0
- package/dist/chunk-ZF6HNVYD.js +1444 -0
- package/dist/chunk-ZF6HNVYD.js.map +7 -0
- package/dist/condition-QXTOTGZX.js +332 -0
- package/dist/controls-7TDB75LK.js +41 -0
- package/dist/controls.config-IBF5ILFP.js +39 -0
- package/dist/correlation-M2T5R7CM.js +102 -0
- package/dist/correlation-M2T5R7CM.js.map +7 -0
- package/dist/cuminc-CAHPKW7W.js +1149 -0
- package/dist/cuminc.integration.spec-NNSQGBRI.js +678 -0
- package/dist/customdata.inputui-RRTQK7OK.js +289 -0
- package/dist/dataDownload-SOUCBKXM.js +330 -0
- package/dist/dataDownload.integration.spec-C6TLWSSO.js +193 -0
- package/dist/databrowser.ui-KLFEU5QA.js +433 -0
- package/dist/dictionary-RUT5VXDD.js +118 -0
- package/dist/dictionary-RUT5VXDD.js.map +7 -0
- package/dist/dnaMethylation-WOKGG33W.js +38 -0
- package/dist/dnaMethylation.integration.spec-YUPP42UK.js +203 -0
- package/dist/dofetch-V7PLLWSO.js +51 -0
- package/dist/e2pca-VT7EM4E3.js +350 -0
- package/dist/ep-X6B43UXE.js +1256 -0
- package/dist/expclust.gdc.spec-DTBFOXBC.js +307 -0
- package/dist/facet-T5ZX7ZGV.js +521 -0
- package/dist/forms2-S5OGBFKL.js +539 -0
- package/dist/forms2-S5OGBFKL.js.map +7 -0
- package/dist/gb-TWXREZIP.js +88 -0
- package/dist/geneExpClustering-2G6YDCIN.js +249 -0
- package/dist/geneExpression-2A4ZPT7K.js +38 -0
- package/dist/geneExpression-ZHQH6SNA.js +313 -0
- package/dist/geneExpression.unit.spec-2M223S4P.js +102 -0
- package/dist/geneORA-YLIRUMCZ.js +278 -0
- package/dist/geneRanking-JDJXNGEC.js +551 -0
- package/dist/geneVariant-5ZIOT5BT.js +39 -0
- package/dist/geneVariant-GIXIMJ2I.js +41 -0
- package/dist/geneVariant.integration.spec-QCROW73S.js +198 -0
- package/dist/genefusion.ui-56UQLUKJ.js +309 -0
- package/dist/geneset-ACRMGBJO.js +208 -0
- package/dist/genomeBrowser.spec-EDILOQON.js +281 -0
- package/dist/grin2-5P7CYUT7.js +1560 -0
- package/dist/grin2-GNB35CMF.js +871 -0
- package/dist/grin2-GNB35CMF.js.map +7 -0
- package/dist/gsea-2PQ5HNNT.js +47 -0
- package/dist/hierCluster-H5HB7FPW.js +63 -0
- package/dist/hierCluster-L3LCP2II.js +59 -0
- package/dist/hierCluster.config-6UIJWCND.js +40 -0
- package/dist/hierCluster.integration.spec-EVAPT2VF.js +395 -0
- package/dist/hierCluster.interactivity-7MW6ZT6O.js +54 -0
- package/dist/hierCluster.renderers-F34EVY5J.js +21 -0
- package/dist/imagePlot-RSFZ2OKD.js +163 -0
- package/dist/importPlot-DQFWY5A7.js +8 -0
- package/dist/isoformExpression-2KANPCBH.js +40 -0
- package/dist/isoformExpression.unit.spec-6FSMHT4K.js +208 -0
- package/dist/launch.adhoc-ZYTIRVIC.js +42 -0
- package/dist/leftlabel.sample-66U6MHPN.js +260 -0
- package/dist/legacyDataset-TNIIJABK.js +119 -0
- package/dist/lollipop-PJDUFWEY.js +171 -0
- package/dist/maf-DLJHCKHJ.js +452 -0
- package/dist/maftimeline-NK5QYJMJ.js +593 -0
- package/dist/matrix-7BFYR6QL.js +63 -0
- package/dist/matrix-USAB2CHO.js +58 -0
- package/dist/matrix.cells-OTAXAJ4N.js +28 -0
- package/dist/matrix.config-AL4WSFZ7.js +41 -0
- package/dist/matrix.data-BDHCSN2G.js +25 -0
- package/dist/matrix.groups-MV2D2636.js +27 -0
- package/dist/matrix.integration.spec-DESORC2Y.js +3072 -0
- package/dist/matrix.interactivity-H7EJW3P2.js +42 -0
- package/dist/matrix.layout-7CAS2IBO.js +44 -0
- package/dist/matrix.legend-JDVG2JDF.js +22 -0
- package/dist/matrix.renderers-PDR5FIBC.js +38 -0
- package/dist/matrix.serieses-QVDS5HKK.js +21 -0
- package/dist/matrix.sort-HCK4CSTJ.js +27 -0
- package/dist/matrix.sort.unit.spec-2GC4E26N.js +472 -0
- package/dist/matrix.sorterUi-XGBQOPG4.js +18 -0
- package/dist/matrix.sorterUi.unit.spec-BJQKDU2F.js +342 -0
- package/dist/mavb-6E6Z4LPK.js +732 -0
- package/dist/mds.fimo-5P2TK5U4.js +518 -0
- package/dist/mds.samplescatterplot-KLKOD4AS.js +1550 -0
- package/dist/mds.survivalplot-SWQCOFIU.js +483 -0
- package/dist/numericDictTermCluster-WIVO33AV.js +72 -0
- package/dist/oncomatrix-SDUUQZCK.js +295 -0
- package/dist/oncomatrix.spec-YGQYIUDT.js +448 -0
- package/dist/plot.2dvaf-K53KTP5W.js +377 -0
- package/dist/plot.app-FNJVWLPQ.js +41 -0
- package/dist/plot.barplot-VTC3N6BR.js +102 -0
- package/dist/plot.boxplot-RJFGQSLA.js +152 -0
- package/dist/plot.brainImaging-6KVNPPMT.js +51 -0
- package/dist/plot.disco-ZFH5RK6B.js +102 -0
- package/dist/plot.dzi-IA2SOFUD.js +33 -0
- package/dist/plot.ssgq-QARGQVKB.js +139 -0
- package/dist/plot.vaf2cov-2JUXYCPG.js +259 -0
- package/dist/plot.wsi-C2DULA7U.js +36 -0
- package/dist/polar2-3HS3QBU6.js +231 -0
- package/dist/polar2-3HS3QBU6.js.map +7 -0
- package/dist/profileForms-Y6ZBMZWQ.js +446 -0
- package/dist/profileForms-Y6ZBMZWQ.js.map +7 -0
- package/dist/profilePlot-SVI3QKMD.js +54 -0
- package/dist/proteinView-YPFJSBL7.js +1556 -0
- package/dist/proteinView-YPFJSBL7.js.map +7 -0
- package/dist/qualitative-AQFKAZID.js +43 -0
- package/dist/radar2-TTQZLARY.js +326 -0
- package/dist/radar2-TTQZLARY.js.map +7 -0
- package/dist/radarFacility2-YGS56QUA.js +334 -0
- package/dist/radarFacility2-YGS56QUA.js.map +7 -0
- package/dist/regression-DLPBCDZT.js +56 -0
- package/dist/regression.inputs-42LY4MEZ.js +48 -0
- package/dist/regression.inputs.term-TTUFFPG6.js +48 -0
- package/dist/regression.inputs.values.table-CJAPTSMS.js +45 -0
- package/dist/regression.integration.spec-UDA26OGS.js +784 -0
- package/dist/regression.results-IA3C7SHR.js +40 -0
- package/dist/regression.spec-HEXCL3QV.js +708 -0
- package/dist/report-4CFOWNPJ.js +222 -0
- package/dist/sampleScatter.spec-N6V4BQ5Q.js +202 -0
- package/dist/sampleView-CZF7U23I.js +48 -0
- package/dist/samplelst-XUGDS5TU.js +111 -0
- package/dist/samplematrix-R5PZLZDE.js +2198 -0
- package/dist/sc-WTZZA5J5.js +86 -0
- package/dist/scatter-EY7HQVCO.js +851 -0
- package/dist/scatter-EY7HQVCO.js.map +7 -0
- package/dist/scatter.integration.spec-CRMLFO4J.js +1206 -0
- package/dist/scatter.integration.spec-CRMLFO4J.js.map +7 -0
- package/dist/selectGenomeWithTklst-2S2MXVCI.js +134 -0
- package/dist/singleCellCellType-LJWFG7MY.js +38 -0
- package/dist/singleCellCellType.unit.spec-RGN2XVUR.js +160 -0
- package/dist/singleCellGeneExpression-IW2QXTTU.js +38 -0
- package/dist/singleCellGeneExpression.unit.spec-4PO3Q7TM.js +153 -0
- package/dist/singleCellPlot-6EZ6JXCM.js +54 -0
- package/dist/singlecell-3LFPQ6KO.js +86 -0
- package/dist/singlecell-NTTAVVMR.js +1572 -0
- package/dist/snp-XB4IBG4Z.js +38 -0
- package/dist/snp.unit.spec-HAJPM53L.js +176 -0
- package/dist/snplocus-HE6TITSX.js +208 -0
- package/dist/spliceevent.a53ss.diagram-TCZMBMD7.js +151 -0
- package/dist/spliceevent.exonskip.diagram-VESOF6UC.js +277 -0
- package/dist/spliceevent.noeventdiagram-4K7FMO4F.js +460 -0
- package/dist/ssGSEA-2XYMX36P.js +38 -0
- package/dist/ssGSEA.unit.spec-J36KM2HO.js +88 -0
- package/dist/summarizeCnvGeneexp-LYVDZXXD.js +163 -0
- package/dist/summarizeGeneexpSurvival-Y52TGAHF.js +108 -0
- package/dist/summarizeMutationCnv-6EEJT3PV.js +164 -0
- package/dist/summarizeMutationDiagnosis-HZKXHOOQ.js +40 -0
- package/dist/summarizeMutationSurvival-TU7TQYFQ.js +99 -0
- package/dist/summary-4QQZUAMU.js +49 -0
- package/dist/summary.integration.spec-SLIIM4HN.js +414 -0
- package/dist/summaryInput-6HROPKCE.js +235 -0
- package/dist/sunburst-MBJJPERL.js +284 -0
- package/dist/survival-CXLMQSV2.js +58 -0
- package/dist/survival-QSL2KDKD.js +46 -0
- package/dist/survival.integration.spec-EUAAALVW.js +821 -0
- package/dist/svgraph-JM5MHQDX.js +1387 -0
- package/dist/svmr-MCMST2FL.js +3842 -0
- package/dist/table-MVX3IMAL.js +200 -0
- package/dist/termCollection-FZ2SCVA7.js +38 -0
- package/dist/termCollection-IGC7REFK.js +179 -0
- package/dist/termCollection.unit.spec-VY2EZZIP.js +208 -0
- package/dist/tk-5F3TWZ2G.js +46 -0
- package/dist/tp.ui-IURWTMAS.js +1459 -0
- package/dist/tvs.dt-BPZCFPYK.js +39 -0
- package/dist/tvs.dtcnv.categorical-UFS62DTR.js +40 -0
- package/dist/tvs.dtcnv.continuous-R6YXNNLA.js +72 -0
- package/dist/tvs.dtfusion-FGXXS4XX.js +40 -0
- package/dist/tvs.dtsnvindel-DR43K7X3.js +40 -0
- package/dist/tvs.dtsv-NO34GIOL.js +40 -0
- package/dist/tvs.numeric-KYAU5OV3.js +21 -0
- package/dist/tvs.samplelst-2QP7IV2Y.js +104 -0
- package/dist/tvs.termCollection-UEJDG22G.js +159 -0
- package/dist/violin-NBZTGGYF.js +46 -0
- package/dist/violin.integration.spec-5CLYJSAR.js +1425 -0
- package/dist/violin.interactivity-KXVKTT22.js +38 -0
- package/dist/violin.renderer-37OF6K7Q.js +40 -0
- package/dist/vocabulary-GR6J3VKW.js +41 -0
- package/package.json +3 -3
- package/dist/2dmaf-Z3D2M3FB.js +0 -1373
- package/dist/AIProjectAdmin-2OQOQXH4.js +0 -956
- package/dist/AIProjectAdmin-2OQOQXH4.js.map +0 -7
- package/dist/AppHeader-PXLGVCVS.js +0 -835
- package/dist/BoxPlot-PUZKHACO.js +0 -1211
- package/dist/BoxPlot-PUZKHACO.js.map +0 -7
- package/dist/CorrelationVolcano-RO6CFLZA.js +0 -619
- package/dist/DE-CCA5SBJG.js +0 -95
- package/dist/DEinput-MRUQW6X6.js +0 -301
- package/dist/DifferentialAnalysis-5YQQLJKR.js +0 -245
- package/dist/Disco-4FTOJBLG.js +0 -3237
- package/dist/Disco-4FTOJBLG.js.map +0 -7
- package/dist/Disco.UI-IWVSK3RN.js +0 -245
- package/dist/Disco.UI-IWVSK3RN.js.map +0 -7
- package/dist/DmrPlot-FPJJHTM5.js +0 -642
- package/dist/GB-H6JETPRC.js +0 -1130
- package/dist/GeneExpInput-Q42COANS.js +0 -366
- package/dist/GeneExpInput-Q42COANS.js.map +0 -7
- package/dist/HicApp-BBD2YOMT.js +0 -2250
- package/dist/NumBinaryEditor-WMSF7HIO.js +0 -271
- package/dist/NumBinaryEditor.unit.spec-QQATLHF7.js +0 -286
- package/dist/NumContEditor-4CSTHVRX.js +0 -109
- package/dist/NumContEditor.unit.spec-2YF3OS3A.js +0 -169
- package/dist/NumCustomBinEditor-KFAYUWYV.js +0 -38
- package/dist/NumCustomBinEditor.unit.spec-YHAUSGPN.js +0 -284
- package/dist/NumDiscreteEditor-F46H5CME.js +0 -179
- package/dist/NumDiscreteEditor.unit.spec-5BIAWAVN.js +0 -202
- package/dist/NumRegularBinEditor-G7KOA7NR.js +0 -38
- package/dist/NumRegularBinEditor.unit.spec-Y6CBCWLN.js +0 -227
- package/dist/NumSplineEditor-JP2V2L4Y.js +0 -198
- package/dist/NumSplineEditor.unit.spec-N34QBZN3.js +0 -199
- package/dist/NumericDensity-JOPHLURB.js +0 -38
- package/dist/NumericDensity.unit.spec-N45PCLOT.js +0 -221
- package/dist/NumericHandler-SIM4E2Z5.js +0 -39
- package/dist/NumericHandler.unit.spec-NKLYDVTG.js +0 -219
- package/dist/ProteomeInput-5KMNE3PZ.js +0 -396
- package/dist/RunChart2-N7AZVQXJ.js +0 -758
- package/dist/SC-M6RGALZM.js +0 -936
- package/dist/SC-M6RGALZM.js.map +0 -7
- package/dist/Volcano-YH4RJTT5.js +0 -1379
- package/dist/WSIViewer-7LOVM3AU.js +0 -48508
- package/dist/WSIViewer-7LOVM3AU.js.map +0 -7
- package/dist/WsiSamplesPlot-QPPB7OOD.js +0 -165
- package/dist/adSandbox-R2QP74P7.js +0 -38
- package/dist/app-AIIN4WDE.js +0 -37
- package/dist/app-FJT5VXMF.js +0 -49
- package/dist/bam-QBO22VQB.js +0 -860
- package/dist/barchart-VDOP6FQU.js +0 -47
- package/dist/barchart.data-Z2E72EET.js +0 -22
- package/dist/barchart.events-NUYQBI5S.js +0 -47
- package/dist/barchart.integration.spec-COVZPXMH.js +0 -1980
- package/dist/barchart2-KMSU4ROO.js +0 -311
- package/dist/barchart2-KMSU4ROO.js.map +0 -7
- package/dist/bars.renderer-JHCZDSM6.js +0 -12
- package/dist/block-TTN2IQAH.js +0 -6202
- package/dist/block-TTN2IQAH.js.map +0 -7
- package/dist/block.init-RRHHCNSR.js +0 -38
- package/dist/block.mds.expressionrank-7NWBRUII.js +0 -359
- package/dist/block.mds.geneboxplot-4BAJJWCC.js +0 -828
- package/dist/block.mds.junction-XRUIHAF5.js +0 -1545
- package/dist/block.mds.svcnv-YZ7PL733.js +0 -6801
- package/dist/block.svg-FUMP2J7A.js +0 -164
- package/dist/block.tk.aicheck-AIZEND45.js +0 -283
- package/dist/block.tk.ase-H26PKO5U.js +0 -365
- package/dist/block.tk.bam-XNZFHSDQ.js +0 -1906
- package/dist/block.tk.bedgraphdot-QTDBLBO2.js +0 -384
- package/dist/block.tk.bigwig.ui-OSRCPTQC.js +0 -212
- package/dist/block.tk.hicstraw-7GH6LVIH.js +0 -823
- package/dist/block.tk.junction-AJYML4AW.js +0 -2364
- package/dist/block.tk.junction.textmatrixui-4RIH3EZI.js +0 -199
- package/dist/block.tk.ld-AJYQ4C6T.js +0 -99
- package/dist/block.tk.menu-57OP5UW5.js +0 -1029
- package/dist/block.tk.pgv-XO7HP5MM.js +0 -944
- package/dist/brainImaging-65QDNR4D.js +0 -423
- package/dist/chunk-2XCUERHJ.js +0 -102
- package/dist/chunk-322QC6R4.js +0 -222
- package/dist/chunk-35SCELN4.js +0 -217
- package/dist/chunk-36EHIPV4.js +0 -514
- package/dist/chunk-3SZ6GKLB.js +0 -14
- package/dist/chunk-3ZLJDFJU.js +0 -368
- package/dist/chunk-4DXZGZOB.js +0 -54
- package/dist/chunk-4UWS5Y3N.js +0 -1438
- package/dist/chunk-4UWS5Y3N.js.map +0 -7
- package/dist/chunk-54EMVNPW.js +0 -102
- package/dist/chunk-57RBC6IZ.js +0 -302
- package/dist/chunk-5OUTR67M.js +0 -37
- package/dist/chunk-67DBIM6H.js +0 -293
- package/dist/chunk-67DBIM6H.js.map +0 -7
- package/dist/chunk-6A3IPDE2.js +0 -1943
- package/dist/chunk-6GN7X6LU.js +0 -2681
- package/dist/chunk-72X7LSBN.js +0 -54
- package/dist/chunk-74ZU4BT6.js +0 -2824
- package/dist/chunk-74ZU4BT6.js.map +0 -7
- package/dist/chunk-7EMWHCVW.js +0 -1825
- package/dist/chunk-7FACFCZK.js +0 -226
- package/dist/chunk-7XFGYYRV.js +0 -371
- package/dist/chunk-7XFGYYRV.js.map +0 -7
- package/dist/chunk-B6CSYKZJ.js +0 -1275
- package/dist/chunk-BDIKFVWZ.js +0 -443
- package/dist/chunk-BDIKFVWZ.js.map +0 -7
- package/dist/chunk-BWGU5NJS.js +0 -291
- package/dist/chunk-C5ZMAQXQ.js +0 -1173
- package/dist/chunk-C5ZMAQXQ.js.map +0 -7
- package/dist/chunk-CC3GFVV6.js +0 -117
- package/dist/chunk-CXQ6KS3Z.js +0 -1348
- package/dist/chunk-CXQ6KS3Z.js.map +0 -7
- package/dist/chunk-DCH54HC5.js +0 -824
- package/dist/chunk-DCH54HC5.js.map +0 -7
- package/dist/chunk-DD4R5P6W.js +0 -177
- package/dist/chunk-DKVUOBIE.js +0 -203
- package/dist/chunk-DR6H3QAA.js +0 -399
- package/dist/chunk-EH4NQ7C4.js +0 -170
- package/dist/chunk-EVN6KWPN.js +0 -50
- package/dist/chunk-FFEIP5CT.js +0 -458
- package/dist/chunk-FFEIP5CT.js.map +0 -7
- package/dist/chunk-FJP77STI.js +0 -158
- package/dist/chunk-FJP77STI.js.map +0 -7
- package/dist/chunk-G6O3URDN.js +0 -467
- package/dist/chunk-GNIK4JYM.js +0 -534
- package/dist/chunk-HKSNADSX.js +0 -477
- package/dist/chunk-I5RAQKKJ.js +0 -129
- package/dist/chunk-IW57W7EQ.js +0 -1210
- package/dist/chunk-IW57W7EQ.js.map +0 -7
- package/dist/chunk-J4SOF2ZH.js +0 -263
- package/dist/chunk-KPJZBCVI.js +0 -272
- package/dist/chunk-KSGA62R2.js +0 -2878
- package/dist/chunk-LTOBEUM2.js +0 -98
- package/dist/chunk-MYF2BWKC.js +0 -205
- package/dist/chunk-MYF2BWKC.js.map +0 -7
- package/dist/chunk-N2SKTCDK.js +0 -148
- package/dist/chunk-NGM3ZLIP.js +0 -230
- package/dist/chunk-NOEAT6CX.js +0 -317
- package/dist/chunk-NOEAT6CX.js.map +0 -7
- package/dist/chunk-NSXZPWRP.js +0 -482
- package/dist/chunk-O3JB4PIX.js +0 -31
- package/dist/chunk-OAWQ6LOO.js +0 -2063
- package/dist/chunk-OAWQ6LOO.js.map +0 -7
- package/dist/chunk-ODG6RD7P.js +0 -254
- package/dist/chunk-OEDZHPBJ.js +0 -58
- package/dist/chunk-ORL44TIK.js +0 -386
- package/dist/chunk-P3IENRWJ.js +0 -613
- package/dist/chunk-P3IENRWJ.js.map +0 -7
- package/dist/chunk-PCZNTK74.js +0 -26
- package/dist/chunk-QH6W3NVF.js +0 -287
- package/dist/chunk-QNETLNPB.js +0 -343
- package/dist/chunk-QQZ3SBF3.js +0 -216
- package/dist/chunk-R2MMURGK.js +0 -2786
- package/dist/chunk-SA7APTJR.js +0 -20792
- package/dist/chunk-SA7APTJR.js.map +0 -7
- package/dist/chunk-SHWLROJG.js +0 -283
- package/dist/chunk-SKREEF3H.js +0 -184
- package/dist/chunk-SKREEF3H.js.map +0 -7
- package/dist/chunk-TOU7EVFQ.js +0 -396
- package/dist/chunk-TOU7EVFQ.js.map +0 -7
- package/dist/chunk-UGVNZMLU.js +0 -4274
- package/dist/chunk-UGVNZMLU.js.map +0 -7
- package/dist/chunk-UI7OCM2A.js +0 -815
- package/dist/chunk-UJKW42DI.js +0 -6364
- package/dist/chunk-ULPMYS5B.js +0 -100
- package/dist/chunk-UOVALHAJ.js +0 -182
- package/dist/chunk-VGJSASRT.js +0 -446
- package/dist/chunk-VGYTAYFK.js +0 -276
- package/dist/chunk-VHOEJBFP.js +0 -736
- package/dist/chunk-VOUMS6IP.js +0 -1102
- package/dist/chunk-VV36JRUF.js +0 -381
- package/dist/chunk-W55XSG6K.js +0 -142
- package/dist/chunk-W6ME65LV.js +0 -34
- package/dist/chunk-WHI6466S.js +0 -146
- package/dist/chunk-WSDUD52Y.js +0 -55
- package/dist/chunk-XAVNZNXQ.js +0 -95
- package/dist/chunk-XMLURPEP.js +0 -194
- package/dist/chunk-YKXUK7HJ.js +0 -5041
- package/dist/chunk-YKXUK7HJ.js.map +0 -7
- package/dist/chunk-YZK37YCC.js +0 -119
- package/dist/chunk-ZTYNN6G5.js +0 -2327
- package/dist/chunk-ZXTHADSC.js +0 -158
- package/dist/condition-HDVYPJJD.js +0 -332
- package/dist/controls-YEEW46C6.js +0 -41
- package/dist/controls.config-C535H5DL.js +0 -39
- package/dist/correlation-AOSSSSL3.js +0 -99
- package/dist/correlation-AOSSSSL3.js.map +0 -7
- package/dist/cuminc-II7NFIFP.js +0 -1149
- package/dist/cuminc.integration.spec-B4N6OMBJ.js +0 -678
- package/dist/customdata.inputui-AI4ZBIEP.js +0 -289
- package/dist/dataDownload-ZQYLXN6D.js +0 -330
- package/dist/dataDownload.integration.spec-2PKYZ2AY.js +0 -193
- package/dist/databrowser.ui-WGD7D3XV.js +0 -433
- package/dist/dictionary-RYM4WP2W.js +0 -111
- package/dist/dictionary-RYM4WP2W.js.map +0 -7
- package/dist/dnaMethylation-WGJMJL5B.js +0 -38
- package/dist/dnaMethylation.integration.spec-DO3PV4MO.js +0 -203
- package/dist/dofetch-RADX3AFU.js +0 -51
- package/dist/e2pca-KOAAU2JX.js +0 -350
- package/dist/ep-CXCATXYH.js +0 -1256
- package/dist/expclust.gdc.spec-UJO2R3CW.js +0 -307
- package/dist/facet-2FBUAD7P.js +0 -521
- package/dist/forms2-ZBT5BZW3.js +0 -534
- package/dist/forms2-ZBT5BZW3.js.map +0 -7
- package/dist/gb-VCJFV63W.js +0 -88
- package/dist/geneExpClustering-FUNS6D2P.js +0 -249
- package/dist/geneExpression-2BWWGYL4.js +0 -38
- package/dist/geneExpression-2OPFWV2K.js +0 -313
- package/dist/geneExpression.unit.spec-G7BSHJQT.js +0 -102
- package/dist/geneORA-S3KQMBYL.js +0 -278
- package/dist/geneRanking-UZ36XAL7.js +0 -551
- package/dist/geneVariant-OOZ2SBXO.js +0 -41
- package/dist/geneVariant-ZHNVEKQ6.js +0 -39
- package/dist/geneVariant.integration.spec-2C7EWKEV.js +0 -198
- package/dist/genefusion.ui-ASICJNII.js +0 -309
- package/dist/geneset-SNM4M6UM.js +0 -208
- package/dist/genomeBrowser.spec-DJIRW2X7.js +0 -281
- package/dist/grin2-7AOJP5QJ.js +0 -1560
- package/dist/grin2-RKJXYWJ5.js +0 -821
- package/dist/grin2-RKJXYWJ5.js.map +0 -7
- package/dist/gsea-SPTQJW67.js +0 -47
- package/dist/hierCluster-KDE5SMYP.js +0 -63
- package/dist/hierCluster-XG4YLVL3.js +0 -59
- package/dist/hierCluster.config-VNEEJCKJ.js +0 -40
- package/dist/hierCluster.integration.spec-SSDN7LSH.js +0 -395
- package/dist/hierCluster.interactivity-DKBSJ644.js +0 -54
- package/dist/hierCluster.renderers-OG6LZAT7.js +0 -21
- package/dist/imagePlot-M5JSHEY4.js +0 -163
- package/dist/importPlot-YH7ZY6RJ.js +0 -8
- package/dist/isoformExpression-EV27MKYZ.js +0 -40
- package/dist/isoformExpression.unit.spec-7T2GOHH3.js +0 -208
- package/dist/launch.adhoc-NOISOX5E.js +0 -42
- package/dist/leftlabel.sample-42AX4KTV.js +0 -260
- package/dist/legacyDataset-SWJCAWIR.js +0 -119
- package/dist/lollipop-LQCQBTSX.js +0 -171
- package/dist/maf-U237OWZ3.js +0 -452
- package/dist/maftimeline-NLZLMHT2.js +0 -593
- package/dist/matrix-DZJXYRYN.js +0 -63
- package/dist/matrix-Y5345QQG.js +0 -58
- package/dist/matrix.cells-PT7S74QP.js +0 -28
- package/dist/matrix.config-2ORCUWKX.js +0 -41
- package/dist/matrix.data-C6VPQJJ4.js +0 -25
- package/dist/matrix.groups-CEOCG2CT.js +0 -27
- package/dist/matrix.integration.spec-U4B3JB6N.js +0 -3072
- package/dist/matrix.interactivity-GFLIFIER.js +0 -42
- package/dist/matrix.layout-DOVDHTDX.js +0 -44
- package/dist/matrix.legend-JE4ZSLP7.js +0 -22
- package/dist/matrix.renderers-GPUJQ7KF.js +0 -38
- package/dist/matrix.serieses-REE4DCSR.js +0 -21
- package/dist/matrix.sort-VD5URUWY.js +0 -27
- package/dist/matrix.sort.unit.spec-4IOFVHJN.js +0 -472
- package/dist/matrix.sorterUi-VQYY6KBK.js +0 -18
- package/dist/matrix.sorterUi.unit.spec-V5O2EJBX.js +0 -342
- package/dist/mavb-SQDA3B2B.js +0 -732
- package/dist/mds.fimo-ZJSEPLD7.js +0 -518
- package/dist/mds.samplescatterplot-Y5V73GOY.js +0 -1550
- package/dist/mds.survivalplot-CZBRMHYN.js +0 -483
- package/dist/numericDictTermCluster-TFXBBUVI.js +0 -72
- package/dist/oncomatrix-ZILACPPI.js +0 -295
- package/dist/oncomatrix.spec-RLIVVVD6.js +0 -448
- package/dist/plot.2dvaf-BNRZPIKU.js +0 -377
- package/dist/plot.app-NRUARQCN.js +0 -41
- package/dist/plot.barplot-342AYQC7.js +0 -102
- package/dist/plot.boxplot-OHEJDPTW.js +0 -152
- package/dist/plot.brainImaging-KV72PAON.js +0 -51
- package/dist/plot.disco-OUE4RFHL.js +0 -102
- package/dist/plot.dzi-T3GPUH36.js +0 -33
- package/dist/plot.ssgq-WJHGMXW5.js +0 -139
- package/dist/plot.vaf2cov-NGD5PCV4.js +0 -259
- package/dist/plot.wsi-2MU5BDG3.js +0 -36
- package/dist/polar2-YCWPBPFU.js +0 -226
- package/dist/polar2-YCWPBPFU.js.map +0 -7
- package/dist/profileForms-OV3I6RK7.js +0 -441
- package/dist/profileForms-OV3I6RK7.js.map +0 -7
- package/dist/profilePlot-OMVO3K4H.js +0 -54
- package/dist/proteinView-OAR2RC6U.js +0 -1320
- package/dist/proteinView-OAR2RC6U.js.map +0 -7
- package/dist/qualitative-MEYBRUC6.js +0 -43
- package/dist/radar2-KREAMGVV.js +0 -321
- package/dist/radar2-KREAMGVV.js.map +0 -7
- package/dist/radarFacility2-DBPEV7VC.js +0 -329
- package/dist/radarFacility2-DBPEV7VC.js.map +0 -7
- package/dist/regression-ZPDPLI6G.js +0 -56
- package/dist/regression.inputs-QOSBAGL6.js +0 -48
- package/dist/regression.inputs.term-HMUMPY7X.js +0 -48
- package/dist/regression.inputs.values.table-VMCTZHLG.js +0 -45
- package/dist/regression.integration.spec-RP74JTAA.js +0 -784
- package/dist/regression.results-5XC6M67C.js +0 -40
- package/dist/regression.spec-EZYM24J7.js +0 -708
- package/dist/report-ZOVQCOGQ.js +0 -222
- package/dist/sampleScatter.spec-CD52FEOC.js +0 -202
- package/dist/sampleView-SVTLSWRG.js +0 -48
- package/dist/samplelst-HXF5POJD.js +0 -111
- package/dist/samplematrix-NYDAH74I.js +0 -2198
- package/dist/sc-JIDT4W4K.js +0 -86
- package/dist/scatter-WNRTPSEE.js +0 -849
- package/dist/scatter-WNRTPSEE.js.map +0 -7
- package/dist/scatter.integration.spec-3EYTPY5B.js +0 -1197
- package/dist/scatter.integration.spec-3EYTPY5B.js.map +0 -7
- package/dist/selectGenomeWithTklst-OSB7B6L3.js +0 -134
- package/dist/singleCellCellType-3BH7LWQ6.js +0 -38
- package/dist/singleCellCellType.unit.spec-RU4RJXFF.js +0 -160
- package/dist/singleCellGeneExpression-3UA4YER7.js +0 -38
- package/dist/singleCellGeneExpression.unit.spec-4ZTBG37H.js +0 -153
- package/dist/singleCellPlot-ZUAWK5RE.js +0 -54
- package/dist/singlecell-BGJZB7MF.js +0 -86
- package/dist/singlecell-RO3BL5OO.js +0 -1572
- package/dist/snp-HD7VQKBR.js +0 -38
- package/dist/snp.unit.spec-ISXCLMWW.js +0 -176
- package/dist/snplocus-IL5Z4XWV.js +0 -208
- package/dist/spliceevent.a53ss.diagram-LLJSPV7M.js +0 -151
- package/dist/spliceevent.exonskip.diagram-LAOIOIST.js +0 -277
- package/dist/spliceevent.noeventdiagram-MVA7Q3HT.js +0 -460
- package/dist/ssGSEA-7T6S3DSE.js +0 -38
- package/dist/ssGSEA.unit.spec-XJ3W4NWX.js +0 -88
- package/dist/summarizeCnvGeneexp-RRP6JUV6.js +0 -163
- package/dist/summarizeGeneexpSurvival-AFLHDD6Q.js +0 -108
- package/dist/summarizeMutationCnv-NABUYHMX.js +0 -164
- package/dist/summarizeMutationDiagnosis-2LQ7JU3K.js +0 -40
- package/dist/summarizeMutationSurvival-3WBT5TXG.js +0 -99
- package/dist/summary-FRDKOFXW.js +0 -49
- package/dist/summary.integration.spec-ZLRIA7G2.js +0 -414
- package/dist/summaryInput-4JO6MHP4.js +0 -235
- package/dist/sunburst-DRCVSC2X.js +0 -284
- package/dist/survival-AK75COPY.js +0 -58
- package/dist/survival-IF5NI3A6.js +0 -46
- package/dist/survival.integration.spec-7IWBTPJG.js +0 -821
- package/dist/svgraph-QBDF2SLB.js +0 -1387
- package/dist/svmr-O4GJJUT2.js +0 -3842
- package/dist/table-FQAIXKLE.js +0 -200
- package/dist/termCollection-GMDDL3L7.js +0 -179
- package/dist/termCollection-ZO5PZ7E3.js +0 -38
- package/dist/termCollection.unit.spec-5JBCTXHX.js +0 -208
- package/dist/tk-GJX23IV7.js +0 -46
- package/dist/tp.ui-T7FVMTGQ.js +0 -1459
- package/dist/tvs.dt-X7L7NSU6.js +0 -39
- package/dist/tvs.dtcnv.categorical-73G2V6CH.js +0 -40
- package/dist/tvs.dtcnv.continuous-DWFJL3X7.js +0 -72
- package/dist/tvs.dtfusion-HQADHCSV.js +0 -40
- package/dist/tvs.dtsnvindel-PY5OBMGW.js +0 -40
- package/dist/tvs.dtsv-OTBEEWSW.js +0 -40
- package/dist/tvs.numeric-WGDHEBJV.js +0 -21
- package/dist/tvs.samplelst-LCXSU5MG.js +0 -104
- package/dist/tvs.termCollection-L527XN4X.js +0 -159
- package/dist/violin-6VKRUQV3.js +0 -46
- package/dist/violin.integration.spec-RJATDLQH.js +0 -1425
- package/dist/violin.interactivity-SKF5H7MN.js +0 -38
- package/dist/violin.renderer-GB4TPX3B.js +0 -40
- package/dist/vocabulary-D3W44IWE.js +0 -41
- /package/dist/{2dmaf-Z3D2M3FB.js.map → 2dmaf-BNMEUJVM.js.map} +0 -0
- /package/dist/{AppHeader-PXLGVCVS.js.map → AppHeader-RXDJBHXZ.js.map} +0 -0
- /package/dist/{CorrelationVolcano-RO6CFLZA.js.map → CorrelationVolcano-V2E566XL.js.map} +0 -0
- /package/dist/{DE-CCA5SBJG.js.map → DE-7YUZSW4E.js.map} +0 -0
- /package/dist/{DEinput-MRUQW6X6.js.map → DEinput-P2HOQC4Z.js.map} +0 -0
- /package/dist/{DifferentialAnalysis-5YQQLJKR.js.map → DifferentialAnalysis-2Z6BHS7A.js.map} +0 -0
- /package/dist/{DmrPlot-FPJJHTM5.js.map → DmrPlot-OEJRGNI3.js.map} +0 -0
- /package/dist/{GB-H6JETPRC.js.map → GB-2GHDD3MW.js.map} +0 -0
- /package/dist/{HicApp-BBD2YOMT.js.map → HicApp-CAYC4DPO.js.map} +0 -0
- /package/dist/{NumBinaryEditor-WMSF7HIO.js.map → NumBinaryEditor-EUOYSGPM.js.map} +0 -0
- /package/dist/{NumBinaryEditor.unit.spec-QQATLHF7.js.map → NumBinaryEditor.unit.spec-5B3W4B4F.js.map} +0 -0
- /package/dist/{NumContEditor-4CSTHVRX.js.map → NumContEditor-7KK6CIB3.js.map} +0 -0
- /package/dist/{NumContEditor.unit.spec-2YF3OS3A.js.map → NumContEditor.unit.spec-IMKGVYFZ.js.map} +0 -0
- /package/dist/{NumCustomBinEditor-KFAYUWYV.js.map → NumCustomBinEditor-PDAF6I7B.js.map} +0 -0
- /package/dist/{NumCustomBinEditor.unit.spec-YHAUSGPN.js.map → NumCustomBinEditor.unit.spec-IU3DPECJ.js.map} +0 -0
- /package/dist/{NumDiscreteEditor-F46H5CME.js.map → NumDiscreteEditor-YTKUHG6Z.js.map} +0 -0
- /package/dist/{NumDiscreteEditor.unit.spec-5BIAWAVN.js.map → NumDiscreteEditor.unit.spec-FUBS7Z7Z.js.map} +0 -0
- /package/dist/{NumRegularBinEditor-G7KOA7NR.js.map → NumRegularBinEditor-LU3KLBLY.js.map} +0 -0
- /package/dist/{NumRegularBinEditor.unit.spec-Y6CBCWLN.js.map → NumRegularBinEditor.unit.spec-2BKOHI7L.js.map} +0 -0
- /package/dist/{NumSplineEditor-JP2V2L4Y.js.map → NumSplineEditor-56RJ2HT2.js.map} +0 -0
- /package/dist/{NumSplineEditor.unit.spec-N34QBZN3.js.map → NumSplineEditor.unit.spec-PW6VUUBZ.js.map} +0 -0
- /package/dist/{NumericDensity-JOPHLURB.js.map → NumericDensity-EB4H54EF.js.map} +0 -0
- /package/dist/{NumericDensity.unit.spec-N45PCLOT.js.map → NumericDensity.unit.spec-LSEM4OEY.js.map} +0 -0
- /package/dist/{NumericHandler-SIM4E2Z5.js.map → NumericHandler-VGPDXP35.js.map} +0 -0
- /package/dist/{NumericHandler.unit.spec-NKLYDVTG.js.map → NumericHandler.unit.spec-NR3F7XHV.js.map} +0 -0
- /package/dist/{ProteomeInput-5KMNE3PZ.js.map → ProteomeInput-AUXWUIWK.js.map} +0 -0
- /package/dist/{RunChart2-N7AZVQXJ.js.map → RunChart2-SQ6TFOHD.js.map} +0 -0
- /package/dist/{Volcano-YH4RJTT5.js.map → Volcano-XHDH6UN7.js.map} +0 -0
- /package/dist/{WsiSamplesPlot-QPPB7OOD.js.map → WsiSamplesPlot-YUOAWG2A.js.map} +0 -0
- /package/dist/{adSandbox-R2QP74P7.js.map → adSandbox-VMMAL22L.js.map} +0 -0
- /package/dist/{app-AIIN4WDE.js.map → app-FX3KZ67X.js.map} +0 -0
- /package/dist/{app-FJT5VXMF.js.map → app-X7ZYEOZN.js.map} +0 -0
- /package/dist/{bam-QBO22VQB.js.map → bam-ZYLH4U5R.js.map} +0 -0
- /package/dist/{barchart-VDOP6FQU.js.map → barchart-MXSPTKV4.js.map} +0 -0
- /package/dist/{barchart.data-Z2E72EET.js.map → barchart.data-ZWF6EVJH.js.map} +0 -0
- /package/dist/{barchart.events-NUYQBI5S.js.map → barchart.events-XON2ANOC.js.map} +0 -0
- /package/dist/{barchart.integration.spec-COVZPXMH.js.map → barchart.integration.spec-PJIENJGT.js.map} +0 -0
- /package/dist/{bars.renderer-JHCZDSM6.js.map → bars.renderer-57KSYAAT.js.map} +0 -0
- /package/dist/{block.init-RRHHCNSR.js.map → block.init-IJBRPZNM.js.map} +0 -0
- /package/dist/{block.mds.expressionrank-7NWBRUII.js.map → block.mds.expressionrank-3DANCP7E.js.map} +0 -0
- /package/dist/{block.mds.geneboxplot-4BAJJWCC.js.map → block.mds.geneboxplot-CRGSCZMG.js.map} +0 -0
- /package/dist/{block.mds.junction-XRUIHAF5.js.map → block.mds.junction-4UIH2ZYN.js.map} +0 -0
- /package/dist/{block.mds.svcnv-YZ7PL733.js.map → block.mds.svcnv-NF4UIRR2.js.map} +0 -0
- /package/dist/{block.svg-FUMP2J7A.js.map → block.svg-AIZ47JCQ.js.map} +0 -0
- /package/dist/{block.tk.aicheck-AIZEND45.js.map → block.tk.aicheck-7HZFGE63.js.map} +0 -0
- /package/dist/{block.tk.ase-H26PKO5U.js.map → block.tk.ase-U3VNPZEA.js.map} +0 -0
- /package/dist/{block.tk.bam-XNZFHSDQ.js.map → block.tk.bam-4TQ7P2OX.js.map} +0 -0
- /package/dist/{block.tk.bedgraphdot-QTDBLBO2.js.map → block.tk.bedgraphdot-MYHKKO6K.js.map} +0 -0
- /package/dist/{block.tk.bigwig.ui-OSRCPTQC.js.map → block.tk.bigwig.ui-E3YVGIDN.js.map} +0 -0
- /package/dist/{block.tk.hicstraw-7GH6LVIH.js.map → block.tk.hicstraw-Y4XOMG7T.js.map} +0 -0
- /package/dist/{block.tk.junction-AJYML4AW.js.map → block.tk.junction-T5C7LK6F.js.map} +0 -0
- /package/dist/{block.tk.junction.textmatrixui-4RIH3EZI.js.map → block.tk.junction.textmatrixui-Z3ACCVXH.js.map} +0 -0
- /package/dist/{block.tk.ld-AJYQ4C6T.js.map → block.tk.ld-Y5KDA5AU.js.map} +0 -0
- /package/dist/{block.tk.menu-57OP5UW5.js.map → block.tk.menu-EWRRISDY.js.map} +0 -0
- /package/dist/{block.tk.pgv-XO7HP5MM.js.map → block.tk.pgv-3JYGOZVQ.js.map} +0 -0
- /package/dist/{brainImaging-65QDNR4D.js.map → brainImaging-P3AF3C5N.js.map} +0 -0
- /package/dist/{chunk-7EMWHCVW.js.map → chunk-2JR7RPB6.js.map} +0 -0
- /package/dist/{chunk-72X7LSBN.js.map → chunk-3FVIDQOX.js.map} +0 -0
- /package/dist/{chunk-VGJSASRT.js.map → chunk-3K2O2NIH.js.map} +0 -0
- /package/dist/{chunk-6GN7X6LU.js.map → chunk-3RSJU6YM.js.map} +0 -0
- /package/dist/{chunk-W6ME65LV.js.map → chunk-3ZKD6C5S.js.map} +0 -0
- /package/dist/{chunk-XAVNZNXQ.js.map → chunk-46AEH34Z.js.map} +0 -0
- /package/dist/{chunk-UOVALHAJ.js.map → chunk-4CQVC6XL.js.map} +0 -0
- /package/dist/{chunk-QQZ3SBF3.js.map → chunk-5FXNI724.js.map} +0 -0
- /package/dist/{chunk-I5RAQKKJ.js.map → chunk-7PFRBGMN.js.map} +0 -0
- /package/dist/{chunk-VGYTAYFK.js.map → chunk-A4Z3CI24.js.map} +0 -0
- /package/dist/{chunk-YZK37YCC.js.map → chunk-AI2LUQS6.js.map} +0 -0
- /package/dist/{chunk-UJKW42DI.js.map → chunk-AJYJW4LX.js.map} +0 -0
- /package/dist/{chunk-DD4R5P6W.js.map → chunk-BKPDYW5T.js.map} +0 -0
- /package/dist/{chunk-5OUTR67M.js.map → chunk-BMS32SNA.js.map} +0 -0
- /package/dist/{chunk-BWGU5NJS.js.map → chunk-CJPGYPI3.js.map} +0 -0
- /package/dist/{chunk-O3JB4PIX.js.map → chunk-CTQH7LQ6.js.map} +0 -0
- /package/dist/{chunk-DKVUOBIE.js.map → chunk-D5CVYITI.js.map} +0 -0
- /package/dist/{chunk-HKSNADSX.js.map → chunk-DMSX5PSO.js.map} +0 -0
- /package/dist/{chunk-VOUMS6IP.js.map → chunk-E3JRW3T3.js.map} +0 -0
- /package/dist/{chunk-SHWLROJG.js.map → chunk-E574SMCX.js.map} +0 -0
- /package/dist/{chunk-LTOBEUM2.js.map → chunk-E76O5Z42.js.map} +0 -0
- /package/dist/{chunk-3SZ6GKLB.js.map → chunk-EEW443GL.js.map} +0 -0
- /package/dist/{chunk-6A3IPDE2.js.map → chunk-F2WPS7VY.js.map} +0 -0
- /package/dist/{chunk-322QC6R4.js.map → chunk-FYFX42YD.js.map} +0 -0
- /package/dist/{chunk-ORL44TIK.js.map → chunk-G6RZYGWY.js.map} +0 -0
- /package/dist/{chunk-VHOEJBFP.js.map → chunk-GTZV2UZV.js.map} +0 -0
- /package/dist/{chunk-W55XSG6K.js.map → chunk-H34LAFGH.js.map} +0 -0
- /package/dist/{chunk-J4SOF2ZH.js.map → chunk-I2R5O2XX.js.map} +0 -0
- /package/dist/{chunk-PCZNTK74.js.map → chunk-IEYDMN3H.js.map} +0 -0
- /package/dist/{chunk-N2SKTCDK.js.map → chunk-JWBP4ZZB.js.map} +0 -0
- /package/dist/{chunk-B6CSYKZJ.js.map → chunk-KVIH5JPC.js.map} +0 -0
- /package/dist/{chunk-57RBC6IZ.js.map → chunk-L5HCOTRF.js.map} +0 -0
- /package/dist/{chunk-XMLURPEP.js.map → chunk-LHKDLWG5.js.map} +0 -0
- /package/dist/{chunk-G6O3URDN.js.map → chunk-LQJMCE7G.js.map} +0 -0
- /package/dist/{chunk-WHI6466S.js.map → chunk-MNIBZTQE.js.map} +0 -0
- /package/dist/{chunk-CC3GFVV6.js.map → chunk-MP3DN6JK.js.map} +0 -0
- /package/dist/{chunk-R2MMURGK.js.map → chunk-N5OVBS5L.js.map} +0 -0
- /package/dist/{chunk-OEDZHPBJ.js.map → chunk-NEKAGDTL.js.map} +0 -0
- /package/dist/{chunk-4DXZGZOB.js.map → chunk-NPCNDM6Y.js.map} +0 -0
- /package/dist/{chunk-ULPMYS5B.js.map → chunk-NYN2WQN3.js.map} +0 -0
- /package/dist/{chunk-QNETLNPB.js.map → chunk-O6WL7USJ.js.map} +0 -0
- /package/dist/{chunk-3ZLJDFJU.js.map → chunk-OH5I6I2D.js.map} +0 -0
- /package/dist/{chunk-36EHIPV4.js.map → chunk-PTQ774XH.js.map} +0 -0
- /package/dist/{chunk-DR6H3QAA.js.map → chunk-PXOH4ZN2.js.map} +0 -0
- /package/dist/{chunk-54EMVNPW.js.map → chunk-QG4BJUM7.js.map} +0 -0
- /package/dist/{chunk-ZXTHADSC.js.map → chunk-RITTG5WN.js.map} +0 -0
- /package/dist/{chunk-KPJZBCVI.js.map → chunk-SMSFTTEO.js.map} +0 -0
- /package/dist/{chunk-EVN6KWPN.js.map → chunk-TBZKVKR4.js.map} +0 -0
- /package/dist/{chunk-KSGA62R2.js.map → chunk-TJYRBEBK.js.map} +0 -0
- /package/dist/{chunk-QH6W3NVF.js.map → chunk-TLTS33EY.js.map} +0 -0
- /package/dist/{chunk-VV36JRUF.js.map → chunk-TMM7BWW7.js.map} +0 -0
- /package/dist/{chunk-ZTYNN6G5.js.map → chunk-TTC4MNEM.js.map} +0 -0
- /package/dist/{chunk-7FACFCZK.js.map → chunk-UXIZYI3X.js.map} +0 -0
- /package/dist/{chunk-EH4NQ7C4.js.map → chunk-VIUATDO2.js.map} +0 -0
- /package/dist/{chunk-2XCUERHJ.js.map → chunk-VIUDFDN4.js.map} +0 -0
- /package/dist/{chunk-ODG6RD7P.js.map → chunk-W5OEFZCR.js.map} +0 -0
- /package/dist/{chunk-GNIK4JYM.js.map → chunk-WXSRK3XR.js.map} +0 -0
- /package/dist/{chunk-NGM3ZLIP.js.map → chunk-XHGMDBTS.js.map} +0 -0
- /package/dist/{chunk-WSDUD52Y.js.map → chunk-XVGS3QXS.js.map} +0 -0
- /package/dist/{chunk-NSXZPWRP.js.map → chunk-XYNYQMLH.js.map} +0 -0
- /package/dist/{chunk-35SCELN4.js.map → chunk-Y4JJMUWG.js.map} +0 -0
- /package/dist/{chunk-UI7OCM2A.js.map → chunk-Z457XQSX.js.map} +0 -0
- /package/dist/{condition-HDVYPJJD.js.map → condition-QXTOTGZX.js.map} +0 -0
- /package/dist/{controls-YEEW46C6.js.map → controls-7TDB75LK.js.map} +0 -0
- /package/dist/{controls.config-C535H5DL.js.map → controls.config-IBF5ILFP.js.map} +0 -0
- /package/dist/{cuminc-II7NFIFP.js.map → cuminc-CAHPKW7W.js.map} +0 -0
- /package/dist/{cuminc.integration.spec-B4N6OMBJ.js.map → cuminc.integration.spec-NNSQGBRI.js.map} +0 -0
- /package/dist/{customdata.inputui-AI4ZBIEP.js.map → customdata.inputui-RRTQK7OK.js.map} +0 -0
- /package/dist/{dataDownload-ZQYLXN6D.js.map → dataDownload-SOUCBKXM.js.map} +0 -0
- /package/dist/{dataDownload.integration.spec-2PKYZ2AY.js.map → dataDownload.integration.spec-C6TLWSSO.js.map} +0 -0
- /package/dist/{databrowser.ui-WGD7D3XV.js.map → databrowser.ui-KLFEU5QA.js.map} +0 -0
- /package/dist/{dnaMethylation-WGJMJL5B.js.map → dnaMethylation-WOKGG33W.js.map} +0 -0
- /package/dist/{dnaMethylation.integration.spec-DO3PV4MO.js.map → dnaMethylation.integration.spec-YUPP42UK.js.map} +0 -0
- /package/dist/{dofetch-RADX3AFU.js.map → dofetch-V7PLLWSO.js.map} +0 -0
- /package/dist/{e2pca-KOAAU2JX.js.map → e2pca-VT7EM4E3.js.map} +0 -0
- /package/dist/{ep-CXCATXYH.js.map → ep-X6B43UXE.js.map} +0 -0
- /package/dist/{expclust.gdc.spec-UJO2R3CW.js.map → expclust.gdc.spec-DTBFOXBC.js.map} +0 -0
- /package/dist/{facet-2FBUAD7P.js.map → facet-T5ZX7ZGV.js.map} +0 -0
- /package/dist/{gb-VCJFV63W.js.map → gb-TWXREZIP.js.map} +0 -0
- /package/dist/{geneExpClustering-FUNS6D2P.js.map → geneExpClustering-2G6YDCIN.js.map} +0 -0
- /package/dist/{geneExpression-2BWWGYL4.js.map → geneExpression-2A4ZPT7K.js.map} +0 -0
- /package/dist/{geneExpression-2OPFWV2K.js.map → geneExpression-ZHQH6SNA.js.map} +0 -0
- /package/dist/{geneExpression.unit.spec-G7BSHJQT.js.map → geneExpression.unit.spec-2M223S4P.js.map} +0 -0
- /package/dist/{geneORA-S3KQMBYL.js.map → geneORA-YLIRUMCZ.js.map} +0 -0
- /package/dist/{geneRanking-UZ36XAL7.js.map → geneRanking-JDJXNGEC.js.map} +0 -0
- /package/dist/{geneVariant-OOZ2SBXO.js.map → geneVariant-5ZIOT5BT.js.map} +0 -0
- /package/dist/{geneVariant-ZHNVEKQ6.js.map → geneVariant-GIXIMJ2I.js.map} +0 -0
- /package/dist/{geneVariant.integration.spec-2C7EWKEV.js.map → geneVariant.integration.spec-QCROW73S.js.map} +0 -0
- /package/dist/{genefusion.ui-ASICJNII.js.map → genefusion.ui-56UQLUKJ.js.map} +0 -0
- /package/dist/{geneset-SNM4M6UM.js.map → geneset-ACRMGBJO.js.map} +0 -0
- /package/dist/{genomeBrowser.spec-DJIRW2X7.js.map → genomeBrowser.spec-EDILOQON.js.map} +0 -0
- /package/dist/{grin2-7AOJP5QJ.js.map → grin2-5P7CYUT7.js.map} +0 -0
- /package/dist/{gsea-SPTQJW67.js.map → gsea-2PQ5HNNT.js.map} +0 -0
- /package/dist/{hierCluster-KDE5SMYP.js.map → hierCluster-H5HB7FPW.js.map} +0 -0
- /package/dist/{hierCluster-XG4YLVL3.js.map → hierCluster-L3LCP2II.js.map} +0 -0
- /package/dist/{hierCluster.config-VNEEJCKJ.js.map → hierCluster.config-6UIJWCND.js.map} +0 -0
- /package/dist/{hierCluster.integration.spec-SSDN7LSH.js.map → hierCluster.integration.spec-EVAPT2VF.js.map} +0 -0
- /package/dist/{hierCluster.interactivity-DKBSJ644.js.map → hierCluster.interactivity-7MW6ZT6O.js.map} +0 -0
- /package/dist/{hierCluster.renderers-OG6LZAT7.js.map → hierCluster.renderers-F34EVY5J.js.map} +0 -0
- /package/dist/{imagePlot-M5JSHEY4.js.map → imagePlot-RSFZ2OKD.js.map} +0 -0
- /package/dist/{importPlot-YH7ZY6RJ.js.map → importPlot-DQFWY5A7.js.map} +0 -0
- /package/dist/{isoformExpression-EV27MKYZ.js.map → isoformExpression-2KANPCBH.js.map} +0 -0
- /package/dist/{isoformExpression.unit.spec-7T2GOHH3.js.map → isoformExpression.unit.spec-6FSMHT4K.js.map} +0 -0
- /package/dist/{launch.adhoc-NOISOX5E.js.map → launch.adhoc-ZYTIRVIC.js.map} +0 -0
- /package/dist/{leftlabel.sample-42AX4KTV.js.map → leftlabel.sample-66U6MHPN.js.map} +0 -0
- /package/dist/{legacyDataset-SWJCAWIR.js.map → legacyDataset-TNIIJABK.js.map} +0 -0
- /package/dist/{lollipop-LQCQBTSX.js.map → lollipop-PJDUFWEY.js.map} +0 -0
- /package/dist/{maf-U237OWZ3.js.map → maf-DLJHCKHJ.js.map} +0 -0
- /package/dist/{maftimeline-NLZLMHT2.js.map → maftimeline-NK5QYJMJ.js.map} +0 -0
- /package/dist/{matrix-DZJXYRYN.js.map → matrix-7BFYR6QL.js.map} +0 -0
- /package/dist/{matrix-Y5345QQG.js.map → matrix-USAB2CHO.js.map} +0 -0
- /package/dist/{matrix.cells-PT7S74QP.js.map → matrix.cells-OTAXAJ4N.js.map} +0 -0
- /package/dist/{matrix.config-2ORCUWKX.js.map → matrix.config-AL4WSFZ7.js.map} +0 -0
- /package/dist/{matrix.data-C6VPQJJ4.js.map → matrix.data-BDHCSN2G.js.map} +0 -0
- /package/dist/{matrix.groups-CEOCG2CT.js.map → matrix.groups-MV2D2636.js.map} +0 -0
- /package/dist/{matrix.integration.spec-U4B3JB6N.js.map → matrix.integration.spec-DESORC2Y.js.map} +0 -0
- /package/dist/{matrix.interactivity-GFLIFIER.js.map → matrix.interactivity-H7EJW3P2.js.map} +0 -0
- /package/dist/{matrix.layout-DOVDHTDX.js.map → matrix.layout-7CAS2IBO.js.map} +0 -0
- /package/dist/{matrix.legend-JE4ZSLP7.js.map → matrix.legend-JDVG2JDF.js.map} +0 -0
- /package/dist/{matrix.renderers-GPUJQ7KF.js.map → matrix.renderers-PDR5FIBC.js.map} +0 -0
- /package/dist/{matrix.serieses-REE4DCSR.js.map → matrix.serieses-QVDS5HKK.js.map} +0 -0
- /package/dist/{matrix.sort-VD5URUWY.js.map → matrix.sort-HCK4CSTJ.js.map} +0 -0
- /package/dist/{matrix.sort.unit.spec-4IOFVHJN.js.map → matrix.sort.unit.spec-2GC4E26N.js.map} +0 -0
- /package/dist/{matrix.sorterUi-VQYY6KBK.js.map → matrix.sorterUi-XGBQOPG4.js.map} +0 -0
- /package/dist/{matrix.sorterUi.unit.spec-V5O2EJBX.js.map → matrix.sorterUi.unit.spec-BJQKDU2F.js.map} +0 -0
- /package/dist/{mavb-SQDA3B2B.js.map → mavb-6E6Z4LPK.js.map} +0 -0
- /package/dist/{mds.fimo-ZJSEPLD7.js.map → mds.fimo-5P2TK5U4.js.map} +0 -0
- /package/dist/{mds.samplescatterplot-Y5V73GOY.js.map → mds.samplescatterplot-KLKOD4AS.js.map} +0 -0
- /package/dist/{mds.survivalplot-CZBRMHYN.js.map → mds.survivalplot-SWQCOFIU.js.map} +0 -0
- /package/dist/{numericDictTermCluster-TFXBBUVI.js.map → numericDictTermCluster-WIVO33AV.js.map} +0 -0
- /package/dist/{oncomatrix-ZILACPPI.js.map → oncomatrix-SDUUQZCK.js.map} +0 -0
- /package/dist/{oncomatrix.spec-RLIVVVD6.js.map → oncomatrix.spec-YGQYIUDT.js.map} +0 -0
- /package/dist/{plot.2dvaf-BNRZPIKU.js.map → plot.2dvaf-K53KTP5W.js.map} +0 -0
- /package/dist/{plot.app-NRUARQCN.js.map → plot.app-FNJVWLPQ.js.map} +0 -0
- /package/dist/{plot.barplot-342AYQC7.js.map → plot.barplot-VTC3N6BR.js.map} +0 -0
- /package/dist/{plot.boxplot-OHEJDPTW.js.map → plot.boxplot-RJFGQSLA.js.map} +0 -0
- /package/dist/{plot.brainImaging-KV72PAON.js.map → plot.brainImaging-6KVNPPMT.js.map} +0 -0
- /package/dist/{plot.disco-OUE4RFHL.js.map → plot.disco-ZFH5RK6B.js.map} +0 -0
- /package/dist/{plot.dzi-T3GPUH36.js.map → plot.dzi-IA2SOFUD.js.map} +0 -0
- /package/dist/{plot.ssgq-WJHGMXW5.js.map → plot.ssgq-QARGQVKB.js.map} +0 -0
- /package/dist/{plot.vaf2cov-NGD5PCV4.js.map → plot.vaf2cov-2JUXYCPG.js.map} +0 -0
- /package/dist/{plot.wsi-2MU5BDG3.js.map → plot.wsi-C2DULA7U.js.map} +0 -0
- /package/dist/{profilePlot-OMVO3K4H.js.map → profilePlot-SVI3QKMD.js.map} +0 -0
- /package/dist/{qualitative-MEYBRUC6.js.map → qualitative-AQFKAZID.js.map} +0 -0
- /package/dist/{regression-ZPDPLI6G.js.map → regression-DLPBCDZT.js.map} +0 -0
- /package/dist/{regression.inputs-QOSBAGL6.js.map → regression.inputs-42LY4MEZ.js.map} +0 -0
- /package/dist/{regression.inputs.term-HMUMPY7X.js.map → regression.inputs.term-TTUFFPG6.js.map} +0 -0
- /package/dist/{regression.inputs.values.table-VMCTZHLG.js.map → regression.inputs.values.table-CJAPTSMS.js.map} +0 -0
- /package/dist/{regression.integration.spec-RP74JTAA.js.map → regression.integration.spec-UDA26OGS.js.map} +0 -0
- /package/dist/{regression.results-5XC6M67C.js.map → regression.results-IA3C7SHR.js.map} +0 -0
- /package/dist/{regression.spec-EZYM24J7.js.map → regression.spec-HEXCL3QV.js.map} +0 -0
- /package/dist/{report-ZOVQCOGQ.js.map → report-4CFOWNPJ.js.map} +0 -0
- /package/dist/{sampleScatter.spec-CD52FEOC.js.map → sampleScatter.spec-N6V4BQ5Q.js.map} +0 -0
- /package/dist/{sampleView-SVTLSWRG.js.map → sampleView-CZF7U23I.js.map} +0 -0
- /package/dist/{samplelst-HXF5POJD.js.map → samplelst-XUGDS5TU.js.map} +0 -0
- /package/dist/{samplematrix-NYDAH74I.js.map → samplematrix-R5PZLZDE.js.map} +0 -0
- /package/dist/{sc-JIDT4W4K.js.map → sc-WTZZA5J5.js.map} +0 -0
- /package/dist/{selectGenomeWithTklst-OSB7B6L3.js.map → selectGenomeWithTklst-2S2MXVCI.js.map} +0 -0
- /package/dist/{singleCellCellType-3BH7LWQ6.js.map → singleCellCellType-LJWFG7MY.js.map} +0 -0
- /package/dist/{singleCellCellType.unit.spec-RU4RJXFF.js.map → singleCellCellType.unit.spec-RGN2XVUR.js.map} +0 -0
- /package/dist/{singleCellGeneExpression-3UA4YER7.js.map → singleCellGeneExpression-IW2QXTTU.js.map} +0 -0
- /package/dist/{singleCellGeneExpression.unit.spec-4ZTBG37H.js.map → singleCellGeneExpression.unit.spec-4PO3Q7TM.js.map} +0 -0
- /package/dist/{singleCellPlot-ZUAWK5RE.js.map → singleCellPlot-6EZ6JXCM.js.map} +0 -0
- /package/dist/{singlecell-BGJZB7MF.js.map → singlecell-3LFPQ6KO.js.map} +0 -0
- /package/dist/{singlecell-RO3BL5OO.js.map → singlecell-NTTAVVMR.js.map} +0 -0
- /package/dist/{snp-HD7VQKBR.js.map → snp-XB4IBG4Z.js.map} +0 -0
- /package/dist/{snp.unit.spec-ISXCLMWW.js.map → snp.unit.spec-HAJPM53L.js.map} +0 -0
- /package/dist/{snplocus-IL5Z4XWV.js.map → snplocus-HE6TITSX.js.map} +0 -0
- /package/dist/{spliceevent.a53ss.diagram-LLJSPV7M.js.map → spliceevent.a53ss.diagram-TCZMBMD7.js.map} +0 -0
- /package/dist/{spliceevent.exonskip.diagram-LAOIOIST.js.map → spliceevent.exonskip.diagram-VESOF6UC.js.map} +0 -0
- /package/dist/{spliceevent.noeventdiagram-MVA7Q3HT.js.map → spliceevent.noeventdiagram-4K7FMO4F.js.map} +0 -0
- /package/dist/{ssGSEA-7T6S3DSE.js.map → ssGSEA-2XYMX36P.js.map} +0 -0
- /package/dist/{ssGSEA.unit.spec-XJ3W4NWX.js.map → ssGSEA.unit.spec-J36KM2HO.js.map} +0 -0
- /package/dist/{summarizeCnvGeneexp-RRP6JUV6.js.map → summarizeCnvGeneexp-LYVDZXXD.js.map} +0 -0
- /package/dist/{summarizeGeneexpSurvival-AFLHDD6Q.js.map → summarizeGeneexpSurvival-Y52TGAHF.js.map} +0 -0
- /package/dist/{summarizeMutationCnv-NABUYHMX.js.map → summarizeMutationCnv-6EEJT3PV.js.map} +0 -0
- /package/dist/{summarizeMutationDiagnosis-2LQ7JU3K.js.map → summarizeMutationDiagnosis-HZKXHOOQ.js.map} +0 -0
- /package/dist/{summarizeMutationSurvival-3WBT5TXG.js.map → summarizeMutationSurvival-TU7TQYFQ.js.map} +0 -0
- /package/dist/{summary-FRDKOFXW.js.map → summary-4QQZUAMU.js.map} +0 -0
- /package/dist/{summary.integration.spec-ZLRIA7G2.js.map → summary.integration.spec-SLIIM4HN.js.map} +0 -0
- /package/dist/{summaryInput-4JO6MHP4.js.map → summaryInput-6HROPKCE.js.map} +0 -0
- /package/dist/{sunburst-DRCVSC2X.js.map → sunburst-MBJJPERL.js.map} +0 -0
- /package/dist/{survival-AK75COPY.js.map → survival-CXLMQSV2.js.map} +0 -0
- /package/dist/{survival-IF5NI3A6.js.map → survival-QSL2KDKD.js.map} +0 -0
- /package/dist/{survival.integration.spec-7IWBTPJG.js.map → survival.integration.spec-EUAAALVW.js.map} +0 -0
- /package/dist/{svgraph-QBDF2SLB.js.map → svgraph-JM5MHQDX.js.map} +0 -0
- /package/dist/{svmr-O4GJJUT2.js.map → svmr-MCMST2FL.js.map} +0 -0
- /package/dist/{table-FQAIXKLE.js.map → table-MVX3IMAL.js.map} +0 -0
- /package/dist/{termCollection-ZO5PZ7E3.js.map → termCollection-FZ2SCVA7.js.map} +0 -0
- /package/dist/{termCollection-GMDDL3L7.js.map → termCollection-IGC7REFK.js.map} +0 -0
- /package/dist/{termCollection.unit.spec-5JBCTXHX.js.map → termCollection.unit.spec-VY2EZZIP.js.map} +0 -0
- /package/dist/{tk-GJX23IV7.js.map → tk-5F3TWZ2G.js.map} +0 -0
- /package/dist/{tp.ui-T7FVMTGQ.js.map → tp.ui-IURWTMAS.js.map} +0 -0
- /package/dist/{tvs.dt-X7L7NSU6.js.map → tvs.dt-BPZCFPYK.js.map} +0 -0
- /package/dist/{tvs.dtcnv.categorical-73G2V6CH.js.map → tvs.dtcnv.categorical-UFS62DTR.js.map} +0 -0
- /package/dist/{tvs.dtcnv.continuous-DWFJL3X7.js.map → tvs.dtcnv.continuous-R6YXNNLA.js.map} +0 -0
- /package/dist/{tvs.dtfusion-HQADHCSV.js.map → tvs.dtfusion-FGXXS4XX.js.map} +0 -0
- /package/dist/{tvs.dtsnvindel-PY5OBMGW.js.map → tvs.dtsnvindel-DR43K7X3.js.map} +0 -0
- /package/dist/{tvs.dtsv-OTBEEWSW.js.map → tvs.dtsv-NO34GIOL.js.map} +0 -0
- /package/dist/{tvs.numeric-WGDHEBJV.js.map → tvs.numeric-KYAU5OV3.js.map} +0 -0
- /package/dist/{tvs.samplelst-LCXSU5MG.js.map → tvs.samplelst-2QP7IV2Y.js.map} +0 -0
- /package/dist/{tvs.termCollection-L527XN4X.js.map → tvs.termCollection-UEJDG22G.js.map} +0 -0
- /package/dist/{violin-6VKRUQV3.js.map → violin-NBZTGGYF.js.map} +0 -0
- /package/dist/{violin.integration.spec-RJATDLQH.js.map → violin.integration.spec-5CLYJSAR.js.map} +0 -0
- /package/dist/{violin.interactivity-SKF5H7MN.js.map → violin.interactivity-KXVKTT22.js.map} +0 -0
- /package/dist/{violin.renderer-GB4TPX3B.js.map → violin.renderer-37OF6K7Q.js.map} +0 -0
- /package/dist/{vocabulary-D3W44IWE.js.map → vocabulary-GR6J3VKW.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-KUZPTJJO.js";
|
|
11
|
+
import "./chunk-HJ6L54YS.js";
|
|
12
|
+
import "./chunk-LSEFWW72.js";
|
|
13
|
+
import "./chunk-C4BCMAIK.js";
|
|
14
|
+
import {
|
|
15
|
+
Menu
|
|
16
|
+
} from "./chunk-HYOEWQ5P.js";
|
|
17
|
+
import "./chunk-HBW42TDT.js";
|
|
18
|
+
import "./chunk-LQJMCE7G.js";
|
|
19
|
+
import "./chunk-FN5XPUPH.js";
|
|
20
|
+
import "./chunk-IIT367QZ.js";
|
|
21
|
+
import "./chunk-RZGEKL77.js";
|
|
22
|
+
import "./chunk-Z457XQSX.js";
|
|
23
|
+
import "./chunk-AI2LUQS6.js";
|
|
24
|
+
import {
|
|
25
|
+
dofetch3
|
|
26
|
+
} from "./chunk-2JR7RPB6.js";
|
|
27
|
+
import "./chunk-7IYJZZQI.js";
|
|
28
|
+
import "./chunk-M3J4MINX.js";
|
|
29
|
+
import "./chunk-PF4DSFDR.js";
|
|
30
|
+
import "./chunk-TLTS33EY.js";
|
|
31
|
+
import "./chunk-2U2CP2Y2.js";
|
|
32
|
+
import "./chunk-ZF6HNVYD.js";
|
|
33
|
+
import "./chunk-BKPDYW5T.js";
|
|
34
|
+
import "./chunk-JNITUVXP.js";
|
|
35
|
+
import "./chunk-TJYRBEBK.js";
|
|
36
|
+
import {
|
|
37
|
+
axisRight
|
|
38
|
+
} from "./chunk-LOZEKOES.js";
|
|
39
|
+
import "./chunk-VQZ2Z5YU.js";
|
|
40
|
+
import {
|
|
41
|
+
linear
|
|
42
|
+
} from "./chunk-SOTB4FRE.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-4TQ7P2OX.js.map
|