@sjcrh/proteinpaint-client 2.205.0 → 2.206.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-5OYM4MXA.js +1367 -0
- package/dist/AggMatrixInput-4VTI4Y6E.js +277 -0
- package/dist/AggregateMatrix-K7SGNO63.js +41 -0
- package/dist/AppHeader-WU6TO2OZ.js +830 -0
- package/dist/BoxPlot-OW7U3XTF.js +1211 -0
- package/dist/CorrelationVolcano-B3JTTZHF.js +614 -0
- package/dist/Cuminc-AJEXWRU2.js +1219 -0
- package/dist/DE-2J7DSRPC.js +89 -0
- package/dist/DEinput-I7JWNOSD.js +499 -0
- package/dist/DM-NQ46YPGF.js +90 -0
- package/dist/DifferentialAnalysis-BFCQBX5J.js +237 -0
- package/dist/Disco-ZJLVQRTC.js +3389 -0
- package/dist/Disco.UI-AEDACXW2.js +243 -0
- package/dist/DmrPlot-QMRXAOM3.js +637 -0
- package/dist/GB-MFU2UJ22.js +1391 -0
- package/dist/GSEA-E3NHU22A.js +851 -0
- package/dist/GeneExpInput-MIUNSOPY.js +362 -0
- package/dist/Geomap-HAJG3STN.js +84 -0
- package/dist/HicApp-ECFFIRWI.js +2245 -0
- package/dist/IDCViewer-TNSD3U2V.js +10812 -0
- package/dist/NumBinaryEditor-CNBGZ6WY.js +279 -0
- package/dist/NumBinaryEditor.unit.spec-SKFDALF3.js +312 -0
- package/dist/NumContEditor-7ID2U7JL.js +105 -0
- package/dist/NumContEditor.unit.spec-XHSQSAWK.js +164 -0
- package/dist/NumCustomBinEditor-PAIPRJPO.js +33 -0
- package/dist/NumCustomBinEditor.unit.spec-QYVZMMHV.js +397 -0
- package/dist/NumDiscreteEditor-K2NZZQTH.js +170 -0
- package/dist/NumDiscreteEditor.unit.spec-3CG5VEQL.js +233 -0
- package/dist/NumRegularBinEditor-EOVZ22TP.js +33 -0
- package/dist/NumRegularBinEditor.unit.spec-FHTVH5FH.js +278 -0
- package/dist/NumSplineEditor-N3REMJUC.js +210 -0
- package/dist/NumSplineEditor.unit.spec-DZCP35GL.js +224 -0
- package/dist/NumericDensity-42MWVI2S.js +33 -0
- package/dist/NumericDensity.unit.spec-T2HHSQON.js +418 -0
- package/dist/NumericHandler-5XU3SSPD.js +34 -0
- package/dist/NumericHandler.unit.spec-3F23KSAQ.js +214 -0
- package/dist/ProteomeInput-UN2BUNRO.js +388 -0
- package/dist/Regression-HWLJENA5.js +1416 -0
- package/dist/RunChart2-YO55WE4M.js +749 -0
- package/dist/SC-LEDJ4DQR.js +1107 -0
- package/dist/Violin-E6PDJZ2B.js +1082 -0
- package/dist/Volcano-XJTBWYUK.js +1649 -0
- package/dist/Wsi-S675CYTW.js +431 -0
- package/dist/adSandbox-ZJQ5ZW2T.js +33 -0
- package/dist/animatedBubbleChart-LRUS7W36.js +547 -0
- package/dist/app-7Q3QIBU4.js +32 -0
- package/dist/app-PKSI4MV5.js +42 -0
- package/dist/app.js +17 -17
- package/dist/bam-X5JH5ZT7.js +876 -0
- package/dist/barchart-UT6J4L2N.js +42 -0
- package/dist/barchart2-ZG5QJO3C.js +309 -0
- package/dist/block-TC466NGW.js +6249 -0
- package/dist/block.init-CIBNSYAC.js +33 -0
- package/dist/block.mds.expressionrank-EY5PCQCK.js +354 -0
- package/dist/block.mds.geneboxplot-R6AOMHO5.js +823 -0
- package/dist/block.mds.junction-JMV6FNYC.js +1539 -0
- package/dist/block.mds.svcnv-IHTV3QYG.js +6796 -0
- package/dist/block.svg-NTFLVQAQ.js +159 -0
- package/dist/block.tk.aicheck-FYPL32Y4.js +278 -0
- package/dist/block.tk.ase-FWCB6VBO.js +360 -0
- package/dist/block.tk.bam-Q5UFUABN.js +1901 -0
- package/dist/block.tk.bedgraphdot-KBI3GFDM.js +379 -0
- package/dist/block.tk.bigwig.ui-KXNFX7G7.js +206 -0
- package/dist/block.tk.hicstraw-MQBH3YAJ.js +818 -0
- package/dist/block.tk.junction-EBTVXLJH.js +2358 -0
- package/dist/block.tk.junction.textmatrixui-ETYLCP2O.js +194 -0
- package/dist/block.tk.ld-NLB6L6WQ.js +94 -0
- package/dist/block.tk.menu-PJLCOXVJ.js +1024 -0
- package/dist/block.tk.pgv-JOIQVWL2.js +938 -0
- package/dist/brainImaging-SPRC3QFB.js +515 -0
- package/dist/brainRegions-LGQGRWG7.js +217 -0
- package/dist/brainRegions-LGQGRWG7.js.map +7 -0
- package/dist/bubbleHeatmap-CFTZ5RXH.js +378 -0
- package/dist/cellTypeBubbleHeatmap-DXPLFT5U.js +278 -0
- package/dist/chunk-2BQ572SL.js +102 -0
- package/dist/chunk-2DQIQYY3.js +103 -0
- package/dist/chunk-2POQWEK6.js +134 -0
- package/dist/chunk-2SQEVMAL.js +446 -0
- package/dist/chunk-37HTZ6IG.js +158 -0
- package/dist/chunk-452765PG.js +2676 -0
- package/dist/chunk-4DXQJGJ7.js +31 -0
- package/dist/chunk-4OLM3KSB.js +2708 -0
- package/dist/chunk-4OLM3KSB.js.map +7 -0
- package/dist/chunk-54KC7DAB.js +178 -0
- package/dist/chunk-5D5YTFI2.js +783 -0
- package/dist/chunk-5DBW3WLK.js +129 -0
- package/dist/chunk-5ILEFNXJ.js +402 -0
- package/dist/chunk-5UO7MKCO.js +59 -0
- package/dist/chunk-7R7P6VMT.js +243 -0
- package/dist/chunk-7X6NF7NI.js +96 -0
- package/dist/chunk-ANGLZ4XR.js +26 -0
- package/dist/chunk-BMQDU7KN.js +38 -0
- package/dist/chunk-C5TU4AYP.js +281 -0
- package/dist/chunk-DBQA6QIJ.js +4311 -0
- package/dist/chunk-DHNET3P4.js +42 -0
- package/dist/chunk-EGKHDALO.js +382 -0
- package/dist/chunk-EPWGUWQP.js +34 -0
- package/dist/chunk-F3EYPES3.js +1339 -0
- package/dist/chunk-F4DM3WS4.js +194 -0
- package/dist/chunk-FTLCINDC.js +294 -0
- package/dist/chunk-GT6WJUJY.js +480 -0
- package/dist/chunk-GWCK5QGV.js +70 -0
- package/dist/chunk-HJSGHFJ6.js +464 -0
- package/dist/chunk-HS6BTSFX.js +49 -0
- package/dist/chunk-IB5TKNG5.js +5071 -0
- package/dist/chunk-IIMTOPH3.js +54 -0
- package/dist/chunk-ILEXRHF7.js +367 -0
- package/dist/chunk-ILEXRHF7.js.map +7 -0
- package/dist/chunk-IZUYLFOX.js +1608 -0
- package/dist/chunk-IZUYLFOX.js.map +7 -0
- package/dist/chunk-JAXN3Q3K.js +272 -0
- package/dist/chunk-K6PYTAXW.js +2853 -0
- package/dist/chunk-KIRZXPMB.js +141 -0
- package/dist/chunk-KT4OZVO3.js +1275 -0
- package/dist/chunk-L32KMIC3.js +54 -0
- package/dist/chunk-LB7NENEB.js +123 -0
- package/dist/chunk-LDWMVZYF.js +562 -0
- package/dist/chunk-M367Y7ML.js +140 -0
- package/dist/chunk-M4XXKTH2.js +339 -0
- package/dist/chunk-ME7OF3CS.js +176 -0
- package/dist/chunk-N2CXLMNX.js +626 -0
- package/dist/chunk-N7DVQTPC.js +119 -0
- package/dist/chunk-N7TD7N7D.js +518 -0
- package/dist/chunk-NBX6TT5C.js +299 -0
- package/dist/chunk-NLR7JIMM.js +1986 -0
- package/dist/chunk-NSRGYBDM.js +339 -0
- package/dist/chunk-NVS7KYYI.js +379 -0
- package/dist/chunk-OVPEMVXT.js +397 -0
- package/dist/chunk-OXWLQQXL.js +274 -0
- package/dist/chunk-Q5SK3U2T.js +24163 -0
- package/dist/chunk-Q5SK3U2T.js.map +7 -0
- package/dist/chunk-QGGSYEVJ.js +55 -0
- package/dist/chunk-QLEVONLD.js +50 -0
- package/dist/chunk-RFW5BRIZ.js +1233 -0
- package/dist/chunk-RFW5BRIZ.js.map +7 -0
- package/dist/chunk-RNWHB5DI.js +98 -0
- package/dist/chunk-RPDVFM7E.js +2133 -0
- package/dist/chunk-RUHLDUOT.js +203 -0
- package/dist/chunk-RV34WFGZ.js +197 -0
- package/dist/chunk-SDVE5ECI.js +6360 -0
- package/dist/chunk-SWO6DZTG.js +170 -0
- package/dist/chunk-SYPSS3JQ.js +387 -0
- package/dist/chunk-TDM3645O.js +2327 -0
- package/dist/chunk-VVO3R5JV.js +217 -0
- package/dist/chunk-VYEU6Y35.js +14 -0
- package/dist/chunk-WGXC6IEF.js +263 -0
- package/dist/chunk-WPDM57B5.js +1720 -0
- package/dist/chunk-WS7WKS2B.js +2784 -0
- package/dist/chunk-X63NSV33.js +276 -0
- package/dist/chunk-XXNRSSBR.js +56 -0
- package/dist/chunk-YD6UGDFI.js +102 -0
- package/dist/chunk-YRIYDFNU.js +160 -0
- package/dist/chunk-YY5WQQ3J.js +194 -0
- package/dist/chunk-Z2ZITHT4.js +4195 -0
- package/dist/chunk-Z4SM3FBK.js +302 -0
- package/dist/chunk-ZEYEIUEZ.js +240 -0
- package/dist/chunk-ZLYTDHQP.js +677 -0
- package/dist/chunk-ZWCVRVV4.js +550 -0
- package/dist/cohort-FZNMFWOX.js +70 -0
- package/dist/condition-AJJLFCBQ.js +327 -0
- package/dist/controls-SZOLV37V.js +34 -0
- package/dist/controls.config-CVP75WFA.js +34 -0
- package/dist/correlation-UFJFQHQ3.js +95 -0
- package/dist/customdata.inputui-HOVA4A6O.js +284 -0
- package/dist/dataDownload-VTUG4IOK.js +329 -0
- package/dist/databrowser.ui-O5S4Y4EK.js +425 -0
- package/dist/dictionary-L2UNNNP7.js +113 -0
- package/dist/dnaMethylation-B4SWZI4O.js +33 -0
- package/dist/dnaMethylation.integration.spec-ANJAMNYJ.js +198 -0
- package/dist/dofetch-F5XSHQIS.js +48 -0
- package/dist/e2pca-66ARIMKL.js +344 -0
- package/dist/ep-OFGJYVUY.js +1249 -0
- package/dist/expclust.gdc.spec-22RXQTTP.js +302 -0
- package/dist/facet-GVZQ3RPN.js +519 -0
- package/dist/gb-HEPGVYEK.js +81 -0
- package/dist/geneExpClustering-3NU2U422.js +244 -0
- package/dist/geneExpression-FXQ4L2J2.js +310 -0
- package/dist/geneExpression-XYVYJJA5.js +33 -0
- package/dist/geneExpression.unit.spec-K3FIRSNK.js +99 -0
- package/dist/geneORA-5M2JSDMF.js +273 -0
- package/dist/geneRanking-TP3R3CS3.js +548 -0
- package/dist/geneVariant-232EYUFJ.js +36 -0
- package/dist/geneVariant-BHXTPUDC.js +286 -0
- package/dist/geneVariant.integration.spec-ICFHVFIR.js +388 -0
- package/dist/genefusion.ui-ABRCUQFC.js +303 -0
- package/dist/geneset-N42FIVA6.js +203 -0
- package/dist/genomeBrowser.spec-5HKQKLRU.js +276 -0
- package/dist/grin2-H2KJYLP6.js +1137 -0
- package/dist/grin2-NGMTEMXF.js +70 -0
- package/dist/hierCluster-JU5JPLM7.js +55 -0
- package/dist/hierCluster-LSSH275H.js +59 -0
- package/dist/hierCluster.config-ILOR7GBB.js +36 -0
- package/dist/hierCluster.integration.spec-CNR5OJOH.js +483 -0
- package/dist/hierCluster.interactivity-TLEIVTFK.js +49 -0
- package/dist/hierCluster.renderers-P7JNIT3N.js +19 -0
- package/dist/imagePlot-BF67SXQR.js +156 -0
- package/dist/importPlot-OHXSXNZN.js +8 -0
- package/dist/isoformExpression-4VKHE4HA.js +35 -0
- package/dist/isoformExpression.unit.spec-4TVSIFG4.js +237 -0
- package/dist/junction-VUHORV43.js +36 -0
- package/dist/junction.customTerm-FRYWSS4P.js +16 -0
- package/dist/junction.unit.spec-KKVLYT7Q.js +182 -0
- package/dist/launch.adhoc-UDYMFZTQ.js +37 -0
- package/dist/leftlabel.sample-R5FFBWG3.js +258 -0
- package/dist/legacyDataset-IEFWFVS6.js +117 -0
- package/dist/lollipop-3IX6ZYUN.js +166 -0
- package/dist/maf-42UFYSL4.js +455 -0
- package/dist/maftimeline-M5WYEN62.js +587 -0
- package/dist/matrix-CI76EDHU.js +54 -0
- package/dist/matrix-WJZKA6VR.js +59 -0
- package/dist/matrix.cells-ZFKVIPDC.js +26 -0
- package/dist/matrix.config-24TFHBEM.js +37 -0
- package/dist/matrix.data-NCGZPNWR.js +23 -0
- package/dist/matrix.groups-XQJTGM6M.js +26 -0
- package/dist/matrix.integration.spec-OGXZUDE6.js +3160 -0
- package/dist/matrix.interactivity-ZOOTPNSW.js +37 -0
- package/dist/matrix.layout-5J2YENK3.js +39 -0
- package/dist/matrix.legend-U36VCS46.js +20 -0
- package/dist/matrix.renderers-4KFE7ZVR.js +34 -0
- package/dist/matrix.serieses-AW7XBXLJ.js +19 -0
- package/dist/matrix.sort-7PMECLOE.js +26 -0
- package/dist/matrix.sort.unit.spec-GIA2YOTQ.js +468 -0
- package/dist/matrix.sorterUi-J6PRUT6J.js +16 -0
- package/dist/matrix.sorterUi.unit.spec-OPGKZZL6.js +338 -0
- package/dist/matrix.unit.spec-7UIVVR4T.js +150 -0
- package/dist/mavb-MSYUMT6W.js +727 -0
- package/dist/mds.fimo-OYEAQP37.js +513 -0
- package/dist/mds.samplescatterplot-EXISSRQQ.js +1545 -0
- package/dist/mds.survivalplot-SZST6BLN.js +477 -0
- package/dist/multivalue-YDE7L75Y.js +83 -0
- package/dist/numericDictTermCluster-5AKP6ICC.js +63 -0
- package/dist/oncomatrix-2OEIYWR6.js +290 -0
- package/dist/oncomatrix.spec-CXQW4JWU.js +443 -0
- package/dist/plot.2dvaf-LN7A3NNC.js +372 -0
- package/dist/plot.app-YIQOY2Z7.js +36 -0
- package/dist/plot.barplot-HF2J25XP.js +97 -0
- package/dist/plot.boxplot-YJH4L27U.js +146 -0
- package/dist/plot.brainImaging-PS4TRSPI.js +51 -0
- package/dist/plot.disco-BN5RNZ6Q.js +99 -0
- package/dist/plot.ssgq-N2HTOIY3.js +134 -0
- package/dist/plot.vaf2cov-6AOHRUQ2.js +253 -0
- package/dist/polar2-TC5OEJRE.js +232 -0
- package/dist/profileForms-5WV2TSBB.js +941 -0
- package/dist/profilePlot-OJLLW44P.js +49 -0
- package/dist/proteinView-CGNAJN4S.js +1357 -0
- package/dist/proteinView-CGNAJN4S.js.map +7 -0
- package/dist/proteomeCohortCompare-XXQGGVCF.js +912 -0
- package/dist/proteomeCohortCompare-XXQGGVCF.js.map +7 -0
- package/dist/pseudbulk.unit.spec-RAYRGN6C.js +86 -0
- package/dist/pseudobulk-ADHAYVSQ.js +35 -0
- package/dist/qualitative-JXEI3IYC.js +38 -0
- package/dist/radar2-BWTKSTT3.js +327 -0
- package/dist/radarFacility2-WIRSKTDG.js +335 -0
- package/dist/rememberedGvQ.unit.spec-N43O4YTF.js +211 -0
- package/dist/render-J7WOYBOL.js +33 -0
- package/dist/report-DRPCXX2B.js +217 -0
- package/dist/sampleView-BV6BQGGQ.js +43 -0
- package/dist/samplelst-ZD63EYO7.js +106 -0
- package/dist/samplematrix-ZZ3DVELU.js +2193 -0
- package/dist/sc-MUI43YTB.js +81 -0
- package/dist/scatter-7B44HTKN.js +88 -0
- package/dist/scatter-UEDVIE4Y.js +880 -0
- package/dist/selectGenomeWithTklst-WGOKGVZ5.js +129 -0
- package/dist/singleCellCellType-Z7OXK7PI.js +33 -0
- package/dist/singleCellCellType.unit.spec-IIOVCCJQ.js +154 -0
- package/dist/singleCellGeneExpression-LYZAIJ2Z.js +33 -0
- package/dist/singleCellGeneExpression.unit.spec-67AAWZTG.js +148 -0
- package/dist/singleCellPlot-TXPYQLSH.js +49 -0
- package/dist/singlecell-22OG6HNI.js +1566 -0
- package/dist/singlecell-7TBALI2S.js +81 -0
- package/dist/snp-3U2G3Z57.js +33 -0
- package/dist/snp.unit.spec-BMBBUBYD.js +171 -0
- package/dist/snplocus-SSVZDIQV.js +203 -0
- package/dist/spliceevent.a53ss.diagram-FK7CN4AU.js +146 -0
- package/dist/spliceevent.exonskip.diagram-EFLGV3O4.js +278 -0
- package/dist/spliceevent.noeventdiagram-2DYO7CCZ.js +455 -0
- package/dist/ssGSEA-52LWBQJP.js +33 -0
- package/dist/ssGSEA.unit.spec-3JV6WHUQ.js +83 -0
- package/dist/stattable-RLMYQ4G6.js +117 -0
- package/dist/studyCatalog-DKB3U7EV.js +414 -0
- package/dist/studyCatalog-DKB3U7EV.js.map +7 -0
- package/dist/summarizeCnvGeneexp-QPRYAKC2.js +158 -0
- package/dist/summarizeGeneexpSurvival-RWVQXEKB.js +105 -0
- package/dist/summarizeMutationCnv-DW5F6NUJ.js +159 -0
- package/dist/summarizeMutationDiagnosis-5FOQ7CHI.js +35 -0
- package/dist/summarizeMutationSurvival-4UKB4EVO.js +99 -0
- package/dist/summary-TYC6QNT4.js +42 -0
- package/dist/summary.integration.spec-5GLJJZNM.js +409 -0
- package/dist/summaryInput-4IJGKW4P.js +242 -0
- package/dist/sunburst-G7DGATWP.js +278 -0
- package/dist/survival-IHM6A7LL.js +1248 -0
- package/dist/survival-MKNABJPU.js +53 -0
- package/dist/survival.integration.spec-THOKI3DL.js +613 -0
- package/dist/survival.integration.spec-THOKI3DL.js.map +7 -0
- package/dist/svgraph-VB7JWWR5.js +1382 -0
- package/dist/svmr-VLQIO2U5.js +3837 -0
- package/dist/table-EAXMDWOY.js +197 -0
- package/dist/termCollection-5LG7ICQY.js +252 -0
- package/dist/termCollection-SB6MWLFK.js +33 -0
- package/dist/termCollection.unit.spec-H5ITGTR3.js +299 -0
- package/dist/termCollectionFractionSelection-2XZSTDCQ.js +42 -0
- package/dist/termCollectionFractionSelection.unit.spec-BIO7V6KA.js +188 -0
- package/dist/tk-TRWYZLQ2.js +1121 -0
- package/dist/tk-VZI5HNSX.js +41 -0
- package/dist/tp.ui-J5SNNAT3.js +1454 -0
- package/dist/tvs.dt-6YHFJPER.js +34 -0
- package/dist/tvs.dtcnv.categorical-WTIE63GM.js +35 -0
- package/dist/tvs.dtcnv.continuous-OCMKGTF5.js +67 -0
- package/dist/tvs.dtfusion-CA23UNM3.js +35 -0
- package/dist/tvs.dtitd-VSYMR3OD.js +35 -0
- package/dist/tvs.dtsnvindel-YBNO3CYF.js +35 -0
- package/dist/tvs.dtsv-S743GBB5.js +35 -0
- package/dist/tvs.numeric-22AHXO5K.js +20 -0
- package/dist/tvs.samplelst-XAJO4EM6.js +98 -0
- package/dist/tvs.termCollection-QOVJGAUC.js +124 -0
- package/dist/vocabulary-6EADTHP3.js +36 -0
- package/dist/wsi.direct-2WB2NGC5.js +8184 -0
- package/package.json +3 -3
- package/dist/2dmaf-ZQ7ACPAD.js +0 -1367
- package/dist/AggMatrixInput-EACGUIQA.js +0 -277
- package/dist/AggregateMatrix-TC5DTSYN.js +0 -41
- package/dist/AppHeader-PHI6US5B.js +0 -830
- package/dist/BoxPlot-QWKK3IJ7.js +0 -1211
- package/dist/CorrelationVolcano-QJJN7FVP.js +0 -614
- package/dist/Cuminc-6F2C5C4E.js +0 -1219
- package/dist/DE-HRJH6ZQL.js +0 -89
- package/dist/DEinput-T3MPAYPH.js +0 -499
- package/dist/DM-PEG4ED2X.js +0 -90
- package/dist/DifferentialAnalysis-XGXHWGPI.js +0 -237
- package/dist/Disco-7SRTTB3X.js +0 -3389
- package/dist/Disco.UI-CKKZ5MMK.js +0 -243
- package/dist/DmrPlot-N4CT4J2I.js +0 -637
- package/dist/GB-NVCLPRWN.js +0 -1391
- package/dist/GSEA-UZUNJG7Z.js +0 -851
- package/dist/GeneExpInput-3MDN2CAW.js +0 -362
- package/dist/Geomap-ZUF2PE5A.js +0 -84
- package/dist/HicApp-OIJT5TFU.js +0 -2245
- package/dist/IDCViewer-ZSH2E57L.js +0 -10812
- package/dist/NumBinaryEditor-74ZPGT7L.js +0 -279
- package/dist/NumBinaryEditor.unit.spec-T2I66SO5.js +0 -312
- package/dist/NumContEditor-M2GARZXM.js +0 -105
- package/dist/NumContEditor.unit.spec-G2QBBNH7.js +0 -164
- package/dist/NumCustomBinEditor-P44G67KS.js +0 -33
- package/dist/NumCustomBinEditor.unit.spec-AZHJN3V6.js +0 -397
- package/dist/NumDiscreteEditor-VOZ63LZY.js +0 -170
- package/dist/NumDiscreteEditor.unit.spec-CFSVPNBA.js +0 -233
- package/dist/NumRegularBinEditor-I6GJQR7W.js +0 -33
- package/dist/NumRegularBinEditor.unit.spec-IDJE7H6S.js +0 -278
- package/dist/NumSplineEditor-BCGWE52A.js +0 -210
- package/dist/NumSplineEditor.unit.spec-YQAL7L2E.js +0 -224
- package/dist/NumericDensity-P25W63RV.js +0 -33
- package/dist/NumericDensity.unit.spec-N7CQ5W5L.js +0 -418
- package/dist/NumericHandler-R7JWIFEO.js +0 -34
- package/dist/NumericHandler.unit.spec-LMGIAGZJ.js +0 -214
- package/dist/ProteomeInput-PRYKKF5E.js +0 -388
- package/dist/Regression-PSHH7ZXN.js +0 -1416
- package/dist/RunChart2-KJ2UWVCE.js +0 -749
- package/dist/SC-R6ZIJZ6F.js +0 -1107
- package/dist/Violin-GTQAUJ7B.js +0 -1082
- package/dist/Volcano-NER64J7W.js +0 -1649
- package/dist/Wsi-GXNGL7O6.js +0 -431
- package/dist/adSandbox-SXSHVG4P.js +0 -33
- package/dist/animatedBubbleChart-Q4NEETEH.js +0 -547
- package/dist/app-MX4PL2QO.js +0 -42
- package/dist/app-R5CTEVAC.js +0 -32
- package/dist/bam-45N3FEEM.js +0 -876
- package/dist/barchart-YCTKQJQX.js +0 -42
- package/dist/barchart2-252GS3CA.js +0 -309
- package/dist/block-CR75JHV3.js +0 -6249
- package/dist/block.init-U3JMED2E.js +0 -33
- package/dist/block.mds.expressionrank-TAN3BDPS.js +0 -354
- package/dist/block.mds.geneboxplot-EN344GEP.js +0 -823
- package/dist/block.mds.junction-RFVVJUTR.js +0 -1539
- package/dist/block.mds.svcnv-SSUMXEWD.js +0 -6796
- package/dist/block.svg-LRPGNFFI.js +0 -159
- package/dist/block.tk.aicheck-YY23FT2G.js +0 -278
- package/dist/block.tk.ase-JCGPFKFT.js +0 -360
- package/dist/block.tk.bam-NZDC4H7Y.js +0 -1901
- package/dist/block.tk.bedgraphdot-NCNZPZH6.js +0 -379
- package/dist/block.tk.bigwig.ui-Z7G6ZITU.js +0 -206
- package/dist/block.tk.hicstraw-VVDP4UF5.js +0 -818
- package/dist/block.tk.junction-L4YBPAHM.js +0 -2358
- package/dist/block.tk.junction.textmatrixui-6CMKKUB5.js +0 -194
- package/dist/block.tk.ld-VCP2R5UO.js +0 -94
- package/dist/block.tk.menu-ZJYGMEDX.js +0 -1024
- package/dist/block.tk.pgv-M5WNUIVS.js +0 -938
- package/dist/brainImaging-JGECJHZO.js +0 -515
- package/dist/brainRegions-NTEAXNZJ.js +0 -234
- package/dist/brainRegions-NTEAXNZJ.js.map +0 -7
- package/dist/bubbleHeatmap-7DQNWBQ2.js +0 -378
- package/dist/cellTypeBubbleHeatmap-LAE7U3RF.js +0 -278
- package/dist/chunk-2AQT3ZWL.js +0 -626
- package/dist/chunk-2GLNPB5J.js +0 -203
- package/dist/chunk-2O4CS3EZ.js +0 -274
- package/dist/chunk-2Z4ZSINZ.js +0 -323
- package/dist/chunk-2Z4ZSINZ.js.map +0 -7
- package/dist/chunk-3MFFZRH3.js +0 -6360
- package/dist/chunk-3PHXBY3Z.js +0 -1275
- package/dist/chunk-4AQQ3BXD.js +0 -70
- package/dist/chunk-4PPZYVWZ.js +0 -281
- package/dist/chunk-4WEA7HHH.js +0 -26
- package/dist/chunk-57NYHASA.js +0 -38
- package/dist/chunk-5AAAH4OZ.js +0 -141
- package/dist/chunk-5BCNVZIW.js +0 -480
- package/dist/chunk-6JBLNS4D.js +0 -387
- package/dist/chunk-6JBQLOJW.js +0 -1339
- package/dist/chunk-756KZF5Y.js +0 -158
- package/dist/chunk-ABTO5QSB.js +0 -276
- package/dist/chunk-ALEZQQOK.js +0 -299
- package/dist/chunk-APK7TUJX.js +0 -102
- package/dist/chunk-AQAFURQM.js +0 -59
- package/dist/chunk-BEJJS2HC.js +0 -194
- package/dist/chunk-CZ5QLVWK.js +0 -49
- package/dist/chunk-D2MZT7CC.js +0 -176
- package/dist/chunk-D6G64XPJ.js +0 -96
- package/dist/chunk-DE3F7FAP.js +0 -34
- package/dist/chunk-DF3IMIR2.js +0 -464
- package/dist/chunk-E4WIMTK4.js +0 -446
- package/dist/chunk-E7TJXNIL.js +0 -42
- package/dist/chunk-G3JNTWCX.js +0 -103
- package/dist/chunk-GN2IIC6U.js +0 -160
- package/dist/chunk-GRI74AXV.js +0 -294
- package/dist/chunk-HDTFYTEL.js +0 -2694
- package/dist/chunk-HDTFYTEL.js.map +0 -7
- package/dist/chunk-IAE3KWN5.js +0 -550
- package/dist/chunk-IB4NE4SI.js +0 -397
- package/dist/chunk-IK2BO37K.js +0 -1608
- package/dist/chunk-IK2BO37K.js.map +0 -7
- package/dist/chunk-IS4VLUEX.js +0 -382
- package/dist/chunk-J2DICGKC.js +0 -194
- package/dist/chunk-J7JDCNLU.js +0 -24141
- package/dist/chunk-J7JDCNLU.js.map +0 -7
- package/dist/chunk-JBUEQ4E6.js +0 -263
- package/dist/chunk-JIDJBM2R.js +0 -2676
- package/dist/chunk-JNVWSFNC.js +0 -54
- package/dist/chunk-JYOIO5UY.js +0 -2133
- package/dist/chunk-KAFDQKN7.js +0 -1720
- package/dist/chunk-L743GRJE.js +0 -783
- package/dist/chunk-LGOTIL62.js +0 -54
- package/dist/chunk-LHP7RXET.js +0 -243
- package/dist/chunk-LK2GHBUH.js +0 -123
- package/dist/chunk-MAVDQAZE.js +0 -518
- package/dist/chunk-MKT4OJ3G.js +0 -102
- package/dist/chunk-N635HDJ4.js +0 -178
- package/dist/chunk-NFAE6VNU.js +0 -2327
- package/dist/chunk-NG7K5KYO.js +0 -56
- package/dist/chunk-NXVUL3EY.js +0 -2853
- package/dist/chunk-ODMLC5FN.js +0 -55
- package/dist/chunk-OJ4TDGPQ.js +0 -339
- package/dist/chunk-OXLBPSJ6.js +0 -379
- package/dist/chunk-P5GRGXH4.js +0 -98
- package/dist/chunk-POWG4MPT.js +0 -31
- package/dist/chunk-Q25DABNW.js +0 -217
- package/dist/chunk-QHJGWCH3.js +0 -4311
- package/dist/chunk-R5OIIFSF.js +0 -197
- package/dist/chunk-RJFCT67B.js +0 -2784
- package/dist/chunk-RN4BOWRH.js +0 -402
- package/dist/chunk-RZFJ6K77.js +0 -302
- package/dist/chunk-S5UN4VIQ.js +0 -272
- package/dist/chunk-SDMNZJ7X.js +0 -50
- package/dist/chunk-SWZAHJYP.js +0 -170
- package/dist/chunk-SY63UUF7.js +0 -562
- package/dist/chunk-T46FA72N.js +0 -119
- package/dist/chunk-TBPVP3KZ.js +0 -1986
- package/dist/chunk-UM5NWVMA.js +0 -140
- package/dist/chunk-VIBK253J.js +0 -134
- package/dist/chunk-XKL2D2NN.js +0 -240
- package/dist/chunk-XXJT7DSL.js +0 -677
- package/dist/chunk-YHA3AYAM.js +0 -5071
- package/dist/chunk-YLJOZP4P.js +0 -4195
- package/dist/chunk-YN5NY3D3.js +0 -339
- package/dist/chunk-YX6FIREB.js +0 -14
- package/dist/chunk-ZXU4ALLZ.js +0 -129
- package/dist/cohort-75FUW3UO.js +0 -70
- package/dist/condition-VW43Q6ZE.js +0 -327
- package/dist/controls-HOP2AFHD.js +0 -34
- package/dist/controls.config-CMIFSKQE.js +0 -34
- package/dist/correlation-PN7BS5OR.js +0 -95
- package/dist/customdata.inputui-ZBZX63PS.js +0 -284
- package/dist/dataDownload-LGA4LAUF.js +0 -329
- package/dist/databrowser.ui-IQRDVL66.js +0 -425
- package/dist/dictionary-BPWD77LJ.js +0 -113
- package/dist/dnaMethylation-A3XPPBBB.js +0 -33
- package/dist/dnaMethylation.integration.spec-554ITDQC.js +0 -198
- package/dist/dofetch-FQ42AX7C.js +0 -48
- package/dist/e2pca-F3GWG7WZ.js +0 -344
- package/dist/ep-QAVN472H.js +0 -1249
- package/dist/expclust.gdc.spec-DQNX7FTL.js +0 -302
- package/dist/facet-DH7OOZTJ.js +0 -519
- package/dist/gb-OCXOLAMD.js +0 -81
- package/dist/geneExpClustering-DWYRZGTS.js +0 -244
- package/dist/geneExpression-2NKSKZR6.js +0 -33
- package/dist/geneExpression-BGFR3KQE.js +0 -310
- package/dist/geneExpression.unit.spec-63EKKMET.js +0 -99
- package/dist/geneORA-BED6XL4D.js +0 -273
- package/dist/geneRanking-UB5RCQNP.js +0 -548
- package/dist/geneVariant-WJEONTTY.js +0 -286
- package/dist/geneVariant-Y4C2FPJK.js +0 -36
- package/dist/geneVariant.integration.spec-VFYLC47N.js +0 -388
- package/dist/genefusion.ui-P3NBIMLE.js +0 -303
- package/dist/geneset-O22RQAED.js +0 -203
- package/dist/genomeBrowser.spec-MM7WZUGI.js +0 -276
- package/dist/grin2-3YBIRKUT.js +0 -70
- package/dist/grin2-O637DNDS.js +0 -1137
- package/dist/hierCluster-3X3BQVNE.js +0 -59
- package/dist/hierCluster-7P7M75TU.js +0 -55
- package/dist/hierCluster.config-XFUOLLDK.js +0 -36
- package/dist/hierCluster.integration.spec-HKYGSDDG.js +0 -483
- package/dist/hierCluster.interactivity-JUZSWCM7.js +0 -49
- package/dist/hierCluster.renderers-NGPPAYFM.js +0 -19
- package/dist/imagePlot-LKGAFJO7.js +0 -156
- package/dist/importPlot-SRWQA2FH.js +0 -8
- package/dist/isoformExpression-RYIZQIVX.js +0 -35
- package/dist/isoformExpression.unit.spec-DP4ECITF.js +0 -237
- package/dist/junction-D7QQ3YSG.js +0 -36
- package/dist/junction.customTerm-ZEVNCVU7.js +0 -16
- package/dist/junction.unit.spec-6MAKIB3R.js +0 -182
- package/dist/launch.adhoc-FAHRZFYG.js +0 -37
- package/dist/leftlabel.sample-PDZLWLJ4.js +0 -258
- package/dist/legacyDataset-27L4DMCL.js +0 -117
- package/dist/lollipop-VWGJUHNX.js +0 -166
- package/dist/maf-W52H44WK.js +0 -455
- package/dist/maftimeline-5JV3HZLE.js +0 -587
- package/dist/matrix-CEVGKXSK.js +0 -54
- package/dist/matrix-EXNYXYLK.js +0 -59
- package/dist/matrix.cells-DVPWSLJW.js +0 -26
- package/dist/matrix.config-RLSTWDXC.js +0 -37
- package/dist/matrix.data-Z6GUACVZ.js +0 -23
- package/dist/matrix.groups-3ZSTUWRK.js +0 -26
- package/dist/matrix.integration.spec-4U2R3UB2.js +0 -3160
- package/dist/matrix.interactivity-DJZFQ7DN.js +0 -37
- package/dist/matrix.layout-RQJ6VB4P.js +0 -39
- package/dist/matrix.legend-YQ36NWKW.js +0 -20
- package/dist/matrix.renderers-MWDFI6HW.js +0 -34
- package/dist/matrix.serieses-LTC4RLYD.js +0 -19
- package/dist/matrix.sort-5VFYLABY.js +0 -26
- package/dist/matrix.sort.unit.spec-2RUEKUT4.js +0 -468
- package/dist/matrix.sorterUi-EEMYZLPI.js +0 -16
- package/dist/matrix.sorterUi.unit.spec-ZXGSPRFZ.js +0 -338
- package/dist/matrix.unit.spec-HTF6UV4L.js +0 -150
- package/dist/mavb-GGQRDCO6.js +0 -727
- package/dist/mds.fimo-YKV5OIYV.js +0 -513
- package/dist/mds.samplescatterplot-RQOEW2AW.js +0 -1545
- package/dist/mds.survivalplot-TN636DED.js +0 -477
- package/dist/multivalue-MDQY64EH.js +0 -83
- package/dist/numericDictTermCluster-E73TJCLI.js +0 -63
- package/dist/oncomatrix-AENXQMLL.js +0 -290
- package/dist/oncomatrix.spec-UD6U462U.js +0 -443
- package/dist/plot.2dvaf-XMRV6KEG.js +0 -372
- package/dist/plot.app-A6JKLYQQ.js +0 -36
- package/dist/plot.barplot-UIX7LVWR.js +0 -97
- package/dist/plot.boxplot-DIFWVLMA.js +0 -146
- package/dist/plot.brainImaging-ZRPVE2UK.js +0 -51
- package/dist/plot.disco-I56MT3PC.js +0 -99
- package/dist/plot.ssgq-FCKFSZTV.js +0 -134
- package/dist/plot.vaf2cov-E5C7RJ7Z.js +0 -253
- package/dist/polar2-SKVBB4FD.js +0 -232
- package/dist/profileForms-5B3MTUNP.js +0 -941
- package/dist/profilePlot-MCYCGEWT.js +0 -49
- package/dist/proteinView-5X55JWVL.js +0 -1562
- package/dist/proteinView-5X55JWVL.js.map +0 -7
- package/dist/proteomeCohortCompare-WZBMBLFD.js +0 -780
- package/dist/proteomeCohortCompare-WZBMBLFD.js.map +0 -7
- package/dist/pseudbulk.unit.spec-Q4YTIPH7.js +0 -86
- package/dist/pseudobulk-3UIWCCCQ.js +0 -35
- package/dist/qualitative-6TJRXZFV.js +0 -38
- package/dist/radar2-6X4XW5IZ.js +0 -327
- package/dist/radarFacility2-UVPXWPV5.js +0 -335
- package/dist/rememberedGvQ.unit.spec-GVRFRVSO.js +0 -211
- package/dist/render-G7V6R4PV.js +0 -33
- package/dist/report-O7D46EKQ.js +0 -217
- package/dist/sampleView-6Y3OOOMW.js +0 -43
- package/dist/samplelst-JRVC4GYC.js +0 -106
- package/dist/samplematrix-VP5RQVRH.js +0 -2193
- package/dist/sc-BPHVEP6N.js +0 -81
- package/dist/scatter-2YYRZCSW.js +0 -88
- package/dist/scatter-Y4BIG2PW.js +0 -880
- package/dist/selectGenomeWithTklst-2BVZU5SW.js +0 -129
- package/dist/singleCellCellType-XBGCSIQT.js +0 -33
- package/dist/singleCellCellType.unit.spec-T4GFRLVZ.js +0 -154
- package/dist/singleCellGeneExpression-5ZPWLSVW.js +0 -33
- package/dist/singleCellGeneExpression.unit.spec-4O5UBUDU.js +0 -148
- package/dist/singleCellPlot-CZLQBGVU.js +0 -49
- package/dist/singlecell-IIUYX7OG.js +0 -1566
- package/dist/singlecell-O3P5BLWT.js +0 -81
- package/dist/snp-ZCYBF3ZQ.js +0 -33
- package/dist/snp.unit.spec-TAGD2DRL.js +0 -171
- package/dist/snplocus-TL25OOPE.js +0 -203
- package/dist/spliceevent.a53ss.diagram-I7J4PQZT.js +0 -146
- package/dist/spliceevent.exonskip.diagram-SB4454HB.js +0 -278
- package/dist/spliceevent.noeventdiagram-FOSDNYLH.js +0 -455
- package/dist/ssGSEA-WANB2X5L.js +0 -33
- package/dist/ssGSEA.unit.spec-4XXWU4XV.js +0 -83
- package/dist/stattable-FNTJLVNB.js +0 -117
- package/dist/studyCatalog-7KEOFLO2.js +0 -378
- package/dist/studyCatalog-7KEOFLO2.js.map +0 -7
- package/dist/summarizeCnvGeneexp-P4AFZMKD.js +0 -158
- package/dist/summarizeGeneexpSurvival-YL2J7F4R.js +0 -105
- package/dist/summarizeMutationCnv-BHBHST5F.js +0 -159
- package/dist/summarizeMutationDiagnosis-Z7ZHTV27.js +0 -35
- package/dist/summarizeMutationSurvival-PZ4TYHT7.js +0 -99
- package/dist/summary-ZMNPO65S.js +0 -42
- package/dist/summary.integration.spec-DPJR2ZBE.js +0 -409
- package/dist/summaryInput-6JUFJZ5P.js +0 -242
- package/dist/sunburst-OWAUI3HC.js +0 -278
- package/dist/survival-6JPKG3VA.js +0 -53
- package/dist/survival-7EXICNK7.js +0 -1248
- package/dist/survival.integration.spec-A6NUJLL6.js +0 -613
- package/dist/survival.integration.spec-A6NUJLL6.js.map +0 -7
- package/dist/svgraph-34IKFHUS.js +0 -1382
- package/dist/svmr-4XNPSVVQ.js +0 -3837
- package/dist/table-LPZATFLC.js +0 -197
- package/dist/termCollection-DYY5FXU5.js +0 -252
- package/dist/termCollection-WOAUFFIC.js +0 -33
- package/dist/termCollection.unit.spec-WTICTZ7H.js +0 -299
- package/dist/termCollectionFractionSelection-K5HPDEFP.js +0 -42
- package/dist/termCollectionFractionSelection.unit.spec-D7DG2HOI.js +0 -188
- package/dist/tk-DD2LWVGM.js +0 -1121
- package/dist/tk-NV7NBLT6.js +0 -41
- package/dist/tp.ui-B5J3UUVB.js +0 -1454
- package/dist/tvs.dt-XLKQT64T.js +0 -34
- package/dist/tvs.dtcnv.categorical-XIC3RH2D.js +0 -35
- package/dist/tvs.dtcnv.continuous-OA2K4LHF.js +0 -67
- package/dist/tvs.dtfusion-ZGNKALZB.js +0 -35
- package/dist/tvs.dtitd-6QSG4E34.js +0 -35
- package/dist/tvs.dtsnvindel-5CXXOGPH.js +0 -35
- package/dist/tvs.dtsv-QYYEYUD3.js +0 -35
- package/dist/tvs.numeric-3UXW4JHJ.js +0 -20
- package/dist/tvs.samplelst-X77ODFFR.js +0 -98
- package/dist/tvs.termCollection-VXROWAPS.js +0 -124
- package/dist/vocabulary-DKWYTZRC.js +0 -36
- package/dist/wsi.direct-C3HQEC2V.js +0 -8184
- /package/dist/{2dmaf-ZQ7ACPAD.js.map → 2dmaf-5OYM4MXA.js.map} +0 -0
- /package/dist/{AggMatrixInput-EACGUIQA.js.map → AggMatrixInput-4VTI4Y6E.js.map} +0 -0
- /package/dist/{AggregateMatrix-TC5DTSYN.js.map → AggregateMatrix-K7SGNO63.js.map} +0 -0
- /package/dist/{AppHeader-PHI6US5B.js.map → AppHeader-WU6TO2OZ.js.map} +0 -0
- /package/dist/{BoxPlot-QWKK3IJ7.js.map → BoxPlot-OW7U3XTF.js.map} +0 -0
- /package/dist/{CorrelationVolcano-QJJN7FVP.js.map → CorrelationVolcano-B3JTTZHF.js.map} +0 -0
- /package/dist/{Cuminc-6F2C5C4E.js.map → Cuminc-AJEXWRU2.js.map} +0 -0
- /package/dist/{DE-HRJH6ZQL.js.map → DE-2J7DSRPC.js.map} +0 -0
- /package/dist/{DEinput-T3MPAYPH.js.map → DEinput-I7JWNOSD.js.map} +0 -0
- /package/dist/{DM-PEG4ED2X.js.map → DM-NQ46YPGF.js.map} +0 -0
- /package/dist/{DifferentialAnalysis-XGXHWGPI.js.map → DifferentialAnalysis-BFCQBX5J.js.map} +0 -0
- /package/dist/{Disco-7SRTTB3X.js.map → Disco-ZJLVQRTC.js.map} +0 -0
- /package/dist/{Disco.UI-CKKZ5MMK.js.map → Disco.UI-AEDACXW2.js.map} +0 -0
- /package/dist/{DmrPlot-N4CT4J2I.js.map → DmrPlot-QMRXAOM3.js.map} +0 -0
- /package/dist/{GB-NVCLPRWN.js.map → GB-MFU2UJ22.js.map} +0 -0
- /package/dist/{GSEA-UZUNJG7Z.js.map → GSEA-E3NHU22A.js.map} +0 -0
- /package/dist/{GeneExpInput-3MDN2CAW.js.map → GeneExpInput-MIUNSOPY.js.map} +0 -0
- /package/dist/{Geomap-ZUF2PE5A.js.map → Geomap-HAJG3STN.js.map} +0 -0
- /package/dist/{HicApp-OIJT5TFU.js.map → HicApp-ECFFIRWI.js.map} +0 -0
- /package/dist/{IDCViewer-ZSH2E57L.js.map → IDCViewer-TNSD3U2V.js.map} +0 -0
- /package/dist/{NumBinaryEditor-74ZPGT7L.js.map → NumBinaryEditor-CNBGZ6WY.js.map} +0 -0
- /package/dist/{NumBinaryEditor.unit.spec-T2I66SO5.js.map → NumBinaryEditor.unit.spec-SKFDALF3.js.map} +0 -0
- /package/dist/{NumContEditor-M2GARZXM.js.map → NumContEditor-7ID2U7JL.js.map} +0 -0
- /package/dist/{NumContEditor.unit.spec-G2QBBNH7.js.map → NumContEditor.unit.spec-XHSQSAWK.js.map} +0 -0
- /package/dist/{NumCustomBinEditor-P44G67KS.js.map → NumCustomBinEditor-PAIPRJPO.js.map} +0 -0
- /package/dist/{NumCustomBinEditor.unit.spec-AZHJN3V6.js.map → NumCustomBinEditor.unit.spec-QYVZMMHV.js.map} +0 -0
- /package/dist/{NumDiscreteEditor-VOZ63LZY.js.map → NumDiscreteEditor-K2NZZQTH.js.map} +0 -0
- /package/dist/{NumDiscreteEditor.unit.spec-CFSVPNBA.js.map → NumDiscreteEditor.unit.spec-3CG5VEQL.js.map} +0 -0
- /package/dist/{NumRegularBinEditor-I6GJQR7W.js.map → NumRegularBinEditor-EOVZ22TP.js.map} +0 -0
- /package/dist/{NumRegularBinEditor.unit.spec-IDJE7H6S.js.map → NumRegularBinEditor.unit.spec-FHTVH5FH.js.map} +0 -0
- /package/dist/{NumSplineEditor-BCGWE52A.js.map → NumSplineEditor-N3REMJUC.js.map} +0 -0
- /package/dist/{NumSplineEditor.unit.spec-YQAL7L2E.js.map → NumSplineEditor.unit.spec-DZCP35GL.js.map} +0 -0
- /package/dist/{NumericDensity-P25W63RV.js.map → NumericDensity-42MWVI2S.js.map} +0 -0
- /package/dist/{NumericDensity.unit.spec-N7CQ5W5L.js.map → NumericDensity.unit.spec-T2HHSQON.js.map} +0 -0
- /package/dist/{NumericHandler-R7JWIFEO.js.map → NumericHandler-5XU3SSPD.js.map} +0 -0
- /package/dist/{NumericHandler.unit.spec-LMGIAGZJ.js.map → NumericHandler.unit.spec-3F23KSAQ.js.map} +0 -0
- /package/dist/{ProteomeInput-PRYKKF5E.js.map → ProteomeInput-UN2BUNRO.js.map} +0 -0
- /package/dist/{Regression-PSHH7ZXN.js.map → Regression-HWLJENA5.js.map} +0 -0
- /package/dist/{RunChart2-KJ2UWVCE.js.map → RunChart2-YO55WE4M.js.map} +0 -0
- /package/dist/{SC-R6ZIJZ6F.js.map → SC-LEDJ4DQR.js.map} +0 -0
- /package/dist/{Violin-GTQAUJ7B.js.map → Violin-E6PDJZ2B.js.map} +0 -0
- /package/dist/{Volcano-NER64J7W.js.map → Volcano-XJTBWYUK.js.map} +0 -0
- /package/dist/{Wsi-GXNGL7O6.js.map → Wsi-S675CYTW.js.map} +0 -0
- /package/dist/{adSandbox-SXSHVG4P.js.map → adSandbox-ZJQ5ZW2T.js.map} +0 -0
- /package/dist/{animatedBubbleChart-Q4NEETEH.js.map → animatedBubbleChart-LRUS7W36.js.map} +0 -0
- /package/dist/{app-MX4PL2QO.js.map → app-7Q3QIBU4.js.map} +0 -0
- /package/dist/{app-R5CTEVAC.js.map → app-PKSI4MV5.js.map} +0 -0
- /package/dist/{bam-45N3FEEM.js.map → bam-X5JH5ZT7.js.map} +0 -0
- /package/dist/{barchart-YCTKQJQX.js.map → barchart-UT6J4L2N.js.map} +0 -0
- /package/dist/{barchart2-252GS3CA.js.map → barchart2-ZG5QJO3C.js.map} +0 -0
- /package/dist/{block-CR75JHV3.js.map → block-TC466NGW.js.map} +0 -0
- /package/dist/{block.init-U3JMED2E.js.map → block.init-CIBNSYAC.js.map} +0 -0
- /package/dist/{block.mds.expressionrank-TAN3BDPS.js.map → block.mds.expressionrank-EY5PCQCK.js.map} +0 -0
- /package/dist/{block.mds.geneboxplot-EN344GEP.js.map → block.mds.geneboxplot-R6AOMHO5.js.map} +0 -0
- /package/dist/{block.mds.junction-RFVVJUTR.js.map → block.mds.junction-JMV6FNYC.js.map} +0 -0
- /package/dist/{block.mds.svcnv-SSUMXEWD.js.map → block.mds.svcnv-IHTV3QYG.js.map} +0 -0
- /package/dist/{block.svg-LRPGNFFI.js.map → block.svg-NTFLVQAQ.js.map} +0 -0
- /package/dist/{block.tk.aicheck-YY23FT2G.js.map → block.tk.aicheck-FYPL32Y4.js.map} +0 -0
- /package/dist/{block.tk.ase-JCGPFKFT.js.map → block.tk.ase-FWCB6VBO.js.map} +0 -0
- /package/dist/{block.tk.bam-NZDC4H7Y.js.map → block.tk.bam-Q5UFUABN.js.map} +0 -0
- /package/dist/{block.tk.bedgraphdot-NCNZPZH6.js.map → block.tk.bedgraphdot-KBI3GFDM.js.map} +0 -0
- /package/dist/{block.tk.bigwig.ui-Z7G6ZITU.js.map → block.tk.bigwig.ui-KXNFX7G7.js.map} +0 -0
- /package/dist/{block.tk.hicstraw-VVDP4UF5.js.map → block.tk.hicstraw-MQBH3YAJ.js.map} +0 -0
- /package/dist/{block.tk.junction-L4YBPAHM.js.map → block.tk.junction-EBTVXLJH.js.map} +0 -0
- /package/dist/{block.tk.junction.textmatrixui-6CMKKUB5.js.map → block.tk.junction.textmatrixui-ETYLCP2O.js.map} +0 -0
- /package/dist/{block.tk.ld-VCP2R5UO.js.map → block.tk.ld-NLB6L6WQ.js.map} +0 -0
- /package/dist/{block.tk.menu-ZJYGMEDX.js.map → block.tk.menu-PJLCOXVJ.js.map} +0 -0
- /package/dist/{block.tk.pgv-M5WNUIVS.js.map → block.tk.pgv-JOIQVWL2.js.map} +0 -0
- /package/dist/{brainImaging-JGECJHZO.js.map → brainImaging-SPRC3QFB.js.map} +0 -0
- /package/dist/{bubbleHeatmap-7DQNWBQ2.js.map → bubbleHeatmap-CFTZ5RXH.js.map} +0 -0
- /package/dist/{cellTypeBubbleHeatmap-LAE7U3RF.js.map → cellTypeBubbleHeatmap-DXPLFT5U.js.map} +0 -0
- /package/dist/{chunk-APK7TUJX.js.map → chunk-2BQ572SL.js.map} +0 -0
- /package/dist/{chunk-G3JNTWCX.js.map → chunk-2DQIQYY3.js.map} +0 -0
- /package/dist/{chunk-VIBK253J.js.map → chunk-2POQWEK6.js.map} +0 -0
- /package/dist/{chunk-E4WIMTK4.js.map → chunk-2SQEVMAL.js.map} +0 -0
- /package/dist/{chunk-756KZF5Y.js.map → chunk-37HTZ6IG.js.map} +0 -0
- /package/dist/{chunk-JIDJBM2R.js.map → chunk-452765PG.js.map} +0 -0
- /package/dist/{chunk-POWG4MPT.js.map → chunk-4DXQJGJ7.js.map} +0 -0
- /package/dist/{chunk-N635HDJ4.js.map → chunk-54KC7DAB.js.map} +0 -0
- /package/dist/{chunk-L743GRJE.js.map → chunk-5D5YTFI2.js.map} +0 -0
- /package/dist/{chunk-ZXU4ALLZ.js.map → chunk-5DBW3WLK.js.map} +0 -0
- /package/dist/{chunk-RN4BOWRH.js.map → chunk-5ILEFNXJ.js.map} +0 -0
- /package/dist/{chunk-AQAFURQM.js.map → chunk-5UO7MKCO.js.map} +0 -0
- /package/dist/{chunk-LHP7RXET.js.map → chunk-7R7P6VMT.js.map} +0 -0
- /package/dist/{chunk-D6G64XPJ.js.map → chunk-7X6NF7NI.js.map} +0 -0
- /package/dist/{chunk-4WEA7HHH.js.map → chunk-ANGLZ4XR.js.map} +0 -0
- /package/dist/{chunk-57NYHASA.js.map → chunk-BMQDU7KN.js.map} +0 -0
- /package/dist/{chunk-4PPZYVWZ.js.map → chunk-C5TU4AYP.js.map} +0 -0
- /package/dist/{chunk-QHJGWCH3.js.map → chunk-DBQA6QIJ.js.map} +0 -0
- /package/dist/{chunk-E7TJXNIL.js.map → chunk-DHNET3P4.js.map} +0 -0
- /package/dist/{chunk-IS4VLUEX.js.map → chunk-EGKHDALO.js.map} +0 -0
- /package/dist/{chunk-DE3F7FAP.js.map → chunk-EPWGUWQP.js.map} +0 -0
- /package/dist/{chunk-6JBQLOJW.js.map → chunk-F3EYPES3.js.map} +0 -0
- /package/dist/{chunk-BEJJS2HC.js.map → chunk-F4DM3WS4.js.map} +0 -0
- /package/dist/{chunk-GRI74AXV.js.map → chunk-FTLCINDC.js.map} +0 -0
- /package/dist/{chunk-5BCNVZIW.js.map → chunk-GT6WJUJY.js.map} +0 -0
- /package/dist/{chunk-4AQQ3BXD.js.map → chunk-GWCK5QGV.js.map} +0 -0
- /package/dist/{chunk-DF3IMIR2.js.map → chunk-HJSGHFJ6.js.map} +0 -0
- /package/dist/{chunk-CZ5QLVWK.js.map → chunk-HS6BTSFX.js.map} +0 -0
- /package/dist/{chunk-YHA3AYAM.js.map → chunk-IB5TKNG5.js.map} +0 -0
- /package/dist/{chunk-LGOTIL62.js.map → chunk-IIMTOPH3.js.map} +0 -0
- /package/dist/{chunk-S5UN4VIQ.js.map → chunk-JAXN3Q3K.js.map} +0 -0
- /package/dist/{chunk-NXVUL3EY.js.map → chunk-K6PYTAXW.js.map} +0 -0
- /package/dist/{chunk-5AAAH4OZ.js.map → chunk-KIRZXPMB.js.map} +0 -0
- /package/dist/{chunk-3PHXBY3Z.js.map → chunk-KT4OZVO3.js.map} +0 -0
- /package/dist/{chunk-JNVWSFNC.js.map → chunk-L32KMIC3.js.map} +0 -0
- /package/dist/{chunk-LK2GHBUH.js.map → chunk-LB7NENEB.js.map} +0 -0
- /package/dist/{chunk-SY63UUF7.js.map → chunk-LDWMVZYF.js.map} +0 -0
- /package/dist/{chunk-UM5NWVMA.js.map → chunk-M367Y7ML.js.map} +0 -0
- /package/dist/{chunk-YN5NY3D3.js.map → chunk-M4XXKTH2.js.map} +0 -0
- /package/dist/{chunk-D2MZT7CC.js.map → chunk-ME7OF3CS.js.map} +0 -0
- /package/dist/{chunk-2AQT3ZWL.js.map → chunk-N2CXLMNX.js.map} +0 -0
- /package/dist/{chunk-T46FA72N.js.map → chunk-N7DVQTPC.js.map} +0 -0
- /package/dist/{chunk-MAVDQAZE.js.map → chunk-N7TD7N7D.js.map} +0 -0
- /package/dist/{chunk-ALEZQQOK.js.map → chunk-NBX6TT5C.js.map} +0 -0
- /package/dist/{chunk-TBPVP3KZ.js.map → chunk-NLR7JIMM.js.map} +0 -0
- /package/dist/{chunk-OJ4TDGPQ.js.map → chunk-NSRGYBDM.js.map} +0 -0
- /package/dist/{chunk-OXLBPSJ6.js.map → chunk-NVS7KYYI.js.map} +0 -0
- /package/dist/{chunk-IB4NE4SI.js.map → chunk-OVPEMVXT.js.map} +0 -0
- /package/dist/{chunk-2O4CS3EZ.js.map → chunk-OXWLQQXL.js.map} +0 -0
- /package/dist/{chunk-ODMLC5FN.js.map → chunk-QGGSYEVJ.js.map} +0 -0
- /package/dist/{chunk-SDMNZJ7X.js.map → chunk-QLEVONLD.js.map} +0 -0
- /package/dist/{chunk-P5GRGXH4.js.map → chunk-RNWHB5DI.js.map} +0 -0
- /package/dist/{chunk-JYOIO5UY.js.map → chunk-RPDVFM7E.js.map} +0 -0
- /package/dist/{chunk-2GLNPB5J.js.map → chunk-RUHLDUOT.js.map} +0 -0
- /package/dist/{chunk-R5OIIFSF.js.map → chunk-RV34WFGZ.js.map} +0 -0
- /package/dist/{chunk-3MFFZRH3.js.map → chunk-SDVE5ECI.js.map} +0 -0
- /package/dist/{chunk-SWZAHJYP.js.map → chunk-SWO6DZTG.js.map} +0 -0
- /package/dist/{chunk-6JBLNS4D.js.map → chunk-SYPSS3JQ.js.map} +0 -0
- /package/dist/{chunk-NFAE6VNU.js.map → chunk-TDM3645O.js.map} +0 -0
- /package/dist/{chunk-Q25DABNW.js.map → chunk-VVO3R5JV.js.map} +0 -0
- /package/dist/{chunk-YX6FIREB.js.map → chunk-VYEU6Y35.js.map} +0 -0
- /package/dist/{chunk-JBUEQ4E6.js.map → chunk-WGXC6IEF.js.map} +0 -0
- /package/dist/{chunk-KAFDQKN7.js.map → chunk-WPDM57B5.js.map} +0 -0
- /package/dist/{chunk-RJFCT67B.js.map → chunk-WS7WKS2B.js.map} +0 -0
- /package/dist/{chunk-ABTO5QSB.js.map → chunk-X63NSV33.js.map} +0 -0
- /package/dist/{chunk-NG7K5KYO.js.map → chunk-XXNRSSBR.js.map} +0 -0
- /package/dist/{chunk-MKT4OJ3G.js.map → chunk-YD6UGDFI.js.map} +0 -0
- /package/dist/{chunk-GN2IIC6U.js.map → chunk-YRIYDFNU.js.map} +0 -0
- /package/dist/{chunk-J2DICGKC.js.map → chunk-YY5WQQ3J.js.map} +0 -0
- /package/dist/{chunk-YLJOZP4P.js.map → chunk-Z2ZITHT4.js.map} +0 -0
- /package/dist/{chunk-RZFJ6K77.js.map → chunk-Z4SM3FBK.js.map} +0 -0
- /package/dist/{chunk-XKL2D2NN.js.map → chunk-ZEYEIUEZ.js.map} +0 -0
- /package/dist/{chunk-XXJT7DSL.js.map → chunk-ZLYTDHQP.js.map} +0 -0
- /package/dist/{chunk-IAE3KWN5.js.map → chunk-ZWCVRVV4.js.map} +0 -0
- /package/dist/{cohort-75FUW3UO.js.map → cohort-FZNMFWOX.js.map} +0 -0
- /package/dist/{condition-VW43Q6ZE.js.map → condition-AJJLFCBQ.js.map} +0 -0
- /package/dist/{controls-HOP2AFHD.js.map → controls-SZOLV37V.js.map} +0 -0
- /package/dist/{controls.config-CMIFSKQE.js.map → controls.config-CVP75WFA.js.map} +0 -0
- /package/dist/{correlation-PN7BS5OR.js.map → correlation-UFJFQHQ3.js.map} +0 -0
- /package/dist/{customdata.inputui-ZBZX63PS.js.map → customdata.inputui-HOVA4A6O.js.map} +0 -0
- /package/dist/{dataDownload-LGA4LAUF.js.map → dataDownload-VTUG4IOK.js.map} +0 -0
- /package/dist/{databrowser.ui-IQRDVL66.js.map → databrowser.ui-O5S4Y4EK.js.map} +0 -0
- /package/dist/{dictionary-BPWD77LJ.js.map → dictionary-L2UNNNP7.js.map} +0 -0
- /package/dist/{dnaMethylation-A3XPPBBB.js.map → dnaMethylation-B4SWZI4O.js.map} +0 -0
- /package/dist/{dnaMethylation.integration.spec-554ITDQC.js.map → dnaMethylation.integration.spec-ANJAMNYJ.js.map} +0 -0
- /package/dist/{dofetch-FQ42AX7C.js.map → dofetch-F5XSHQIS.js.map} +0 -0
- /package/dist/{e2pca-F3GWG7WZ.js.map → e2pca-66ARIMKL.js.map} +0 -0
- /package/dist/{ep-QAVN472H.js.map → ep-OFGJYVUY.js.map} +0 -0
- /package/dist/{expclust.gdc.spec-DQNX7FTL.js.map → expclust.gdc.spec-22RXQTTP.js.map} +0 -0
- /package/dist/{facet-DH7OOZTJ.js.map → facet-GVZQ3RPN.js.map} +0 -0
- /package/dist/{gb-OCXOLAMD.js.map → gb-HEPGVYEK.js.map} +0 -0
- /package/dist/{geneExpClustering-DWYRZGTS.js.map → geneExpClustering-3NU2U422.js.map} +0 -0
- /package/dist/{geneExpression-BGFR3KQE.js.map → geneExpression-FXQ4L2J2.js.map} +0 -0
- /package/dist/{geneExpression-2NKSKZR6.js.map → geneExpression-XYVYJJA5.js.map} +0 -0
- /package/dist/{geneExpression.unit.spec-63EKKMET.js.map → geneExpression.unit.spec-K3FIRSNK.js.map} +0 -0
- /package/dist/{geneORA-BED6XL4D.js.map → geneORA-5M2JSDMF.js.map} +0 -0
- /package/dist/{geneRanking-UB5RCQNP.js.map → geneRanking-TP3R3CS3.js.map} +0 -0
- /package/dist/{geneVariant-Y4C2FPJK.js.map → geneVariant-232EYUFJ.js.map} +0 -0
- /package/dist/{geneVariant-WJEONTTY.js.map → geneVariant-BHXTPUDC.js.map} +0 -0
- /package/dist/{geneVariant.integration.spec-VFYLC47N.js.map → geneVariant.integration.spec-ICFHVFIR.js.map} +0 -0
- /package/dist/{genefusion.ui-P3NBIMLE.js.map → genefusion.ui-ABRCUQFC.js.map} +0 -0
- /package/dist/{geneset-O22RQAED.js.map → geneset-N42FIVA6.js.map} +0 -0
- /package/dist/{genomeBrowser.spec-MM7WZUGI.js.map → genomeBrowser.spec-5HKQKLRU.js.map} +0 -0
- /package/dist/{grin2-O637DNDS.js.map → grin2-H2KJYLP6.js.map} +0 -0
- /package/dist/{grin2-3YBIRKUT.js.map → grin2-NGMTEMXF.js.map} +0 -0
- /package/dist/{hierCluster-3X3BQVNE.js.map → hierCluster-JU5JPLM7.js.map} +0 -0
- /package/dist/{hierCluster-7P7M75TU.js.map → hierCluster-LSSH275H.js.map} +0 -0
- /package/dist/{hierCluster.config-XFUOLLDK.js.map → hierCluster.config-ILOR7GBB.js.map} +0 -0
- /package/dist/{hierCluster.integration.spec-HKYGSDDG.js.map → hierCluster.integration.spec-CNR5OJOH.js.map} +0 -0
- /package/dist/{hierCluster.interactivity-JUZSWCM7.js.map → hierCluster.interactivity-TLEIVTFK.js.map} +0 -0
- /package/dist/{hierCluster.renderers-NGPPAYFM.js.map → hierCluster.renderers-P7JNIT3N.js.map} +0 -0
- /package/dist/{imagePlot-LKGAFJO7.js.map → imagePlot-BF67SXQR.js.map} +0 -0
- /package/dist/{importPlot-SRWQA2FH.js.map → importPlot-OHXSXNZN.js.map} +0 -0
- /package/dist/{isoformExpression-RYIZQIVX.js.map → isoformExpression-4VKHE4HA.js.map} +0 -0
- /package/dist/{isoformExpression.unit.spec-DP4ECITF.js.map → isoformExpression.unit.spec-4TVSIFG4.js.map} +0 -0
- /package/dist/{junction-D7QQ3YSG.js.map → junction-VUHORV43.js.map} +0 -0
- /package/dist/{junction.customTerm-ZEVNCVU7.js.map → junction.customTerm-FRYWSS4P.js.map} +0 -0
- /package/dist/{junction.unit.spec-6MAKIB3R.js.map → junction.unit.spec-KKVLYT7Q.js.map} +0 -0
- /package/dist/{launch.adhoc-FAHRZFYG.js.map → launch.adhoc-UDYMFZTQ.js.map} +0 -0
- /package/dist/{leftlabel.sample-PDZLWLJ4.js.map → leftlabel.sample-R5FFBWG3.js.map} +0 -0
- /package/dist/{legacyDataset-27L4DMCL.js.map → legacyDataset-IEFWFVS6.js.map} +0 -0
- /package/dist/{lollipop-VWGJUHNX.js.map → lollipop-3IX6ZYUN.js.map} +0 -0
- /package/dist/{maf-W52H44WK.js.map → maf-42UFYSL4.js.map} +0 -0
- /package/dist/{maftimeline-5JV3HZLE.js.map → maftimeline-M5WYEN62.js.map} +0 -0
- /package/dist/{matrix-CEVGKXSK.js.map → matrix-CI76EDHU.js.map} +0 -0
- /package/dist/{matrix-EXNYXYLK.js.map → matrix-WJZKA6VR.js.map} +0 -0
- /package/dist/{matrix.cells-DVPWSLJW.js.map → matrix.cells-ZFKVIPDC.js.map} +0 -0
- /package/dist/{matrix.config-RLSTWDXC.js.map → matrix.config-24TFHBEM.js.map} +0 -0
- /package/dist/{matrix.data-Z6GUACVZ.js.map → matrix.data-NCGZPNWR.js.map} +0 -0
- /package/dist/{matrix.groups-3ZSTUWRK.js.map → matrix.groups-XQJTGM6M.js.map} +0 -0
- /package/dist/{matrix.integration.spec-4U2R3UB2.js.map → matrix.integration.spec-OGXZUDE6.js.map} +0 -0
- /package/dist/{matrix.interactivity-DJZFQ7DN.js.map → matrix.interactivity-ZOOTPNSW.js.map} +0 -0
- /package/dist/{matrix.layout-RQJ6VB4P.js.map → matrix.layout-5J2YENK3.js.map} +0 -0
- /package/dist/{matrix.legend-YQ36NWKW.js.map → matrix.legend-U36VCS46.js.map} +0 -0
- /package/dist/{matrix.renderers-MWDFI6HW.js.map → matrix.renderers-4KFE7ZVR.js.map} +0 -0
- /package/dist/{matrix.serieses-LTC4RLYD.js.map → matrix.serieses-AW7XBXLJ.js.map} +0 -0
- /package/dist/{matrix.sort-5VFYLABY.js.map → matrix.sort-7PMECLOE.js.map} +0 -0
- /package/dist/{matrix.sort.unit.spec-2RUEKUT4.js.map → matrix.sort.unit.spec-GIA2YOTQ.js.map} +0 -0
- /package/dist/{matrix.sorterUi-EEMYZLPI.js.map → matrix.sorterUi-J6PRUT6J.js.map} +0 -0
- /package/dist/{matrix.sorterUi.unit.spec-ZXGSPRFZ.js.map → matrix.sorterUi.unit.spec-OPGKZZL6.js.map} +0 -0
- /package/dist/{matrix.unit.spec-HTF6UV4L.js.map → matrix.unit.spec-7UIVVR4T.js.map} +0 -0
- /package/dist/{mavb-GGQRDCO6.js.map → mavb-MSYUMT6W.js.map} +0 -0
- /package/dist/{mds.fimo-YKV5OIYV.js.map → mds.fimo-OYEAQP37.js.map} +0 -0
- /package/dist/{mds.samplescatterplot-RQOEW2AW.js.map → mds.samplescatterplot-EXISSRQQ.js.map} +0 -0
- /package/dist/{mds.survivalplot-TN636DED.js.map → mds.survivalplot-SZST6BLN.js.map} +0 -0
- /package/dist/{multivalue-MDQY64EH.js.map → multivalue-YDE7L75Y.js.map} +0 -0
- /package/dist/{numericDictTermCluster-E73TJCLI.js.map → numericDictTermCluster-5AKP6ICC.js.map} +0 -0
- /package/dist/{oncomatrix-AENXQMLL.js.map → oncomatrix-2OEIYWR6.js.map} +0 -0
- /package/dist/{oncomatrix.spec-UD6U462U.js.map → oncomatrix.spec-CXQW4JWU.js.map} +0 -0
- /package/dist/{plot.2dvaf-XMRV6KEG.js.map → plot.2dvaf-LN7A3NNC.js.map} +0 -0
- /package/dist/{plot.app-A6JKLYQQ.js.map → plot.app-YIQOY2Z7.js.map} +0 -0
- /package/dist/{plot.barplot-UIX7LVWR.js.map → plot.barplot-HF2J25XP.js.map} +0 -0
- /package/dist/{plot.boxplot-DIFWVLMA.js.map → plot.boxplot-YJH4L27U.js.map} +0 -0
- /package/dist/{plot.brainImaging-ZRPVE2UK.js.map → plot.brainImaging-PS4TRSPI.js.map} +0 -0
- /package/dist/{plot.disco-I56MT3PC.js.map → plot.disco-BN5RNZ6Q.js.map} +0 -0
- /package/dist/{plot.ssgq-FCKFSZTV.js.map → plot.ssgq-N2HTOIY3.js.map} +0 -0
- /package/dist/{plot.vaf2cov-E5C7RJ7Z.js.map → plot.vaf2cov-6AOHRUQ2.js.map} +0 -0
- /package/dist/{polar2-SKVBB4FD.js.map → polar2-TC5OEJRE.js.map} +0 -0
- /package/dist/{profileForms-5B3MTUNP.js.map → profileForms-5WV2TSBB.js.map} +0 -0
- /package/dist/{profilePlot-MCYCGEWT.js.map → profilePlot-OJLLW44P.js.map} +0 -0
- /package/dist/{pseudbulk.unit.spec-Q4YTIPH7.js.map → pseudbulk.unit.spec-RAYRGN6C.js.map} +0 -0
- /package/dist/{pseudobulk-3UIWCCCQ.js.map → pseudobulk-ADHAYVSQ.js.map} +0 -0
- /package/dist/{qualitative-6TJRXZFV.js.map → qualitative-JXEI3IYC.js.map} +0 -0
- /package/dist/{radar2-6X4XW5IZ.js.map → radar2-BWTKSTT3.js.map} +0 -0
- /package/dist/{radarFacility2-UVPXWPV5.js.map → radarFacility2-WIRSKTDG.js.map} +0 -0
- /package/dist/{rememberedGvQ.unit.spec-GVRFRVSO.js.map → rememberedGvQ.unit.spec-N43O4YTF.js.map} +0 -0
- /package/dist/{render-G7V6R4PV.js.map → render-J7WOYBOL.js.map} +0 -0
- /package/dist/{report-O7D46EKQ.js.map → report-DRPCXX2B.js.map} +0 -0
- /package/dist/{sampleView-6Y3OOOMW.js.map → sampleView-BV6BQGGQ.js.map} +0 -0
- /package/dist/{samplelst-JRVC4GYC.js.map → samplelst-ZD63EYO7.js.map} +0 -0
- /package/dist/{samplematrix-VP5RQVRH.js.map → samplematrix-ZZ3DVELU.js.map} +0 -0
- /package/dist/{sc-BPHVEP6N.js.map → sc-MUI43YTB.js.map} +0 -0
- /package/dist/{scatter-2YYRZCSW.js.map → scatter-7B44HTKN.js.map} +0 -0
- /package/dist/{scatter-Y4BIG2PW.js.map → scatter-UEDVIE4Y.js.map} +0 -0
- /package/dist/{selectGenomeWithTklst-2BVZU5SW.js.map → selectGenomeWithTklst-WGOKGVZ5.js.map} +0 -0
- /package/dist/{singleCellCellType-XBGCSIQT.js.map → singleCellCellType-Z7OXK7PI.js.map} +0 -0
- /package/dist/{singleCellCellType.unit.spec-T4GFRLVZ.js.map → singleCellCellType.unit.spec-IIOVCCJQ.js.map} +0 -0
- /package/dist/{singleCellGeneExpression-5ZPWLSVW.js.map → singleCellGeneExpression-LYZAIJ2Z.js.map} +0 -0
- /package/dist/{singleCellGeneExpression.unit.spec-4O5UBUDU.js.map → singleCellGeneExpression.unit.spec-67AAWZTG.js.map} +0 -0
- /package/dist/{singleCellPlot-CZLQBGVU.js.map → singleCellPlot-TXPYQLSH.js.map} +0 -0
- /package/dist/{singlecell-IIUYX7OG.js.map → singlecell-22OG6HNI.js.map} +0 -0
- /package/dist/{singlecell-O3P5BLWT.js.map → singlecell-7TBALI2S.js.map} +0 -0
- /package/dist/{snp-ZCYBF3ZQ.js.map → snp-3U2G3Z57.js.map} +0 -0
- /package/dist/{snp.unit.spec-TAGD2DRL.js.map → snp.unit.spec-BMBBUBYD.js.map} +0 -0
- /package/dist/{snplocus-TL25OOPE.js.map → snplocus-SSVZDIQV.js.map} +0 -0
- /package/dist/{spliceevent.a53ss.diagram-I7J4PQZT.js.map → spliceevent.a53ss.diagram-FK7CN4AU.js.map} +0 -0
- /package/dist/{spliceevent.exonskip.diagram-SB4454HB.js.map → spliceevent.exonskip.diagram-EFLGV3O4.js.map} +0 -0
- /package/dist/{spliceevent.noeventdiagram-FOSDNYLH.js.map → spliceevent.noeventdiagram-2DYO7CCZ.js.map} +0 -0
- /package/dist/{ssGSEA-WANB2X5L.js.map → ssGSEA-52LWBQJP.js.map} +0 -0
- /package/dist/{ssGSEA.unit.spec-4XXWU4XV.js.map → ssGSEA.unit.spec-3JV6WHUQ.js.map} +0 -0
- /package/dist/{stattable-FNTJLVNB.js.map → stattable-RLMYQ4G6.js.map} +0 -0
- /package/dist/{summarizeCnvGeneexp-P4AFZMKD.js.map → summarizeCnvGeneexp-QPRYAKC2.js.map} +0 -0
- /package/dist/{summarizeGeneexpSurvival-YL2J7F4R.js.map → summarizeGeneexpSurvival-RWVQXEKB.js.map} +0 -0
- /package/dist/{summarizeMutationCnv-BHBHST5F.js.map → summarizeMutationCnv-DW5F6NUJ.js.map} +0 -0
- /package/dist/{summarizeMutationDiagnosis-Z7ZHTV27.js.map → summarizeMutationDiagnosis-5FOQ7CHI.js.map} +0 -0
- /package/dist/{summarizeMutationSurvival-PZ4TYHT7.js.map → summarizeMutationSurvival-4UKB4EVO.js.map} +0 -0
- /package/dist/{summary-ZMNPO65S.js.map → summary-TYC6QNT4.js.map} +0 -0
- /package/dist/{summary.integration.spec-DPJR2ZBE.js.map → summary.integration.spec-5GLJJZNM.js.map} +0 -0
- /package/dist/{summaryInput-6JUFJZ5P.js.map → summaryInput-4IJGKW4P.js.map} +0 -0
- /package/dist/{sunburst-OWAUI3HC.js.map → sunburst-G7DGATWP.js.map} +0 -0
- /package/dist/{survival-7EXICNK7.js.map → survival-IHM6A7LL.js.map} +0 -0
- /package/dist/{survival-6JPKG3VA.js.map → survival-MKNABJPU.js.map} +0 -0
- /package/dist/{svgraph-34IKFHUS.js.map → svgraph-VB7JWWR5.js.map} +0 -0
- /package/dist/{svmr-4XNPSVVQ.js.map → svmr-VLQIO2U5.js.map} +0 -0
- /package/dist/{table-LPZATFLC.js.map → table-EAXMDWOY.js.map} +0 -0
- /package/dist/{termCollection-DYY5FXU5.js.map → termCollection-5LG7ICQY.js.map} +0 -0
- /package/dist/{termCollection-WOAUFFIC.js.map → termCollection-SB6MWLFK.js.map} +0 -0
- /package/dist/{termCollection.unit.spec-WTICTZ7H.js.map → termCollection.unit.spec-H5ITGTR3.js.map} +0 -0
- /package/dist/{termCollectionFractionSelection-K5HPDEFP.js.map → termCollectionFractionSelection-2XZSTDCQ.js.map} +0 -0
- /package/dist/{termCollectionFractionSelection.unit.spec-D7DG2HOI.js.map → termCollectionFractionSelection.unit.spec-BIO7V6KA.js.map} +0 -0
- /package/dist/{tk-DD2LWVGM.js.map → tk-TRWYZLQ2.js.map} +0 -0
- /package/dist/{tk-NV7NBLT6.js.map → tk-VZI5HNSX.js.map} +0 -0
- /package/dist/{tp.ui-B5J3UUVB.js.map → tp.ui-J5SNNAT3.js.map} +0 -0
- /package/dist/{tvs.dt-XLKQT64T.js.map → tvs.dt-6YHFJPER.js.map} +0 -0
- /package/dist/{tvs.dtcnv.categorical-XIC3RH2D.js.map → tvs.dtcnv.categorical-WTIE63GM.js.map} +0 -0
- /package/dist/{tvs.dtcnv.continuous-OA2K4LHF.js.map → tvs.dtcnv.continuous-OCMKGTF5.js.map} +0 -0
- /package/dist/{tvs.dtfusion-ZGNKALZB.js.map → tvs.dtfusion-CA23UNM3.js.map} +0 -0
- /package/dist/{tvs.dtitd-6QSG4E34.js.map → tvs.dtitd-VSYMR3OD.js.map} +0 -0
- /package/dist/{tvs.dtsnvindel-5CXXOGPH.js.map → tvs.dtsnvindel-YBNO3CYF.js.map} +0 -0
- /package/dist/{tvs.dtsv-QYYEYUD3.js.map → tvs.dtsv-S743GBB5.js.map} +0 -0
- /package/dist/{tvs.numeric-3UXW4JHJ.js.map → tvs.numeric-22AHXO5K.js.map} +0 -0
- /package/dist/{tvs.samplelst-X77ODFFR.js.map → tvs.samplelst-XAJO4EM6.js.map} +0 -0
- /package/dist/{tvs.termCollection-VXROWAPS.js.map → tvs.termCollection-QOVJGAUC.js.map} +0 -0
- /package/dist/{vocabulary-DKWYTZRC.js.map → vocabulary-6EADTHP3.js.map} +0 -0
- /package/dist/{wsi.direct-C3HQEC2V.js.map → wsi.direct-2WB2NGC5.js.map} +0 -0
|
@@ -0,0 +1,1901 @@
|
|
|
1
|
+
import {
|
|
2
|
+
urlmap_default
|
|
3
|
+
} from "./chunk-4FTH4L3A.js";
|
|
4
|
+
import {
|
|
5
|
+
axisstyle,
|
|
6
|
+
make_one_checkbox,
|
|
7
|
+
make_radios,
|
|
8
|
+
sayerror,
|
|
9
|
+
table2col
|
|
10
|
+
} from "./chunk-Q5SK3U2T.js";
|
|
11
|
+
import "./chunk-HJ6L54YS.js";
|
|
12
|
+
import "./chunk-KV4W2ACA.js";
|
|
13
|
+
import "./chunk-54KC7DAB.js";
|
|
14
|
+
import "./chunk-N7DVQTPC.js";
|
|
15
|
+
import {
|
|
16
|
+
Menu
|
|
17
|
+
} from "./chunk-ELJX3QIQ.js";
|
|
18
|
+
import "./chunk-EEB5VE2A.js";
|
|
19
|
+
import "./chunk-6RRZRISL.js";
|
|
20
|
+
import "./chunk-2KM4PRQM.js";
|
|
21
|
+
import {
|
|
22
|
+
dofetch3
|
|
23
|
+
} from "./chunk-RPDVFM7E.js";
|
|
24
|
+
import "./chunk-M4XXKTH2.js";
|
|
25
|
+
import "./chunk-5ILEFNXJ.js";
|
|
26
|
+
import "./chunk-IZUYLFOX.js";
|
|
27
|
+
import "./chunk-WINIL2KN.js";
|
|
28
|
+
import "./chunk-PF4DSFDR.js";
|
|
29
|
+
import "./chunk-7X6NF7NI.js";
|
|
30
|
+
import "./chunk-W5J3LTYS.js";
|
|
31
|
+
import {
|
|
32
|
+
axisRight
|
|
33
|
+
} from "./chunk-Z2ZITHT4.js";
|
|
34
|
+
import {
|
|
35
|
+
linear
|
|
36
|
+
} from "./chunk-4OLM3KSB.js";
|
|
37
|
+
import "./chunk-FXQXCOII.js";
|
|
38
|
+
import "./chunk-TLT4YIG3.js";
|
|
39
|
+
import "./chunk-5R63Q5KH.js";
|
|
40
|
+
import {
|
|
41
|
+
pointer_default,
|
|
42
|
+
select_default
|
|
43
|
+
} from "./chunk-I6Y4O3RR.js";
|
|
44
|
+
import "./chunk-Q5RDQNIT.js";
|
|
45
|
+
import "./chunk-DQC5FFGV.js";
|
|
46
|
+
import "./chunk-HS5PO5ZQ.js";
|
|
47
|
+
|
|
48
|
+
// src/block.tk.bam.js
|
|
49
|
+
var stackpagesize = 60;
|
|
50
|
+
var slider_rail_color = "#eee";
|
|
51
|
+
var slider_color = "#c7edc5";
|
|
52
|
+
var slider_color_dark = "#9ed19b";
|
|
53
|
+
var slider_color_dark_line = "#36a32f";
|
|
54
|
+
var messagerowheight = 15;
|
|
55
|
+
var stackheight_min = 7;
|
|
56
|
+
async function loadTk(tk, block) {
|
|
57
|
+
block.tkcloakon(tk);
|
|
58
|
+
block.block_setheight();
|
|
59
|
+
if (tk.uninitialized) {
|
|
60
|
+
makeTk(tk, block);
|
|
61
|
+
}
|
|
62
|
+
const regions = [];
|
|
63
|
+
let xoff = 0;
|
|
64
|
+
for (let i = block.startidx; i <= block.stopidx; i++) {
|
|
65
|
+
const r = block.rglst[i];
|
|
66
|
+
regions.push({
|
|
67
|
+
chr: r.chr,
|
|
68
|
+
start: r.start,
|
|
69
|
+
stop: r.stop,
|
|
70
|
+
width: r.width,
|
|
71
|
+
x: xoff
|
|
72
|
+
});
|
|
73
|
+
xoff += r.width + block.regionspace;
|
|
74
|
+
}
|
|
75
|
+
for (const [idx, r] of block.subpanels.entries()) {
|
|
76
|
+
xoff += r.leftpad;
|
|
77
|
+
regions.push({
|
|
78
|
+
chr: r.chr,
|
|
79
|
+
start: r.start,
|
|
80
|
+
stop: r.stop,
|
|
81
|
+
width: r.width,
|
|
82
|
+
exonsf: r.exonsf,
|
|
83
|
+
subpanelidx: idx,
|
|
84
|
+
x: xoff
|
|
85
|
+
});
|
|
86
|
+
xoff += r.width;
|
|
87
|
+
}
|
|
88
|
+
tk.regions = regions;
|
|
89
|
+
try {
|
|
90
|
+
if (tk.groups) {
|
|
91
|
+
for (const g of tk.groups) {
|
|
92
|
+
delete g.partstack;
|
|
93
|
+
delete g.dom.rightg.vslider.boxy;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
const data = await getData(tk, block);
|
|
97
|
+
if (data.error) throw data.error;
|
|
98
|
+
if (data.colorscale) {
|
|
99
|
+
tk.colorscale = data.colorscale;
|
|
100
|
+
}
|
|
101
|
+
if (tk.variants) {
|
|
102
|
+
for (let var_idx = 0; var_idx < tk.variants.length; var_idx++) {
|
|
103
|
+
if (tk.variants[var_idx].pos != data.allele_positions[var_idx]) {
|
|
104
|
+
tk.variants[var_idx].pos = data.allele_positions[var_idx];
|
|
105
|
+
tk.variants[var_idx].ref = data.ref_alleles[var_idx];
|
|
106
|
+
tk.variants[var_idx].alt = data.alt_alleles[var_idx];
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
renderTk(data, tk, block);
|
|
111
|
+
block.tkcloakoff(tk, {});
|
|
112
|
+
} catch (e) {
|
|
113
|
+
if (e.stack) console.log(e.stack);
|
|
114
|
+
if (tk.pileup_shown) {
|
|
115
|
+
tk.dom.pileup_axis.selectAll("*").remove();
|
|
116
|
+
tk.dom.pileup_img.attr("width", 0);
|
|
117
|
+
}
|
|
118
|
+
if (tk.groups) {
|
|
119
|
+
for (const g of tk.groups) {
|
|
120
|
+
g.dom.img_fullstack.attr("width", 0).attr("height", 0);
|
|
121
|
+
g.dom.img_partstack.attr("width", 0).attr("height", 0);
|
|
122
|
+
g.dom.img_cover.attr("width", 0).attr("height", 0);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
tk.height_main = tk.height = 100;
|
|
126
|
+
if (typeof e == "string" && e.startsWith("No reads in view range")) {
|
|
127
|
+
tk.leftlabel_count.text("");
|
|
128
|
+
tk.leftlabel_skip.text("");
|
|
129
|
+
}
|
|
130
|
+
block.tkcloakoff(tk, { error: e.message || e });
|
|
131
|
+
}
|
|
132
|
+
setLeftlabelWidth(tk, block);
|
|
133
|
+
block.block_setheight();
|
|
134
|
+
}
|
|
135
|
+
async function getData(tk, block, additional = {}) {
|
|
136
|
+
const body = {
|
|
137
|
+
genome: block.genome.name,
|
|
138
|
+
regions: tk.regions,
|
|
139
|
+
nucleotide_length: block.exonsf,
|
|
140
|
+
pileupheight: tk.pileupheight,
|
|
141
|
+
...additional
|
|
142
|
+
};
|
|
143
|
+
if (tk.gdcFile) {
|
|
144
|
+
body.gdcFileUUID = tk.gdcFile.uuid;
|
|
145
|
+
body.gdcFilePosition = tk.gdcFile.position;
|
|
146
|
+
}
|
|
147
|
+
if (tk.variants) {
|
|
148
|
+
body.variant = tk.variants.map((m) => m.chr + "." + m.pos + "." + m.ref + "." + m.alt).join(".");
|
|
149
|
+
body.strictness = tk.strictness;
|
|
150
|
+
body.diff_score_plotwidth = tk.dom.diff_score_plotwidth;
|
|
151
|
+
if (Number.isFinite(tk.max_diff_score)) {
|
|
152
|
+
body.max_diff_score = tk.max_diff_score;
|
|
153
|
+
body.min_diff_score = tk.min_diff_score;
|
|
154
|
+
}
|
|
155
|
+
} else if (tk.sv) {
|
|
156
|
+
if (tk.sv[0].strandA == "+") {
|
|
157
|
+
tk.sv[0].strandA = "positive";
|
|
158
|
+
} else if (tk.sv[0].strandA == "-") {
|
|
159
|
+
tk.sv[0].strandA = "negative";
|
|
160
|
+
}
|
|
161
|
+
if (tk.sv[0].strandB == "+") {
|
|
162
|
+
tk.sv[0].strandB = "positive";
|
|
163
|
+
} else if (tk.sv[0].strandB == "-") {
|
|
164
|
+
tk.sv[0].strandB = "negative";
|
|
165
|
+
}
|
|
166
|
+
body.sv = tk.sv.map((m) => m.chrA + "." + m.startA + "." + m.strandA + "." + m.chrB + "." + m.startB + "." + m.strandB).join(".");
|
|
167
|
+
}
|
|
168
|
+
if (tk.variants && tk.alleleAlreadyUpdated) {
|
|
169
|
+
body.alleleAlreadyUpdated = 1;
|
|
170
|
+
body.refseqs = tk.variants.refseqs;
|
|
171
|
+
body.altseqs = tk.variants.altseqs;
|
|
172
|
+
body.leftflankseqs = tk.variants.leftflankseqs;
|
|
173
|
+
body.rightflankseqs = tk.variants.rightflankseqs;
|
|
174
|
+
body.ref_positions = tk.variants.ref_positions;
|
|
175
|
+
body.refalleles = tk.variants.refalleles;
|
|
176
|
+
body.altalleles = tk.variants.altalleles;
|
|
177
|
+
}
|
|
178
|
+
if (tk.uninitialized) {
|
|
179
|
+
body.getcolorscale = 1;
|
|
180
|
+
delete tk.uninitialized;
|
|
181
|
+
}
|
|
182
|
+
if (tk.asPaired) body.asPaired = 1;
|
|
183
|
+
if ("nochr" in tk) body.nochr = tk.nochr;
|
|
184
|
+
if (tk.file) body.file = tk.file;
|
|
185
|
+
if (tk.url) body.url = tk.url;
|
|
186
|
+
if (tk.indexURL) body.indexURL = tk.indexURL;
|
|
187
|
+
if (tk.drop_pcrduplicates) body.drop_pcrduplicates = 1;
|
|
188
|
+
if (tk.drop_supplementary_alignments) body.drop_supplementary_alignments = 1;
|
|
189
|
+
if (window.devicePixelRatio > 1) body.devicePixelRatio = window.devicePixelRatio;
|
|
190
|
+
const data = await dofetch3("tkbam", { headers: getHeaders(tk), body });
|
|
191
|
+
if (tk.variants && !tk.alleleAlreadyUpdated) {
|
|
192
|
+
tk.variants.refseqs = data.refseqs;
|
|
193
|
+
tk.variants.altseqs = data.altseqs;
|
|
194
|
+
tk.variants.refalleles = data.refalleles;
|
|
195
|
+
tk.variants.altalleles = data.altalleles;
|
|
196
|
+
tk.variants.leftflankseqs = data.leftflankseqs;
|
|
197
|
+
tk.variants.rightflankseqs = data.rightflankseqs;
|
|
198
|
+
tk.variants.ref_positions = data.ref_positions;
|
|
199
|
+
tk.alleleAlreadyUpdated = true;
|
|
200
|
+
}
|
|
201
|
+
if (data.error) throw data.error;
|
|
202
|
+
return data;
|
|
203
|
+
}
|
|
204
|
+
function renderTk(data, tk, block) {
|
|
205
|
+
if ("nochr" in data) tk.nochr = data.nochr;
|
|
206
|
+
if (data.pileup_data) {
|
|
207
|
+
tk.pileup_shown = true;
|
|
208
|
+
tk.dom.pileup_img.attr("xlink:href", data.pileup_data.src).attr("width", data.pileup_data.width).attr("height", tk.pileupheight);
|
|
209
|
+
tk.dom.pileup_axis.selectAll("*").remove();
|
|
210
|
+
const scale = linear().domain([0, data.pileup_data.maxValue]).range([tk.pileupheight, 0]);
|
|
211
|
+
axisstyle({
|
|
212
|
+
axis: tk.dom.pileup_axis.call(axisRight().scale(scale).ticks(5)),
|
|
213
|
+
// at most 5 ticks
|
|
214
|
+
color: "black",
|
|
215
|
+
showline: true
|
|
216
|
+
});
|
|
217
|
+
} else {
|
|
218
|
+
tk.pileup_shown = false;
|
|
219
|
+
tk.dom.pileup_axis.selectAll("*").remove();
|
|
220
|
+
tk.dom.pileup_img.attr("width", 0);
|
|
221
|
+
}
|
|
222
|
+
if (data.count.read_limit_reached) {
|
|
223
|
+
tk.toomanyreads = true;
|
|
224
|
+
tk.dom.read_limit_text.text(
|
|
225
|
+
`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.`
|
|
226
|
+
).attr("x", data.pileup_data.width / 2).attr("transform", "scale(1)");
|
|
227
|
+
} else {
|
|
228
|
+
tk.toomanyreads = false;
|
|
229
|
+
tk.dom.read_limit_text.attr("transform", "scale(0)");
|
|
230
|
+
}
|
|
231
|
+
if (!tk.groups) {
|
|
232
|
+
tk.groups = [];
|
|
233
|
+
for (const g of data.groups) {
|
|
234
|
+
const gd = makeGroup(g, tk, block, data);
|
|
235
|
+
tk.groups.push(gd);
|
|
236
|
+
}
|
|
237
|
+
} else {
|
|
238
|
+
updateExistingGroups(data, tk, block);
|
|
239
|
+
}
|
|
240
|
+
may_render_variant(data, tk, block);
|
|
241
|
+
for (const g of tk.groups) {
|
|
242
|
+
g.dom.message_rowg.selectAll("*").remove();
|
|
243
|
+
let y = 0;
|
|
244
|
+
for (const m of g.data.messages) {
|
|
245
|
+
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);
|
|
246
|
+
if (m.isheader && !tk.gdcFile) {
|
|
247
|
+
msg.attr("class", "sja_clbtext2").on("click", () => {
|
|
248
|
+
click_groupheader(tk, g, block);
|
|
249
|
+
});
|
|
250
|
+
}
|
|
251
|
+
y += messagerowheight;
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
setTkHeight(tk);
|
|
255
|
+
let countr = 0, countt = 0;
|
|
256
|
+
for (const g of tk.groups) {
|
|
257
|
+
countr += g.data.count.r;
|
|
258
|
+
if (tk.asPaired) {
|
|
259
|
+
countt += g.data.count.t;
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
tk.leftlabel_count.text(
|
|
263
|
+
(countr ? countr + " read" + (countr > 1 ? "s" : "") : "") + (countt ? ", " + countt + " template" + (countt > 1 ? "s" : "") : "")
|
|
264
|
+
);
|
|
265
|
+
if (data.count.skipped) {
|
|
266
|
+
tk.leftlabel_skip.text(`${data.count.skipped} read${data.count.skipped > 1 ? "s" : ""} skipped`);
|
|
267
|
+
} else {
|
|
268
|
+
tk.leftlabel_skip.text("");
|
|
269
|
+
}
|
|
270
|
+
tk.read_alignment_diff_scores_asc = data.read_alignment_diff_scores_asc;
|
|
271
|
+
}
|
|
272
|
+
function setLeftlabelWidth(tk, block) {
|
|
273
|
+
const lst = [
|
|
274
|
+
tk.tklabel.node().getBBox().width,
|
|
275
|
+
tk.leftlabel_count.node().getBBox().width,
|
|
276
|
+
tk.leftlabel_skip.node().getBBox().width,
|
|
277
|
+
tk.leftlabel_about ? tk.leftlabel_about.node().getBBox().width : 0
|
|
278
|
+
];
|
|
279
|
+
if (tk.show_readnames) {
|
|
280
|
+
for (const g of tk.groups) lst.push(g.ReadNameMaxwidth);
|
|
281
|
+
}
|
|
282
|
+
tk.leftLabelMaxwidth = Math.max(...lst);
|
|
283
|
+
block.setllabel();
|
|
284
|
+
}
|
|
285
|
+
function may_render_variant(data, tk, block) {
|
|
286
|
+
if (!tk.dom.variantg || tk.sv) return;
|
|
287
|
+
let var_idx = 0;
|
|
288
|
+
for (const g of tk.groups) {
|
|
289
|
+
if (g.data.type.includes("support_alt")) {
|
|
290
|
+
if (g.variantg) {
|
|
291
|
+
g.variantg.selectAll("*").remove();
|
|
292
|
+
} else {
|
|
293
|
+
g.variantg = tk.glider.append("g");
|
|
294
|
+
}
|
|
295
|
+
let x1, x2;
|
|
296
|
+
{
|
|
297
|
+
const hits = block.seekcoord(tk.variants[0].chr, tk.variants[var_idx].pos);
|
|
298
|
+
if (hits[0]) {
|
|
299
|
+
x1 = hits[0].x - block.exonsf / 2;
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
{
|
|
303
|
+
const hits = block.seekcoord(tk.variants[0].chr, tk.variants[var_idx].pos + tk.variants[var_idx].ref.length);
|
|
304
|
+
if (hits[0]) {
|
|
305
|
+
x2 = hits[0].x - block.exonsf / 2;
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
if (x1 === void 0 || x2 === void 0 || x1 >= block.width || x2 <= 0) return;
|
|
309
|
+
let variant_box_width = x2 - x1;
|
|
310
|
+
if (x2 > data.pileup_data.width) {
|
|
311
|
+
variant_box_width = data.pileup_data.width - x1;
|
|
312
|
+
} else if (x1 < 0) {
|
|
313
|
+
variant_box_width = x2;
|
|
314
|
+
}
|
|
315
|
+
if (tk.variants.length == 1) {
|
|
316
|
+
g.variantg.append("rect").attr("x", Math.max(0, x1)).attr("width", variant_box_width).attr("height", tk.dom.variantrowheight).attr("fill", "grey");
|
|
317
|
+
} else {
|
|
318
|
+
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);
|
|
319
|
+
}
|
|
320
|
+
const variant_string = tk.variants[0].chr + "." + (data.allele_positions[var_idx] + 1).toString() + "." + data.ref_alleles[var_idx] + "." + data.alt_alleles[var_idx];
|
|
321
|
+
let variant_start_text_pos = 0;
|
|
322
|
+
const space_param = 10;
|
|
323
|
+
const pad_param = 15;
|
|
324
|
+
const var_str = g.variantg.append("text").attr("y", tk.dom.variantrowheight - 2).attr("font-size", tk.dom.variantrowheight).text(variant_string);
|
|
325
|
+
const var_str_bbox = var_str.node().getBBox();
|
|
326
|
+
if (var_str_bbox.width + space_param < x1) {
|
|
327
|
+
variant_start_text_pos = x1 - var_str_bbox.width - space_param;
|
|
328
|
+
} else if (var_str_bbox.width < variant_box_width) {
|
|
329
|
+
variant_start_text_pos = Math.max(0, x1) + (variant_box_width - var_str_bbox.width) / 2;
|
|
330
|
+
} else if (x2 + var_str_bbox.width < data.pileup_data.width) {
|
|
331
|
+
variant_start_text_pos = x2 + space_param;
|
|
332
|
+
}
|
|
333
|
+
var_str.attr("x", variant_start_text_pos);
|
|
334
|
+
if (data.refalleleerror == true) {
|
|
335
|
+
let text_start_pos = 0;
|
|
336
|
+
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");
|
|
337
|
+
const incorrect_ref_bbox = incorrect_string.node().getBBox();
|
|
338
|
+
if (variant_start_text_pos == 0 && incorrect_ref_bbox.width + space_param < x1 - var_str_bbox.width - space_param) {
|
|
339
|
+
text_start_pos = var_str_bbox.width + space_param;
|
|
340
|
+
} else if (variant_start_text_pos == 0 && incorrect_ref_bbox.width + space_param > x1 - var_str_bbox.width - space_param) {
|
|
341
|
+
text_start_pos = x2 + space_param;
|
|
342
|
+
} else if (var_str_bbox.width + space_param < x1 && x2 + incorrect_ref_bbox.width + space_param < data.pileup_data.width) {
|
|
343
|
+
text_start_pos = x2 + space_param;
|
|
344
|
+
} 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) {
|
|
345
|
+
text_start_pos = Math.max(0, x1);
|
|
346
|
+
} else if (var_str_bbox.width + space_param < x1 && x2 + incorrect_ref_bbox.width + space_param >= data.pileup_data.width) {
|
|
347
|
+
text_start_pos = x1 - var_str_bbox.width - space_param * 2 - incorrect_ref_bbox.width;
|
|
348
|
+
} else if (var_str_bbox.width < variant_box_width && incorrect_ref_bbox.width + space_param < x1) {
|
|
349
|
+
text_start_pos = x1 - incorrect_ref_bbox.width - space_param;
|
|
350
|
+
} else if (var_str_bbox.width < variant_box_width && incorrect_ref_bbox.width + space_param >= x1) {
|
|
351
|
+
text_start_pos = x2 + space_param;
|
|
352
|
+
} else if (x2 + var_str_bbox.width < data.pileup_data.width && incorrect_ref_bbox.width + space_param < x1) {
|
|
353
|
+
text_start_pos = x1 - incorrect_ref_bbox.width - space_param;
|
|
354
|
+
} else if (x2 + var_str_bbox.width < data.pileup_data.width && incorrect_ref_bbox.width + space_param >= x1) {
|
|
355
|
+
text_start_pos = x2 + var_str_bbox.width + 2 * space_param;
|
|
356
|
+
} else if (x2 + var_str_bbox.width < data.pileup_data.width && incorrect_ref_bbox.width < variant_box_width) {
|
|
357
|
+
text_start_pos = Math.max(0, x1);
|
|
358
|
+
}
|
|
359
|
+
incorrect_string.attr("x", text_start_pos);
|
|
360
|
+
}
|
|
361
|
+
var_idx += 1;
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
if (tk.variants.length == 1) {
|
|
365
|
+
tk.fs_string.text("FS = " + data.strand_probability);
|
|
366
|
+
if (data.strand_significance) {
|
|
367
|
+
tk.fs_string.style("fill", "red");
|
|
368
|
+
} else {
|
|
369
|
+
tk.fs_string.style("fill", "black");
|
|
370
|
+
}
|
|
371
|
+
tk.fs_string.on("click", (event) => {
|
|
372
|
+
tk.tktip.clear().showunder(event.target);
|
|
373
|
+
tk.tktip.d.append("div").style("width", "350px").html(
|
|
374
|
+
`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.
|
|
375
|
+
</br></br>
|
|
376
|
+
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.`
|
|
377
|
+
);
|
|
378
|
+
const table = tk.tktip.d.append("table").style("margin-top", "20px").style("border-spacing", "5px");
|
|
379
|
+
{
|
|
380
|
+
const tr = table.append("tr").style("font-weight", "bold");
|
|
381
|
+
tr.append("td");
|
|
382
|
+
tr.append("td").text("Alternative");
|
|
383
|
+
tr.append("td").text("Reference");
|
|
384
|
+
}
|
|
385
|
+
{
|
|
386
|
+
const tr = table.append("tr");
|
|
387
|
+
tr.append("td").text("Forward").style("font-weight", "bold");
|
|
388
|
+
tr.append("td").text(data.alternate_forward_count);
|
|
389
|
+
tr.append("td").text(data.reference_forward_count);
|
|
390
|
+
}
|
|
391
|
+
{
|
|
392
|
+
const tr = table.append("tr");
|
|
393
|
+
tr.append("td").text("Reverse").style("font-weight", "bold");
|
|
394
|
+
tr.append("td").text(data.alternate_reverse_count);
|
|
395
|
+
tr.append("td").text(data.reference_reverse_count);
|
|
396
|
+
}
|
|
397
|
+
});
|
|
398
|
+
}
|
|
399
|
+
if (Number.isFinite(data.max_diff_score) && !tk.dom.alleleSimilarityHeaderLabel) {
|
|
400
|
+
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");
|
|
401
|
+
const html_text = [
|
|
402
|
+
"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."
|
|
403
|
+
];
|
|
404
|
+
let var_idx2 = 0;
|
|
405
|
+
html_text.push("<br>Allele color codes:");
|
|
406
|
+
let old_pos = tk.variants[0].pos;
|
|
407
|
+
let old_ref_length = tk.variants[0].ref.length;
|
|
408
|
+
tk.is_same_ref = true;
|
|
409
|
+
let ref_color;
|
|
410
|
+
for (const g of tk.groups) {
|
|
411
|
+
if (g.data.type.includes("support_alt")) {
|
|
412
|
+
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;
|
|
413
|
+
html_text.push(test_text);
|
|
414
|
+
if (tk.variants[var_idx2].pos != old_pos || tk.variants[var_idx2].ref.length != old_ref_length) {
|
|
415
|
+
tk.is_same_ref = false;
|
|
416
|
+
}
|
|
417
|
+
var_idx2 += 1;
|
|
418
|
+
} else if (g.data.type == "support_ref") {
|
|
419
|
+
ref_color = g.data.group_color;
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
if (!ref_color) {
|
|
423
|
+
ref_color = "#47C8FF";
|
|
424
|
+
}
|
|
425
|
+
if (tk.is_same_ref == true) {
|
|
426
|
+
html_text.push(
|
|
427
|
+
'<svg width="10" height="10" style = "display:inline-block;"><rect width="10" height="10" style="fill:' + ref_color + ';" /> </svg> ' + tk.variants[0].ref
|
|
428
|
+
);
|
|
429
|
+
} else {
|
|
430
|
+
html_text.push(
|
|
431
|
+
'<svg width="10" height="10" style = "display:inline-block;"><rect width="10" height="10" style="fill:' + ref_color + ';" /> </svg> Combined reference allele'
|
|
432
|
+
);
|
|
433
|
+
}
|
|
434
|
+
if (!tk.gdcFile) {
|
|
435
|
+
html_text.push(
|
|
436
|
+
"<br><a href='https://proteinpaint.stjude.org/bam' target='_blank'>Click here to view details of this method</a>."
|
|
437
|
+
);
|
|
438
|
+
}
|
|
439
|
+
tk.dom.alleleSimilarityHeaderLabel.on("click", (event) => {
|
|
440
|
+
const b = event.target.getBoundingClientRect();
|
|
441
|
+
tk.tktip.clear().show(b.x - 250, b.y);
|
|
442
|
+
tk.tktip.d.append("div").style("width", "300px").html(html_text.join("<br>"));
|
|
443
|
+
});
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
function setTkHeight(tk) {
|
|
447
|
+
let h = 0;
|
|
448
|
+
if (tk.pileup_shown) h += tk.pileupheight + tk.pileupbottompad;
|
|
449
|
+
if (tk.toomanyreads) {
|
|
450
|
+
h += tk.dom.read_limit_height;
|
|
451
|
+
tk.dom.read_limit_text.attr("y", h);
|
|
452
|
+
h += tk.dom.read_limit_bottompad;
|
|
453
|
+
}
|
|
454
|
+
if (tk.dom.variantg) {
|
|
455
|
+
tk.dom.variantg.attr("transform", "translate(0," + h + ")");
|
|
456
|
+
}
|
|
457
|
+
if (tk.dom.alleleSimilarityHeaderG) {
|
|
458
|
+
tk.dom.alleleSimilarityHeaderG.attr("transform", "translate(0," + (tk.pileupheight - tk.pileupbottompad * 2) + ")");
|
|
459
|
+
}
|
|
460
|
+
let var_idx = 0;
|
|
461
|
+
for (const g of tk.groups) {
|
|
462
|
+
if (g.data.type.includes("support_alt")) {
|
|
463
|
+
g.variantg.attr("transform", "translate(0," + h + ")");
|
|
464
|
+
h += tk.dom.variantrowheight + tk.dom.variantrowbottompad;
|
|
465
|
+
var_idx += 1;
|
|
466
|
+
}
|
|
467
|
+
g.dom.groupg.transition().attr("transform", "translate(0," + h + ")");
|
|
468
|
+
g.dom.rightg.transition().attr("transform", "translate(0," + h + ")");
|
|
469
|
+
g.msgheight = messagerowheight * g.data.messages.length;
|
|
470
|
+
g.dom.leftg.transition().attr("transform", "translate(0," + (h + g.msgheight) + ")");
|
|
471
|
+
g.dom.imgg.transition().attr("transform", "translate(0," + g.msgheight + ")");
|
|
472
|
+
if (tk.variants) {
|
|
473
|
+
g.dom.diff_score_barplot_fullstack.transition().attr("transform", "translate(0," + g.msgheight + ")");
|
|
474
|
+
}
|
|
475
|
+
if (g.partstack) {
|
|
476
|
+
if (tk.variants) {
|
|
477
|
+
g.dom.diff_score_barplot_partstack.transition().attr("transform", "translate(0," + g.msgheight + ")");
|
|
478
|
+
g.dom.rightg.vslider.g.transition().attr("transform", "translate(" + tk.dom.diff_score_plotwidth * 1.1 + "," + g.msgheight + ") scale(1)");
|
|
479
|
+
} else {
|
|
480
|
+
g.dom.rightg.vslider.g.transition().attr("transform", "translate(0,0) scale(1)");
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
h += g.data.height + g.msgheight;
|
|
484
|
+
if (g.data.type.includes("support_alt") && var_idx < tk.variants.length) {
|
|
485
|
+
h += tk.dom.variantrowheight;
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
tk.height_main = tk.height = h;
|
|
489
|
+
tk.height_main += tk.toppad + tk.bottompad;
|
|
490
|
+
}
|
|
491
|
+
function updateExistingGroups(data, tk, block) {
|
|
492
|
+
for (let i = 0; i < tk.groups.length; i++) {
|
|
493
|
+
const group = data.groups.find((g) => g.type == tk.groups[i].data.type);
|
|
494
|
+
if (!group) {
|
|
495
|
+
deleteGroupDom(tk.groups[i]);
|
|
496
|
+
tk.groups.splice(i, 1);
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
for (const gd of data.groups) {
|
|
500
|
+
const group = tk.groups.find((g) => g.data.type == gd.type);
|
|
501
|
+
if (!group) {
|
|
502
|
+
const g = makeGroup(gd, tk, block, data);
|
|
503
|
+
tk.groups.push(g);
|
|
504
|
+
} else {
|
|
505
|
+
group.data = gd;
|
|
506
|
+
update_boxes(group, tk, block);
|
|
507
|
+
group.dom.img_fullstack.attr("xlink:href", group.data.src).attr("width", group.data.width).attr("height", group.data.height);
|
|
508
|
+
if (tk.variants) {
|
|
509
|
+
group.ReadNameMaxwidth = 0;
|
|
510
|
+
if (tk.show_readnames) {
|
|
511
|
+
if (group.data.templatebox) {
|
|
512
|
+
group.dom.read_names_g.selectAll("*").remove();
|
|
513
|
+
let read_count = 1;
|
|
514
|
+
for (const read of group.data.templatebox) {
|
|
515
|
+
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);
|
|
516
|
+
group.ReadNameMaxwidth = Math.max(group.ReadNameMaxwidth, read_name_bbox.node().getBBox().width);
|
|
517
|
+
read_count += 1;
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
} else {
|
|
521
|
+
group.dom.read_names_g.selectAll("*").remove();
|
|
522
|
+
group.ReadNameMaxwidth = 0;
|
|
523
|
+
}
|
|
524
|
+
if (group.my_partstack) {
|
|
525
|
+
if (group.data.allowpartstack) {
|
|
526
|
+
enter_partstack(group, tk, block, group.my_partstack, data);
|
|
527
|
+
}
|
|
528
|
+
} else {
|
|
529
|
+
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);
|
|
530
|
+
}
|
|
531
|
+
}
|
|
532
|
+
group.dom.img_partstack.attr("width", 0).attr("height", 0);
|
|
533
|
+
if (tk.variants) {
|
|
534
|
+
group.dom.diff_score_barplot_partstack.attr("width", 0).attr("height", 0);
|
|
535
|
+
}
|
|
536
|
+
group.dom.rightg.vslider.g.transition().attr("transform", "scale(0)");
|
|
537
|
+
group.dom.img_cover.attr("width", group.data.width).attr("height", group.data.height);
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
function update_boxes(group, tk, block) {
|
|
542
|
+
group.dom.box_move.attr("width", 0);
|
|
543
|
+
update_box_stay(group, tk, block);
|
|
544
|
+
}
|
|
545
|
+
function update_box_stay(group, tk, block) {
|
|
546
|
+
if (!group.data.templatebox) {
|
|
547
|
+
group.dom.box_stay.attr("width", 0);
|
|
548
|
+
return;
|
|
549
|
+
}
|
|
550
|
+
if (!group.clickedtemplate) {
|
|
551
|
+
group.dom.box_stay.attr("width", 0);
|
|
552
|
+
return;
|
|
553
|
+
}
|
|
554
|
+
for (const t of group.data.templatebox) {
|
|
555
|
+
if (t.qname == group.clickedtemplate.qname) {
|
|
556
|
+
if (tk.asPaired || t.isfirst && group.clickedtemplate.isfirst || t.islast && group.clickedtemplate.islast) {
|
|
557
|
+
const bx1 = Math.max(0, t.x1);
|
|
558
|
+
const bx2 = Math.min(block.width, t.x2);
|
|
559
|
+
group.dom.box_stay.attr("width", bx2 - bx1).attr("height", t.y2 - t.y1).attr("transform", "translate(" + bx1 + "," + t.y1 + ")");
|
|
560
|
+
return;
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
}
|
|
564
|
+
group.dom.box_stay.attr("width", 0);
|
|
565
|
+
}
|
|
566
|
+
function deleteGroupDom(g) {
|
|
567
|
+
g.dom.message_rowg.remove();
|
|
568
|
+
g.dom.img_fullstack.remove();
|
|
569
|
+
g.dom.img_partstack.remove();
|
|
570
|
+
g.dom.diff_score_barplot_fullstack?.remove();
|
|
571
|
+
g.dom.diff_score_barplot_partstack?.remove();
|
|
572
|
+
g.dom.read_names_g?.remove();
|
|
573
|
+
g.dom.leftg.remove();
|
|
574
|
+
g.dom.box_stay?.remove();
|
|
575
|
+
g.dom.box_move?.remove();
|
|
576
|
+
g.dom.rightg.remove();
|
|
577
|
+
}
|
|
578
|
+
function makeTk(tk, block) {
|
|
579
|
+
if (tk.gdcFile) {
|
|
580
|
+
block.gdcBamSliceDownloadBtn.style("display", "inline-block");
|
|
581
|
+
}
|
|
582
|
+
may_add_urlparameter(tk, block);
|
|
583
|
+
if (tk.drop_pcrduplicates == void 0) {
|
|
584
|
+
tk.drop_pcrduplicates = true;
|
|
585
|
+
}
|
|
586
|
+
tk.drop_supplementary_alignments = false;
|
|
587
|
+
if (tk.show_readnames == void 0) {
|
|
588
|
+
tk.show_readnames = false;
|
|
589
|
+
}
|
|
590
|
+
tk.config_handle = block.maketkconfighandle(tk).attr("y", 10 + block.labelfontsize).on("click", () => {
|
|
591
|
+
configPanel(tk, block);
|
|
592
|
+
});
|
|
593
|
+
tk.readMenu = new Menu();
|
|
594
|
+
tk.readMenu.d.style("max-width", "90vw").style("max-height", "65vh").attr("class", "sjpp_show_scrollbar");
|
|
595
|
+
tk.multiAlignMenu = new Menu();
|
|
596
|
+
tk.multiAlignMenu.d.style("max-width", "90vw").style("max-height", "65vh").attr("class", "sjpp_show_scrollbar");
|
|
597
|
+
tk.pileupheight = 100;
|
|
598
|
+
tk.pileupbottompad = 6;
|
|
599
|
+
tk.dom = {
|
|
600
|
+
pileup_g: tk.glider.append("g"),
|
|
601
|
+
pileup_axis: tk.glider.append("g"),
|
|
602
|
+
read_limit_height: 15,
|
|
603
|
+
read_limit_bottompad: 6,
|
|
604
|
+
read_limit_g: tk.glider.append("g")
|
|
605
|
+
};
|
|
606
|
+
tk.dom.pileup_img = tk.dom.pileup_g.append("image");
|
|
607
|
+
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)");
|
|
608
|
+
if (tk.variants) {
|
|
609
|
+
tk.dom.variantg = tk.glider.append("g");
|
|
610
|
+
tk.dom.alleleSimilarityHeaderG = tk.gright.append("g");
|
|
611
|
+
tk.dom.variantrowheight = 15;
|
|
612
|
+
tk.dom.variantrowbottompad = 5;
|
|
613
|
+
tk.dom.diff_score_plotwidth = 20;
|
|
614
|
+
tk.fs_string = block.maketklefthandle(tk, tk.pileupheight + tk.dom.variantrowheight / 2);
|
|
615
|
+
} else if (tk.sv) {
|
|
616
|
+
tk.dom.variantg = tk.glider.append("g");
|
|
617
|
+
tk.dom.variantrowheight = 15;
|
|
618
|
+
tk.dom.variantrowbottompad = 5;
|
|
619
|
+
}
|
|
620
|
+
tk.asPaired = false;
|
|
621
|
+
let laby = block.labelfontsize + 5;
|
|
622
|
+
tk.leftlabel_count = block.maketklefthandle(tk, laby);
|
|
623
|
+
laby += block.labelfontsize;
|
|
624
|
+
tk.leftlabel_skip = block.maketklefthandle(tk, laby).text("");
|
|
625
|
+
if (tk.aboutThisFile) {
|
|
626
|
+
laby += block.labelfontsize;
|
|
627
|
+
tk.leftlabel_about = block.maketklefthandle(tk, laby).text("About the BAM file").on("mouseover", (event) => {
|
|
628
|
+
tk.tktip.showunder(event.target).clear();
|
|
629
|
+
const t = table2col({ holder: tk.tktip.d });
|
|
630
|
+
for (const r of tk.aboutThisFile) t.addRow(r.k, r.v);
|
|
631
|
+
}).on("mouseout", () => {
|
|
632
|
+
tk.tktip.hide();
|
|
633
|
+
});
|
|
634
|
+
}
|
|
635
|
+
delete tk.alleleAlreadyUpdated;
|
|
636
|
+
if (tk.groups) {
|
|
637
|
+
for (const g of tk.groups) deleteGroupDom(g);
|
|
638
|
+
delete tk.groups;
|
|
639
|
+
}
|
|
640
|
+
}
|
|
641
|
+
function may_add_urlparameter(tk, block) {
|
|
642
|
+
const u2p = urlmap_default();
|
|
643
|
+
if (u2p.has("variant")) {
|
|
644
|
+
tk.variants = [];
|
|
645
|
+
if (typeof u2p.get("variant") == "string") {
|
|
646
|
+
const tmp = u2p.get("variant").split(".");
|
|
647
|
+
if (tmp.length == 4) {
|
|
648
|
+
const pos = Number(tmp[1]);
|
|
649
|
+
if (!Number.isInteger(pos)) throw "urlparam variant pos is not integer";
|
|
650
|
+
if (!tmp[2]) throw "ref allele missing";
|
|
651
|
+
if (!tmp[3]) throw "alt allele missing";
|
|
652
|
+
tk.variants.push({ chr: tmp[0], pos: pos - 1, ref: tmp[2], alt: tmp[3], strictness: 1 });
|
|
653
|
+
}
|
|
654
|
+
} else {
|
|
655
|
+
const variant_json = u2p.get("variant");
|
|
656
|
+
for (const item of variant_json.variants) {
|
|
657
|
+
if (!Number.isInteger(item.pos)) throw "urlparam variant pos is not integer";
|
|
658
|
+
if (!item.ref) throw "ref allele missing";
|
|
659
|
+
if (!item.alt) throw "alt allele missing";
|
|
660
|
+
tk.variants.push({ chr: variant_json.chr, pos: Number(item.pos) - 1, ref: item.ref, alt: item.alt });
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
if (u2p.has("strictness")) {
|
|
664
|
+
const tmp = u2p.get("strictness");
|
|
665
|
+
if (!Number.isInteger(Number(tmp))) throw "strictness must be an integer";
|
|
666
|
+
tk.strictness = Number(tmp);
|
|
667
|
+
if (tk.strictness != 1 && tk.strictness != 0) {
|
|
668
|
+
throw "strictness must be 0 or 1";
|
|
669
|
+
}
|
|
670
|
+
} else {
|
|
671
|
+
tk.strictness = 1;
|
|
672
|
+
}
|
|
673
|
+
} else if (u2p.has("sv")) {
|
|
674
|
+
const tmp = u2p.get("sv").split(".");
|
|
675
|
+
tk.sv = [];
|
|
676
|
+
if (tmp.length == 7) {
|
|
677
|
+
tk.sv.push({
|
|
678
|
+
chrA: tmp[0],
|
|
679
|
+
startA: tmp[1],
|
|
680
|
+
strandA: tmp[2],
|
|
681
|
+
chrB: tmp[3],
|
|
682
|
+
startB: tmp[4],
|
|
683
|
+
strandB: tmp[5],
|
|
684
|
+
contig: tmp[6]
|
|
685
|
+
});
|
|
686
|
+
} else if (tmp.length == 6) {
|
|
687
|
+
tk.sv.push({
|
|
688
|
+
chrA: tmp[0],
|
|
689
|
+
startA: tmp[1],
|
|
690
|
+
strandA: tmp[2],
|
|
691
|
+
chrB: tmp[3],
|
|
692
|
+
startB: tmp[4],
|
|
693
|
+
strandB: tmp[5]
|
|
694
|
+
});
|
|
695
|
+
}
|
|
696
|
+
}
|
|
697
|
+
}
|
|
698
|
+
function makeGroup(gd, tk, block, data) {
|
|
699
|
+
const group = {
|
|
700
|
+
data: gd,
|
|
701
|
+
dom: {
|
|
702
|
+
groupg: tk.glider.append("g"),
|
|
703
|
+
rightg: tk.gright.append("g"),
|
|
704
|
+
leftg: tk.gleft.append("g")
|
|
705
|
+
}
|
|
706
|
+
};
|
|
707
|
+
group.dom.message_rowg = group.dom.groupg.append("g");
|
|
708
|
+
group.dom.imgg = group.dom.groupg.append("g");
|
|
709
|
+
group.dom.rightg.vslider = group.dom.rightg.append("g");
|
|
710
|
+
group.dom.rightg.vslider.g = group.dom.rightg.vslider.append("g").attr("transform", "scale(0)");
|
|
711
|
+
if (tk.variants) {
|
|
712
|
+
group.dom.diff_score_g = group.dom.rightg.append("g");
|
|
713
|
+
group.dom.read_names_g = group.dom.leftg.append("g");
|
|
714
|
+
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);
|
|
715
|
+
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);
|
|
716
|
+
if (!group.allowpartstack && !Number.isFinite(tk.max_diff_score) && tk.variants) {
|
|
717
|
+
tk.max_diff_score = data.max_diff_score;
|
|
718
|
+
tk.min_diff_score = data.min_diff_score;
|
|
719
|
+
}
|
|
720
|
+
let diff_score_height = tk.pileupheight + tk.dom.variantrowheight * 2;
|
|
721
|
+
if (tk.toomanyreads) {
|
|
722
|
+
diff_score_height = tk.pileupheight + tk.dom.variantrowheight * 3;
|
|
723
|
+
}
|
|
724
|
+
}
|
|
725
|
+
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);
|
|
726
|
+
group.dom.img_partstack = group.dom.imgg.append("image").attr("width", 0).attr("height", 0);
|
|
727
|
+
group.dom.box_move = group.dom.imgg.append("rect").attr("stroke", "black").attr("fill", "none");
|
|
728
|
+
group.dom.box_stay = group.dom.imgg.append("rect").attr("stroke", "magenta").attr("fill", "none");
|
|
729
|
+
let mousedownx;
|
|
730
|
+
const left_margin = tk.regions[0].x;
|
|
731
|
+
const right_margin = tk.regions[tk.regions.length - 1].x + tk.regions[tk.regions.length - 1].width;
|
|
732
|
+
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) => {
|
|
733
|
+
mousedownx = event.clientX;
|
|
734
|
+
}).on("mousemove", (event) => {
|
|
735
|
+
if (group.data.allowpartstack) {
|
|
736
|
+
return;
|
|
737
|
+
}
|
|
738
|
+
if (!group.data.templatebox) return;
|
|
739
|
+
const [mx, my] = pointer_default(event, group.dom.img_cover.node());
|
|
740
|
+
let read_number = 0;
|
|
741
|
+
for (const t of group.data.templatebox) {
|
|
742
|
+
read_number += 1;
|
|
743
|
+
const bx1 = Math.max(t.x1, left_margin);
|
|
744
|
+
const bx2 = Math.min(t.x2, right_margin);
|
|
745
|
+
if (mx > bx1 && mx < bx2 && my > t.y1 && my < t.y2) {
|
|
746
|
+
group.dom.box_move.attr("width", bx2 - bx1).attr("height", t.y2 - t.y1).attr("transform", "translate(" + bx1 + "," + t.y1 + ")");
|
|
747
|
+
if (tk.readAlignmentTable && tk.readAlignmentTableGroup == group.data.type) {
|
|
748
|
+
updateExistingMultiReadAligInfo(tk, read_number);
|
|
749
|
+
} else if (tk.readAlignmentTable && tk.readAlignmentTableGroup != group.data.type) {
|
|
750
|
+
updateExistingMultiReadAligInfo(tk, group.data.templatebox.length + 10);
|
|
751
|
+
}
|
|
752
|
+
return;
|
|
753
|
+
}
|
|
754
|
+
}
|
|
755
|
+
}).on("click", (event) => {
|
|
756
|
+
if (mousedownx != event.clientX) return;
|
|
757
|
+
const [mx, my] = pointer_default(event, group.dom.img_cover.node());
|
|
758
|
+
group.my_partstack = my;
|
|
759
|
+
if (group.data.allowpartstack) {
|
|
760
|
+
enter_partstack(group, tk, block, my, data);
|
|
761
|
+
return;
|
|
762
|
+
}
|
|
763
|
+
if (!group.data.templatebox) return;
|
|
764
|
+
tk.readMenu.clear().show(50, event.clientY);
|
|
765
|
+
let readNotShown = true;
|
|
766
|
+
for (let region_idx = 0; region_idx < tk.regions.length; region_idx += 1) {
|
|
767
|
+
for (const t of group.data.templatebox) {
|
|
768
|
+
const cx1 = Math.max(t.x1, left_margin);
|
|
769
|
+
const cx2 = Math.min(t.x2, right_margin);
|
|
770
|
+
const bx1 = Math.max(tk.regions[region_idx].x, t.x1);
|
|
771
|
+
const bx2 = Math.min(tk.regions[region_idx].x + tk.regions[region_idx].width, t.x2);
|
|
772
|
+
if (mx > bx1 && mx < bx2 && my > t.y1 && my < t.y2) {
|
|
773
|
+
if (group.clickedtemplate && group.clickedtemplate.qname == t.qname) {
|
|
774
|
+
if (tk.asPaired || t.isfirst && group.clickedtemplate.isfirst || t.islast && group.clickedtemplate.islast) {
|
|
775
|
+
delete group.clickedtemplate;
|
|
776
|
+
group.dom.box_stay.attr("width", 0);
|
|
777
|
+
break;
|
|
778
|
+
}
|
|
779
|
+
}
|
|
780
|
+
group.clickedtemplate = {
|
|
781
|
+
qname: t.qname
|
|
782
|
+
};
|
|
783
|
+
if (tk.asPaired) {
|
|
784
|
+
group.clickedtemplate.isfirst = true;
|
|
785
|
+
} else {
|
|
786
|
+
if (t.isfirst) group.clickedtemplate.isfirst = true;
|
|
787
|
+
if (t.islast) group.clickedtemplate.islast = true;
|
|
788
|
+
}
|
|
789
|
+
group.dom.box_stay.attr("width", cx2 - cx1).attr("height", t.y2 - t.y1).attr("transform", "translate(" + cx1 + "," + t.y1 + ")");
|
|
790
|
+
getReadInfo(tk, block, t, region_idx);
|
|
791
|
+
readNotShown = false;
|
|
792
|
+
}
|
|
793
|
+
}
|
|
794
|
+
}
|
|
795
|
+
if (readNotShown) tk.readMenu.hide();
|
|
796
|
+
});
|
|
797
|
+
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", () => {
|
|
798
|
+
delete group.dom.rightg.vslider.boxy;
|
|
799
|
+
delete group.partstack;
|
|
800
|
+
if (group.my_partstack) {
|
|
801
|
+
delete group.my_partstack;
|
|
802
|
+
}
|
|
803
|
+
group.ReadNameMaxwidth = 0;
|
|
804
|
+
group.data = group.data_fullstack;
|
|
805
|
+
renderGroup(group, tk, block);
|
|
806
|
+
setTkHeight(tk);
|
|
807
|
+
block.block_setheight();
|
|
808
|
+
});
|
|
809
|
+
group.dom.rightg.vslider.boxg = group.dom.rightg.vslider.g.append("g");
|
|
810
|
+
group.dom.rightg.vslider.box = group.dom.rightg.vslider.boxg.append("rect").attr("fill", slider_color).attr("width", 40).on("mousedown", (event) => {
|
|
811
|
+
event.preventDefault();
|
|
812
|
+
group.dom.rightg.vslider.box.attr("fill", slider_color_dark);
|
|
813
|
+
const scrollableheight = group.data.height;
|
|
814
|
+
const y0 = event.clientY;
|
|
815
|
+
let deltay = 0;
|
|
816
|
+
const b = select_default(document.body);
|
|
817
|
+
b.on("mousemove", (event2) => {
|
|
818
|
+
const y1 = event2.clientY;
|
|
819
|
+
const d = y1 - y0;
|
|
820
|
+
if (d < 0) {
|
|
821
|
+
if (group.dom.rightg.vslider.boxy + d <= 0) return;
|
|
822
|
+
} else {
|
|
823
|
+
if (group.dom.rightg.vslider.boxy + d >= scrollableheight - group.dom.rightg.vslider.boxh) return;
|
|
824
|
+
}
|
|
825
|
+
deltay = d;
|
|
826
|
+
if (tk.variants) {
|
|
827
|
+
group.dom.diff_score_barplot_partstack.attr(
|
|
828
|
+
"transform",
|
|
829
|
+
"translate(0," + (-1 * deltay * group.data_fullstack.stackcount * group.data.stackheight / scrollableheight + group.msgheight) + ")"
|
|
830
|
+
);
|
|
831
|
+
group.dom.read_names_g.attr(
|
|
832
|
+
"transform",
|
|
833
|
+
"translate(0," + -1 * deltay * group.data_fullstack.stackcount * group.data.stackheight / scrollableheight + ")"
|
|
834
|
+
);
|
|
835
|
+
}
|
|
836
|
+
group.dom.rightg.vslider.boxg.attr("transform", "translate(0," + (group.dom.rightg.vslider.boxy + deltay) + ")");
|
|
837
|
+
group.dom.img_partstack.attr(
|
|
838
|
+
"y",
|
|
839
|
+
-(deltay * group.data_fullstack.stackcount * group.data.stackheight / scrollableheight)
|
|
840
|
+
);
|
|
841
|
+
group.dom.box_move.attr("width", 0);
|
|
842
|
+
group.dom.box_stay.attr("width", 0);
|
|
843
|
+
});
|
|
844
|
+
b.on("mouseup", async () => {
|
|
845
|
+
group.dom.rightg.vslider.box.attr("fill", slider_color);
|
|
846
|
+
b.on("mousemove", null).on("mouseup", null);
|
|
847
|
+
if (deltay == 0) return;
|
|
848
|
+
group.dom.rightg.vslider.boxy += deltay;
|
|
849
|
+
const delta = Math.ceil(group.data_fullstack.stackcount * deltay / scrollableheight);
|
|
850
|
+
group.partstack.start += delta;
|
|
851
|
+
group.partstack.stop += delta;
|
|
852
|
+
block.tkcloakon(tk);
|
|
853
|
+
const _d = await getData(tk, block, {
|
|
854
|
+
stackstart: group.partstack.start,
|
|
855
|
+
stackstop: group.partstack.stop,
|
|
856
|
+
grouptype: group.data.type
|
|
857
|
+
});
|
|
858
|
+
group.data = _d.groups[0];
|
|
859
|
+
renderGroup(group, tk, block);
|
|
860
|
+
setTkHeight(tk);
|
|
861
|
+
block.tkcloakoff(tk, {});
|
|
862
|
+
block.block_setheight();
|
|
863
|
+
});
|
|
864
|
+
});
|
|
865
|
+
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) => {
|
|
866
|
+
event.preventDefault();
|
|
867
|
+
const scrollableheight = group.data.height;
|
|
868
|
+
const y0 = event.clientY;
|
|
869
|
+
let deltay = 0;
|
|
870
|
+
const b = select_default(document.body);
|
|
871
|
+
b.on("mousemove", (event2) => {
|
|
872
|
+
const y1 = event2.clientY;
|
|
873
|
+
const d = y1 - y0;
|
|
874
|
+
if (d < 0) {
|
|
875
|
+
if (group.dom.rightg.vslider.boxy + d <= 0) return;
|
|
876
|
+
} else {
|
|
877
|
+
if (group.dom.rightg.vslider.boxh - d <= stackpagesize * scrollableheight / group.data_fullstack.stackcount)
|
|
878
|
+
return;
|
|
879
|
+
}
|
|
880
|
+
deltay = d;
|
|
881
|
+
group.dom.rightg.vslider.boxg.attr("transform", "translate(0," + (group.dom.rightg.vslider.boxy + deltay) + ")");
|
|
882
|
+
group.dom.rightg.vslider.box.attr("height", group.dom.rightg.vslider.boxh - deltay);
|
|
883
|
+
group.dom.rightg.vslider.boxbotline.attr("y1", group.dom.rightg.vslider.boxh - deltay).attr("y2", group.dom.rightg.vslider.boxh - deltay);
|
|
884
|
+
});
|
|
885
|
+
b.on("mouseup", async () => {
|
|
886
|
+
b.on("mousemove", null).on("mouseup", null);
|
|
887
|
+
if (deltay == 0) return;
|
|
888
|
+
group.dom.rightg.vslider.boxy += deltay;
|
|
889
|
+
group.partstack.start += Math.ceil(group.data_fullstack.stackcount * deltay / scrollableheight);
|
|
890
|
+
block.tkcloakon(tk);
|
|
891
|
+
const _d = await getData(tk, block, {
|
|
892
|
+
stackstart: group.partstack.start,
|
|
893
|
+
stackstop: group.partstack.stop,
|
|
894
|
+
grouptype: group.data.type
|
|
895
|
+
});
|
|
896
|
+
group.data = _d.groups[0];
|
|
897
|
+
renderGroup(group, tk, block);
|
|
898
|
+
block.tkcloakoff(tk, {});
|
|
899
|
+
setTkHeight(tk);
|
|
900
|
+
block.block_setheight();
|
|
901
|
+
});
|
|
902
|
+
});
|
|
903
|
+
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) => {
|
|
904
|
+
event.preventDefault();
|
|
905
|
+
const scrollableheight = group.data.height;
|
|
906
|
+
const y0 = event.clientY;
|
|
907
|
+
let deltay = 0;
|
|
908
|
+
const b = select_default(document.body);
|
|
909
|
+
b.on("mousemove", (event2) => {
|
|
910
|
+
const y1 = event2.clientY;
|
|
911
|
+
const d = y1 - y0;
|
|
912
|
+
if (d < 0) {
|
|
913
|
+
if (group.dom.rightg.vslider.boxh + d <= stackpagesize * scrollableheight / group.data_fullstack.stackcount)
|
|
914
|
+
return;
|
|
915
|
+
} else {
|
|
916
|
+
if (group.dom.rightg.vslider.boxy + d >= scrollableheight - group.dom.rightg.vslider.boxh) return;
|
|
917
|
+
}
|
|
918
|
+
deltay = d;
|
|
919
|
+
group.dom.rightg.vslider.box.attr("height", group.dom.rightg.vslider.boxh + deltay);
|
|
920
|
+
group.dom.rightg.vslider.boxbotline.attr("y1", group.dom.rightg.vslider.boxh + deltay).attr("y2", group.dom.rightg.vslider.boxh + deltay);
|
|
921
|
+
});
|
|
922
|
+
b.on("mouseup", async () => {
|
|
923
|
+
b.on("mousemove", null).on("mouseup", null);
|
|
924
|
+
if (deltay == 0) return;
|
|
925
|
+
group.dom.rightg.vslider.boxh += deltay;
|
|
926
|
+
group.partstack.stop += Math.ceil(group.data_fullstack.stackcount * deltay / scrollableheight);
|
|
927
|
+
block.tkcloakon(tk);
|
|
928
|
+
const _d = await getData(tk, block, {
|
|
929
|
+
stackstart: group.partstack.start,
|
|
930
|
+
stackstop: group.partstack.stop,
|
|
931
|
+
grouptype: group.data.type
|
|
932
|
+
});
|
|
933
|
+
group.data = _d.groups[0];
|
|
934
|
+
renderGroup(group, tk, block);
|
|
935
|
+
setTkHeight(tk);
|
|
936
|
+
block.tkcloakoff(tk, {});
|
|
937
|
+
block.block_setheight();
|
|
938
|
+
});
|
|
939
|
+
});
|
|
940
|
+
return group;
|
|
941
|
+
}
|
|
942
|
+
async function align_reads_to_allele(tk, group, block) {
|
|
943
|
+
const body = {
|
|
944
|
+
alignOneGroup: group.data.type,
|
|
945
|
+
genome: block.genome.name,
|
|
946
|
+
regions: tk.regions,
|
|
947
|
+
variant: tk.variants.map((m) => m.chr + "." + m.pos + "." + m.ref + "." + m.alt).join(".")
|
|
948
|
+
};
|
|
949
|
+
if (tk.file) body.file = tk.file;
|
|
950
|
+
if (tk.url) body.url = tk.url;
|
|
951
|
+
if (tk.indexURL) body.indexURL = tk.indexURL;
|
|
952
|
+
if (tk.gdcFile) {
|
|
953
|
+
body.gdcFileUUID = tk.gdcFile.uuid;
|
|
954
|
+
body.gdcFilePosition = tk.gdcFile.position;
|
|
955
|
+
}
|
|
956
|
+
if (tk.alleleAlreadyUpdated) {
|
|
957
|
+
body.alleleAlreadyUpdated = 1;
|
|
958
|
+
body.refseqs = tk.variants.refseqs;
|
|
959
|
+
body.altseqs = tk.variants.altseqs;
|
|
960
|
+
body.refalleles = tk.variants.refalleles;
|
|
961
|
+
body.altalleles = tk.variants.altalleles;
|
|
962
|
+
body.leftflankseqs = tk.variants.leftflankseqs;
|
|
963
|
+
body.rightflankseqs = tk.variants.rightflankseqs;
|
|
964
|
+
body.ref_positions = tk.variants.ref_positions;
|
|
965
|
+
body.strictness = tk.strictness;
|
|
966
|
+
}
|
|
967
|
+
if (tk.asPaired) body.asPaired = 1;
|
|
968
|
+
if ("nochr" in tk) body.nochr = tk.nochr;
|
|
969
|
+
if (tk.drop_pcrduplicates) body.drop_pcrduplicates = 1;
|
|
970
|
+
if (tk.drop_supplementary_alignments) body.drop_supplementary_alignments = 1;
|
|
971
|
+
if (group.partstack) {
|
|
972
|
+
body.stackstart = group.partstack.start;
|
|
973
|
+
body.stackstop = group.partstack.stop;
|
|
974
|
+
body.grouptype = group.data.type;
|
|
975
|
+
}
|
|
976
|
+
return await dofetch3("tkbam", { headers: getHeaders(tk), body });
|
|
977
|
+
}
|
|
978
|
+
function getHeaders(tk) {
|
|
979
|
+
const headers = { "Content-Type": "application/json", Accept: "application/json" };
|
|
980
|
+
if (tk.gdcToken) headers["X-Auth-Token"] = tk.gdcToken;
|
|
981
|
+
return headers;
|
|
982
|
+
}
|
|
983
|
+
function configPanel(tk, block) {
|
|
984
|
+
{
|
|
985
|
+
const b = tk.config_handle.node().getBoundingClientRect();
|
|
986
|
+
tk.tkconfigtip.clear().show(b.x - 300, b.y);
|
|
987
|
+
}
|
|
988
|
+
const d = tk.tkconfigtip.d.append("div").style("max-width", "50vw");
|
|
989
|
+
{
|
|
990
|
+
const row = d.append("div");
|
|
991
|
+
row.append("span").html("Show reads as: ").style("opacity", 0.5).style("margin", "10px 5px");
|
|
992
|
+
make_radios({
|
|
993
|
+
holder: row,
|
|
994
|
+
options: [
|
|
995
|
+
{ label: "Single", value: false, checked: !tk.asPaired },
|
|
996
|
+
{ label: "Paired", value: true, checked: tk.asPaired }
|
|
997
|
+
],
|
|
998
|
+
styles: { margin: "10px 5px" },
|
|
999
|
+
callback: (v) => {
|
|
1000
|
+
tk.asPaired = v;
|
|
1001
|
+
loadTk(tk, block);
|
|
1002
|
+
}
|
|
1003
|
+
});
|
|
1004
|
+
}
|
|
1005
|
+
{
|
|
1006
|
+
make_one_checkbox({
|
|
1007
|
+
holder: d.append("div"),
|
|
1008
|
+
labeltext: "Drop PCR or optical duplicates",
|
|
1009
|
+
checked: tk.drop_pcrduplicates,
|
|
1010
|
+
divstyle: { display: "block", margin: "10px 5px", height: "10px", "margin-left": "6.5px" },
|
|
1011
|
+
callback: () => {
|
|
1012
|
+
tk.drop_pcrduplicates = !tk.drop_pcrduplicates;
|
|
1013
|
+
loadTk(tk, block);
|
|
1014
|
+
}
|
|
1015
|
+
});
|
|
1016
|
+
}
|
|
1017
|
+
if (tk.variants) {
|
|
1018
|
+
make_one_checkbox({
|
|
1019
|
+
holder: d.append("div"),
|
|
1020
|
+
labeltext: "Show read names",
|
|
1021
|
+
checked: tk.show_readnames,
|
|
1022
|
+
divstyle: { display: "block", margin: "10px 5px", height: "10px", "margin-left": "6.5px" },
|
|
1023
|
+
callback: () => {
|
|
1024
|
+
tk.show_readnames = !tk.show_readnames;
|
|
1025
|
+
loadTk(tk, block);
|
|
1026
|
+
}
|
|
1027
|
+
});
|
|
1028
|
+
if (tk.variants[0].strictness == 0) {
|
|
1029
|
+
} else if (!tk.variants[0].strictness) {
|
|
1030
|
+
tk.variants[0].strictness = 1;
|
|
1031
|
+
}
|
|
1032
|
+
const row = d.append("div");
|
|
1033
|
+
row.append("span").html("Strictness: ").style("display", "block").style("height", "10px").style("opacity", 0.5).style("margin", "10px 5px").style("margin-top", "20px");
|
|
1034
|
+
make_radios({
|
|
1035
|
+
holder: row,
|
|
1036
|
+
options: [
|
|
1037
|
+
{
|
|
1038
|
+
label: 'Lenient: "None group" is not generated.',
|
|
1039
|
+
value: 0,
|
|
1040
|
+
checked: tk.strictness == 0
|
|
1041
|
+
},
|
|
1042
|
+
{
|
|
1043
|
+
label: 'Strict: "None group" is generated for reads with imperfect match to both reference and alternative alleles.',
|
|
1044
|
+
value: 1,
|
|
1045
|
+
checked: tk.strictness == 1
|
|
1046
|
+
}
|
|
1047
|
+
],
|
|
1048
|
+
styles: { display: "block", margin: "10px 5px", height: "10px", "margin-left": "30px" },
|
|
1049
|
+
callback: (v) => {
|
|
1050
|
+
tk.strictness = v;
|
|
1051
|
+
loadTk(tk, block);
|
|
1052
|
+
}
|
|
1053
|
+
});
|
|
1054
|
+
}
|
|
1055
|
+
d.append("div").style("display", "inline-block").style("height", "10px").style("margin-top", "20px").style("font-size", ".8em").html(`
|
|
1056
|
+
<ul style="padding-left:15px">
|
|
1057
|
+
<li><b>Matches</b> are rendered as gray boxes aligned to the reference.</li>
|
|
1058
|
+
<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>
|
|
1059
|
+
<li><b>Softclips</b> are rendered as blue boxes not aligned to the reference.</li>
|
|
1060
|
+
<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>
|
|
1061
|
+
<li><b>Sequences</b> from mismatch and softclip will be printed when 1 bp is wider than 7 pixels.</li>
|
|
1062
|
+
<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>
|
|
1063
|
+
<li><b>Deletions</b> are gaps joined by black horizontal lines.</li>
|
|
1064
|
+
<li><b>Split reads</b> and splice junctions are indicated by solid gray lines.</li>
|
|
1065
|
+
<li><b>Read pairs</b> are joined by dashed gray lines.</li>
|
|
1066
|
+
<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>
|
|
1067
|
+
</li>
|
|
1068
|
+
</ul>`);
|
|
1069
|
+
d.append("div").style("margin-top", "10px").append("img").attr("width", tk.colorscale.width).attr("height", tk.colorscale.height).attr("src", tk.colorscale.src);
|
|
1070
|
+
d.append("div").style("font-size", ".8em").html(`
|
|
1071
|
+
`);
|
|
1072
|
+
}
|
|
1073
|
+
function click_groupheader(tk, group, block) {
|
|
1074
|
+
if (tk.variants) {
|
|
1075
|
+
click_groupheader_showMultiReadAlign(tk, group, block);
|
|
1076
|
+
}
|
|
1077
|
+
}
|
|
1078
|
+
function updateExistingMultiReadAligInfo(tk, read_number) {
|
|
1079
|
+
const rows = tk.readAlignmentTable._groups[0][0].querySelectorAll("tr");
|
|
1080
|
+
rows.forEach((row) => {
|
|
1081
|
+
if (row.rowIndex == read_number + 1 && !tk.is_align_gene) {
|
|
1082
|
+
row.style.setProperty("font-weight", "bold");
|
|
1083
|
+
const cols = row.querySelectorAll("td");
|
|
1084
|
+
cols.forEach((col) => {
|
|
1085
|
+
if (col.style.backgroundColor.toString() == "rgb(255, 255, 255)") {
|
|
1086
|
+
col.style.setProperty("background-color", "yellow");
|
|
1087
|
+
}
|
|
1088
|
+
});
|
|
1089
|
+
} else if (row.rowIndex == read_number + 2 && tk.is_align_gene) {
|
|
1090
|
+
row.style.setProperty("font-weight", "bold");
|
|
1091
|
+
const cols = row.querySelectorAll("td");
|
|
1092
|
+
cols.forEach((col) => {
|
|
1093
|
+
if (col.style.backgroundColor.toString() == "rgb(255, 255, 255)") {
|
|
1094
|
+
col.style.setProperty("background-color", "yellow");
|
|
1095
|
+
}
|
|
1096
|
+
});
|
|
1097
|
+
} else {
|
|
1098
|
+
row.style.setProperty("font-weight", "normal");
|
|
1099
|
+
const cols = row.querySelectorAll("td");
|
|
1100
|
+
cols.forEach((col) => {
|
|
1101
|
+
if (col.style.backgroundColor.toString() == "yellow") {
|
|
1102
|
+
col.style.setProperty("background-color", "rgb(255, 255, 255)");
|
|
1103
|
+
}
|
|
1104
|
+
});
|
|
1105
|
+
}
|
|
1106
|
+
});
|
|
1107
|
+
}
|
|
1108
|
+
async function create_gene_models_refalt(tk, block, multi_read_alig_data, group, alt_var_idx) {
|
|
1109
|
+
const gene_model_images = [];
|
|
1110
|
+
const break_points = [];
|
|
1111
|
+
const gene_model_order = [];
|
|
1112
|
+
let refalt_seq = multi_read_alig_data.alignmentData.final_read_align[0];
|
|
1113
|
+
let left_most_pos = tk.variants[0].pos - tk.variants.leftflankseqs[0].length;
|
|
1114
|
+
let right_most_pos = tk.variants[0].pos + tk.variants.rightflankseqs[0].length;
|
|
1115
|
+
if (group.data.type == "support_alt" + alt_var_idx.toString()) {
|
|
1116
|
+
left_most_pos = tk.variants[alt_var_idx].pos - tk.variants.leftflankseqs[alt_var_idx].length;
|
|
1117
|
+
right_most_pos = tk.variants[alt_var_idx].pos + tk.variants.rightflankseqs[alt_var_idx].length;
|
|
1118
|
+
}
|
|
1119
|
+
let segstart = left_most_pos;
|
|
1120
|
+
let segstop = left_most_pos;
|
|
1121
|
+
let local_alignment_width = 0;
|
|
1122
|
+
let first_row = tk.readAlignmentTable.node().children[0];
|
|
1123
|
+
let gm_nuc_count = 0;
|
|
1124
|
+
let prev_nclt_not_blank = false;
|
|
1125
|
+
let nclt_count = 0;
|
|
1126
|
+
for (const nclt of refalt_seq) {
|
|
1127
|
+
if (nclt == "-") {
|
|
1128
|
+
if (prev_nclt_not_blank == true) {
|
|
1129
|
+
break_points.push(1);
|
|
1130
|
+
gene_model_order.push("break");
|
|
1131
|
+
segstart += 1;
|
|
1132
|
+
segstop += 1;
|
|
1133
|
+
} else {
|
|
1134
|
+
const gene_model_image = await get_gene_models_refalt(block, tk, segstart, segstop - 1, local_alignment_width);
|
|
1135
|
+
const gm = {
|
|
1136
|
+
src: gene_model_image.src,
|
|
1137
|
+
width: local_alignment_width,
|
|
1138
|
+
height: gene_model_image.height,
|
|
1139
|
+
colspan: gm_nuc_count
|
|
1140
|
+
};
|
|
1141
|
+
gene_model_images.push(gm);
|
|
1142
|
+
gene_model_order.push("gene_model");
|
|
1143
|
+
gm_nuc_count = 0;
|
|
1144
|
+
segstart = left_most_pos + nclt_count + 1;
|
|
1145
|
+
segstop = left_most_pos + nclt_count + 1;
|
|
1146
|
+
local_alignment_width = 0;
|
|
1147
|
+
prev_nclt_not_blank = true;
|
|
1148
|
+
break_points.push(1);
|
|
1149
|
+
gene_model_order.push("break");
|
|
1150
|
+
}
|
|
1151
|
+
gm_nuc_count += 1;
|
|
1152
|
+
local_alignment_width += first_row.children[nclt_count].getBoundingClientRect().width;
|
|
1153
|
+
} 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
|
|
1154
|
+
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) {
|
|
1155
|
+
} else if (tk.variants[0].pos == left_most_pos + nclt_count && group.data.type == "support_alt" + alt_var_idx.toString()) {
|
|
1156
|
+
if (tk.variants[alt_var_idx].ref.length == 1 && tk.variants[alt_var_idx].alt.length == 1) {
|
|
1157
|
+
continue;
|
|
1158
|
+
}
|
|
1159
|
+
if (tk.variants[alt_var_idx].ref.length >= tk.variants[alt_var_idx].alt.length) {
|
|
1160
|
+
segstop += 1;
|
|
1161
|
+
gm_nuc_count += 1;
|
|
1162
|
+
local_alignment_width += first_row.children[nclt_count + 1].getBoundingClientRect().width;
|
|
1163
|
+
}
|
|
1164
|
+
const gene_model_image = await get_gene_models_refalt(block, tk, segstart, segstop, local_alignment_width);
|
|
1165
|
+
const gm = {
|
|
1166
|
+
src: gene_model_image.src,
|
|
1167
|
+
width: local_alignment_width,
|
|
1168
|
+
height: gene_model_image.height,
|
|
1169
|
+
colspan: gm_nuc_count
|
|
1170
|
+
};
|
|
1171
|
+
gene_model_images.push(gm);
|
|
1172
|
+
gene_model_order.push("gene_model");
|
|
1173
|
+
gm_nuc_count = 0;
|
|
1174
|
+
segstart = left_most_pos + nclt_count + tk.variants[alt_var_idx].ref.length;
|
|
1175
|
+
segstop = left_most_pos + nclt_count + tk.variants[alt_var_idx].ref.length;
|
|
1176
|
+
if (tk.variants[alt_var_idx].ref.length < tk.variants[alt_var_idx].alt.length) {
|
|
1177
|
+
break_points.push(tk.variants[0].alt.length);
|
|
1178
|
+
gene_model_order.push("break");
|
|
1179
|
+
}
|
|
1180
|
+
local_alignment_width = 0;
|
|
1181
|
+
prev_nclt_not_blank = false;
|
|
1182
|
+
} else if (nclt_count == refalt_seq.length - 1) {
|
|
1183
|
+
segstop += 1;
|
|
1184
|
+
gm_nuc_count += 1;
|
|
1185
|
+
local_alignment_width += first_row.children[nclt_count].getBoundingClientRect().width;
|
|
1186
|
+
const gene_model_image = await get_gene_models_refalt(block, tk, segstart, segstop, local_alignment_width);
|
|
1187
|
+
const gm = {
|
|
1188
|
+
src: gene_model_image.src,
|
|
1189
|
+
width: local_alignment_width,
|
|
1190
|
+
height: gene_model_image.height,
|
|
1191
|
+
colspan: gm_nuc_count
|
|
1192
|
+
};
|
|
1193
|
+
gene_model_images.push(gm);
|
|
1194
|
+
gene_model_order.push("gene_model");
|
|
1195
|
+
} else {
|
|
1196
|
+
segstop += 1;
|
|
1197
|
+
gm_nuc_count += 1;
|
|
1198
|
+
local_alignment_width += first_row.children[nclt_count].getBoundingClientRect().width;
|
|
1199
|
+
prev_nclt_not_blank = false;
|
|
1200
|
+
}
|
|
1201
|
+
nclt_count += 1;
|
|
1202
|
+
}
|
|
1203
|
+
let j = 0;
|
|
1204
|
+
let k = 0;
|
|
1205
|
+
const gene_model_tr = tk.readAlignmentTable.node().insertRow();
|
|
1206
|
+
if (tk.readAlignmentTable.node().children.length >= 3) {
|
|
1207
|
+
const first_read = tk.readAlignmentTable.node().children[2];
|
|
1208
|
+
tk.readAlignmentTable.node().insertBefore(gene_model_tr, first_read);
|
|
1209
|
+
} else {
|
|
1210
|
+
console.log("Possible problem in placing gene model in table. Please check");
|
|
1211
|
+
}
|
|
1212
|
+
for (let i = 0; i < gene_model_order.length; i++) {
|
|
1213
|
+
const gene_models_cell = gene_model_tr.insertCell();
|
|
1214
|
+
if (gene_model_order[i] == "gene_model") {
|
|
1215
|
+
const img = document.createElement("img");
|
|
1216
|
+
img.src = gene_model_images[k].src;
|
|
1217
|
+
img.width = gene_model_images[k].width;
|
|
1218
|
+
img.height = gene_model_images[k].height;
|
|
1219
|
+
gene_models_cell.appendChild(img);
|
|
1220
|
+
gene_models_cell.colSpan = gene_model_images[k].colspan;
|
|
1221
|
+
k += 1;
|
|
1222
|
+
} else if (gene_model_order[i] == "break") {
|
|
1223
|
+
gene_models_cell.colSpan = break_points[j];
|
|
1224
|
+
j += 1;
|
|
1225
|
+
}
|
|
1226
|
+
}
|
|
1227
|
+
}
|
|
1228
|
+
async function click_groupheader_showMultiReadAlign(tk, group, block) {
|
|
1229
|
+
tk.multiAlignMenu.clear().show(50, 100);
|
|
1230
|
+
const wait = tk.multiAlignMenu.d.append("div").text("Loading...");
|
|
1231
|
+
try {
|
|
1232
|
+
const data = await align_reads_to_allele(tk, group, block);
|
|
1233
|
+
if (data.error) {
|
|
1234
|
+
wait.remove();
|
|
1235
|
+
sayerror(tk.multiAlignMenu.d, "Realignment of reads in ambiguous group is not currently implemented.");
|
|
1236
|
+
setTimeout(() => tk.multiAlignMenu.d.remove(), 3e3);
|
|
1237
|
+
return;
|
|
1238
|
+
}
|
|
1239
|
+
wait.remove();
|
|
1240
|
+
let alt_var_idx = 0;
|
|
1241
|
+
let ref_start_stops = [];
|
|
1242
|
+
let highlight_regions_in_refallele = [];
|
|
1243
|
+
if (group.data.type.includes("support_alt")) {
|
|
1244
|
+
for (let var_idx = 0; var_idx < tk.variants.length; var_idx++) {
|
|
1245
|
+
if (group.data.type == "support_alt" + var_idx.toString()) {
|
|
1246
|
+
alt_var_idx = var_idx;
|
|
1247
|
+
}
|
|
1248
|
+
}
|
|
1249
|
+
} else if (group.data.type == "support_ref") {
|
|
1250
|
+
for (let var_idx = 0; var_idx < tk.variants.length; var_idx++) {
|
|
1251
|
+
ref_start_stops.push({
|
|
1252
|
+
start: tk.variants[var_idx].pos,
|
|
1253
|
+
stop: tk.variants[var_idx].pos + tk.variants[var_idx].ref.length
|
|
1254
|
+
});
|
|
1255
|
+
}
|
|
1256
|
+
ref_start_stops.sort((i, j) => i.start - j.start);
|
|
1257
|
+
let old_variant = { start: ref_start_stops[0].start, stop: ref_start_stops[0].stop };
|
|
1258
|
+
highlight_regions_in_refallele.push(ref_start_stops[0].start);
|
|
1259
|
+
let break_point = false;
|
|
1260
|
+
for (let var_idx = 1; var_idx < ref_start_stops.length; var_idx++) {
|
|
1261
|
+
if (ref_start_stops[var_idx].start <= old_variant.stop && old_variant.stop <= ref_start_stops[var_idx].stop) {
|
|
1262
|
+
old_variant = ref_start_stops[var_idx];
|
|
1263
|
+
} else if (old_variant.stop > ref_start_stops[var_idx].stop) {
|
|
1264
|
+
continue;
|
|
1265
|
+
} else {
|
|
1266
|
+
highlight_regions_in_refallele.push(old_variant.stop);
|
|
1267
|
+
highlight_regions_in_refallele.push(ref_start_stops[var_idx].start);
|
|
1268
|
+
}
|
|
1269
|
+
}
|
|
1270
|
+
highlight_regions_in_refallele.push(Math.max(old_variant.stop, ref_start_stops[ref_start_stops.length - 1].stop));
|
|
1271
|
+
}
|
|
1272
|
+
if (data.alignmentData.final_read_align.length > 0 && (group.data.type.includes("support_alt") || group.data.type == "support_ref")) {
|
|
1273
|
+
const gene_button = tk.multiAlignMenu.d.append("button").style("margin-left", "10px").text("Show gene model").on("click", async () => {
|
|
1274
|
+
tk.is_align_gene = true;
|
|
1275
|
+
gene_button.property("disabled", true);
|
|
1276
|
+
await create_gene_models_refalt(tk, block, data, group, alt_var_idx);
|
|
1277
|
+
});
|
|
1278
|
+
}
|
|
1279
|
+
create_multi_alignment_table(tk, data, group, alt_var_idx, highlight_regions_in_refallele);
|
|
1280
|
+
} catch (e) {
|
|
1281
|
+
wait.remove();
|
|
1282
|
+
sayerror(tk.multiAlignMenu.d, e);
|
|
1283
|
+
}
|
|
1284
|
+
}
|
|
1285
|
+
function create_multi_alignment_table(tk, multi_read_alig_data, group, alt_var_idx, highlight_regions_in_refallele) {
|
|
1286
|
+
let num_read_div;
|
|
1287
|
+
if (!multi_read_alig_data.alignmentData.read_count) {
|
|
1288
|
+
multi_read_alig_data.alignmentData.read_count = 0;
|
|
1289
|
+
}
|
|
1290
|
+
if (group.data.type == "support_ref") {
|
|
1291
|
+
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");
|
|
1292
|
+
} else if (group.data.type == "support_no" || group.data.type == "support_amb") {
|
|
1293
|
+
num_read_div = tk.multiAlignMenu.d.append("div").text("Number of reads aligned = " + multi_read_alig_data.alignmentData.read_count).style("text-align", "center");
|
|
1294
|
+
} else if (group.data.type.includes("support_alt")) {
|
|
1295
|
+
let hit = 0;
|
|
1296
|
+
for (let var_idx = 0; var_idx < tk.variants.length; var_idx++) {
|
|
1297
|
+
if (group.data.type == "support_alt" + var_idx.toString()) {
|
|
1298
|
+
hit = 1;
|
|
1299
|
+
alt_var_idx = var_idx;
|
|
1300
|
+
num_read_div = tk.multiAlignMenu.d.append("div").text(
|
|
1301
|
+
"Number of reads aligned to alternative allele " + tk.variants[var_idx].alt + " = " + multi_read_alig_data.alignmentData.read_count
|
|
1302
|
+
).style("text-align", "center");
|
|
1303
|
+
}
|
|
1304
|
+
}
|
|
1305
|
+
if (hit == 0) {
|
|
1306
|
+
console.log("group.data.type:", group.data.type);
|
|
1307
|
+
console.log("Alternate allele not found");
|
|
1308
|
+
}
|
|
1309
|
+
}
|
|
1310
|
+
if (multi_read_alig_data.alignmentData.partstack_start) {
|
|
1311
|
+
const partstack_div = tk.multiAlignMenu.d.append("div").text(
|
|
1312
|
+
"Reads aligned from " + multi_read_alig_data.alignmentData.partstack_start + " to " + multi_read_alig_data.alignmentData.partstack_stop
|
|
1313
|
+
).style("text-align", "center");
|
|
1314
|
+
}
|
|
1315
|
+
const div = tk.multiAlignMenu.d.append("div").style("margin", "20px");
|
|
1316
|
+
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");
|
|
1317
|
+
let refallele_tr = tk.readAlignmentTable.append("tr").style("color", "white").style("background-color", "white");
|
|
1318
|
+
refallele_tr.attr("id", "RefAltBar");
|
|
1319
|
+
let variant_string;
|
|
1320
|
+
let nclt_count = 0;
|
|
1321
|
+
let allele_start = 0;
|
|
1322
|
+
let variant_string_count = 0;
|
|
1323
|
+
let inside_variant_box = 1;
|
|
1324
|
+
if (group.data.type == "support_alt" + alt_var_idx.toString()) {
|
|
1325
|
+
if (tk.variants.length == 1) {
|
|
1326
|
+
variant_string = "Alternative allele";
|
|
1327
|
+
if (variant_string.length < tk.variants[alt_var_idx].alt.length) {
|
|
1328
|
+
inside_variant_box = 0;
|
|
1329
|
+
} else {
|
|
1330
|
+
variant_string = " Alternative allele";
|
|
1331
|
+
}
|
|
1332
|
+
} else {
|
|
1333
|
+
if (group.data.type == "support_alt" + alt_var_idx.toString()) {
|
|
1334
|
+
variant_string = "Alternative allele = " + tk.variants[alt_var_idx].alt;
|
|
1335
|
+
if (variant_string.length < tk.variants[alt_var_idx].alt.length) {
|
|
1336
|
+
inside_variant_box = 0;
|
|
1337
|
+
} else {
|
|
1338
|
+
variant_string = " Alternative allele = " + tk.variants[alt_var_idx].alt;
|
|
1339
|
+
}
|
|
1340
|
+
}
|
|
1341
|
+
}
|
|
1342
|
+
} else if (group.data.type == "support_ref") {
|
|
1343
|
+
if (tk.is_same_ref == false) {
|
|
1344
|
+
variant_string = "Combined reference allele";
|
|
1345
|
+
} else {
|
|
1346
|
+
variant_string = "Reference allele";
|
|
1347
|
+
}
|
|
1348
|
+
if (variant_string.length < highlight_regions_in_refallele[1] - highlight_regions_in_refallele[0]) {
|
|
1349
|
+
inside_variant_box = 0;
|
|
1350
|
+
} else {
|
|
1351
|
+
if (tk.is_same_ref == false) {
|
|
1352
|
+
variant_string = " Combined reference allele";
|
|
1353
|
+
} else {
|
|
1354
|
+
variant_string = " Reference allele";
|
|
1355
|
+
}
|
|
1356
|
+
}
|
|
1357
|
+
}
|
|
1358
|
+
tk.readAlignmentTableGroup = group.data.type;
|
|
1359
|
+
if (multi_read_alig_data.alignmentData.final_read_align.length > 0) {
|
|
1360
|
+
for (const nclt of multi_read_alig_data.alignmentData.final_read_align[0]) {
|
|
1361
|
+
nclt_count += 1;
|
|
1362
|
+
const refallele_td = refallele_tr.append("td");
|
|
1363
|
+
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) {
|
|
1364
|
+
if (inside_variant_box == 1) {
|
|
1365
|
+
allele_start = 1;
|
|
1366
|
+
refallele_td.text(" ").style("text-align", "right").style("font-weight", "550").style("margin", "5px 5px 10px 5px").style("color", "black").style("background-color", "black");
|
|
1367
|
+
} else {
|
|
1368
|
+
if (variant_string_count < variant_string.length) {
|
|
1369
|
+
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");
|
|
1370
|
+
variant_string_count += 1;
|
|
1371
|
+
} else {
|
|
1372
|
+
refallele_td.text(" ").style("text-align", "right").style("font-weight", "550").style("margin", "5px 5px 10px 5px").style("color", "black").style("background-color", "black");
|
|
1373
|
+
}
|
|
1374
|
+
}
|
|
1375
|
+
} 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.
|
|
1376
|
+
highlight_regions_in_refallele[0] + multi_read_alig_data.alignmentData.gaps_before_variant) {
|
|
1377
|
+
if (inside_variant_box == 1) {
|
|
1378
|
+
allele_start = 1;
|
|
1379
|
+
refallele_td.text("").style("text-align", "right").style("font-weight", "550").style("margin", "5px 5px 10px 5px").style("color", "black").style("background-color", "black");
|
|
1380
|
+
} else {
|
|
1381
|
+
if (variant_string_count < variant_string.length) {
|
|
1382
|
+
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");
|
|
1383
|
+
variant_string_count += 1;
|
|
1384
|
+
} else {
|
|
1385
|
+
refallele_td.text("").style("text-align", "right").style("font-weight", "550").style("margin", "5px 5px 10px 5px").style("color", "black").style("background-color", "black");
|
|
1386
|
+
}
|
|
1387
|
+
}
|
|
1388
|
+
} else if (allele_start == 1 && inside_variant_box == 1) {
|
|
1389
|
+
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");
|
|
1390
|
+
variant_string_count += 1;
|
|
1391
|
+
if (variant_string_count == variant_string.length) {
|
|
1392
|
+
allele_start = 0;
|
|
1393
|
+
}
|
|
1394
|
+
} else {
|
|
1395
|
+
refallele_td.text("").style("text-align", "right").style("font-weight", "550").style("margin", "5px 5px 10px 5px").style("color", "white").style("background-color", "white");
|
|
1396
|
+
}
|
|
1397
|
+
}
|
|
1398
|
+
let read_count = 0;
|
|
1399
|
+
for (const read of multi_read_alig_data.alignmentData.final_read_align) {
|
|
1400
|
+
let nclt_count2 = 0;
|
|
1401
|
+
const read_tr = tk.readAlignmentTable.append("tr").style("color", "white").style("background-color", "white");
|
|
1402
|
+
if (read_count == 0 && (group.data.type == "support_ref" || group.data.type == "support_alt")) {
|
|
1403
|
+
read_tr.attr("id", "RefAltSeq");
|
|
1404
|
+
} else {
|
|
1405
|
+
read_tr.attr("id", read_count.toString());
|
|
1406
|
+
}
|
|
1407
|
+
const r_colors = multi_read_alig_data.alignmentData.qual_r[read_count].split(",");
|
|
1408
|
+
const g_colors = multi_read_alig_data.alignmentData.qual_g[read_count].split(",");
|
|
1409
|
+
const b_colors = multi_read_alig_data.alignmentData.qual_b[read_count].split(",");
|
|
1410
|
+
for (const nclt of read) {
|
|
1411
|
+
nclt_count2 += 1;
|
|
1412
|
+
let nclt_td;
|
|
1413
|
+
if (read_count == 0 && (group.data.type == "support_ref" || group.data.type.includes("support_alt"))) {
|
|
1414
|
+
nclt_td = read_tr.append("td").text(nclt).style("background-color", "white").style("color", "black").style("font-weight", "550");
|
|
1415
|
+
} else {
|
|
1416
|
+
nclt_td = read_tr.append("td").text(nclt).style(
|
|
1417
|
+
"background-color",
|
|
1418
|
+
"rgb(" + r_colors[nclt_count2 - 1] + "," + g_colors[nclt_count2 - 1] + "," + b_colors[nclt_count2 - 1] + ")"
|
|
1419
|
+
);
|
|
1420
|
+
if (nclt != "-") {
|
|
1421
|
+
nclt_td.style("color", "white");
|
|
1422
|
+
} else {
|
|
1423
|
+
nclt_td.style("color", "black");
|
|
1424
|
+
}
|
|
1425
|
+
}
|
|
1426
|
+
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) {
|
|
1427
|
+
nclt_td.style("color", "black");
|
|
1428
|
+
} 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.
|
|
1429
|
+
highlight_regions_in_refallele[0] + multi_read_alig_data.alignmentData.gaps_before_variant) {
|
|
1430
|
+
nclt_td.style("color", "black");
|
|
1431
|
+
}
|
|
1432
|
+
}
|
|
1433
|
+
read_count += 1;
|
|
1434
|
+
}
|
|
1435
|
+
}
|
|
1436
|
+
}
|
|
1437
|
+
async function getReadInfo(tk, block, box, ridx) {
|
|
1438
|
+
const wait = tk.readMenu.d.append("div").text("Loading...");
|
|
1439
|
+
const param = getparam(
|
|
1440
|
+
tk.variants ? {
|
|
1441
|
+
refseqs: tk.variants.refseqs,
|
|
1442
|
+
altseqs: tk.variants.altseqs,
|
|
1443
|
+
chrom: tk.variants[0].chr,
|
|
1444
|
+
ref_positions: tk.variants.ref_positions,
|
|
1445
|
+
refalleles: tk.variants.refalleles,
|
|
1446
|
+
altalleles: tk.variants.altalleles,
|
|
1447
|
+
start: box.start,
|
|
1448
|
+
stop: box.stop,
|
|
1449
|
+
paired: tk.asPaired
|
|
1450
|
+
} : { start: box.start, stop: box.stop, paired: tk.asPaired }
|
|
1451
|
+
);
|
|
1452
|
+
const data = await dofetch3("tkbam", param);
|
|
1453
|
+
if (data.error) {
|
|
1454
|
+
sayerror(wait, data.error);
|
|
1455
|
+
return;
|
|
1456
|
+
}
|
|
1457
|
+
wait.remove();
|
|
1458
|
+
for (const r of data.lst) {
|
|
1459
|
+
const div = tk.readMenu.d.append("div").style("margin", "10px");
|
|
1460
|
+
const read_reference_div = div.append("div").html(r.alignment);
|
|
1461
|
+
const row = div.append("div").style("margin-top", "10px");
|
|
1462
|
+
row.append("button").text("Copy read sequence").on("click", function() {
|
|
1463
|
+
navigator.clipboard.writeText(r.seq).then(() => {
|
|
1464
|
+
}, console.warn);
|
|
1465
|
+
select_default(this).html("Copy read sequence ✓");
|
|
1466
|
+
});
|
|
1467
|
+
if (data.lst[0].alignments) {
|
|
1468
|
+
select_default(this).append("span").html(" ");
|
|
1469
|
+
const alignment_button = row.append("button").style("margin-left", "10px").text("Align read to variant alleles");
|
|
1470
|
+
let first = true;
|
|
1471
|
+
alignment_button.on("click", () => {
|
|
1472
|
+
if (first) {
|
|
1473
|
+
first = false;
|
|
1474
|
+
for (let var_idx = 0; var_idx < tk.variants.length; var_idx++) {
|
|
1475
|
+
makeReadAlignmentTable(variantAlignmentTable, "Ref", tk, data.lst[0].start_readpos - 1, var_idx);
|
|
1476
|
+
makeReadAlignmentTable(variantAlignmentTable, "Alt", tk, data.lst[0].start_readpos - 1, var_idx);
|
|
1477
|
+
}
|
|
1478
|
+
}
|
|
1479
|
+
if (variantAlignmentTable.style("display") == "none") {
|
|
1480
|
+
variantAlignmentTable.style("display", "block");
|
|
1481
|
+
} else {
|
|
1482
|
+
variantAlignmentTable.style("display", "none");
|
|
1483
|
+
}
|
|
1484
|
+
});
|
|
1485
|
+
}
|
|
1486
|
+
if (r.unmapped_mate && !tk.asPaired) {
|
|
1487
|
+
const mate_button = row.append("button").style("margin-left", "10px").text("Show unmapped mate").on("click", async () => {
|
|
1488
|
+
mate_button.property("disabled", true);
|
|
1489
|
+
const wait2 = tk.readMenu.d.append("div").text("Loading...");
|
|
1490
|
+
const data2 = await dofetch3("tkbam", getparam({ show_unmapped: 1 }));
|
|
1491
|
+
if (data2.error) {
|
|
1492
|
+
wait2.text("");
|
|
1493
|
+
sayerror(wait2, data2.error);
|
|
1494
|
+
mate_button.property("disabled", false);
|
|
1495
|
+
return;
|
|
1496
|
+
}
|
|
1497
|
+
wait2.remove();
|
|
1498
|
+
mate_button.remove();
|
|
1499
|
+
const r2 = data2.lst[0];
|
|
1500
|
+
div.append("div").html(r2.alignment);
|
|
1501
|
+
const row2 = div.append("div").style("margin-top", "10px");
|
|
1502
|
+
row2.append("button").text("Copy read sequence").on("click", function() {
|
|
1503
|
+
navigator.clipboard.writeText(r2.seq).then(() => {
|
|
1504
|
+
}, console.warn);
|
|
1505
|
+
select_default(this).html("Copy read sequence ✓");
|
|
1506
|
+
});
|
|
1507
|
+
mayshow_blatbutton(r2, row2, tk, block);
|
|
1508
|
+
div.append("div").html(r2.info);
|
|
1509
|
+
});
|
|
1510
|
+
}
|
|
1511
|
+
const gene_button = row.append("button").style("margin-left", "10px").text("Show gene model").property("disabled", !r.seq || r.seq == "*").on("click", async () => {
|
|
1512
|
+
gene_button.property("disabled", true);
|
|
1513
|
+
let i = 0;
|
|
1514
|
+
let nuc_count = 0;
|
|
1515
|
+
let gm_nuc_count = 0;
|
|
1516
|
+
let segstart = data.lst[0].boxes[0].start;
|
|
1517
|
+
let segstop;
|
|
1518
|
+
let local_alignment_width = 0;
|
|
1519
|
+
const tbodyRef = read_reference_div.node().children[0].getElementsByTagName("tbody")[0];
|
|
1520
|
+
const gene_model_tr = tbodyRef.insertRow();
|
|
1521
|
+
const heading_gene_cell = gene_model_tr.insertCell();
|
|
1522
|
+
const heading_gene_text = document.createTextNode("");
|
|
1523
|
+
heading_gene_cell.appendChild(heading_gene_text);
|
|
1524
|
+
const gene_models = [];
|
|
1525
|
+
const break_points = [];
|
|
1526
|
+
let num_break_points = 0;
|
|
1527
|
+
let gene_model_td;
|
|
1528
|
+
const refseq_row = read_reference_div.node().children[0].children[0].children[0];
|
|
1529
|
+
for (const item of data.lst[0].boxes) {
|
|
1530
|
+
if (item.opr == "H") {
|
|
1531
|
+
continue;
|
|
1532
|
+
} 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) {
|
|
1533
|
+
for (let j2 = 0; j2 < item.len; j2++) {
|
|
1534
|
+
local_alignment_width += refseq_row.children[nuc_count + 1].getBoundingClientRect().width;
|
|
1535
|
+
nuc_count += 1;
|
|
1536
|
+
}
|
|
1537
|
+
gm_nuc_count += item.len;
|
|
1538
|
+
} 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) {
|
|
1539
|
+
segstop = item.start;
|
|
1540
|
+
const gene_model = await get_gene_models_reads(block, ridx, segstart, segstop, local_alignment_width);
|
|
1541
|
+
const gm = {
|
|
1542
|
+
src: gene_model.src,
|
|
1543
|
+
width: local_alignment_width,
|
|
1544
|
+
height: gene_model.height,
|
|
1545
|
+
colspan: gm_nuc_count
|
|
1546
|
+
};
|
|
1547
|
+
gene_models.push(gm);
|
|
1548
|
+
if (item.opr == "I") {
|
|
1549
|
+
break_points.push(item.len);
|
|
1550
|
+
} else if (item.opr == "N" || item.opr == "D") {
|
|
1551
|
+
break_points.push(1);
|
|
1552
|
+
}
|
|
1553
|
+
if (item.opr == "D" || item.opr == "N") {
|
|
1554
|
+
segstart = item.start + item.len;
|
|
1555
|
+
} else if (item.opr == "I") {
|
|
1556
|
+
segstart = item.start;
|
|
1557
|
+
}
|
|
1558
|
+
local_alignment_width = 0;
|
|
1559
|
+
gm_nuc_count = 0;
|
|
1560
|
+
num_break_points += 1;
|
|
1561
|
+
}
|
|
1562
|
+
if (i == data.lst[0].boxes.length - 1) {
|
|
1563
|
+
segstop = item.start + item.len;
|
|
1564
|
+
const gene_model = await get_gene_models_reads(block, ridx, segstart, segstop, local_alignment_width);
|
|
1565
|
+
const gm = {
|
|
1566
|
+
src: gene_model.src,
|
|
1567
|
+
width: local_alignment_width,
|
|
1568
|
+
height: gene_model.height,
|
|
1569
|
+
colspan: gm_nuc_count
|
|
1570
|
+
};
|
|
1571
|
+
gene_models.push(gm);
|
|
1572
|
+
}
|
|
1573
|
+
i += 1;
|
|
1574
|
+
}
|
|
1575
|
+
const num_gene_cells = num_break_points + gene_models.length;
|
|
1576
|
+
let j = 0;
|
|
1577
|
+
let k = 0;
|
|
1578
|
+
for (let i2 = 0; i2 < num_gene_cells; i2++) {
|
|
1579
|
+
const gene_model_cell = gene_model_tr.insertCell();
|
|
1580
|
+
if (i2 % 2 == 0) {
|
|
1581
|
+
const img = document.createElement("img");
|
|
1582
|
+
img.src = gene_models[k].src;
|
|
1583
|
+
img.width = gene_models[k].width;
|
|
1584
|
+
img.height = gene_models[k].height;
|
|
1585
|
+
gene_model_cell.appendChild(img);
|
|
1586
|
+
gene_model_cell.colSpan = gene_models[k].colspan;
|
|
1587
|
+
k += 1;
|
|
1588
|
+
} else {
|
|
1589
|
+
gene_model_cell.colSpan = break_points[j];
|
|
1590
|
+
j += 1;
|
|
1591
|
+
}
|
|
1592
|
+
}
|
|
1593
|
+
});
|
|
1594
|
+
mayshow_blatbutton(r, row, tk, block);
|
|
1595
|
+
div.append("div").html(r.info);
|
|
1596
|
+
const variantAlignmentTable = div.append("div").style("display", "none");
|
|
1597
|
+
}
|
|
1598
|
+
function getparam(extra = {}) {
|
|
1599
|
+
const r = tk.regions[ridx];
|
|
1600
|
+
const body = {
|
|
1601
|
+
getread: 1,
|
|
1602
|
+
qname: encodeURIComponent(box.qname),
|
|
1603
|
+
// convert + to %2B, so it can be kept the same but not a space instead
|
|
1604
|
+
genome: block.genome.name,
|
|
1605
|
+
chr: r.chr,
|
|
1606
|
+
start: r.start,
|
|
1607
|
+
stop: r.stop,
|
|
1608
|
+
...extra
|
|
1609
|
+
};
|
|
1610
|
+
if (tk.gdcFile) {
|
|
1611
|
+
body.gdcFileUUID = tk.gdcFile.uuid;
|
|
1612
|
+
body.gdcFilePosition = tk.gdcFile.position;
|
|
1613
|
+
}
|
|
1614
|
+
if (tk.nochr) body.nochr = 1;
|
|
1615
|
+
if (tk.file) body.file = tk.file;
|
|
1616
|
+
if (tk.url) body.url = tk.url;
|
|
1617
|
+
if (tk.indexURL) body.indexURL = tk.indexURL;
|
|
1618
|
+
if (tk.asPaired) {
|
|
1619
|
+
body.getpair = 1;
|
|
1620
|
+
} else {
|
|
1621
|
+
if (box.isfirst) {
|
|
1622
|
+
body.getfirst = 1;
|
|
1623
|
+
} else if (box.islast) {
|
|
1624
|
+
body.getlast = 1;
|
|
1625
|
+
} else {
|
|
1626
|
+
body.unknownorder = 1;
|
|
1627
|
+
body.readstart = box.start;
|
|
1628
|
+
body.readstop = box.stop;
|
|
1629
|
+
}
|
|
1630
|
+
}
|
|
1631
|
+
return { headers: getHeaders(tk), body };
|
|
1632
|
+
}
|
|
1633
|
+
function makeReadAlignmentTable(div, type, tk2, read_start_pos, var_idx) {
|
|
1634
|
+
let q_align, align_wrt, r_align;
|
|
1635
|
+
if (type == "Ref") {
|
|
1636
|
+
q_align = data.lst[0].alignments[var_idx].q_seq_ref;
|
|
1637
|
+
align_wrt = data.lst[0].alignments[var_idx].align_ref;
|
|
1638
|
+
r_align = data.lst[0].alignments[var_idx].r_seq_ref;
|
|
1639
|
+
}
|
|
1640
|
+
if (type == "Alt") {
|
|
1641
|
+
q_align = data.lst[0].alignments[var_idx].q_seq_alt;
|
|
1642
|
+
align_wrt = data.lst[0].alignments[var_idx].align_alt;
|
|
1643
|
+
r_align = data.lst[0].alignments[var_idx].r_seq_alt;
|
|
1644
|
+
}
|
|
1645
|
+
if (data.lst[0].alignments.length == 1) {
|
|
1646
|
+
div.append("span").text(type + " alignment").style("font-family", "Courier").style("font-size", "15px").style("color", "#303030").style("margin", "5px 5px 10px 5px");
|
|
1647
|
+
} else {
|
|
1648
|
+
if (type == "Alt") {
|
|
1649
|
+
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");
|
|
1650
|
+
} else if (type == "Ref") {
|
|
1651
|
+
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");
|
|
1652
|
+
} else {
|
|
1653
|
+
console.log("Unknown allele, please check");
|
|
1654
|
+
}
|
|
1655
|
+
}
|
|
1656
|
+
const table = div.append("table").style("font-family", "Courier").style("font-size", "0.8em").style("color", "#303030").style("margin", "5px 5px 20px 5px");
|
|
1657
|
+
let nclt_count = 0;
|
|
1658
|
+
const refAlt_tr = table.append("tr");
|
|
1659
|
+
refAlt_tr.append("td").text(type + " allele").style("text-align", "right").style("font-weight", "550").style("white-space", "nowrap");
|
|
1660
|
+
for (const nclt of r_align) {
|
|
1661
|
+
nclt_count += 1;
|
|
1662
|
+
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) {
|
|
1663
|
+
refAlt_tr.append("td").text(nclt).style("color", "red");
|
|
1664
|
+
} 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) {
|
|
1665
|
+
refAlt_tr.append("td").text(nclt).style("color", "red");
|
|
1666
|
+
} else {
|
|
1667
|
+
refAlt_tr.append("td").text(nclt);
|
|
1668
|
+
}
|
|
1669
|
+
}
|
|
1670
|
+
const alignment_tr = table.append("tr");
|
|
1671
|
+
alignment_tr.append("td");
|
|
1672
|
+
nclt_count = 0;
|
|
1673
|
+
for (const align_str of align_wrt) {
|
|
1674
|
+
nclt_count += 1;
|
|
1675
|
+
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) {
|
|
1676
|
+
alignment_tr.append("td").text(align_str).style("color", "red");
|
|
1677
|
+
} 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) {
|
|
1678
|
+
alignment_tr.append("td").text(align_str).style("color", "red");
|
|
1679
|
+
} else {
|
|
1680
|
+
alignment_tr.append("td").text(align_str);
|
|
1681
|
+
}
|
|
1682
|
+
}
|
|
1683
|
+
const query_tr = table.append("tr");
|
|
1684
|
+
query_tr.append("td").text("Read").style("text-align", "right").style("font-weight", "550");
|
|
1685
|
+
nclt_count = 0;
|
|
1686
|
+
for (const nclt of q_align) {
|
|
1687
|
+
nclt_count += 1;
|
|
1688
|
+
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) {
|
|
1689
|
+
query_tr.append("td").text(nclt).style("color", "red");
|
|
1690
|
+
} 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) {
|
|
1691
|
+
query_tr.append("td").text(nclt).style("color", "red");
|
|
1692
|
+
} else {
|
|
1693
|
+
query_tr.append("td").text(nclt);
|
|
1694
|
+
}
|
|
1695
|
+
}
|
|
1696
|
+
}
|
|
1697
|
+
}
|
|
1698
|
+
async function get_gene_models_refalt(block, tk, segstart, segstop, local_alignment_width) {
|
|
1699
|
+
const genetk = block.genome.tracks.find((i) => i.__isgene);
|
|
1700
|
+
const args = {
|
|
1701
|
+
name: genetk.name,
|
|
1702
|
+
genome: block.genome.name,
|
|
1703
|
+
rglst: [
|
|
1704
|
+
{
|
|
1705
|
+
chr: tk.variants[0].chr,
|
|
1706
|
+
start: segstart,
|
|
1707
|
+
stop: segstop,
|
|
1708
|
+
width: local_alignment_width
|
|
1709
|
+
}
|
|
1710
|
+
],
|
|
1711
|
+
width: local_alignment_width,
|
|
1712
|
+
stackheight: 16,
|
|
1713
|
+
stackspace: 1,
|
|
1714
|
+
regionspace: 0,
|
|
1715
|
+
file: genetk.file,
|
|
1716
|
+
devicePixelRatio: window.devicePixelRatio > 1 ? window.devicePixelRatio : 1,
|
|
1717
|
+
color: genetk.color,
|
|
1718
|
+
translatecoding: 1,
|
|
1719
|
+
__isgene: true,
|
|
1720
|
+
noNameHover: true
|
|
1721
|
+
};
|
|
1722
|
+
{
|
|
1723
|
+
const tk2 = block.tklst.find((i) => i.name == args.name && i.type == "bedj");
|
|
1724
|
+
if (tk2 && tk2.filterByName) {
|
|
1725
|
+
args.filterByName = tk2.filterByName;
|
|
1726
|
+
}
|
|
1727
|
+
}
|
|
1728
|
+
return await dofetch3("tkbedj", { method: "POST", body: JSON.stringify(args) });
|
|
1729
|
+
}
|
|
1730
|
+
async function get_gene_models_reads(block, ridx, segstart, segstop, local_alignment_width) {
|
|
1731
|
+
const genetk = block.genome.tracks.find((i) => i.__isgene);
|
|
1732
|
+
const args = {
|
|
1733
|
+
name: genetk.name,
|
|
1734
|
+
genome: block.genome.name,
|
|
1735
|
+
rglst: [
|
|
1736
|
+
{
|
|
1737
|
+
chr: block.rglst[ridx].chr,
|
|
1738
|
+
start: segstart,
|
|
1739
|
+
stop: segstop,
|
|
1740
|
+
width: local_alignment_width
|
|
1741
|
+
}
|
|
1742
|
+
],
|
|
1743
|
+
width: local_alignment_width,
|
|
1744
|
+
stackheight: 16,
|
|
1745
|
+
stackspace: 1,
|
|
1746
|
+
regionspace: 0,
|
|
1747
|
+
file: genetk.file,
|
|
1748
|
+
devicePixelRatio: window.devicePixelRatio > 1 ? window.devicePixelRatio : 1,
|
|
1749
|
+
color: genetk.color,
|
|
1750
|
+
translatecoding: 1,
|
|
1751
|
+
__isgene: true,
|
|
1752
|
+
noNameHover: true
|
|
1753
|
+
};
|
|
1754
|
+
{
|
|
1755
|
+
const tk = block.tklst.find((i) => i.name == args.name && i.type == "bedj");
|
|
1756
|
+
if (tk && tk.filterByName) {
|
|
1757
|
+
args.filterByName = tk.filterByName;
|
|
1758
|
+
}
|
|
1759
|
+
}
|
|
1760
|
+
return await dofetch3("tkbedj", { method: "POST", body: JSON.stringify(args) });
|
|
1761
|
+
}
|
|
1762
|
+
function mayshow_blatbutton(read, div, tk, block) {
|
|
1763
|
+
if (!block.genome.blat) {
|
|
1764
|
+
return;
|
|
1765
|
+
}
|
|
1766
|
+
const button = div.append("button").style("margin-left", "10px").text("BLAT").on("click", async () => {
|
|
1767
|
+
button.property("disabled", true);
|
|
1768
|
+
blatdiv.selectAll("*").remove();
|
|
1769
|
+
const wait = blatdiv.append("div").text("Loading...");
|
|
1770
|
+
try {
|
|
1771
|
+
const data = await dofetch3("blat", {
|
|
1772
|
+
body: {
|
|
1773
|
+
genome: block.genome.name,
|
|
1774
|
+
seq: read.seq,
|
|
1775
|
+
soft_starts: read.soft_starts,
|
|
1776
|
+
soft_stops: read.soft_stops
|
|
1777
|
+
}
|
|
1778
|
+
});
|
|
1779
|
+
if (data.error) throw data.error;
|
|
1780
|
+
if (data.nohit) throw "No hit";
|
|
1781
|
+
if (!data.hits) throw ".hits[] missing";
|
|
1782
|
+
wait.remove();
|
|
1783
|
+
show_blatresult(data.hits, blatdiv, tk, block);
|
|
1784
|
+
} catch (e) {
|
|
1785
|
+
wait.text(e.message || e);
|
|
1786
|
+
if (e.stack) console.log(e.stack);
|
|
1787
|
+
}
|
|
1788
|
+
button.property("disabled", false);
|
|
1789
|
+
});
|
|
1790
|
+
const blatdiv = div.append("div");
|
|
1791
|
+
}
|
|
1792
|
+
async function enter_partstack(group, tk, block, y, data) {
|
|
1793
|
+
group.data_fullstack = group.data;
|
|
1794
|
+
const clickstackidx = (group.partstack ? group.partstack.start : 0) + Math.floor(y / group.data.stackheight);
|
|
1795
|
+
if (clickstackidx < stackpagesize / 2) {
|
|
1796
|
+
group.partstack = {
|
|
1797
|
+
start: 0,
|
|
1798
|
+
stop: stackpagesize
|
|
1799
|
+
};
|
|
1800
|
+
} else if (clickstackidx > group.data_fullstack.stackcount - stackpagesize / 2) {
|
|
1801
|
+
group.partstack = {
|
|
1802
|
+
start: group.data_fullstack.stackcount - stackpagesize,
|
|
1803
|
+
stop: group.data_fullstack.stackcount
|
|
1804
|
+
};
|
|
1805
|
+
} else {
|
|
1806
|
+
group.partstack = {
|
|
1807
|
+
start: clickstackidx - stackpagesize / 2,
|
|
1808
|
+
stop: clickstackidx + stackpagesize / 2
|
|
1809
|
+
};
|
|
1810
|
+
}
|
|
1811
|
+
block.tkcloakon(tk);
|
|
1812
|
+
const _d = await getData(tk, block, {
|
|
1813
|
+
stackstart: group.partstack.start,
|
|
1814
|
+
stackstop: group.partstack.stop,
|
|
1815
|
+
grouptype: group.data.type
|
|
1816
|
+
});
|
|
1817
|
+
group.data = _d.groups[0];
|
|
1818
|
+
renderGroup(group, tk, block);
|
|
1819
|
+
setTkHeight(tk);
|
|
1820
|
+
block.tkcloakoff(tk, {});
|
|
1821
|
+
block.block_setheight();
|
|
1822
|
+
}
|
|
1823
|
+
function show_blatresult(hits, div, tk, block) {
|
|
1824
|
+
const table = div.append("table");
|
|
1825
|
+
const tr = table.append("tr").style("opacity", 0.5).style("font-size", ".8em");
|
|
1826
|
+
tr.append("td").text("QScore");
|
|
1827
|
+
tr.append("td").text("QStart");
|
|
1828
|
+
tr.append("td").text("QStop");
|
|
1829
|
+
tr.append("td").text("QStrand");
|
|
1830
|
+
tr.append("td").text("QAlignLen");
|
|
1831
|
+
tr.append("td").text("RChr");
|
|
1832
|
+
tr.append("td").text("RStart");
|
|
1833
|
+
tr.append("td").text("RStop");
|
|
1834
|
+
tr.append("td").text("RAlignLen");
|
|
1835
|
+
for (const h of hits) {
|
|
1836
|
+
let tr2 = table.append("tr").style("font-size", ".8em");
|
|
1837
|
+
tr2.append("td").text(h.query_match);
|
|
1838
|
+
tr2.append("td").text(h.query_startpos);
|
|
1839
|
+
tr2.append("td").text(h.query_stoppos);
|
|
1840
|
+
tr2.append("td").text(h.query_strand);
|
|
1841
|
+
tr2.append("td").text(h.query_alignlen);
|
|
1842
|
+
tr2.append("td").text(h.ref_chr);
|
|
1843
|
+
tr2.append("td").text(h.ref_startpos);
|
|
1844
|
+
tr2.append("td").text(h.ref_stoppos);
|
|
1845
|
+
tr2.append("td").text(h.ref_alignlen);
|
|
1846
|
+
}
|
|
1847
|
+
}
|
|
1848
|
+
function renderGroup(group, tk, block) {
|
|
1849
|
+
update_boxes(group, tk, block);
|
|
1850
|
+
if (group.partstack) {
|
|
1851
|
+
if (tk.variants) {
|
|
1852
|
+
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);
|
|
1853
|
+
group.ReadNameMaxwidth = 0;
|
|
1854
|
+
if (tk.show_readnames) {
|
|
1855
|
+
group.dom.read_names_g.attr("transform", "translate(0,0)");
|
|
1856
|
+
group.dom.read_names_g.selectAll("*").remove();
|
|
1857
|
+
if (group.data.templatebox && group.data.stackheight >= stackheight_min) {
|
|
1858
|
+
let read_count = 1;
|
|
1859
|
+
for (const read of group.data.templatebox) {
|
|
1860
|
+
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);
|
|
1861
|
+
group.ReadNameMaxwidth = Math.max(group.ReadNameMaxwidth, read_name_bbox.node().getBBox().width);
|
|
1862
|
+
read_count += 1;
|
|
1863
|
+
}
|
|
1864
|
+
}
|
|
1865
|
+
} else {
|
|
1866
|
+
group.dom.read_names_g.selectAll("*").remove();
|
|
1867
|
+
group.ReadNameMaxwidth = 0;
|
|
1868
|
+
}
|
|
1869
|
+
}
|
|
1870
|
+
group.dom.img_partstack.attr("xlink:href", group.data.src).attr("width", group.data.width).attr("height", group.data.height).attr("y", 0);
|
|
1871
|
+
group.dom.img_fullstack.attr("width", 0).attr("height", 0);
|
|
1872
|
+
if (tk.variants) {
|
|
1873
|
+
group.dom.diff_score_barplot_fullstack.attr("width", 0).attr("height", 0);
|
|
1874
|
+
}
|
|
1875
|
+
const scrollableheight = group.data.height;
|
|
1876
|
+
group.dom.rightg.vslider.bar.transition().attr("height", scrollableheight);
|
|
1877
|
+
group.dom.rightg.vslider.boxy = scrollableheight * group.partstack.start / group.data_fullstack.stackcount;
|
|
1878
|
+
group.dom.rightg.vslider.boxh = scrollableheight * (group.partstack.stop - group.partstack.start) / group.data_fullstack.stackcount;
|
|
1879
|
+
group.dom.rightg.vslider.box.transition().attr("height", group.dom.rightg.vslider.boxh);
|
|
1880
|
+
group.dom.rightg.vslider.boxbotline.transition().attr("y1", group.dom.rightg.vslider.boxh).attr("y2", group.dom.rightg.vslider.boxh);
|
|
1881
|
+
group.dom.rightg.vslider.boxg.transition().attr("transform", "translate(0," + group.dom.rightg.vslider.boxy + ")");
|
|
1882
|
+
} else {
|
|
1883
|
+
group.dom.img_fullstack.attr("xlink:href", group.data.src).attr("width", group.data.width).attr("height", group.data.height);
|
|
1884
|
+
group.dom.img_partstack.attr("width", 0).attr("height", 0);
|
|
1885
|
+
if (tk.variants) {
|
|
1886
|
+
if (group.dom.diff_score_barplot_partstack) {
|
|
1887
|
+
group.dom.diff_score_barplot_partstack.attr("width", 0).attr("height", 0);
|
|
1888
|
+
}
|
|
1889
|
+
group.dom.diff_score_barplot_fullstack.attr("width", group.data.diff_scores_img.width).attr("height", group.data.diff_scores_img.height);
|
|
1890
|
+
if (tk.show_readnames) {
|
|
1891
|
+
group.dom.read_names_g.selectAll("*").remove();
|
|
1892
|
+
}
|
|
1893
|
+
}
|
|
1894
|
+
group.dom.rightg.vslider.g.transition().attr("transform", "scale(0)");
|
|
1895
|
+
}
|
|
1896
|
+
group.dom.img_cover.attr("width", group.data.width).attr("height", group.data.height);
|
|
1897
|
+
}
|
|
1898
|
+
export {
|
|
1899
|
+
loadTk
|
|
1900
|
+
};
|
|
1901
|
+
//# sourceMappingURL=block.tk.bam-Q5UFUABN.js.map
|