@sjcrh/proteinpaint-client 2.208.0 → 2.210.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-43QBND66.js +1367 -0
- package/dist/AggMatrixInput-X7NGFUHH.js +406 -0
- package/dist/AggregateMatrix-M4HRI4PX.js +41 -0
- package/dist/AppHeader-QBRQN6PM.js +830 -0
- package/dist/BoxPlot-V6SPSEQ2.js +1211 -0
- package/dist/CorrelationVolcano-UFPCYC77.js +617 -0
- package/dist/Cuminc-KXGXGLKZ.js +1219 -0
- package/dist/DE-K2YXHOOW.js +89 -0
- package/dist/DEinput-O6LBFAAH.js +501 -0
- package/dist/DEinput-O6LBFAAH.js.map +7 -0
- package/dist/DM-C7VN3RWB.js +90 -0
- package/dist/DifferentialAnalysis-A2BU4WB3.js +239 -0
- package/dist/DifferentialAnalysis-A2BU4WB3.js.map +7 -0
- package/dist/Disco-HECQVKXG.js +3389 -0
- package/dist/Disco.UI-XF2GEKRW.js +243 -0
- package/dist/DmrPlot-TVXVXOHL.js +362 -0
- package/dist/DmrPlot-TVXVXOHL.js.map +7 -0
- package/dist/GB-66ZGJ5ST.js +1428 -0
- package/dist/GB-66ZGJ5ST.js.map +7 -0
- package/dist/GSEA-Z4YPI4HY.js +875 -0
- package/dist/GSEA-Z4YPI4HY.js.map +7 -0
- package/dist/GeneExpInput-VBIZZV27.js +42 -0
- package/dist/Geomap-UIIOLRFA.js +84 -0
- package/dist/HicApp-73ESVNBA.js +2245 -0
- package/dist/IDCViewer-RBYN5A4P.js +10812 -0
- package/dist/NumBinaryEditor-DJLSNSLE.js +279 -0
- package/dist/NumBinaryEditor.unit.spec-LCJHL3XM.js +312 -0
- package/dist/NumContEditor-SVLDJ2ML.js +105 -0
- package/dist/NumContEditor.unit.spec-JDMSK4HY.js +164 -0
- package/dist/NumCustomBinEditor-BI63AH3R.js +33 -0
- package/dist/NumCustomBinEditor.unit.spec-5433G7Y2.js +397 -0
- package/dist/NumDiscreteEditor-LEZTGXAV.js +170 -0
- package/dist/NumDiscreteEditor.unit.spec-5OEORHJ4.js +233 -0
- package/dist/NumRegularBinEditor-EXWHIWPM.js +33 -0
- package/dist/NumRegularBinEditor.unit.spec-QY25Z2TT.js +278 -0
- package/dist/NumSplineEditor-XPPMYYAD.js +210 -0
- package/dist/NumSplineEditor.unit.spec-GOGBKWMN.js +224 -0
- package/dist/NumericDensity-RKY2IQ72.js +33 -0
- package/dist/NumericDensity.unit.spec-5ZM6ICXM.js +418 -0
- package/dist/NumericHandler-FXF3M5M3.js +34 -0
- package/dist/NumericHandler.unit.spec-M2OQTBJX.js +214 -0
- package/dist/ProteomeInput-TMZ3THRL.js +388 -0
- package/dist/Regression-GQGAATHG.js +1416 -0
- package/dist/Regression-GQGAATHG.js.map +7 -0
- package/dist/RunChart2-7GNDWRKC.js +749 -0
- package/dist/SC-R2I2EMHA.js +1183 -0
- package/dist/SC-R2I2EMHA.js.map +7 -0
- package/dist/Violin-GKKEB55L.js +1081 -0
- package/dist/Violin-GKKEB55L.js.map +7 -0
- package/dist/Volcano-HRG5EFWH.js +2443 -0
- package/dist/Volcano-HRG5EFWH.js.map +7 -0
- package/dist/Wsi-OHRCGYYD.js +629 -0
- package/dist/adSandbox-H56B25WR.js +33 -0
- package/dist/animatedBubbleChart-7SXFHU4J.js +547 -0
- package/dist/app-22JCSULA.js +42 -0
- package/dist/app-RGZJB6LN.js +32 -0
- package/dist/app.js +14 -14
- package/dist/bam-HA65TRGX.js +876 -0
- package/dist/barchart-6XO75OMA.js +42 -0
- package/dist/barchart2-6E5BIRHD.js +309 -0
- package/dist/block-43KNTXZ5.js +6250 -0
- package/dist/block-43KNTXZ5.js.map +7 -0
- package/dist/block.init-TPU5QIPA.js +33 -0
- package/dist/block.mds.expressionrank-QZDRFXCH.js +354 -0
- package/dist/block.mds.geneboxplot-64QVBK5Q.js +823 -0
- package/dist/block.mds.junction-I4J6VXNT.js +1539 -0
- package/dist/block.mds.svcnv-GDQMSQFF.js +6796 -0
- package/dist/block.svg-2MZFT5QP.js +159 -0
- package/dist/block.tk.aicheck-2MKHF6LX.js +278 -0
- package/dist/block.tk.ase-CLYGKFTS.js +360 -0
- package/dist/block.tk.bam-XTR4QA5Z.js +1901 -0
- package/dist/block.tk.bedgraphdot-A2P2CXRU.js +379 -0
- package/dist/block.tk.bigwig.ui-YZH6JXEO.js +206 -0
- package/dist/block.tk.hicstraw-QBK5VWGU.js +818 -0
- package/dist/block.tk.junction-5DEVBA7G.js +2358 -0
- package/dist/block.tk.junction.textmatrixui-7TTQMO6W.js +194 -0
- package/dist/block.tk.ld-PRIVUPKL.js +94 -0
- package/dist/block.tk.menu-JGBRFSS3.js +1024 -0
- package/dist/block.tk.pgv-KQJCJMVD.js +938 -0
- package/dist/brainImaging-4SLVJ2HV.js +555 -0
- package/dist/brainRegions-BDIVM2SG.js +217 -0
- package/dist/bubbleHeatmap-ORKFJNEQ.js +378 -0
- package/dist/cellTypeBubbleHeatmap-VOHLI4P7.js +278 -0
- package/dist/chunk-26N3B2JO.js +194 -0
- package/dist/chunk-2HNJF5ZI.js +240 -0
- package/dist/chunk-2LNGHIOC.js +281 -0
- package/dist/chunk-3FEP6B5T.js +119 -0
- package/dist/chunk-3SCQGODD.js +274 -0
- package/dist/chunk-47STLK7K.js +518 -0
- package/dist/chunk-4G73CMUL.js +38 -0
- package/dist/chunk-4XYQG3XU.js +276 -0
- package/dist/chunk-53XNEXR6.js +34 -0
- package/dist/chunk-55FABQU2.js +24955 -0
- package/dist/chunk-55FABQU2.js.map +7 -0
- package/dist/chunk-5UB5H7A3.js +123 -0
- package/dist/chunk-6FYQYTV6.js +141 -0
- package/dist/chunk-6RP6CR4Q.js +182 -0
- package/dist/chunk-A5D37SIL.js +103 -0
- package/dist/chunk-ADRFQ5AL.js +102 -0
- package/dist/chunk-AUZ63NKJ.js +70 -0
- package/dist/chunk-B563DUNQ.js +217 -0
- package/dist/chunk-B563DUNQ.js.map +7 -0
- package/dist/chunk-BK6UDL7F.js +339 -0
- package/dist/chunk-CFZ2ZW3E.js +382 -0
- package/dist/chunk-CKOU3P27.js +26 -0
- package/dist/chunk-CT4IG5IR.js +339 -0
- package/dist/chunk-D6UBH77N.js +1731 -0
- package/dist/chunk-DS4GLMJL.js +170 -0
- package/dist/chunk-DSBRHWZ7.js +2853 -0
- package/dist/chunk-DX35MKPR.js +272 -0
- package/dist/chunk-EDZJ3VNZ.js +54 -0
- package/dist/chunk-F47A4CVK.js +1339 -0
- package/dist/chunk-FSLOUTTK.js +37 -0
- package/dist/chunk-FSLOUTTK.js.map +7 -0
- package/dist/chunk-G4H34RNK.js +446 -0
- package/dist/chunk-G7RUMSHL.js +263 -0
- package/dist/chunk-GXFS25SK.js +480 -0
- package/dist/chunk-I25LKYC4.js +379 -0
- package/dist/chunk-I25LKYC4.js.map +7 -0
- package/dist/chunk-IAB2PRIH.js +396 -0
- package/dist/chunk-IAB2PRIH.js.map +7 -0
- package/dist/chunk-IBT6WRY6.js +692 -0
- package/dist/chunk-IJ7AIDEO.js +302 -0
- package/dist/chunk-JBFVJHZN.js +1233 -0
- package/dist/chunk-JDVBUIEU.js +56 -0
- package/dist/chunk-JTANDSTD.js +54 -0
- package/dist/chunk-K7RW5TPU.js +4375 -0
- package/dist/chunk-KIAMLQ7S.js +424 -0
- package/dist/chunk-KIAMLQ7S.js.map +7 -0
- package/dist/chunk-LBCIXRI2.js +49 -0
- package/dist/chunk-MNXL2UV5.js +98 -0
- package/dist/chunk-NDOKW2HJ.js +31 -0
- package/dist/chunk-NI5CVN43.js +203 -0
- package/dist/chunk-NOBXDQDU.js +397 -0
- package/dist/chunk-NQNVLZOA.js +6360 -0
- package/dist/chunk-NULFGPE3.js +158 -0
- package/dist/chunk-OUIXGM3K.js +299 -0
- package/dist/chunk-P4LGA36F.js +14 -0
- package/dist/chunk-PU5FQWAY.js +55 -0
- package/dist/chunk-PZ2OSHBF.js +56 -0
- package/dist/chunk-QBNDPW7O.js +5071 -0
- package/dist/chunk-QD75Q5LM.js +59 -0
- package/dist/chunk-R5PKBL7V.js +80 -0
- package/dist/chunk-R5PKBL7V.js.map +7 -0
- package/dist/chunk-RFSOP75Z.js +1988 -0
- package/dist/chunk-RFSOP75Z.js.map +7 -0
- package/dist/chunk-RI65SIN3.js +626 -0
- package/dist/chunk-RPGLLO4T.js +2676 -0
- package/dist/chunk-RXNZK7MF.js +134 -0
- package/dist/chunk-S2ICJ3RZ.js +550 -0
- package/dist/chunk-SB36AUG7.js +1614 -0
- package/dist/chunk-SB36AUG7.js.map +7 -0
- package/dist/chunk-SFHG6H2D.js +129 -0
- package/dist/chunk-TQ2DVEQO.js +783 -0
- package/dist/chunk-U6BJ4ZNU.js +176 -0
- package/dist/chunk-UXD6G6G4.js +178 -0
- package/dist/chunk-VA57CUC7.js +2146 -0
- package/dist/chunk-VA57CUC7.js.map +7 -0
- package/dist/chunk-VH5W6ODW.js +294 -0
- package/dist/chunk-VROF55EH.js +255 -0
- package/dist/chunk-VROF55EH.js.map +7 -0
- package/dist/chunk-VWA7BYSV.js +217 -0
- package/dist/chunk-X37BRSGS.js +102 -0
- package/dist/chunk-XQYDXA47.js +562 -0
- package/dist/chunk-XXPUZVS4.js +237 -0
- package/dist/chunk-XXPUZVS4.js.map +7 -0
- package/dist/chunk-Y7V5AIUH.js +468 -0
- package/dist/chunk-YBNIOGUE.js +243 -0
- package/dist/chunk-YEYMNF7V.js +2327 -0
- package/dist/chunk-YJ74QATP.js +1278 -0
- package/dist/chunk-ZG2HCGAO.js +2784 -0
- package/dist/chunk-ZZN7ZD7J.js +54 -0
- package/dist/cohort-6OCRQQ2S.js +70 -0
- package/dist/condition-SZVXH3VU.js +327 -0
- package/dist/controls-MO6ZND76.js +34 -0
- package/dist/controls.config-P4MSTGL4.js +34 -0
- package/dist/correlation-NMI3CM3T.js +95 -0
- package/dist/customdata.inputui-VCHSCA65.js +284 -0
- package/dist/dataDownload-VQHOTQ5D.js +329 -0
- package/dist/databrowser.ui-ZFOCAG32.js +425 -0
- package/dist/dictionary-S5YCFUWH.js +113 -0
- package/dist/dnaMethylation-MQZLZRGT.js +33 -0
- package/dist/dnaMethylation.integration.spec-H546EBUO.js +198 -0
- package/dist/dofetch-QZIYSC7H.js +48 -0
- package/dist/e2pca-XOXOS3PN.js +344 -0
- package/dist/ep-U6KRL7FR.js +1249 -0
- package/dist/expclust.gdc.spec-HCK65C63.js +302 -0
- package/dist/facet-DCC25KJO.js +519 -0
- package/dist/gb-TIFWFD4Y.js +81 -0
- package/dist/geneExpClustering-6DQEOTOY.js +244 -0
- package/dist/geneExpression-EASRAN6B.js +310 -0
- package/dist/geneExpression-G4YMDCBH.js +33 -0
- package/dist/geneExpression.unit.spec-XVEJYMPX.js +128 -0
- package/dist/geneExpression.unit.spec-XVEJYMPX.js.map +7 -0
- package/dist/geneORA-6UBS5GSC.js +273 -0
- package/dist/geneRanking-UXXYWHNB.js +548 -0
- package/dist/geneVariant-SZRJOXVC.js +289 -0
- package/dist/geneVariant-SZRJOXVC.js.map +7 -0
- package/dist/geneVariant-TKFKARZK.js +36 -0
- package/dist/geneVariant.integration.spec-PXMAYJN3.js +503 -0
- package/dist/geneVariant.integration.spec-PXMAYJN3.js.map +7 -0
- package/dist/genefusion.ui-TJLYXSVL.js +303 -0
- package/dist/geneset-YTBDLEIH.js +203 -0
- package/dist/genomeBrowser.spec-ZO4LFIXE.js +276 -0
- package/dist/grin2-FC4VYU54.js +949 -0
- package/dist/grin2-FC4VYU54.js.map +7 -0
- package/dist/grin2-LIFKBMVK.js +70 -0
- package/dist/hierCluster-56EGAPOR.js +59 -0
- package/dist/hierCluster-DR5NWCXA.js +55 -0
- package/dist/hierCluster.config-NACE3FH2.js +36 -0
- package/dist/hierCluster.integration.spec-PEEXPAS6.js +483 -0
- package/dist/hierCluster.interactivity-OCBGLUJM.js +49 -0
- package/dist/hierCluster.renderers-JNQUSAP4.js +19 -0
- package/dist/imagePlot-GR4JNUGG.js +156 -0
- package/dist/importPlot-4R4BSPVD.js +8 -0
- package/dist/isoformExpression-ST5ZW2NE.js +35 -0
- package/dist/isoformExpression.unit.spec-PPFC5Z7N.js +237 -0
- package/dist/junction-7AKZHOHV.js +36 -0
- package/dist/junction.customTerm-TMV43R7Z.js +16 -0
- package/dist/junction.unit.spec-SZUJXRQ2.js +182 -0
- package/dist/launch.adhoc-RWJQUOJ6.js +37 -0
- package/dist/leftlabel.sample-WRHLVQAQ.js +258 -0
- package/dist/lollipop-ZZWXTM23.js +166 -0
- package/dist/maf-N4XPZTQU.js +455 -0
- package/dist/maftimeline-2FBS6RWS.js +587 -0
- package/dist/matrix-5KEQPB5H.js +59 -0
- package/dist/matrix-RJUNXB5N.js +54 -0
- package/dist/matrix.cells-WXTPOJYB.js +26 -0
- package/dist/matrix.config-ZZFLLD6Z.js +37 -0
- package/dist/matrix.data-3PQ73GVJ.js +23 -0
- package/dist/matrix.groups-U6CKS6WW.js +26 -0
- package/dist/matrix.integration.spec-T53PMVHC.js +3160 -0
- package/dist/matrix.integration.spec-T53PMVHC.js.map +7 -0
- package/dist/matrix.interactivity-3LDZV3F7.js +37 -0
- package/dist/matrix.layout-MINLYQCA.js +39 -0
- package/dist/matrix.legend-6GSDFZHS.js +20 -0
- package/dist/matrix.renderers-5BKOXDE3.js +34 -0
- package/dist/matrix.serieses-6FCFIFAQ.js +19 -0
- package/dist/matrix.sort-EHVVYDZ3.js +26 -0
- package/dist/matrix.sort.unit.spec-BCWE4AFX.js +468 -0
- package/dist/matrix.sorterUi-WL5I6S3K.js +16 -0
- package/dist/matrix.sorterUi.unit.spec-XJR5KXRL.js +338 -0
- package/dist/matrix.unit.spec-TUCKPE26.js +150 -0
- package/dist/mavb-GWSNRBLM.js +727 -0
- package/dist/mds.fimo-OMAQRSMW.js +513 -0
- package/dist/mds.samplescatterplot-4UW3CC45.js +1545 -0
- package/dist/mds.survivalplot-2CJYJBD2.js +477 -0
- package/dist/multivalue-G44MHEYI.js +83 -0
- package/dist/numericDictTermCluster-5BDRGVQG.js +63 -0
- package/dist/oncomatrix-ZTVO23ZH.js +290 -0
- package/dist/oncomatrix.spec-2QVK2A3Q.js +443 -0
- package/dist/plot.2dvaf-CL5YUXKH.js +372 -0
- package/dist/plot.app-4ANKPSNP.js +36 -0
- package/dist/plot.barplot-BMGDNZRA.js +97 -0
- package/dist/plot.boxplot-GMLQCDP6.js +146 -0
- package/dist/plot.brainImaging-RZXX3NUZ.js +51 -0
- package/dist/plot.disco-3MD4J4C7.js +99 -0
- package/dist/plot.ssgq-ZC4UYKOT.js +134 -0
- package/dist/plot.vaf2cov-4DHFMYQV.js +253 -0
- package/dist/polar2-TMB5EITR.js +232 -0
- package/dist/profileForms-GD7BIOOD.js +941 -0
- package/dist/profilePlot-CZLK5E74.js +49 -0
- package/dist/proteinView-FEEEXLKT.js +1357 -0
- package/dist/proteomeCohortCompare-NVLJ2FXX.js +912 -0
- package/dist/pseudbulk.unit.spec-GHQZPNAH.js +86 -0
- package/dist/pseudobulk-G5UQIRKL.js +35 -0
- package/dist/qualitative-EAUUCKU5.js +38 -0
- package/dist/radar2-CJQ2L6KE.js +327 -0
- package/dist/radarFacility2-BLVRZE4V.js +335 -0
- package/dist/rememberedGvQ.unit.spec-DYRO2LO5.js +211 -0
- package/dist/render-KKAQPH6Y.js +33 -0
- package/dist/report-OSOJHTSD.js +217 -0
- package/dist/sampleView-WB74RLD7.js +43 -0
- package/dist/samplelst-ZKXV5WOD.js +106 -0
- package/dist/samplematrix-WJFYMWLT.js +2193 -0
- package/dist/sc-RBRBUCLR.js +81 -0
- package/dist/scatter-5K3QTIDK.js +88 -0
- package/dist/scatter-SM7GQENM.js +925 -0
- package/dist/selectGenomeWithTklst-ZZUJ7AQ7.js +129 -0
- package/dist/singleCellCellType-LCF2JNZ2.js +33 -0
- package/dist/singleCellCellType.unit.spec-T6DYH4BC.js +154 -0
- package/dist/singleCellGeneExpression-2XUYTH4C.js +33 -0
- package/dist/singleCellGeneExpression.unit.spec-SMRCLOF4.js +148 -0
- package/dist/singleCellNumericValue-57I33FZT.js +33 -0
- package/dist/singleCellNumericValue.unit.spec-4YNB4OEV.js +416 -0
- package/dist/singleCellPlot-L6TKQHGD.js +48 -0
- package/dist/singlecell-LZKR3UDV.js +81 -0
- package/dist/singlecell-UKN2VCXQ.js +1566 -0
- package/dist/snp-3LJITU5B.js +33 -0
- package/dist/snp.unit.spec-ZQNU6XRM.js +171 -0
- package/dist/snplocus-OME7UQBW.js +203 -0
- package/dist/spliceevent.a53ss.diagram-C32IEFMU.js +146 -0
- package/dist/spliceevent.exonskip.diagram-CZ7MVRLK.js +278 -0
- package/dist/spliceevent.noeventdiagram-ZO6R3776.js +455 -0
- package/dist/ssGSEA-BGPQ2PFY.js +33 -0
- package/dist/ssGSEA.unit.spec-U7TBUSSK.js +83 -0
- package/dist/stattable-FISGQCED.js +117 -0
- package/dist/studyCatalog-UHFUT2CJ.js +414 -0
- package/dist/summarizeCnvGeneexp-OVZO6KIB.js +158 -0
- package/dist/summarizeGeneexpSurvival-KVQ4JGWK.js +105 -0
- package/dist/summarizeMutationCnv-RAKGHNLE.js +159 -0
- package/dist/summarizeMutationDiagnosis-LGCINAGG.js +35 -0
- package/dist/summarizeMutationSurvival-J7H7L4FX.js +99 -0
- package/dist/summary-2632JZXH.js +44 -0
- package/dist/summary.integration.spec-5WBS2ZRP.js +409 -0
- package/dist/summaryInput-BH6C3ATV.js +242 -0
- package/dist/sunburst-AMRR2IHM.js +278 -0
- package/dist/survival-2RNJQVFS.js +1248 -0
- package/dist/survival-WYCH4QOQ.js +53 -0
- package/dist/survival.integration.spec-7IFPY4I4.js +613 -0
- package/dist/svgraph-YQWS52ZJ.js +1382 -0
- package/dist/svmr-NRN6LGKK.js +3837 -0
- package/dist/table-3QOMV2NN.js +197 -0
- package/dist/termCollection-2ZJ7TJGO.js +33 -0
- package/dist/termCollection-3MCVR7BA.js +252 -0
- package/dist/termCollection.unit.spec-QYOEA3X6.js +299 -0
- package/dist/termCollectionFractionSelection-5AH6EF4L.js +42 -0
- package/dist/termCollectionFractionSelection.unit.spec-WPGW4WJN.js +188 -0
- package/dist/tk-DQ7D5UEO.js +41 -0
- package/dist/tk-ONKYBG6R.js +1121 -0
- package/dist/tp.ui-C7BTMHEI.js +1454 -0
- package/dist/tvs.dt-PLRMK7OT.js +34 -0
- package/dist/tvs.dtcnv.categorical-IZUY2AQO.js +35 -0
- package/dist/tvs.dtcnv.continuous-ENV3RHHA.js +67 -0
- package/dist/tvs.dtfusion-2DVCV6AM.js +35 -0
- package/dist/tvs.dtitd-XNDIRQYU.js +35 -0
- package/dist/tvs.dtsnvindel-4D3G7XSF.js +35 -0
- package/dist/tvs.dtsv-QYMIMC4Z.js +35 -0
- package/dist/tvs.numeric-M5LH3PRH.js +20 -0
- package/dist/tvs.samplelst-2KEU2ZWB.js +98 -0
- package/dist/tvs.termCollection-FEY746V5.js +124 -0
- package/dist/vocabulary-BR4NJDPS.js +36 -0
- package/dist/wsi.direct-JWDUNHIO.js +8343 -0
- package/package.json +3 -3
- package/dist/2dmaf-PN5YS362.js +0 -1367
- package/dist/AggMatrixInput-NJHU4FU2.js +0 -406
- package/dist/AggregateMatrix-IBWOJWOC.js +0 -41
- package/dist/AppHeader-XV6S7GG5.js +0 -830
- package/dist/BoxPlot-ZIVA55SK.js +0 -1211
- package/dist/CorrelationVolcano-33I4FC44.js +0 -617
- package/dist/Cuminc-WKY35UGV.js +0 -1219
- package/dist/DE-E256DHID.js +0 -89
- package/dist/DEinput-YU3W72K7.js +0 -499
- package/dist/DEinput-YU3W72K7.js.map +0 -7
- package/dist/DM-W7PXTIKY.js +0 -90
- package/dist/DifferentialAnalysis-SHMQHWJL.js +0 -236
- package/dist/DifferentialAnalysis-SHMQHWJL.js.map +0 -7
- package/dist/Disco-OZY5GW2Z.js +0 -3389
- package/dist/Disco.UI-NRALEYXK.js +0 -243
- package/dist/DmrPlot-QKUX5XUW.js +0 -637
- package/dist/DmrPlot-QKUX5XUW.js.map +0 -7
- package/dist/GB-ZYH7PGHT.js +0 -1391
- package/dist/GB-ZYH7PGHT.js.map +0 -7
- package/dist/GSEA-VQTD4MLY.js +0 -851
- package/dist/GSEA-VQTD4MLY.js.map +0 -7
- package/dist/GeneExpInput-XEFUTLFU.js +0 -42
- package/dist/Geomap-GEK7UEDU.js +0 -84
- package/dist/HicApp-ZY7UHV5H.js +0 -2245
- package/dist/IDCViewer-YNKG4V46.js +0 -10812
- package/dist/NumBinaryEditor-NEL727DX.js +0 -279
- package/dist/NumBinaryEditor.unit.spec-GCGZMJYF.js +0 -312
- package/dist/NumContEditor-IM6RRDGU.js +0 -105
- package/dist/NumContEditor.unit.spec-B5AJXANS.js +0 -164
- package/dist/NumCustomBinEditor-EZT5DRKP.js +0 -33
- package/dist/NumCustomBinEditor.unit.spec-KLUDS6TH.js +0 -397
- package/dist/NumDiscreteEditor-2M6Q5AAZ.js +0 -170
- package/dist/NumDiscreteEditor.unit.spec-2JYZYJUX.js +0 -233
- package/dist/NumRegularBinEditor-AQDHA2PU.js +0 -33
- package/dist/NumRegularBinEditor.unit.spec-62BYFNYG.js +0 -278
- package/dist/NumSplineEditor-6Y5TZSTO.js +0 -210
- package/dist/NumSplineEditor.unit.spec-S65AV5EK.js +0 -224
- package/dist/NumericDensity-5ES4SDWZ.js +0 -33
- package/dist/NumericDensity.unit.spec-J6KZSE2P.js +0 -418
- package/dist/NumericHandler-ZTLDPP2F.js +0 -34
- package/dist/NumericHandler.unit.spec-BZFBVHGU.js +0 -214
- package/dist/ProteomeInput-IKEXPCGV.js +0 -388
- package/dist/Regression-6F6YP3AX.js +0 -1416
- package/dist/Regression-6F6YP3AX.js.map +0 -7
- package/dist/RunChart2-CVRPXQH5.js +0 -749
- package/dist/SC-FPXVXBXF.js +0 -1175
- package/dist/SC-FPXVXBXF.js.map +0 -7
- package/dist/Violin-BAS6DQHL.js +0 -1081
- package/dist/Violin-BAS6DQHL.js.map +0 -7
- package/dist/Volcano-FCCWUMX7.js +0 -1649
- package/dist/Volcano-FCCWUMX7.js.map +0 -7
- package/dist/Wsi-3YTFABWG.js +0 -629
- package/dist/adSandbox-QYIG6637.js +0 -33
- package/dist/animatedBubbleChart-X53PR73H.js +0 -547
- package/dist/app-HJLTRZPI.js +0 -32
- package/dist/app-MGY6A4DM.js +0 -42
- package/dist/bam-VRQHRCP5.js +0 -876
- package/dist/barchart-TWMOUZFL.js +0 -42
- package/dist/barchart2-CV7RMMRG.js +0 -309
- package/dist/block-L53P4UGQ.js +0 -6249
- package/dist/block-L53P4UGQ.js.map +0 -7
- package/dist/block.init-XYOJTXKP.js +0 -33
- package/dist/block.mds.expressionrank-77FSBDHA.js +0 -354
- package/dist/block.mds.geneboxplot-4TSYV4WS.js +0 -823
- package/dist/block.mds.junction-P4MYDET6.js +0 -1539
- package/dist/block.mds.svcnv-CYOFAS2T.js +0 -6796
- package/dist/block.svg-IT3ELCF4.js +0 -159
- package/dist/block.tk.aicheck-GULHJLV5.js +0 -278
- package/dist/block.tk.ase-RW5YL6HN.js +0 -360
- package/dist/block.tk.bam-MPGQW6KB.js +0 -1901
- package/dist/block.tk.bedgraphdot-EYRY374P.js +0 -379
- package/dist/block.tk.bigwig.ui-BKSXCDNM.js +0 -206
- package/dist/block.tk.hicstraw-76PV6NM3.js +0 -818
- package/dist/block.tk.junction-Z52QHQJQ.js +0 -2358
- package/dist/block.tk.junction.textmatrixui-K32OOTZC.js +0 -194
- package/dist/block.tk.ld-DDGLRHPO.js +0 -94
- package/dist/block.tk.menu-MO6TESKI.js +0 -1024
- package/dist/block.tk.pgv-AKLKKSEP.js +0 -938
- package/dist/brainImaging-KSTJQJAB.js +0 -555
- package/dist/brainRegions-WCRMMSK4.js +0 -217
- package/dist/bubbleHeatmap-4YOQ3BAB.js +0 -378
- package/dist/cellTypeBubbleHeatmap-O6YZ2RW4.js +0 -278
- package/dist/chunk-3GUVLDUS.js +0 -299
- package/dist/chunk-3PQDD5HM.js +0 -446
- package/dist/chunk-3WYUHDDP.js +0 -1986
- package/dist/chunk-3WYUHDDP.js.map +0 -7
- package/dist/chunk-4C7MA5Q3.js +0 -158
- package/dist/chunk-4EZLVENZ.js +0 -1612
- package/dist/chunk-4EZLVENZ.js.map +0 -7
- package/dist/chunk-4PB5ZEOB.js +0 -102
- package/dist/chunk-5IMFPVGT.js +0 -119
- package/dist/chunk-6DPELKO5.js +0 -518
- package/dist/chunk-6HGTVMZM.js +0 -54
- package/dist/chunk-72P6O537.js +0 -1731
- package/dist/chunk-74C6G6JD.js +0 -397
- package/dist/chunk-A7TXS6JR.js +0 -276
- package/dist/chunk-AAJXHERO.js +0 -123
- package/dist/chunk-AVS4IXEA.js +0 -692
- package/dist/chunk-BFXZBZEV.js +0 -176
- package/dist/chunk-BGVGN73F.js +0 -480
- package/dist/chunk-BL7EYUZC.js +0 -6360
- package/dist/chunk-BPGZUNLL.js +0 -274
- package/dist/chunk-CPIPN5F6.js +0 -141
- package/dist/chunk-D5MSWPAZ.js +0 -217
- package/dist/chunk-DFT2PAIU.js +0 -243
- package/dist/chunk-DMWOK4DS.js +0 -178
- package/dist/chunk-E7NVJ44Z.js +0 -263
- package/dist/chunk-EMMGUSJB.js +0 -54
- package/dist/chunk-G3CCQOLH.js +0 -240
- package/dist/chunk-GGQVDHYF.js +0 -379
- package/dist/chunk-GGQVDHYF.js.map +0 -7
- package/dist/chunk-GMRIEUBW.js +0 -408
- package/dist/chunk-GMRIEUBW.js.map +0 -7
- package/dist/chunk-GPZYAJQH.js +0 -2676
- package/dist/chunk-GS6ZMPKP.js +0 -272
- package/dist/chunk-GUXKLMLM.js +0 -102
- package/dist/chunk-HELEV3LT.js +0 -2853
- package/dist/chunk-HKKTNIMX.js +0 -339
- package/dist/chunk-HKSRIEWJ.js +0 -26
- package/dist/chunk-IELQ3HMN.js +0 -70
- package/dist/chunk-IISNWG4X.js +0 -103
- package/dist/chunk-J7KB2MH3.js +0 -34
- package/dist/chunk-JEJV7V7M.js +0 -2327
- package/dist/chunk-JIZ3B32T.js +0 -626
- package/dist/chunk-KAY2ODXX.js +0 -38
- package/dist/chunk-KJM6PLXM.js +0 -5071
- package/dist/chunk-KTKZSYIH.js +0 -24
- package/dist/chunk-KTKZSYIH.js.map +0 -7
- package/dist/chunk-KZHF3MQX.js +0 -1278
- package/dist/chunk-MC674TS2.js +0 -194
- package/dist/chunk-MLKQZ3RL.js +0 -1339
- package/dist/chunk-MSSPT5YM.js +0 -550
- package/dist/chunk-N6IWVSFP.js +0 -4375
- package/dist/chunk-NBGVEZNX.js +0 -56
- package/dist/chunk-OBBR4UYN.js +0 -54
- package/dist/chunk-PQA3C2NY.js +0 -294
- package/dist/chunk-QJ2VBXFB.js +0 -134
- package/dist/chunk-QJ3HYZH3.js +0 -24772
- package/dist/chunk-QJ3HYZH3.js.map +0 -7
- package/dist/chunk-QP7EJXSU.js +0 -55
- package/dist/chunk-QUHXX7JE.js +0 -56
- package/dist/chunk-REPQKF5L.js +0 -182
- package/dist/chunk-SHXJW27D.js +0 -2784
- package/dist/chunk-SUNDNTVY.js +0 -302
- package/dist/chunk-SYPSS3JQ.js +0 -387
- package/dist/chunk-SYPSS3JQ.js.map +0 -7
- package/dist/chunk-TSI4W6XO.js +0 -98
- package/dist/chunk-TXIQ5PHR.js +0 -468
- package/dist/chunk-U45R6QNT.js +0 -562
- package/dist/chunk-UMZJQWWK.js +0 -1233
- package/dist/chunk-VMRO6DMC.js +0 -2140
- package/dist/chunk-VMRO6DMC.js.map +0 -7
- package/dist/chunk-VO7Q4WMM.js +0 -55
- package/dist/chunk-VO7Q4WMM.js.map +0 -7
- package/dist/chunk-VWGRKOVJ.js +0 -170
- package/dist/chunk-WCTKHF5T.js +0 -197
- package/dist/chunk-WCTKHF5T.js.map +0 -7
- package/dist/chunk-WOMERKMR.js +0 -31
- package/dist/chunk-WXX2YD4Q.js +0 -59
- package/dist/chunk-X44AR557.js +0 -382
- package/dist/chunk-XEU5HXOY.js +0 -783
- package/dist/chunk-XGYQZHNX.js +0 -281
- package/dist/chunk-XOND7UIK.js +0 -49
- package/dist/chunk-XRMUUWLS.js +0 -339
- package/dist/chunk-XTOGCXPD.js +0 -129
- package/dist/chunk-Y5BBFDC3.js +0 -14
- package/dist/chunk-Z2FSHODI.js +0 -203
- package/dist/cohort-JWIQOO7U.js +0 -70
- package/dist/condition-ZUAQYF5C.js +0 -327
- package/dist/controls-ZPQ6SXD2.js +0 -34
- package/dist/controls.config-NELL5HY5.js +0 -34
- package/dist/correlation-2X76UI3K.js +0 -95
- package/dist/customdata.inputui-V6QIGFRP.js +0 -284
- package/dist/dataDownload-NSDY4MSL.js +0 -329
- package/dist/databrowser.ui-DDLFQB6K.js +0 -425
- package/dist/dictionary-WSDD6TFI.js +0 -113
- package/dist/dnaMethylation-3IM4OACZ.js +0 -33
- package/dist/dnaMethylation.integration.spec-5CSJA67S.js +0 -198
- package/dist/dofetch-GZ7POIBV.js +0 -48
- package/dist/e2pca-AX7U2DOI.js +0 -344
- package/dist/ep-UKACHFJU.js +0 -1249
- package/dist/expclust.gdc.spec-46HDKH2Q.js +0 -302
- package/dist/facet-3EONZDDE.js +0 -519
- package/dist/gb-W7GX5NWS.js +0 -81
- package/dist/geneExpClustering-PJA6Y5GW.js +0 -244
- package/dist/geneExpression-EMLVPVNK.js +0 -310
- package/dist/geneExpression-JMGYBT53.js +0 -33
- package/dist/geneExpression.unit.spec-DDZVZJVC.js +0 -128
- package/dist/geneExpression.unit.spec-DDZVZJVC.js.map +0 -7
- package/dist/geneORA-CIAFQQWB.js +0 -273
- package/dist/geneRanking-JRAU6FMJ.js +0 -548
- package/dist/geneVariant-3DZTWQFG.js +0 -36
- package/dist/geneVariant-YWURIZ72.js +0 -286
- package/dist/geneVariant-YWURIZ72.js.map +0 -7
- package/dist/geneVariant.integration.spec-V3KECZMM.js +0 -489
- package/dist/geneVariant.integration.spec-V3KECZMM.js.map +0 -7
- package/dist/genefusion.ui-AO3TUDTL.js +0 -303
- package/dist/geneset-RCIP2GZH.js +0 -203
- package/dist/genomeBrowser.spec-7PZCNBL3.js +0 -276
- package/dist/grin2-EUBCNH4Q.js +0 -70
- package/dist/grin2-YYBB5XJK.js +0 -1137
- package/dist/grin2-YYBB5XJK.js.map +0 -7
- package/dist/hierCluster-AV5NO2GW.js +0 -59
- package/dist/hierCluster-W2MVN34V.js +0 -55
- package/dist/hierCluster.config-4MBWG6RZ.js +0 -36
- package/dist/hierCluster.integration.spec-JUIBIUKH.js +0 -483
- package/dist/hierCluster.interactivity-6PJE64PF.js +0 -49
- package/dist/hierCluster.renderers-RWDQ5SHY.js +0 -19
- package/dist/imagePlot-XLDQNUJA.js +0 -156
- package/dist/importPlot-7FISAQKR.js +0 -8
- package/dist/isoformExpression-WOQAOVZS.js +0 -35
- package/dist/isoformExpression.unit.spec-BMEGJNCO.js +0 -237
- package/dist/junction-6NO36IPU.js +0 -36
- package/dist/junction.customTerm-N6JAOWZO.js +0 -16
- package/dist/junction.unit.spec-UKGSQHO4.js +0 -182
- package/dist/launch.adhoc-42PUNEA6.js +0 -37
- package/dist/leftlabel.sample-EXAUDPSB.js +0 -258
- package/dist/lollipop-4ASTA5HO.js +0 -166
- package/dist/maf-HPXANL3M.js +0 -455
- package/dist/maftimeline-2SXFX3HF.js +0 -587
- package/dist/matrix-DX4W5XMX.js +0 -59
- package/dist/matrix-S34ITAPJ.js +0 -54
- package/dist/matrix.cells-BLULUGSZ.js +0 -26
- package/dist/matrix.config-Z3LWYH74.js +0 -37
- package/dist/matrix.data-73HY7Y2V.js +0 -23
- package/dist/matrix.groups-NOUMYNFY.js +0 -26
- package/dist/matrix.integration.spec-VTXYJ46U.js +0 -3160
- package/dist/matrix.integration.spec-VTXYJ46U.js.map +0 -7
- package/dist/matrix.interactivity-YHDIO5A2.js +0 -37
- package/dist/matrix.layout-25HYKUF2.js +0 -39
- package/dist/matrix.legend-IMK7DH4V.js +0 -20
- package/dist/matrix.renderers-3RZRN6HO.js +0 -34
- package/dist/matrix.serieses-ZTVHQ7QA.js +0 -19
- package/dist/matrix.sort-EDXHT6NZ.js +0 -26
- package/dist/matrix.sort.unit.spec-LSNY7PHU.js +0 -468
- package/dist/matrix.sorterUi-3DRNHG5Z.js +0 -16
- package/dist/matrix.sorterUi.unit.spec-GNIIWGRJ.js +0 -338
- package/dist/matrix.unit.spec-7A6ZFRXI.js +0 -150
- package/dist/mavb-M5AXPLYX.js +0 -727
- package/dist/mds.fimo-QE5OFA22.js +0 -513
- package/dist/mds.samplescatterplot-664EOHX2.js +0 -1545
- package/dist/mds.survivalplot-H4TJD44D.js +0 -477
- package/dist/multivalue-JD3CNQJR.js +0 -83
- package/dist/numericDictTermCluster-XPKEYXD7.js +0 -63
- package/dist/oncomatrix-TX5PZQ76.js +0 -290
- package/dist/oncomatrix.spec-6X2WAHL7.js +0 -443
- package/dist/plot.2dvaf-5OHUFTMK.js +0 -372
- package/dist/plot.app-XIVVJHWG.js +0 -36
- package/dist/plot.barplot-PSODLAXD.js +0 -97
- package/dist/plot.boxplot-W3ASYFOG.js +0 -146
- package/dist/plot.brainImaging-JGDLKLR7.js +0 -51
- package/dist/plot.disco-TPMXTTZK.js +0 -99
- package/dist/plot.ssgq-KIZIOZIF.js +0 -134
- package/dist/plot.vaf2cov-MSMW72IY.js +0 -253
- package/dist/polar2-LA4MSRRN.js +0 -232
- package/dist/profileForms-BJRNB2ZF.js +0 -941
- package/dist/profilePlot-DDO53C4T.js +0 -49
- package/dist/proteinView-NFUR42XQ.js +0 -1357
- package/dist/proteomeCohortCompare-OZVF3X66.js +0 -912
- package/dist/pseudbulk.unit.spec-RY72JF7A.js +0 -86
- package/dist/pseudobulk-UVT5G2VL.js +0 -35
- package/dist/qualitative-X3VXNC7X.js +0 -38
- package/dist/radar2-RTVUJ3AN.js +0 -327
- package/dist/radarFacility2-ZGLZ5AKM.js +0 -335
- package/dist/rememberedGvQ.unit.spec-RLLLWU5M.js +0 -211
- package/dist/render-LR5BOYW6.js +0 -33
- package/dist/report-37W5OXUM.js +0 -217
- package/dist/sampleView-BDC2WPH7.js +0 -43
- package/dist/samplelst-V2EIVZC5.js +0 -106
- package/dist/samplematrix-XOSKILUL.js +0 -2193
- package/dist/sc-ZVZPWQY7.js +0 -81
- package/dist/scatter-2ZE5MCYH.js +0 -88
- package/dist/scatter-ZOWFPGIS.js +0 -925
- package/dist/selectGenomeWithTklst-EF7WYEAJ.js +0 -129
- package/dist/singleCellCellType-TKCGC3G3.js +0 -33
- package/dist/singleCellCellType.unit.spec-JZ6UHC5F.js +0 -154
- package/dist/singleCellGeneExpression-I2INGXGI.js +0 -33
- package/dist/singleCellGeneExpression.unit.spec-KL77FSHZ.js +0 -148
- package/dist/singleCellNumericValue-2X5NCEHL.js +0 -33
- package/dist/singleCellNumericValue.unit.spec-OUDBX5MY.js +0 -416
- package/dist/singleCellPlot-Q6INE54V.js +0 -48
- package/dist/singlecell-5N2P5ZAT.js +0 -81
- package/dist/singlecell-NPSWMNI3.js +0 -1566
- package/dist/snp-2WPJYPDE.js +0 -33
- package/dist/snp.unit.spec-PPWIIOX6.js +0 -171
- package/dist/snplocus-T3HZFZWA.js +0 -203
- package/dist/spliceevent.a53ss.diagram-APCF4LV5.js +0 -146
- package/dist/spliceevent.exonskip.diagram-TT5JGBSC.js +0 -278
- package/dist/spliceevent.noeventdiagram-CPXQSX3Z.js +0 -455
- package/dist/ssGSEA-FSX6P7HA.js +0 -33
- package/dist/ssGSEA.unit.spec-TXYT665R.js +0 -83
- package/dist/stattable-BD64SFYV.js +0 -117
- package/dist/studyCatalog-6BOWO4PO.js +0 -414
- package/dist/summarizeCnvGeneexp-AMLYJIPU.js +0 -158
- package/dist/summarizeGeneexpSurvival-IDM7T333.js +0 -105
- package/dist/summarizeMutationCnv-R6SYSJQC.js +0 -159
- package/dist/summarizeMutationDiagnosis-XZJ4JLW2.js +0 -35
- package/dist/summarizeMutationSurvival-ABJ5RL4L.js +0 -99
- package/dist/summary-NVYCTE6P.js +0 -44
- package/dist/summary.integration.spec-SSLTLVNW.js +0 -409
- package/dist/summaryInput-SJOZETRP.js +0 -242
- package/dist/sunburst-RU5ZPJKW.js +0 -278
- package/dist/survival-BHJQMXKI.js +0 -53
- package/dist/survival-DVG6Y2FV.js +0 -1248
- package/dist/survival.integration.spec-OJUPTY5N.js +0 -613
- package/dist/svgraph-ETFA4GRX.js +0 -1382
- package/dist/svmr-AI3RU4JK.js +0 -3837
- package/dist/table-YCTSMLQL.js +0 -197
- package/dist/termCollection-GMKEZR6D.js +0 -252
- package/dist/termCollection-VEVKKJZD.js +0 -33
- package/dist/termCollection.unit.spec-EU6YCEPX.js +0 -299
- package/dist/termCollectionFractionSelection-UBS74X36.js +0 -42
- package/dist/termCollectionFractionSelection.unit.spec-Y5OJFGDD.js +0 -188
- package/dist/tk-HMF4HCNV.js +0 -1121
- package/dist/tk-W6Z4FJMW.js +0 -41
- package/dist/tp.ui-NECRDJCS.js +0 -1454
- package/dist/tvs.dt-2JEH3F35.js +0 -34
- package/dist/tvs.dtcnv.categorical-YBXKEBR2.js +0 -35
- package/dist/tvs.dtcnv.continuous-AD3SJ6BY.js +0 -67
- package/dist/tvs.dtfusion-ODI3CLQS.js +0 -35
- package/dist/tvs.dtitd-V3LYLPJY.js +0 -35
- package/dist/tvs.dtsnvindel-R3V5LTNL.js +0 -35
- package/dist/tvs.dtsv-ZQLKEDLJ.js +0 -35
- package/dist/tvs.numeric-22AHXO5K.js +0 -20
- package/dist/tvs.samplelst-G25A7HM6.js +0 -98
- package/dist/tvs.termCollection-WLVCWDEJ.js +0 -124
- package/dist/vocabulary-6K537FJM.js +0 -36
- package/dist/wsi.direct-SNPPQPVO.js +0 -8343
- /package/dist/{2dmaf-PN5YS362.js.map → 2dmaf-43QBND66.js.map} +0 -0
- /package/dist/{AggMatrixInput-NJHU4FU2.js.map → AggMatrixInput-X7NGFUHH.js.map} +0 -0
- /package/dist/{AggregateMatrix-IBWOJWOC.js.map → AggregateMatrix-M4HRI4PX.js.map} +0 -0
- /package/dist/{AppHeader-XV6S7GG5.js.map → AppHeader-QBRQN6PM.js.map} +0 -0
- /package/dist/{BoxPlot-ZIVA55SK.js.map → BoxPlot-V6SPSEQ2.js.map} +0 -0
- /package/dist/{CorrelationVolcano-33I4FC44.js.map → CorrelationVolcano-UFPCYC77.js.map} +0 -0
- /package/dist/{Cuminc-WKY35UGV.js.map → Cuminc-KXGXGLKZ.js.map} +0 -0
- /package/dist/{DE-E256DHID.js.map → DE-K2YXHOOW.js.map} +0 -0
- /package/dist/{DM-W7PXTIKY.js.map → DM-C7VN3RWB.js.map} +0 -0
- /package/dist/{Disco-OZY5GW2Z.js.map → Disco-HECQVKXG.js.map} +0 -0
- /package/dist/{Disco.UI-NRALEYXK.js.map → Disco.UI-XF2GEKRW.js.map} +0 -0
- /package/dist/{GeneExpInput-XEFUTLFU.js.map → GeneExpInput-VBIZZV27.js.map} +0 -0
- /package/dist/{Geomap-GEK7UEDU.js.map → Geomap-UIIOLRFA.js.map} +0 -0
- /package/dist/{HicApp-ZY7UHV5H.js.map → HicApp-73ESVNBA.js.map} +0 -0
- /package/dist/{IDCViewer-YNKG4V46.js.map → IDCViewer-RBYN5A4P.js.map} +0 -0
- /package/dist/{NumBinaryEditor-NEL727DX.js.map → NumBinaryEditor-DJLSNSLE.js.map} +0 -0
- /package/dist/{NumBinaryEditor.unit.spec-GCGZMJYF.js.map → NumBinaryEditor.unit.spec-LCJHL3XM.js.map} +0 -0
- /package/dist/{NumContEditor-IM6RRDGU.js.map → NumContEditor-SVLDJ2ML.js.map} +0 -0
- /package/dist/{NumContEditor.unit.spec-B5AJXANS.js.map → NumContEditor.unit.spec-JDMSK4HY.js.map} +0 -0
- /package/dist/{NumCustomBinEditor-EZT5DRKP.js.map → NumCustomBinEditor-BI63AH3R.js.map} +0 -0
- /package/dist/{NumCustomBinEditor.unit.spec-KLUDS6TH.js.map → NumCustomBinEditor.unit.spec-5433G7Y2.js.map} +0 -0
- /package/dist/{NumDiscreteEditor-2M6Q5AAZ.js.map → NumDiscreteEditor-LEZTGXAV.js.map} +0 -0
- /package/dist/{NumDiscreteEditor.unit.spec-2JYZYJUX.js.map → NumDiscreteEditor.unit.spec-5OEORHJ4.js.map} +0 -0
- /package/dist/{NumRegularBinEditor-AQDHA2PU.js.map → NumRegularBinEditor-EXWHIWPM.js.map} +0 -0
- /package/dist/{NumRegularBinEditor.unit.spec-62BYFNYG.js.map → NumRegularBinEditor.unit.spec-QY25Z2TT.js.map} +0 -0
- /package/dist/{NumSplineEditor-6Y5TZSTO.js.map → NumSplineEditor-XPPMYYAD.js.map} +0 -0
- /package/dist/{NumSplineEditor.unit.spec-S65AV5EK.js.map → NumSplineEditor.unit.spec-GOGBKWMN.js.map} +0 -0
- /package/dist/{NumericDensity-5ES4SDWZ.js.map → NumericDensity-RKY2IQ72.js.map} +0 -0
- /package/dist/{NumericDensity.unit.spec-J6KZSE2P.js.map → NumericDensity.unit.spec-5ZM6ICXM.js.map} +0 -0
- /package/dist/{NumericHandler-ZTLDPP2F.js.map → NumericHandler-FXF3M5M3.js.map} +0 -0
- /package/dist/{NumericHandler.unit.spec-BZFBVHGU.js.map → NumericHandler.unit.spec-M2OQTBJX.js.map} +0 -0
- /package/dist/{ProteomeInput-IKEXPCGV.js.map → ProteomeInput-TMZ3THRL.js.map} +0 -0
- /package/dist/{RunChart2-CVRPXQH5.js.map → RunChart2-7GNDWRKC.js.map} +0 -0
- /package/dist/{Wsi-3YTFABWG.js.map → Wsi-OHRCGYYD.js.map} +0 -0
- /package/dist/{adSandbox-QYIG6637.js.map → adSandbox-H56B25WR.js.map} +0 -0
- /package/dist/{animatedBubbleChart-X53PR73H.js.map → animatedBubbleChart-7SXFHU4J.js.map} +0 -0
- /package/dist/{app-HJLTRZPI.js.map → app-22JCSULA.js.map} +0 -0
- /package/dist/{app-MGY6A4DM.js.map → app-RGZJB6LN.js.map} +0 -0
- /package/dist/{bam-VRQHRCP5.js.map → bam-HA65TRGX.js.map} +0 -0
- /package/dist/{barchart-TWMOUZFL.js.map → barchart-6XO75OMA.js.map} +0 -0
- /package/dist/{barchart2-CV7RMMRG.js.map → barchart2-6E5BIRHD.js.map} +0 -0
- /package/dist/{block.init-XYOJTXKP.js.map → block.init-TPU5QIPA.js.map} +0 -0
- /package/dist/{block.mds.expressionrank-77FSBDHA.js.map → block.mds.expressionrank-QZDRFXCH.js.map} +0 -0
- /package/dist/{block.mds.geneboxplot-4TSYV4WS.js.map → block.mds.geneboxplot-64QVBK5Q.js.map} +0 -0
- /package/dist/{block.mds.junction-P4MYDET6.js.map → block.mds.junction-I4J6VXNT.js.map} +0 -0
- /package/dist/{block.mds.svcnv-CYOFAS2T.js.map → block.mds.svcnv-GDQMSQFF.js.map} +0 -0
- /package/dist/{block.svg-IT3ELCF4.js.map → block.svg-2MZFT5QP.js.map} +0 -0
- /package/dist/{block.tk.aicheck-GULHJLV5.js.map → block.tk.aicheck-2MKHF6LX.js.map} +0 -0
- /package/dist/{block.tk.ase-RW5YL6HN.js.map → block.tk.ase-CLYGKFTS.js.map} +0 -0
- /package/dist/{block.tk.bam-MPGQW6KB.js.map → block.tk.bam-XTR4QA5Z.js.map} +0 -0
- /package/dist/{block.tk.bedgraphdot-EYRY374P.js.map → block.tk.bedgraphdot-A2P2CXRU.js.map} +0 -0
- /package/dist/{block.tk.bigwig.ui-BKSXCDNM.js.map → block.tk.bigwig.ui-YZH6JXEO.js.map} +0 -0
- /package/dist/{block.tk.hicstraw-76PV6NM3.js.map → block.tk.hicstraw-QBK5VWGU.js.map} +0 -0
- /package/dist/{block.tk.junction-Z52QHQJQ.js.map → block.tk.junction-5DEVBA7G.js.map} +0 -0
- /package/dist/{block.tk.junction.textmatrixui-K32OOTZC.js.map → block.tk.junction.textmatrixui-7TTQMO6W.js.map} +0 -0
- /package/dist/{block.tk.ld-DDGLRHPO.js.map → block.tk.ld-PRIVUPKL.js.map} +0 -0
- /package/dist/{block.tk.menu-MO6TESKI.js.map → block.tk.menu-JGBRFSS3.js.map} +0 -0
- /package/dist/{block.tk.pgv-AKLKKSEP.js.map → block.tk.pgv-KQJCJMVD.js.map} +0 -0
- /package/dist/{brainImaging-KSTJQJAB.js.map → brainImaging-4SLVJ2HV.js.map} +0 -0
- /package/dist/{brainRegions-WCRMMSK4.js.map → brainRegions-BDIVM2SG.js.map} +0 -0
- /package/dist/{bubbleHeatmap-4YOQ3BAB.js.map → bubbleHeatmap-ORKFJNEQ.js.map} +0 -0
- /package/dist/{cellTypeBubbleHeatmap-O6YZ2RW4.js.map → cellTypeBubbleHeatmap-VOHLI4P7.js.map} +0 -0
- /package/dist/{chunk-MC674TS2.js.map → chunk-26N3B2JO.js.map} +0 -0
- /package/dist/{chunk-G3CCQOLH.js.map → chunk-2HNJF5ZI.js.map} +0 -0
- /package/dist/{chunk-XGYQZHNX.js.map → chunk-2LNGHIOC.js.map} +0 -0
- /package/dist/{chunk-5IMFPVGT.js.map → chunk-3FEP6B5T.js.map} +0 -0
- /package/dist/{chunk-BPGZUNLL.js.map → chunk-3SCQGODD.js.map} +0 -0
- /package/dist/{chunk-6DPELKO5.js.map → chunk-47STLK7K.js.map} +0 -0
- /package/dist/{chunk-KAY2ODXX.js.map → chunk-4G73CMUL.js.map} +0 -0
- /package/dist/{chunk-A7TXS6JR.js.map → chunk-4XYQG3XU.js.map} +0 -0
- /package/dist/{chunk-J7KB2MH3.js.map → chunk-53XNEXR6.js.map} +0 -0
- /package/dist/{chunk-AAJXHERO.js.map → chunk-5UB5H7A3.js.map} +0 -0
- /package/dist/{chunk-CPIPN5F6.js.map → chunk-6FYQYTV6.js.map} +0 -0
- /package/dist/{chunk-REPQKF5L.js.map → chunk-6RP6CR4Q.js.map} +0 -0
- /package/dist/{chunk-IISNWG4X.js.map → chunk-A5D37SIL.js.map} +0 -0
- /package/dist/{chunk-4PB5ZEOB.js.map → chunk-ADRFQ5AL.js.map} +0 -0
- /package/dist/{chunk-IELQ3HMN.js.map → chunk-AUZ63NKJ.js.map} +0 -0
- /package/dist/{chunk-HKKTNIMX.js.map → chunk-BK6UDL7F.js.map} +0 -0
- /package/dist/{chunk-X44AR557.js.map → chunk-CFZ2ZW3E.js.map} +0 -0
- /package/dist/{chunk-HKSRIEWJ.js.map → chunk-CKOU3P27.js.map} +0 -0
- /package/dist/{chunk-XRMUUWLS.js.map → chunk-CT4IG5IR.js.map} +0 -0
- /package/dist/{chunk-72P6O537.js.map → chunk-D6UBH77N.js.map} +0 -0
- /package/dist/{chunk-VWGRKOVJ.js.map → chunk-DS4GLMJL.js.map} +0 -0
- /package/dist/{chunk-HELEV3LT.js.map → chunk-DSBRHWZ7.js.map} +0 -0
- /package/dist/{chunk-GS6ZMPKP.js.map → chunk-DX35MKPR.js.map} +0 -0
- /package/dist/{chunk-6HGTVMZM.js.map → chunk-EDZJ3VNZ.js.map} +0 -0
- /package/dist/{chunk-MLKQZ3RL.js.map → chunk-F47A4CVK.js.map} +0 -0
- /package/dist/{chunk-3PQDD5HM.js.map → chunk-G4H34RNK.js.map} +0 -0
- /package/dist/{chunk-E7NVJ44Z.js.map → chunk-G7RUMSHL.js.map} +0 -0
- /package/dist/{chunk-BGVGN73F.js.map → chunk-GXFS25SK.js.map} +0 -0
- /package/dist/{chunk-AVS4IXEA.js.map → chunk-IBT6WRY6.js.map} +0 -0
- /package/dist/{chunk-SUNDNTVY.js.map → chunk-IJ7AIDEO.js.map} +0 -0
- /package/dist/{chunk-UMZJQWWK.js.map → chunk-JBFVJHZN.js.map} +0 -0
- /package/dist/{chunk-NBGVEZNX.js.map → chunk-JDVBUIEU.js.map} +0 -0
- /package/dist/{chunk-OBBR4UYN.js.map → chunk-JTANDSTD.js.map} +0 -0
- /package/dist/{chunk-N6IWVSFP.js.map → chunk-K7RW5TPU.js.map} +0 -0
- /package/dist/{chunk-XOND7UIK.js.map → chunk-LBCIXRI2.js.map} +0 -0
- /package/dist/{chunk-TSI4W6XO.js.map → chunk-MNXL2UV5.js.map} +0 -0
- /package/dist/{chunk-WOMERKMR.js.map → chunk-NDOKW2HJ.js.map} +0 -0
- /package/dist/{chunk-Z2FSHODI.js.map → chunk-NI5CVN43.js.map} +0 -0
- /package/dist/{chunk-74C6G6JD.js.map → chunk-NOBXDQDU.js.map} +0 -0
- /package/dist/{chunk-BL7EYUZC.js.map → chunk-NQNVLZOA.js.map} +0 -0
- /package/dist/{chunk-4C7MA5Q3.js.map → chunk-NULFGPE3.js.map} +0 -0
- /package/dist/{chunk-3GUVLDUS.js.map → chunk-OUIXGM3K.js.map} +0 -0
- /package/dist/{chunk-Y5BBFDC3.js.map → chunk-P4LGA36F.js.map} +0 -0
- /package/dist/{chunk-QP7EJXSU.js.map → chunk-PU5FQWAY.js.map} +0 -0
- /package/dist/{chunk-QUHXX7JE.js.map → chunk-PZ2OSHBF.js.map} +0 -0
- /package/dist/{chunk-KJM6PLXM.js.map → chunk-QBNDPW7O.js.map} +0 -0
- /package/dist/{chunk-WXX2YD4Q.js.map → chunk-QD75Q5LM.js.map} +0 -0
- /package/dist/{chunk-JIZ3B32T.js.map → chunk-RI65SIN3.js.map} +0 -0
- /package/dist/{chunk-GPZYAJQH.js.map → chunk-RPGLLO4T.js.map} +0 -0
- /package/dist/{chunk-QJ2VBXFB.js.map → chunk-RXNZK7MF.js.map} +0 -0
- /package/dist/{chunk-MSSPT5YM.js.map → chunk-S2ICJ3RZ.js.map} +0 -0
- /package/dist/{chunk-XTOGCXPD.js.map → chunk-SFHG6H2D.js.map} +0 -0
- /package/dist/{chunk-XEU5HXOY.js.map → chunk-TQ2DVEQO.js.map} +0 -0
- /package/dist/{chunk-BFXZBZEV.js.map → chunk-U6BJ4ZNU.js.map} +0 -0
- /package/dist/{chunk-DMWOK4DS.js.map → chunk-UXD6G6G4.js.map} +0 -0
- /package/dist/{chunk-PQA3C2NY.js.map → chunk-VH5W6ODW.js.map} +0 -0
- /package/dist/{chunk-D5MSWPAZ.js.map → chunk-VWA7BYSV.js.map} +0 -0
- /package/dist/{chunk-GUXKLMLM.js.map → chunk-X37BRSGS.js.map} +0 -0
- /package/dist/{chunk-U45R6QNT.js.map → chunk-XQYDXA47.js.map} +0 -0
- /package/dist/{chunk-TXIQ5PHR.js.map → chunk-Y7V5AIUH.js.map} +0 -0
- /package/dist/{chunk-DFT2PAIU.js.map → chunk-YBNIOGUE.js.map} +0 -0
- /package/dist/{chunk-JEJV7V7M.js.map → chunk-YEYMNF7V.js.map} +0 -0
- /package/dist/{chunk-KZHF3MQX.js.map → chunk-YJ74QATP.js.map} +0 -0
- /package/dist/{chunk-SHXJW27D.js.map → chunk-ZG2HCGAO.js.map} +0 -0
- /package/dist/{chunk-EMMGUSJB.js.map → chunk-ZZN7ZD7J.js.map} +0 -0
- /package/dist/{cohort-JWIQOO7U.js.map → cohort-6OCRQQ2S.js.map} +0 -0
- /package/dist/{condition-ZUAQYF5C.js.map → condition-SZVXH3VU.js.map} +0 -0
- /package/dist/{controls-ZPQ6SXD2.js.map → controls-MO6ZND76.js.map} +0 -0
- /package/dist/{controls.config-NELL5HY5.js.map → controls.config-P4MSTGL4.js.map} +0 -0
- /package/dist/{correlation-2X76UI3K.js.map → correlation-NMI3CM3T.js.map} +0 -0
- /package/dist/{customdata.inputui-V6QIGFRP.js.map → customdata.inputui-VCHSCA65.js.map} +0 -0
- /package/dist/{dataDownload-NSDY4MSL.js.map → dataDownload-VQHOTQ5D.js.map} +0 -0
- /package/dist/{databrowser.ui-DDLFQB6K.js.map → databrowser.ui-ZFOCAG32.js.map} +0 -0
- /package/dist/{dictionary-WSDD6TFI.js.map → dictionary-S5YCFUWH.js.map} +0 -0
- /package/dist/{dnaMethylation-3IM4OACZ.js.map → dnaMethylation-MQZLZRGT.js.map} +0 -0
- /package/dist/{dnaMethylation.integration.spec-5CSJA67S.js.map → dnaMethylation.integration.spec-H546EBUO.js.map} +0 -0
- /package/dist/{dofetch-GZ7POIBV.js.map → dofetch-QZIYSC7H.js.map} +0 -0
- /package/dist/{e2pca-AX7U2DOI.js.map → e2pca-XOXOS3PN.js.map} +0 -0
- /package/dist/{ep-UKACHFJU.js.map → ep-U6KRL7FR.js.map} +0 -0
- /package/dist/{expclust.gdc.spec-46HDKH2Q.js.map → expclust.gdc.spec-HCK65C63.js.map} +0 -0
- /package/dist/{facet-3EONZDDE.js.map → facet-DCC25KJO.js.map} +0 -0
- /package/dist/{gb-W7GX5NWS.js.map → gb-TIFWFD4Y.js.map} +0 -0
- /package/dist/{geneExpClustering-PJA6Y5GW.js.map → geneExpClustering-6DQEOTOY.js.map} +0 -0
- /package/dist/{geneExpression-EMLVPVNK.js.map → geneExpression-EASRAN6B.js.map} +0 -0
- /package/dist/{geneExpression-JMGYBT53.js.map → geneExpression-G4YMDCBH.js.map} +0 -0
- /package/dist/{geneORA-CIAFQQWB.js.map → geneORA-6UBS5GSC.js.map} +0 -0
- /package/dist/{geneRanking-JRAU6FMJ.js.map → geneRanking-UXXYWHNB.js.map} +0 -0
- /package/dist/{geneVariant-3DZTWQFG.js.map → geneVariant-TKFKARZK.js.map} +0 -0
- /package/dist/{genefusion.ui-AO3TUDTL.js.map → genefusion.ui-TJLYXSVL.js.map} +0 -0
- /package/dist/{geneset-RCIP2GZH.js.map → geneset-YTBDLEIH.js.map} +0 -0
- /package/dist/{genomeBrowser.spec-7PZCNBL3.js.map → genomeBrowser.spec-ZO4LFIXE.js.map} +0 -0
- /package/dist/{grin2-EUBCNH4Q.js.map → grin2-LIFKBMVK.js.map} +0 -0
- /package/dist/{hierCluster-AV5NO2GW.js.map → hierCluster-56EGAPOR.js.map} +0 -0
- /package/dist/{hierCluster-W2MVN34V.js.map → hierCluster-DR5NWCXA.js.map} +0 -0
- /package/dist/{hierCluster.config-4MBWG6RZ.js.map → hierCluster.config-NACE3FH2.js.map} +0 -0
- /package/dist/{hierCluster.integration.spec-JUIBIUKH.js.map → hierCluster.integration.spec-PEEXPAS6.js.map} +0 -0
- /package/dist/{hierCluster.interactivity-6PJE64PF.js.map → hierCluster.interactivity-OCBGLUJM.js.map} +0 -0
- /package/dist/{hierCluster.renderers-RWDQ5SHY.js.map → hierCluster.renderers-JNQUSAP4.js.map} +0 -0
- /package/dist/{imagePlot-XLDQNUJA.js.map → imagePlot-GR4JNUGG.js.map} +0 -0
- /package/dist/{importPlot-7FISAQKR.js.map → importPlot-4R4BSPVD.js.map} +0 -0
- /package/dist/{isoformExpression-WOQAOVZS.js.map → isoformExpression-ST5ZW2NE.js.map} +0 -0
- /package/dist/{isoformExpression.unit.spec-BMEGJNCO.js.map → isoformExpression.unit.spec-PPFC5Z7N.js.map} +0 -0
- /package/dist/{junction-6NO36IPU.js.map → junction-7AKZHOHV.js.map} +0 -0
- /package/dist/{junction.customTerm-N6JAOWZO.js.map → junction.customTerm-TMV43R7Z.js.map} +0 -0
- /package/dist/{junction.unit.spec-UKGSQHO4.js.map → junction.unit.spec-SZUJXRQ2.js.map} +0 -0
- /package/dist/{launch.adhoc-42PUNEA6.js.map → launch.adhoc-RWJQUOJ6.js.map} +0 -0
- /package/dist/{leftlabel.sample-EXAUDPSB.js.map → leftlabel.sample-WRHLVQAQ.js.map} +0 -0
- /package/dist/{lollipop-4ASTA5HO.js.map → lollipop-ZZWXTM23.js.map} +0 -0
- /package/dist/{maf-HPXANL3M.js.map → maf-N4XPZTQU.js.map} +0 -0
- /package/dist/{maftimeline-2SXFX3HF.js.map → maftimeline-2FBS6RWS.js.map} +0 -0
- /package/dist/{matrix-DX4W5XMX.js.map → matrix-5KEQPB5H.js.map} +0 -0
- /package/dist/{matrix-S34ITAPJ.js.map → matrix-RJUNXB5N.js.map} +0 -0
- /package/dist/{matrix.cells-BLULUGSZ.js.map → matrix.cells-WXTPOJYB.js.map} +0 -0
- /package/dist/{matrix.config-Z3LWYH74.js.map → matrix.config-ZZFLLD6Z.js.map} +0 -0
- /package/dist/{matrix.data-73HY7Y2V.js.map → matrix.data-3PQ73GVJ.js.map} +0 -0
- /package/dist/{matrix.groups-NOUMYNFY.js.map → matrix.groups-U6CKS6WW.js.map} +0 -0
- /package/dist/{matrix.interactivity-YHDIO5A2.js.map → matrix.interactivity-3LDZV3F7.js.map} +0 -0
- /package/dist/{matrix.layout-25HYKUF2.js.map → matrix.layout-MINLYQCA.js.map} +0 -0
- /package/dist/{matrix.legend-IMK7DH4V.js.map → matrix.legend-6GSDFZHS.js.map} +0 -0
- /package/dist/{matrix.renderers-3RZRN6HO.js.map → matrix.renderers-5BKOXDE3.js.map} +0 -0
- /package/dist/{matrix.serieses-ZTVHQ7QA.js.map → matrix.serieses-6FCFIFAQ.js.map} +0 -0
- /package/dist/{matrix.sort-EDXHT6NZ.js.map → matrix.sort-EHVVYDZ3.js.map} +0 -0
- /package/dist/{matrix.sort.unit.spec-LSNY7PHU.js.map → matrix.sort.unit.spec-BCWE4AFX.js.map} +0 -0
- /package/dist/{matrix.sorterUi-3DRNHG5Z.js.map → matrix.sorterUi-WL5I6S3K.js.map} +0 -0
- /package/dist/{matrix.sorterUi.unit.spec-GNIIWGRJ.js.map → matrix.sorterUi.unit.spec-XJR5KXRL.js.map} +0 -0
- /package/dist/{matrix.unit.spec-7A6ZFRXI.js.map → matrix.unit.spec-TUCKPE26.js.map} +0 -0
- /package/dist/{mavb-M5AXPLYX.js.map → mavb-GWSNRBLM.js.map} +0 -0
- /package/dist/{mds.fimo-QE5OFA22.js.map → mds.fimo-OMAQRSMW.js.map} +0 -0
- /package/dist/{mds.samplescatterplot-664EOHX2.js.map → mds.samplescatterplot-4UW3CC45.js.map} +0 -0
- /package/dist/{mds.survivalplot-H4TJD44D.js.map → mds.survivalplot-2CJYJBD2.js.map} +0 -0
- /package/dist/{multivalue-JD3CNQJR.js.map → multivalue-G44MHEYI.js.map} +0 -0
- /package/dist/{numericDictTermCluster-XPKEYXD7.js.map → numericDictTermCluster-5BDRGVQG.js.map} +0 -0
- /package/dist/{oncomatrix-TX5PZQ76.js.map → oncomatrix-ZTVO23ZH.js.map} +0 -0
- /package/dist/{oncomatrix.spec-6X2WAHL7.js.map → oncomatrix.spec-2QVK2A3Q.js.map} +0 -0
- /package/dist/{plot.2dvaf-5OHUFTMK.js.map → plot.2dvaf-CL5YUXKH.js.map} +0 -0
- /package/dist/{plot.app-XIVVJHWG.js.map → plot.app-4ANKPSNP.js.map} +0 -0
- /package/dist/{plot.barplot-PSODLAXD.js.map → plot.barplot-BMGDNZRA.js.map} +0 -0
- /package/dist/{plot.boxplot-W3ASYFOG.js.map → plot.boxplot-GMLQCDP6.js.map} +0 -0
- /package/dist/{plot.brainImaging-JGDLKLR7.js.map → plot.brainImaging-RZXX3NUZ.js.map} +0 -0
- /package/dist/{plot.disco-TPMXTTZK.js.map → plot.disco-3MD4J4C7.js.map} +0 -0
- /package/dist/{plot.ssgq-KIZIOZIF.js.map → plot.ssgq-ZC4UYKOT.js.map} +0 -0
- /package/dist/{plot.vaf2cov-MSMW72IY.js.map → plot.vaf2cov-4DHFMYQV.js.map} +0 -0
- /package/dist/{polar2-LA4MSRRN.js.map → polar2-TMB5EITR.js.map} +0 -0
- /package/dist/{profileForms-BJRNB2ZF.js.map → profileForms-GD7BIOOD.js.map} +0 -0
- /package/dist/{profilePlot-DDO53C4T.js.map → profilePlot-CZLK5E74.js.map} +0 -0
- /package/dist/{proteinView-NFUR42XQ.js.map → proteinView-FEEEXLKT.js.map} +0 -0
- /package/dist/{proteomeCohortCompare-OZVF3X66.js.map → proteomeCohortCompare-NVLJ2FXX.js.map} +0 -0
- /package/dist/{pseudbulk.unit.spec-RY72JF7A.js.map → pseudbulk.unit.spec-GHQZPNAH.js.map} +0 -0
- /package/dist/{pseudobulk-UVT5G2VL.js.map → pseudobulk-G5UQIRKL.js.map} +0 -0
- /package/dist/{qualitative-X3VXNC7X.js.map → qualitative-EAUUCKU5.js.map} +0 -0
- /package/dist/{radar2-RTVUJ3AN.js.map → radar2-CJQ2L6KE.js.map} +0 -0
- /package/dist/{radarFacility2-ZGLZ5AKM.js.map → radarFacility2-BLVRZE4V.js.map} +0 -0
- /package/dist/{rememberedGvQ.unit.spec-RLLLWU5M.js.map → rememberedGvQ.unit.spec-DYRO2LO5.js.map} +0 -0
- /package/dist/{render-LR5BOYW6.js.map → render-KKAQPH6Y.js.map} +0 -0
- /package/dist/{report-37W5OXUM.js.map → report-OSOJHTSD.js.map} +0 -0
- /package/dist/{sampleView-BDC2WPH7.js.map → sampleView-WB74RLD7.js.map} +0 -0
- /package/dist/{samplelst-V2EIVZC5.js.map → samplelst-ZKXV5WOD.js.map} +0 -0
- /package/dist/{samplematrix-XOSKILUL.js.map → samplematrix-WJFYMWLT.js.map} +0 -0
- /package/dist/{sc-ZVZPWQY7.js.map → sc-RBRBUCLR.js.map} +0 -0
- /package/dist/{scatter-2ZE5MCYH.js.map → scatter-5K3QTIDK.js.map} +0 -0
- /package/dist/{scatter-ZOWFPGIS.js.map → scatter-SM7GQENM.js.map} +0 -0
- /package/dist/{selectGenomeWithTklst-EF7WYEAJ.js.map → selectGenomeWithTklst-ZZUJ7AQ7.js.map} +0 -0
- /package/dist/{singleCellCellType-TKCGC3G3.js.map → singleCellCellType-LCF2JNZ2.js.map} +0 -0
- /package/dist/{singleCellCellType.unit.spec-JZ6UHC5F.js.map → singleCellCellType.unit.spec-T6DYH4BC.js.map} +0 -0
- /package/dist/{singleCellGeneExpression-I2INGXGI.js.map → singleCellGeneExpression-2XUYTH4C.js.map} +0 -0
- /package/dist/{singleCellGeneExpression.unit.spec-KL77FSHZ.js.map → singleCellGeneExpression.unit.spec-SMRCLOF4.js.map} +0 -0
- /package/dist/{singleCellNumericValue-2X5NCEHL.js.map → singleCellNumericValue-57I33FZT.js.map} +0 -0
- /package/dist/{singleCellNumericValue.unit.spec-OUDBX5MY.js.map → singleCellNumericValue.unit.spec-4YNB4OEV.js.map} +0 -0
- /package/dist/{singleCellPlot-Q6INE54V.js.map → singleCellPlot-L6TKQHGD.js.map} +0 -0
- /package/dist/{singlecell-5N2P5ZAT.js.map → singlecell-LZKR3UDV.js.map} +0 -0
- /package/dist/{singlecell-NPSWMNI3.js.map → singlecell-UKN2VCXQ.js.map} +0 -0
- /package/dist/{snp-2WPJYPDE.js.map → snp-3LJITU5B.js.map} +0 -0
- /package/dist/{snp.unit.spec-PPWIIOX6.js.map → snp.unit.spec-ZQNU6XRM.js.map} +0 -0
- /package/dist/{snplocus-T3HZFZWA.js.map → snplocus-OME7UQBW.js.map} +0 -0
- /package/dist/{spliceevent.a53ss.diagram-APCF4LV5.js.map → spliceevent.a53ss.diagram-C32IEFMU.js.map} +0 -0
- /package/dist/{spliceevent.exonskip.diagram-TT5JGBSC.js.map → spliceevent.exonskip.diagram-CZ7MVRLK.js.map} +0 -0
- /package/dist/{spliceevent.noeventdiagram-CPXQSX3Z.js.map → spliceevent.noeventdiagram-ZO6R3776.js.map} +0 -0
- /package/dist/{ssGSEA-FSX6P7HA.js.map → ssGSEA-BGPQ2PFY.js.map} +0 -0
- /package/dist/{ssGSEA.unit.spec-TXYT665R.js.map → ssGSEA.unit.spec-U7TBUSSK.js.map} +0 -0
- /package/dist/{stattable-BD64SFYV.js.map → stattable-FISGQCED.js.map} +0 -0
- /package/dist/{studyCatalog-6BOWO4PO.js.map → studyCatalog-UHFUT2CJ.js.map} +0 -0
- /package/dist/{summarizeCnvGeneexp-AMLYJIPU.js.map → summarizeCnvGeneexp-OVZO6KIB.js.map} +0 -0
- /package/dist/{summarizeGeneexpSurvival-IDM7T333.js.map → summarizeGeneexpSurvival-KVQ4JGWK.js.map} +0 -0
- /package/dist/{summarizeMutationCnv-R6SYSJQC.js.map → summarizeMutationCnv-RAKGHNLE.js.map} +0 -0
- /package/dist/{summarizeMutationDiagnosis-XZJ4JLW2.js.map → summarizeMutationDiagnosis-LGCINAGG.js.map} +0 -0
- /package/dist/{summarizeMutationSurvival-ABJ5RL4L.js.map → summarizeMutationSurvival-J7H7L4FX.js.map} +0 -0
- /package/dist/{summary-NVYCTE6P.js.map → summary-2632JZXH.js.map} +0 -0
- /package/dist/{summary.integration.spec-SSLTLVNW.js.map → summary.integration.spec-5WBS2ZRP.js.map} +0 -0
- /package/dist/{summaryInput-SJOZETRP.js.map → summaryInput-BH6C3ATV.js.map} +0 -0
- /package/dist/{sunburst-RU5ZPJKW.js.map → sunburst-AMRR2IHM.js.map} +0 -0
- /package/dist/{survival-DVG6Y2FV.js.map → survival-2RNJQVFS.js.map} +0 -0
- /package/dist/{survival-BHJQMXKI.js.map → survival-WYCH4QOQ.js.map} +0 -0
- /package/dist/{survival.integration.spec-OJUPTY5N.js.map → survival.integration.spec-7IFPY4I4.js.map} +0 -0
- /package/dist/{svgraph-ETFA4GRX.js.map → svgraph-YQWS52ZJ.js.map} +0 -0
- /package/dist/{svmr-AI3RU4JK.js.map → svmr-NRN6LGKK.js.map} +0 -0
- /package/dist/{table-YCTSMLQL.js.map → table-3QOMV2NN.js.map} +0 -0
- /package/dist/{termCollection-VEVKKJZD.js.map → termCollection-2ZJ7TJGO.js.map} +0 -0
- /package/dist/{termCollection-GMKEZR6D.js.map → termCollection-3MCVR7BA.js.map} +0 -0
- /package/dist/{termCollection.unit.spec-EU6YCEPX.js.map → termCollection.unit.spec-QYOEA3X6.js.map} +0 -0
- /package/dist/{termCollectionFractionSelection-UBS74X36.js.map → termCollectionFractionSelection-5AH6EF4L.js.map} +0 -0
- /package/dist/{termCollectionFractionSelection.unit.spec-Y5OJFGDD.js.map → termCollectionFractionSelection.unit.spec-WPGW4WJN.js.map} +0 -0
- /package/dist/{tk-W6Z4FJMW.js.map → tk-DQ7D5UEO.js.map} +0 -0
- /package/dist/{tk-HMF4HCNV.js.map → tk-ONKYBG6R.js.map} +0 -0
- /package/dist/{tp.ui-NECRDJCS.js.map → tp.ui-C7BTMHEI.js.map} +0 -0
- /package/dist/{tvs.dt-2JEH3F35.js.map → tvs.dt-PLRMK7OT.js.map} +0 -0
- /package/dist/{tvs.dtcnv.categorical-YBXKEBR2.js.map → tvs.dtcnv.categorical-IZUY2AQO.js.map} +0 -0
- /package/dist/{tvs.dtcnv.continuous-AD3SJ6BY.js.map → tvs.dtcnv.continuous-ENV3RHHA.js.map} +0 -0
- /package/dist/{tvs.dtfusion-ODI3CLQS.js.map → tvs.dtfusion-2DVCV6AM.js.map} +0 -0
- /package/dist/{tvs.dtitd-V3LYLPJY.js.map → tvs.dtitd-XNDIRQYU.js.map} +0 -0
- /package/dist/{tvs.dtsnvindel-R3V5LTNL.js.map → tvs.dtsnvindel-4D3G7XSF.js.map} +0 -0
- /package/dist/{tvs.dtsv-ZQLKEDLJ.js.map → tvs.dtsv-QYMIMC4Z.js.map} +0 -0
- /package/dist/{tvs.numeric-22AHXO5K.js.map → tvs.numeric-M5LH3PRH.js.map} +0 -0
- /package/dist/{tvs.samplelst-G25A7HM6.js.map → tvs.samplelst-2KEU2ZWB.js.map} +0 -0
- /package/dist/{tvs.termCollection-WLVCWDEJ.js.map → tvs.termCollection-FEY746V5.js.map} +0 -0
- /package/dist/{vocabulary-6K537FJM.js.map → vocabulary-BR4NJDPS.js.map} +0 -0
- /package/dist/{wsi.direct-SNPPQPVO.js.map → wsi.direct-JWDUNHIO.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-55FABQU2.js";
|
|
11
|
+
import "./chunk-HJ6L54YS.js";
|
|
12
|
+
import "./chunk-KV4W2ACA.js";
|
|
13
|
+
import "./chunk-UXD6G6G4.js";
|
|
14
|
+
import {
|
|
15
|
+
Menu
|
|
16
|
+
} from "./chunk-ELJX3QIQ.js";
|
|
17
|
+
import "./chunk-3FEP6B5T.js";
|
|
18
|
+
import "./chunk-EEB5VE2A.js";
|
|
19
|
+
import "./chunk-6RRZRISL.js";
|
|
20
|
+
import "./chunk-2KM4PRQM.js";
|
|
21
|
+
import {
|
|
22
|
+
dofetch3
|
|
23
|
+
} from "./chunk-VA57CUC7.js";
|
|
24
|
+
import "./chunk-BK6UDL7F.js";
|
|
25
|
+
import "./chunk-KIAMLQ7S.js";
|
|
26
|
+
import "./chunk-SB36AUG7.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-XTR4QA5Z.js.map
|