@jbrowse/plugin-alignments 3.6.5 → 4.0.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.
Files changed (640) hide show
  1. package/esm/AlignmentsFeatureDetail/AlignmentsFeatureDetail.d.ts +1 -1
  2. package/esm/AlignmentsFeatureDetail/AlignmentsFeatureDetail.js +9 -9
  3. package/esm/AlignmentsFeatureDetail/BreakpointSplitViewChoiceDialog.d.ts +1 -0
  4. package/esm/AlignmentsFeatureDetail/BreakpointSplitViewChoiceDialog.js +1 -0
  5. package/esm/AlignmentsFeatureDetail/Flags.js +1 -1
  6. package/esm/AlignmentsFeatureDetail/Formatter.js +2 -2
  7. package/esm/AlignmentsFeatureDetail/LaunchPairedEndBreakpointSplitViewPanel.d.ts +2 -2
  8. package/esm/AlignmentsFeatureDetail/LaunchPairedEndBreakpointSplitViewPanel.js +7 -18
  9. package/esm/AlignmentsFeatureDetail/LaunchSupplementaryAlignmentBreakpointSplitViewPanel.d.ts +1 -1
  10. package/esm/AlignmentsFeatureDetail/LaunchSupplementaryAlignmentBreakpointSplitViewPanel.js +19 -37
  11. package/esm/AlignmentsFeatureDetail/LinkedPairedAlignments.d.ts +1 -1
  12. package/esm/AlignmentsFeatureDetail/LinkedPairedAlignments.js +1 -1
  13. package/esm/AlignmentsFeatureDetail/PairLink.d.ts +1 -1
  14. package/esm/AlignmentsFeatureDetail/PairLink.js +1 -1
  15. package/esm/AlignmentsFeatureDetail/SupplementaryAlignments.d.ts +1 -1
  16. package/esm/AlignmentsFeatureDetail/SupplementaryAlignments.js +2 -2
  17. package/esm/AlignmentsFeatureDetail/SupplementaryAlignmentsLocStrings.d.ts +1 -1
  18. package/esm/AlignmentsFeatureDetail/SupplementaryAlignmentsLocStrings.js +5 -4
  19. package/esm/AlignmentsFeatureDetail/configSchema.d.ts +1 -1
  20. package/esm/AlignmentsFeatureDetail/getSAFeatures.d.ts +1 -1
  21. package/esm/AlignmentsFeatureDetail/getSAFeatures.js +18 -17
  22. package/esm/AlignmentsFeatureDetail/index.js +3 -3
  23. package/esm/AlignmentsFeatureDetail/launchBreakpointSplitView.d.ts +6 -7
  24. package/esm/AlignmentsFeatureDetail/launchBreakpointSplitView.js +3 -6
  25. package/esm/AlignmentsFeatureDetail/stateModelFactory.d.ts +41 -41
  26. package/esm/AlignmentsFeatureDetail/stateModelFactory.js +1 -1
  27. package/esm/AlignmentsFeatureDetail/util.d.ts +1 -1
  28. package/esm/AlignmentsFeatureDetail/util.js +1 -2
  29. package/esm/AlignmentsTrack/configSchemaF.d.ts +16 -11
  30. package/esm/AlignmentsTrack/index.js +14 -2
  31. package/esm/BamAdapter/BamAdapter.d.ts +15 -26
  32. package/esm/BamAdapter/BamAdapter.js +84 -124
  33. package/esm/BamAdapter/BamSlightlyLazyFeature.d.ts +17 -10
  34. package/esm/BamAdapter/BamSlightlyLazyFeature.js +162 -45
  35. package/esm/BamAdapter/configSchema.d.ts +5 -10
  36. package/esm/BamAdapter/configSchema.js +2 -7
  37. package/esm/BamAdapter/forEachMismatchNumeric.d.ts +2 -0
  38. package/esm/BamAdapter/forEachMismatchNumeric.js +207 -0
  39. package/esm/BamAdapter/index.js +2 -2
  40. package/esm/CramAdapter/CramAdapter.d.ts +10 -32
  41. package/esm/CramAdapter/CramAdapter.js +93 -144
  42. package/esm/CramAdapter/CramSlightlyLazyFeature.d.ts +6 -2
  43. package/esm/CramAdapter/CramSlightlyLazyFeature.js +140 -18
  44. package/esm/CramAdapter/CramTestAdapters.d.ts +3 -2
  45. package/esm/CramAdapter/CramTestAdapters.js +8 -3
  46. package/esm/CramAdapter/configSchema.d.ts +2 -7
  47. package/esm/CramAdapter/configSchema.js +1 -6
  48. package/esm/CramAdapter/const.d.ts +12 -0
  49. package/esm/CramAdapter/const.js +12 -0
  50. package/esm/CramAdapter/index.js +2 -2
  51. package/esm/CramAdapter/readFeaturesToNumericCIGAR.d.ts +4 -0
  52. package/esm/CramAdapter/readFeaturesToNumericCIGAR.js +112 -0
  53. package/esm/HtsgetBamAdapter/HtsgetBamAdapter.d.ts +5 -9
  54. package/esm/HtsgetBamAdapter/HtsgetBamAdapter.js +13 -15
  55. package/esm/HtsgetBamAdapter/configSchema.d.ts +2 -7
  56. package/esm/HtsgetBamAdapter/configSchema.js +0 -5
  57. package/esm/HtsgetBamAdapter/index.js +2 -2
  58. package/esm/LinearAlignmentsDisplay/alignmentsModel.d.ts +9 -9
  59. package/esm/LinearAlignmentsDisplay/alignmentsModel.js +2 -2
  60. package/esm/LinearAlignmentsDisplay/components/AlignmentsDisplay.d.ts +1 -1
  61. package/esm/LinearAlignmentsDisplay/components/AlignmentsDisplay.js +19 -9
  62. package/esm/LinearAlignmentsDisplay/configSchema.d.ts +3 -3
  63. package/esm/LinearAlignmentsDisplay/index.js +4 -4
  64. package/esm/LinearAlignmentsDisplay/model.d.ts +173 -48
  65. package/esm/LinearAlignmentsDisplay/model.js +60 -62
  66. package/esm/LinearAlignmentsDisplay/renderSvg.d.ts +14 -0
  67. package/esm/LinearAlignmentsDisplay/renderSvg.js +12 -0
  68. package/esm/LinearAlignmentsDisplay/util.js +2 -2
  69. package/esm/LinearPileupDisplay/SharedLinearPileupDisplayMixin.d.ts +1249 -124
  70. package/esm/LinearPileupDisplay/SharedLinearPileupDisplayMixin.js +120 -89
  71. package/esm/LinearPileupDisplay/components/ColorByTagDialog.js +1 -1
  72. package/esm/LinearPileupDisplay/components/GroupByDialog.d.ts +1 -1
  73. package/esm/LinearPileupDisplay/components/GroupByDialog.js +8 -8
  74. package/esm/LinearPileupDisplay/components/LinearPileupDisplayBlurb.d.ts +1 -1
  75. package/esm/LinearPileupDisplay/components/LinearPileupDisplayBlurb.js +2 -3
  76. package/esm/LinearPileupDisplay/components/SetFeatureHeightDialog.js +1 -1
  77. package/esm/LinearPileupDisplay/components/SortByTagDialog.js +1 -1
  78. package/esm/LinearPileupDisplay/configSchema.d.ts +8 -8
  79. package/esm/LinearPileupDisplay/configSchema.js +2 -2
  80. package/esm/LinearPileupDisplay/doAfterAttach.d.ts +5 -3
  81. package/esm/LinearPileupDisplay/doAfterAttach.js +17 -25
  82. package/esm/LinearPileupDisplay/index.d.ts +3 -3
  83. package/esm/LinearPileupDisplay/index.js +6 -5
  84. package/esm/LinearPileupDisplay/model.d.ts +1293 -155
  85. package/esm/LinearPileupDisplay/model.js +74 -122
  86. package/esm/LinearPileupDisplay/sharedDoAfterAttach.d.ts +10 -0
  87. package/esm/LinearPileupDisplay/sharedDoAfterAttach.js +28 -0
  88. package/esm/LinearReadArcsDisplay/afterAttachRPC.d.ts +2 -0
  89. package/esm/LinearReadArcsDisplay/afterAttachRPC.js +21 -0
  90. package/esm/LinearReadArcsDisplay/chainToSimpleFeature.d.ts +3 -0
  91. package/esm/LinearReadArcsDisplay/chainToSimpleFeature.js +40 -0
  92. package/esm/LinearReadArcsDisplay/components/{ReactComponent.d.ts → LinearReadArcsReactComponent.d.ts} +1 -1
  93. package/esm/LinearReadArcsDisplay/components/{ReactComponent.js → LinearReadArcsReactComponent.js} +4 -4
  94. package/esm/LinearReadArcsDisplay/configSchema.d.ts +5 -5
  95. package/esm/LinearReadArcsDisplay/configSchema.js +1 -1
  96. package/esm/LinearReadArcsDisplay/index.js +5 -4
  97. package/esm/LinearReadArcsDisplay/model.d.ts +225 -69
  98. package/esm/LinearReadArcsDisplay/model.js +60 -121
  99. package/esm/LinearReadArcsDisplay/renderSvg.d.ts +3 -0
  100. package/esm/LinearReadArcsDisplay/renderSvg.js +39 -0
  101. package/esm/LinearReadCloudDisplay/afterAttachRPC.d.ts +2 -0
  102. package/esm/LinearReadCloudDisplay/afterAttachRPC.js +56 -0
  103. package/esm/LinearReadCloudDisplay/components/CloudYScaleBar.d.ts +8 -0
  104. package/esm/LinearReadCloudDisplay/components/CloudYScaleBar.js +27 -0
  105. package/{dist/LinearReadCloudDisplay/components/ReactComponent.d.ts → esm/LinearReadCloudDisplay/components/LinearReadCloudReactComponent.d.ts} +1 -1
  106. package/esm/LinearReadCloudDisplay/components/LinearReadCloudReactComponent.js +252 -0
  107. package/esm/LinearReadCloudDisplay/components/SetFeatureHeightDialog.js +24 -0
  108. package/esm/LinearReadCloudDisplay/configSchema.d.ts +28 -5
  109. package/esm/LinearReadCloudDisplay/configSchema.js +21 -0
  110. package/esm/LinearReadCloudDisplay/index.js +9 -5
  111. package/esm/LinearReadCloudDisplay/model.d.ts +343 -61
  112. package/esm/LinearReadCloudDisplay/model.js +237 -76
  113. package/esm/LinearReadCloudDisplay/renderSvg.d.ts +3 -0
  114. package/esm/LinearReadCloudDisplay/renderSvg.js +47 -0
  115. package/esm/LinearSNPCoverageDisplay/components/ArcTooltipContents.d.ts +4 -0
  116. package/esm/LinearSNPCoverageDisplay/components/ArcTooltipContents.js +6 -0
  117. package/esm/LinearSNPCoverageDisplay/components/FilterArcsByScoreDialog.d.ts +7 -0
  118. package/esm/LinearSNPCoverageDisplay/components/FilterArcsByScoreDialog.js +16 -0
  119. package/esm/LinearSNPCoverageDisplay/components/SNPCoverageDisplayComponent.d.ts +5 -0
  120. package/esm/LinearSNPCoverageDisplay/components/SNPCoverageDisplayComponent.js +9 -0
  121. package/esm/LinearSNPCoverageDisplay/components/SashimiArcs.d.ts +10 -0
  122. package/esm/LinearSNPCoverageDisplay/components/SashimiArcs.js +169 -0
  123. package/esm/LinearSNPCoverageDisplay/components/Tooltip.d.ts +9 -3
  124. package/esm/LinearSNPCoverageDisplay/components/Tooltip.js +31 -7
  125. package/esm/LinearSNPCoverageDisplay/components/TooltipContents.d.ts +13 -6
  126. package/esm/LinearSNPCoverageDisplay/components/TooltipContents.js +191 -35
  127. package/esm/LinearSNPCoverageDisplay/components/arcUtils.d.ts +18 -0
  128. package/esm/LinearSNPCoverageDisplay/components/arcUtils.js +42 -0
  129. package/esm/LinearSNPCoverageDisplay/components/renderSvg.d.ts +10 -0
  130. package/esm/LinearSNPCoverageDisplay/components/renderSvg.js +32 -0
  131. package/esm/LinearSNPCoverageDisplay/configSchema.d.ts +7 -7
  132. package/esm/LinearSNPCoverageDisplay/configSchema.js +2 -2
  133. package/esm/LinearSNPCoverageDisplay/index.js +5 -4
  134. package/esm/LinearSNPCoverageDisplay/model.d.ts +302 -59
  135. package/esm/LinearSNPCoverageDisplay/model.js +162 -66
  136. package/esm/MismatchParser/cigarToMismatches.d.ts +1 -1
  137. package/esm/MismatchParser/cigarToMismatches.js +6 -8
  138. package/esm/MismatchParser/cigarToMismatches2.d.ts +2 -0
  139. package/{dist/MismatchParser/cigarToMismatches.js → esm/MismatchParser/cigarToMismatches2.js} +23 -27
  140. package/esm/MismatchParser/getNextRefPos.d.ts +1 -1
  141. package/esm/MismatchParser/getNextRefPos.js +13 -11
  142. package/esm/MismatchParser/index.d.ts +6 -3
  143. package/esm/MismatchParser/index.js +49 -11
  144. package/esm/MismatchParser/mdToMismatches.d.ts +1 -1
  145. package/esm/MismatchParser/mdToMismatches.js +87 -53
  146. package/esm/MismatchParser/mdToMismatches2.d.ts +2 -0
  147. package/esm/MismatchParser/mdToMismatches2.js +96 -0
  148. package/esm/ModificationParser/detectSimplexModifications.d.ts +4 -0
  149. package/esm/ModificationParser/detectSimplexModifications.js +17 -0
  150. package/esm/ModificationParser/getMethBins.d.ts +1 -1
  151. package/esm/ModificationParser/getMethBins.js +5 -5
  152. package/esm/ModificationParser/getModPositions.d.ts +1 -1
  153. package/esm/ModificationParser/getModPositions.js +14 -17
  154. package/esm/ModificationParser/getModProbabilities.js +1 -1
  155. package/esm/ModificationParser/getModTypes.js +1 -1
  156. package/esm/PileupRPC/base.js +1 -2
  157. package/esm/PileupRPC/index.js +1 -2
  158. package/esm/PileupRPC/methods/GetGlobalValueForTag.d.ts +1 -1
  159. package/esm/PileupRPC/methods/GetGlobalValueForTag.js +3 -6
  160. package/esm/PileupRPC/methods/GetVisibleModifications.d.ts +6 -3
  161. package/esm/PileupRPC/methods/GetVisibleModifications.js +20 -10
  162. package/esm/PileupRPC/rpcMethods.d.ts +2 -3
  163. package/esm/PileupRPC/rpcMethods.js +2 -3
  164. package/esm/PileupRenderer/PileupLayoutSession.d.ts +9 -9
  165. package/esm/PileupRenderer/PileupLayoutSession.js +18 -5
  166. package/esm/PileupRenderer/PileupRenderer.d.ts +5 -42
  167. package/esm/PileupRenderer/PileupRenderer.js +25 -70
  168. package/esm/PileupRenderer/colorBy.js +2 -2
  169. package/esm/PileupRenderer/components/PileupRendering.d.ts +9 -16
  170. package/esm/PileupRenderer/components/PileupRendering.js +152 -105
  171. package/esm/PileupRenderer/components/PileupTooltip.d.ts +10 -0
  172. package/esm/PileupRenderer/components/PileupTooltip.js +12 -0
  173. package/esm/PileupRenderer/components/util.d.ts +7 -0
  174. package/esm/PileupRenderer/components/util.js +17 -0
  175. package/esm/PileupRenderer/configSchema.d.ts +14 -4
  176. package/esm/PileupRenderer/configSchema.js +11 -1
  177. package/esm/PileupRenderer/index.js +4 -4
  178. package/esm/PileupRenderer/layoutFeature.d.ts +4 -12
  179. package/esm/PileupRenderer/layoutFeature.js +13 -18
  180. package/esm/PileupRenderer/layoutFeatures.d.ts +2 -2
  181. package/esm/PileupRenderer/layoutFeatures.js +21 -16
  182. package/esm/PileupRenderer/makeImageData.d.ts +20 -14
  183. package/esm/PileupRenderer/makeImageData.js +96 -14
  184. package/esm/PileupRenderer/renderers/cigarUtil.d.ts +18 -0
  185. package/esm/PileupRenderer/renderers/cigarUtil.js +23 -0
  186. package/esm/PileupRenderer/{getAlignmentShapeColor.js → renderers/getAlignmentShapeColor.js} +2 -2
  187. package/esm/PileupRenderer/{renderAlignment.d.ts → renderers/renderAlignment.d.ts} +6 -3
  188. package/esm/PileupRenderer/{renderAlignment.js → renderers/renderAlignment.js} +31 -26
  189. package/esm/PileupRenderer/renderers/renderAlignmentShape.d.ts +10 -0
  190. package/esm/PileupRenderer/renderers/renderAlignmentShape.js +165 -0
  191. package/esm/PileupRenderer/{renderMethylation.d.ts → renderers/renderMethylation.d.ts} +8 -6
  192. package/esm/PileupRenderer/renderers/renderMethylation.js +97 -0
  193. package/esm/PileupRenderer/renderers/renderMismatchesCallback.d.ts +32 -0
  194. package/esm/PileupRenderer/renderers/renderMismatchesCallback.js +304 -0
  195. package/esm/PileupRenderer/renderers/renderModifications.d.ts +20 -0
  196. package/esm/PileupRenderer/renderers/renderModifications.js +99 -0
  197. package/{dist/PileupRenderer → esm/PileupRenderer/renderers}/renderPerBaseLettering.d.ts +2 -2
  198. package/esm/PileupRenderer/renderers/renderPerBaseLettering.js +59 -0
  199. package/{dist/PileupRenderer → esm/PileupRenderer/renderers}/renderPerBaseQuality.d.ts +3 -4
  200. package/esm/PileupRenderer/renderers/renderPerBaseQuality.js +48 -0
  201. package/{dist/PileupRenderer → esm/PileupRenderer/renderers}/renderSoftClipping.d.ts +2 -2
  202. package/esm/PileupRenderer/renderers/renderSoftClipping.js +75 -0
  203. package/esm/PileupRenderer/sortUtil.d.ts +2 -2
  204. package/esm/PileupRenderer/sortUtil.js +34 -22
  205. package/esm/PileupRenderer/types.d.ts +32 -1
  206. package/esm/PileupRenderer/types.js +71 -1
  207. package/esm/PileupRenderer/util.d.ts +1 -22
  208. package/esm/PileupRenderer/util.js +12 -38
  209. package/esm/RenderLinearReadArcsDisplayRPC/RenderLinearReadArcsDisplay.d.ts +34 -0
  210. package/esm/RenderLinearReadArcsDisplayRPC/RenderLinearReadArcsDisplay.js +49 -0
  211. package/esm/RenderLinearReadArcsDisplayRPC/drawFeatsRPC.d.ts +24 -0
  212. package/esm/RenderLinearReadArcsDisplayRPC/drawFeatsRPC.js +156 -0
  213. package/esm/RenderLinearReadArcsDisplayRPC/executeRenderLinearReadArcsDisplay.d.ts +6 -0
  214. package/esm/RenderLinearReadArcsDisplayRPC/executeRenderLinearReadArcsDisplay.js +105 -0
  215. package/{dist/GuessAlignmentsTypes → esm/RenderLinearReadArcsDisplayRPC}/index.d.ts +1 -1
  216. package/esm/RenderLinearReadArcsDisplayRPC/index.js +4 -0
  217. package/esm/RenderLinearReadCloudDisplayRPC/RenderLinearReadCloudDisplay.d.ts +43 -0
  218. package/esm/RenderLinearReadCloudDisplayRPC/RenderLinearReadCloudDisplay.js +49 -0
  219. package/esm/RenderLinearReadCloudDisplayRPC/drawChainsUtil.d.ts +82 -0
  220. package/esm/RenderLinearReadCloudDisplayRPC/drawChainsUtil.js +164 -0
  221. package/esm/RenderLinearReadCloudDisplayRPC/drawFeatsCloud.d.ts +17 -0
  222. package/esm/RenderLinearReadCloudDisplayRPC/drawFeatsCloud.js +53 -0
  223. package/esm/RenderLinearReadCloudDisplayRPC/drawFeatsCommon.d.ts +72 -0
  224. package/esm/RenderLinearReadCloudDisplayRPC/drawFeatsCommon.js +277 -0
  225. package/esm/RenderLinearReadCloudDisplayRPC/drawFeatsStack.d.ts +5 -0
  226. package/esm/RenderLinearReadCloudDisplayRPC/drawFeatsStack.js +16 -0
  227. package/esm/RenderLinearReadCloudDisplayRPC/drawLongReadChains.d.ts +27 -0
  228. package/esm/RenderLinearReadCloudDisplayRPC/drawLongReadChains.js +101 -0
  229. package/esm/RenderLinearReadCloudDisplayRPC/drawPairChains.d.ts +27 -0
  230. package/esm/RenderLinearReadCloudDisplayRPC/drawPairChains.js +95 -0
  231. package/esm/RenderLinearReadCloudDisplayRPC/executeRenderLinearReadCloudDisplay.d.ts +6 -0
  232. package/esm/RenderLinearReadCloudDisplayRPC/executeRenderLinearReadCloudDisplay.js +142 -0
  233. package/esm/RenderLinearReadCloudDisplayRPC/index.d.ts +2 -0
  234. package/esm/RenderLinearReadCloudDisplayRPC/index.js +4 -0
  235. package/esm/SNPCoverageAdapter/SNPCoverageAdapter.d.ts +18 -3
  236. package/esm/SNPCoverageAdapter/SNPCoverageAdapter.js +205 -37
  237. package/esm/SNPCoverageAdapter/configSchema.d.ts +6 -2
  238. package/esm/SNPCoverageAdapter/configSchema.js +4 -0
  239. package/esm/SNPCoverageAdapter/generateCoverageBinsPrefixSum.d.ts +26 -0
  240. package/esm/SNPCoverageAdapter/generateCoverageBinsPrefixSum.js +438 -0
  241. package/esm/SNPCoverageAdapter/index.js +2 -2
  242. package/esm/SNPCoverageAdapter/processDepthPrefixSum.d.ts +10 -0
  243. package/esm/SNPCoverageAdapter/processDepthPrefixSum.js +55 -0
  244. package/esm/SNPCoverageAdapter/processModifications.d.ts +1 -1
  245. package/esm/SNPCoverageAdapter/processModifications.js +34 -36
  246. package/esm/SNPCoverageAdapter/processReferenceCpGs.d.ts +2 -3
  247. package/esm/SNPCoverageAdapter/processReferenceCpGs.js +46 -44
  248. package/esm/SNPCoverageAdapter/util.d.ts +9 -5
  249. package/esm/SNPCoverageAdapter/util.js +48 -28
  250. package/esm/SNPCoverageRenderer/SNPCoverageRenderer.d.ts +14 -4
  251. package/esm/SNPCoverageRenderer/SNPCoverageRenderer.js +29 -8
  252. package/esm/SNPCoverageRenderer/WiggleRendering.d.ts +14 -0
  253. package/esm/SNPCoverageRenderer/WiggleRendering.js +33 -0
  254. package/esm/SNPCoverageRenderer/calculateModificationCounts.d.ts +20 -0
  255. package/esm/SNPCoverageRenderer/calculateModificationCounts.js +22 -0
  256. package/esm/SNPCoverageRenderer/components/SNPCoverageRendering.d.ts +18 -0
  257. package/esm/SNPCoverageRenderer/components/SNPCoverageRendering.js +114 -0
  258. package/esm/SNPCoverageRenderer/configSchema.d.ts +2 -2
  259. package/esm/SNPCoverageRenderer/index.js +4 -4
  260. package/esm/SNPCoverageRenderer/makeImage.d.ts +2 -2
  261. package/esm/SNPCoverageRenderer/makeImage.js +384 -201
  262. package/esm/SNPCoverageRenderer/types.d.ts +55 -5
  263. package/esm/SNPCoverageRenderer/types.js +103 -1
  264. package/esm/SVGErrorBox.d.ts +5 -0
  265. package/esm/SVGErrorBox.js +4 -0
  266. package/esm/index.d.ts +3 -3
  267. package/esm/index.js +23 -21
  268. package/esm/saveTrackFormats/sam.d.ts +6 -0
  269. package/esm/saveTrackFormats/sam.js +42 -0
  270. package/esm/shared/LinearReadArcsDisplaySettingsMixin.d.ts +14 -0
  271. package/esm/shared/LinearReadArcsDisplaySettingsMixin.js +33 -0
  272. package/esm/shared/LinearReadDisplayBaseMixin.d.ts +33 -0
  273. package/esm/shared/LinearReadDisplayBaseMixin.js +31 -0
  274. package/esm/shared/LinearReadDisplayWithLayoutMixin.d.ts +16 -0
  275. package/esm/shared/LinearReadDisplayWithLayoutMixin.js +29 -0
  276. package/esm/shared/LinearReadDisplayWithPairFiltersMixin.d.ts +11 -0
  277. package/esm/shared/LinearReadDisplayWithPairFiltersMixin.js +24 -0
  278. package/esm/shared/SharedModificationsMixin.d.ts +12 -0
  279. package/esm/shared/SharedModificationsMixin.js +40 -0
  280. package/esm/shared/afterAttach.d.ts +1 -1
  281. package/esm/shared/afterAttach.js +4 -7
  282. package/esm/shared/arcUtils.d.ts +20 -0
  283. package/esm/shared/arcUtils.js +73 -0
  284. package/{dist/LinearReadCloudDisplay/util.d.ts → esm/shared/canvasUtils.d.ts} +1 -1
  285. package/esm/{LinearReadCloudDisplay/util.js → shared/canvasUtils.js} +9 -14
  286. package/esm/shared/chevron.d.ts +1 -0
  287. package/esm/shared/chevron.js +24 -0
  288. package/esm/shared/color.d.ts +54 -11
  289. package/esm/shared/color.js +121 -25
  290. package/esm/shared/components/FilterByTagDialog.d.ts +1 -1
  291. package/esm/shared/components/FilterByTagDialog.js +4 -5
  292. package/esm/shared/components/SetFeatureHeightDialog.d.ts +10 -0
  293. package/esm/shared/components/SetFeatureHeightDialog.js +24 -0
  294. package/esm/{LinearPileupDisplay → shared}/components/SetMaxHeightDialog.js +3 -3
  295. package/esm/shared/components/SetModificationThresholdDialog.d.ts +10 -0
  296. package/esm/shared/components/SetModificationThresholdDialog.js +37 -0
  297. package/esm/shared/createRPCRenderingSetup.d.ts +37 -0
  298. package/esm/shared/createRPCRenderingSetup.js +82 -0
  299. package/esm/shared/decodeSeq.d.ts +2 -0
  300. package/esm/shared/decodeSeq.js +26 -0
  301. package/esm/shared/flatbushType.d.ts +25 -0
  302. package/esm/shared/flatbushType.js +1 -0
  303. package/esm/shared/forEachMismatchTypes.d.ts +18 -0
  304. package/esm/shared/forEachMismatchTypes.js +24 -0
  305. package/esm/shared/getMaximumModificationAtEachPosition.d.ts +1 -1
  306. package/esm/shared/getMaximumModificationAtEachPosition.js +6 -7
  307. package/esm/shared/getUniqueModifications.d.ts +9 -4
  308. package/esm/shared/getUniqueModifications.js +3 -2
  309. package/esm/shared/getUniqueTags.d.ts +2 -2
  310. package/esm/shared/getUniqueTags.js +2 -1
  311. package/{dist/PileupRPC/util.d.ts → esm/shared/insertSizeStats.d.ts} +2 -2
  312. package/esm/shared/insertSizeStats.js +23 -0
  313. package/esm/shared/legendUtils.d.ts +8 -0
  314. package/esm/shared/legendUtils.js +123 -0
  315. package/esm/shared/menuItems.d.ts +119 -0
  316. package/esm/shared/menuItems.js +252 -0
  317. package/esm/shared/modificationData.d.ts +6 -0
  318. package/esm/shared/modificationData.js +17 -0
  319. package/esm/shared/primaryStrand.d.ts +3 -0
  320. package/esm/shared/primaryStrand.js +22 -0
  321. package/esm/shared/samFlags.d.ts +12 -0
  322. package/esm/shared/samFlags.js +12 -0
  323. package/esm/shared/setupModificationsAutorun.d.ts +11 -0
  324. package/esm/shared/setupModificationsAutorun.js +27 -0
  325. package/esm/shared/types.d.ts +69 -6
  326. package/esm/shared/util.d.ts +54 -1
  327. package/esm/shared/util.js +122 -1
  328. package/esm/svgExportUtil.d.ts +9 -0
  329. package/esm/svgExportUtil.js +6 -0
  330. package/esm/util.d.ts +3 -8
  331. package/esm/util.js +8 -23
  332. package/package.json +33 -38
  333. package/dist/AlignmentsFeatureDetail/AlignmentsFeatureDetail.d.ts +0 -5
  334. package/dist/AlignmentsFeatureDetail/AlignmentsFeatureDetail.js +0 -63
  335. package/dist/AlignmentsFeatureDetail/BreakendMultiLevelOptionDialog.d.ts +0 -1
  336. package/dist/AlignmentsFeatureDetail/BreakendMultiLevelOptionDialog.js +0 -5
  337. package/dist/AlignmentsFeatureDetail/BreakendSingleLevelOptionDialog.d.ts +0 -1
  338. package/dist/AlignmentsFeatureDetail/BreakendSingleLevelOptionDialog.js +0 -5
  339. package/dist/AlignmentsFeatureDetail/Flags.d.ts +0 -3
  340. package/dist/AlignmentsFeatureDetail/Flags.js +0 -41
  341. package/dist/AlignmentsFeatureDetail/Formatter.d.ts +0 -3
  342. package/dist/AlignmentsFeatureDetail/Formatter.js +0 -23
  343. package/dist/AlignmentsFeatureDetail/LaunchPairedEndBreakpointSplitViewPanel.d.ts +0 -6
  344. package/dist/AlignmentsFeatureDetail/LaunchPairedEndBreakpointSplitViewPanel.js +0 -84
  345. package/dist/AlignmentsFeatureDetail/LaunchSupplementaryAlignmentBreakpointSplitViewPanel.d.ts +0 -6
  346. package/dist/AlignmentsFeatureDetail/LaunchSupplementaryAlignmentBreakpointSplitViewPanel.js +0 -107
  347. package/dist/AlignmentsFeatureDetail/LinkedPairedAlignments.d.ts +0 -6
  348. package/dist/AlignmentsFeatureDetail/LinkedPairedAlignments.js +0 -22
  349. package/dist/AlignmentsFeatureDetail/PairLink.d.ts +0 -5
  350. package/dist/AlignmentsFeatureDetail/PairLink.js +0 -12
  351. package/dist/AlignmentsFeatureDetail/SupplementaryAlignments.d.ts +0 -7
  352. package/dist/AlignmentsFeatureDetail/SupplementaryAlignments.js +0 -23
  353. package/dist/AlignmentsFeatureDetail/SupplementaryAlignmentsLocStrings.d.ts +0 -5
  354. package/dist/AlignmentsFeatureDetail/SupplementaryAlignmentsLocStrings.js +0 -29
  355. package/dist/AlignmentsFeatureDetail/configSchema.d.ts +0 -1
  356. package/dist/AlignmentsFeatureDetail/configSchema.js +0 -5
  357. package/dist/AlignmentsFeatureDetail/getSAFeatures.d.ts +0 -23
  358. package/dist/AlignmentsFeatureDetail/getSAFeatures.js +0 -36
  359. package/dist/AlignmentsFeatureDetail/index.d.ts +0 -2
  360. package/dist/AlignmentsFeatureDetail/index.js +0 -52
  361. package/dist/AlignmentsFeatureDetail/launchBreakpointSplitView.d.ts +0 -22
  362. package/dist/AlignmentsFeatureDetail/launchBreakpointSplitView.js +0 -49
  363. package/dist/AlignmentsFeatureDetail/stateModelFactory.d.ts +0 -103
  364. package/dist/AlignmentsFeatureDetail/stateModelFactory.js +0 -10
  365. package/dist/AlignmentsFeatureDetail/tagInfo.d.ts +0 -63
  366. package/dist/AlignmentsFeatureDetail/tagInfo.js +0 -66
  367. package/dist/AlignmentsFeatureDetail/util.d.ts +0 -6
  368. package/dist/AlignmentsFeatureDetail/util.js +0 -25
  369. package/dist/AlignmentsTrack/configSchemaF.d.ts +0 -79
  370. package/dist/AlignmentsTrack/configSchemaF.js +0 -11
  371. package/dist/AlignmentsTrack/index.d.ts +0 -2
  372. package/dist/AlignmentsTrack/index.js +0 -23
  373. package/dist/BamAdapter/BamAdapter.d.ts +0 -44
  374. package/dist/BamAdapter/BamAdapter.js +0 -181
  375. package/dist/BamAdapter/BamSlightlyLazyFeature.d.ts +0 -17
  376. package/dist/BamAdapter/BamSlightlyLazyFeature.js +0 -69
  377. package/dist/BamAdapter/configSchema.d.ts +0 -34
  378. package/dist/BamAdapter/configSchema.js +0 -58
  379. package/dist/BamAdapter/index.d.ts +0 -2
  380. package/dist/BamAdapter/index.js +0 -51
  381. package/dist/CramAdapter/CramAdapter.d.ts +0 -53
  382. package/dist/CramAdapter/CramAdapter.js +0 -228
  383. package/dist/CramAdapter/CramSlightlyLazyFeature.d.ts +0 -33
  384. package/dist/CramAdapter/CramSlightlyLazyFeature.js +0 -124
  385. package/dist/CramAdapter/CramTestAdapters.d.ts +0 -28
  386. package/dist/CramAdapter/CramTestAdapters.js +0 -85
  387. package/dist/CramAdapter/configSchema.d.ts +0 -27
  388. package/dist/CramAdapter/configSchema.js +0 -48
  389. package/dist/CramAdapter/index.d.ts +0 -2
  390. package/dist/CramAdapter/index.js +0 -51
  391. package/dist/CramAdapter/util.d.ts +0 -9
  392. package/dist/CramAdapter/util.js +0 -213
  393. package/dist/GuessAlignmentsTypes/index.js +0 -41
  394. package/dist/HtsgetBamAdapter/HtsgetBamAdapter.d.ts +0 -12
  395. package/dist/HtsgetBamAdapter/HtsgetBamAdapter.js +0 -27
  396. package/dist/HtsgetBamAdapter/configSchema.d.ts +0 -18
  397. package/dist/HtsgetBamAdapter/configSchema.js +0 -22
  398. package/dist/HtsgetBamAdapter/index.d.ts +0 -2
  399. package/dist/HtsgetBamAdapter/index.js +0 -54
  400. package/dist/LinearAlignmentsDisplay/alignmentsModel.d.ts +0 -12
  401. package/dist/LinearAlignmentsDisplay/alignmentsModel.js +0 -18
  402. package/dist/LinearAlignmentsDisplay/components/AlignmentsDisplay.d.ts +0 -5
  403. package/dist/LinearAlignmentsDisplay/components/AlignmentsDisplay.js +0 -31
  404. package/dist/LinearAlignmentsDisplay/configSchema.d.ts +0 -36
  405. package/dist/LinearAlignmentsDisplay/configSchema.js +0 -19
  406. package/dist/LinearAlignmentsDisplay/index.d.ts +0 -2
  407. package/dist/LinearAlignmentsDisplay/index.js +0 -24
  408. package/dist/LinearAlignmentsDisplay/model.d.ts +0 -126
  409. package/dist/LinearAlignmentsDisplay/model.js +0 -222
  410. package/dist/LinearAlignmentsDisplay/util.d.ts +0 -2
  411. package/dist/LinearAlignmentsDisplay/util.js +0 -9
  412. package/dist/LinearPileupDisplay/SharedLinearPileupDisplayMixin.d.ts +0 -394
  413. package/dist/LinearPileupDisplay/SharedLinearPileupDisplayMixin.js +0 -524
  414. package/dist/LinearPileupDisplay/components/ColorByTagDialog.d.ts +0 -11
  415. package/dist/LinearPileupDisplay/components/ColorByTagDialog.js +0 -20
  416. package/dist/LinearPileupDisplay/components/GroupByDialog.d.ts +0 -10
  417. package/dist/LinearPileupDisplay/components/GroupByDialog.js +0 -145
  418. package/dist/LinearPileupDisplay/components/LinearPileupDisplayBlurb.d.ts +0 -7
  419. package/dist/LinearPileupDisplay/components/LinearPileupDisplayBlurb.js +0 -11
  420. package/dist/LinearPileupDisplay/components/SetFeatureHeightDialog.js +0 -26
  421. package/dist/LinearPileupDisplay/components/SetMaxHeightDialog.js +0 -28
  422. package/dist/LinearPileupDisplay/components/SortByTagDialog.d.ts +0 -7
  423. package/dist/LinearPileupDisplay/components/SortByTagDialog.js +0 -26
  424. package/dist/LinearPileupDisplay/configSchema.d.ts +0 -61
  425. package/dist/LinearPileupDisplay/configSchema.js +0 -40
  426. package/dist/LinearPileupDisplay/doAfterAttach.d.ts +0 -20
  427. package/dist/LinearPileupDisplay/doAfterAttach.js +0 -71
  428. package/dist/LinearPileupDisplay/index.d.ts +0 -5
  429. package/dist/LinearPileupDisplay/index.js +0 -32
  430. package/dist/LinearPileupDisplay/model.d.ts +0 -497
  431. package/dist/LinearPileupDisplay/model.js +0 -364
  432. package/dist/LinearReadArcsDisplay/components/ReactComponent.d.ts +0 -5
  433. package/dist/LinearReadArcsDisplay/components/ReactComponent.js +0 -23
  434. package/dist/LinearReadArcsDisplay/configSchema.d.ts +0 -61
  435. package/dist/LinearReadArcsDisplay/configSchema.js +0 -36
  436. package/dist/LinearReadArcsDisplay/drawFeats.d.ts +0 -2
  437. package/dist/LinearReadArcsDisplay/drawFeats.js +0 -152
  438. package/dist/LinearReadArcsDisplay/index.d.ts +0 -2
  439. package/dist/LinearReadArcsDisplay/index.js +0 -58
  440. package/dist/LinearReadArcsDisplay/model.d.ts +0 -196
  441. package/dist/LinearReadArcsDisplay/model.js +0 -280
  442. package/dist/LinearReadArcsDisplay/util.d.ts +0 -2
  443. package/dist/LinearReadArcsDisplay/util.js +0 -11
  444. package/dist/LinearReadCloudDisplay/components/ReactComponent.js +0 -23
  445. package/dist/LinearReadCloudDisplay/configSchema.d.ts +0 -48
  446. package/dist/LinearReadCloudDisplay/configSchema.js +0 -25
  447. package/dist/LinearReadCloudDisplay/drawFeats.d.ts +0 -2
  448. package/dist/LinearReadCloudDisplay/drawFeats.js +0 -27
  449. package/dist/LinearReadCloudDisplay/drawLongReadChains.d.ts +0 -11
  450. package/dist/LinearReadCloudDisplay/drawLongReadChains.js +0 -64
  451. package/dist/LinearReadCloudDisplay/drawPairChains.d.ts +0 -17
  452. package/dist/LinearReadCloudDisplay/drawPairChains.js +0 -94
  453. package/dist/LinearReadCloudDisplay/index.d.ts +0 -2
  454. package/dist/LinearReadCloudDisplay/index.js +0 -58
  455. package/dist/LinearReadCloudDisplay/model.d.ts +0 -175
  456. package/dist/LinearReadCloudDisplay/model.js +0 -198
  457. package/dist/LinearReadCloudDisplay/util.js +0 -32
  458. package/dist/LinearSNPCoverageDisplay/components/Tooltip.d.ts +0 -12
  459. package/dist/LinearSNPCoverageDisplay/components/Tooltip.js +0 -15
  460. package/dist/LinearSNPCoverageDisplay/components/TooltipContents.d.ts +0 -11
  461. package/dist/LinearSNPCoverageDisplay/components/TooltipContents.js +0 -48
  462. package/dist/LinearSNPCoverageDisplay/configSchema.d.ts +0 -80
  463. package/dist/LinearSNPCoverageDisplay/configSchema.js +0 -62
  464. package/dist/LinearSNPCoverageDisplay/index.d.ts +0 -2
  465. package/dist/LinearSNPCoverageDisplay/index.js +0 -24
  466. package/dist/LinearSNPCoverageDisplay/model.d.ts +0 -111
  467. package/dist/LinearSNPCoverageDisplay/model.js +0 -262
  468. package/dist/MismatchParser/cigarToMismatches.d.ts +0 -2
  469. package/dist/MismatchParser/getNextRefPos.d.ts +0 -4
  470. package/dist/MismatchParser/getNextRefPos.js +0 -38
  471. package/dist/MismatchParser/index.d.ts +0 -27
  472. package/dist/MismatchParser/index.js +0 -145
  473. package/dist/MismatchParser/mdToMismatches.d.ts +0 -2
  474. package/dist/MismatchParser/mdToMismatches.js +0 -74
  475. package/dist/ModificationParser/consts.d.ts +0 -1
  476. package/dist/ModificationParser/consts.js +0 -4
  477. package/dist/ModificationParser/getMethBins.d.ts +0 -7
  478. package/dist/ModificationParser/getMethBins.js +0 -49
  479. package/dist/ModificationParser/getModPositions.d.ts +0 -6
  480. package/dist/ModificationParser/getModPositions.js +0 -64
  481. package/dist/ModificationParser/getModProbabilities.d.ts +0 -2
  482. package/dist/ModificationParser/getModProbabilities.js +0 -34
  483. package/dist/ModificationParser/getModTypes.d.ts +0 -5
  484. package/dist/ModificationParser/getModTypes.js +0 -35
  485. package/dist/PileupRPC/base.d.ts +0 -8
  486. package/dist/PileupRPC/base.js +0 -20
  487. package/dist/PileupRPC/index.d.ts +0 -2
  488. package/dist/PileupRPC/index.js +0 -9
  489. package/dist/PileupRPC/methods/GetGlobalValueForTag.d.ts +0 -13
  490. package/dist/PileupRPC/methods/GetGlobalValueForTag.js +0 -29
  491. package/dist/PileupRPC/methods/GetReducedFeatures.d.ts +0 -37
  492. package/dist/PileupRPC/methods/GetReducedFeatures.js +0 -54
  493. package/dist/PileupRPC/methods/GetVisibleModifications.d.ts +0 -14
  494. package/dist/PileupRPC/methods/GetVisibleModifications.js +0 -36
  495. package/dist/PileupRPC/rpcMethods.d.ts +0 -3
  496. package/dist/PileupRPC/rpcMethods.js +0 -12
  497. package/dist/PileupRPC/util.js +0 -18
  498. package/dist/PileupRenderer/PileupLayoutSession.d.ts +0 -23
  499. package/dist/PileupRenderer/PileupLayoutSession.js +0 -35
  500. package/dist/PileupRenderer/PileupRenderer.d.ts +0 -48
  501. package/dist/PileupRenderer/PileupRenderer.js +0 -129
  502. package/dist/PileupRenderer/colorBy.d.ts +0 -7
  503. package/dist/PileupRenderer/colorBy.js +0 -61
  504. package/dist/PileupRenderer/components/PileupRendering.d.ts +0 -26
  505. package/dist/PileupRenderer/components/PileupRendering.js +0 -136
  506. package/dist/PileupRenderer/configSchema.d.ts +0 -62
  507. package/dist/PileupRenderer/configSchema.js +0 -71
  508. package/dist/PileupRenderer/getAlignmentShapeColor.js +0 -61
  509. package/dist/PileupRenderer/index.d.ts +0 -2
  510. package/dist/PileupRenderer/index.js +0 -20
  511. package/dist/PileupRenderer/layoutFeature.d.ts +0 -18
  512. package/dist/PileupRenderer/layoutFeature.js +0 -42
  513. package/dist/PileupRenderer/layoutFeatures.d.ts +0 -5
  514. package/dist/PileupRenderer/layoutFeatures.js +0 -29
  515. package/dist/PileupRenderer/makeImageData.d.ts +0 -14
  516. package/dist/PileupRenderer/makeImageData.js +0 -66
  517. package/dist/PileupRenderer/renderAlignment.d.ts +0 -13
  518. package/dist/PileupRenderer/renderAlignment.js +0 -81
  519. package/dist/PileupRenderer/renderAlignmentShape.d.ts +0 -7
  520. package/dist/PileupRenderer/renderAlignmentShape.js +0 -120
  521. package/dist/PileupRenderer/renderMethylation.d.ts +0 -12
  522. package/dist/PileupRenderer/renderMethylation.js +0 -60
  523. package/dist/PileupRenderer/renderMismatches.d.ts +0 -18
  524. package/dist/PileupRenderer/renderMismatches.js +0 -124
  525. package/dist/PileupRenderer/renderModifications.d.ts +0 -12
  526. package/dist/PileupRenderer/renderModifications.js +0 -44
  527. package/dist/PileupRenderer/renderPerBaseLettering.js +0 -42
  528. package/dist/PileupRenderer/renderPerBaseQuality.js +0 -35
  529. package/dist/PileupRenderer/renderSoftClipping.js +0 -59
  530. package/dist/PileupRenderer/sortUtil.d.ts +0 -3
  531. package/dist/PileupRenderer/sortUtil.js +0 -80
  532. package/dist/PileupRenderer/types.d.ts +0 -27
  533. package/dist/PileupRenderer/types.js +0 -2
  534. package/dist/PileupRenderer/util.d.ts +0 -28
  535. package/dist/PileupRenderer/util.js +0 -49
  536. package/dist/SNPCoverageAdapter/SNPCoverageAdapter.d.ts +0 -14
  537. package/dist/SNPCoverageAdapter/SNPCoverageAdapter.js +0 -89
  538. package/dist/SNPCoverageAdapter/configSchema.d.ts +0 -7
  539. package/dist/SNPCoverageAdapter/configSchema.js +0 -11
  540. package/dist/SNPCoverageAdapter/generateCoverageBins.d.ts +0 -13
  541. package/dist/SNPCoverageAdapter/generateCoverageBins.js +0 -86
  542. package/dist/SNPCoverageAdapter/index.d.ts +0 -2
  543. package/dist/SNPCoverageAdapter/index.js +0 -54
  544. package/dist/SNPCoverageAdapter/processDepth.d.ts +0 -8
  545. package/dist/SNPCoverageAdapter/processDepth.js +0 -38
  546. package/dist/SNPCoverageAdapter/processMismatches.d.ts +0 -9
  547. package/dist/SNPCoverageAdapter/processMismatches.js +0 -58
  548. package/dist/SNPCoverageAdapter/processModifications.d.ts +0 -10
  549. package/dist/SNPCoverageAdapter/processModifications.js +0 -50
  550. package/dist/SNPCoverageAdapter/processReferenceCpGs.d.ts +0 -9
  551. package/dist/SNPCoverageAdapter/processReferenceCpGs.js +0 -63
  552. package/dist/SNPCoverageAdapter/util.d.ts +0 -10
  553. package/dist/SNPCoverageAdapter/util.js +0 -41
  554. package/dist/SNPCoverageRenderer/SNPCoverageRenderer.d.ts +0 -5
  555. package/dist/SNPCoverageRenderer/SNPCoverageRenderer.js +0 -46
  556. package/dist/SNPCoverageRenderer/configSchema.d.ts +0 -33
  557. package/dist/SNPCoverageRenderer/configSchema.js +0 -37
  558. package/dist/SNPCoverageRenderer/index.d.ts +0 -2
  559. package/dist/SNPCoverageRenderer/index.js +0 -17
  560. package/dist/SNPCoverageRenderer/makeImage.d.ts +0 -2
  561. package/dist/SNPCoverageRenderer/makeImage.js +0 -259
  562. package/dist/SNPCoverageRenderer/types.d.ts +0 -20
  563. package/dist/SNPCoverageRenderer/types.js +0 -2
  564. package/dist/index.d.ts +0 -9
  565. package/dist/index.js +0 -89
  566. package/dist/shared/afterAttach.d.ts +0 -2
  567. package/dist/shared/afterAttach.js +0 -40
  568. package/dist/shared/color.d.ts +0 -58
  569. package/dist/shared/color.js +0 -79
  570. package/dist/shared/components/BaseDisplayComponent.d.ts +0 -7
  571. package/dist/shared/components/BaseDisplayComponent.js +0 -44
  572. package/dist/shared/components/FilterByTagDialog.d.ts +0 -9
  573. package/dist/shared/components/FilterByTagDialog.js +0 -88
  574. package/dist/shared/fetchChains.d.ts +0 -28
  575. package/dist/shared/fetchChains.js +0 -22
  576. package/dist/shared/getMaximumModificationAtEachPosition.d.ts +0 -8
  577. package/dist/shared/getMaximumModificationAtEachPosition.js +0 -42
  578. package/dist/shared/getUniqueModifications.d.ts +0 -15
  579. package/dist/shared/getUniqueModifications.js +0 -22
  580. package/dist/shared/getUniqueTags.d.ts +0 -15
  581. package/dist/shared/getUniqueTags.js +0 -18
  582. package/dist/shared/renderSvgUtil.d.ts +0 -6
  583. package/dist/shared/renderSvgUtil.js +0 -66
  584. package/dist/shared/types.d.ts +0 -94
  585. package/dist/shared/types.js +0 -2
  586. package/dist/shared/util.d.ts +0 -20
  587. package/dist/shared/util.js +0 -63
  588. package/dist/util.d.ts +0 -30
  589. package/dist/util.js +0 -125
  590. package/esm/AlignmentsFeatureDetail/BreakendMultiLevelOptionDialog.d.ts +0 -1
  591. package/esm/AlignmentsFeatureDetail/BreakendMultiLevelOptionDialog.js +0 -1
  592. package/esm/AlignmentsFeatureDetail/BreakendSingleLevelOptionDialog.d.ts +0 -1
  593. package/esm/AlignmentsFeatureDetail/BreakendSingleLevelOptionDialog.js +0 -1
  594. package/esm/CramAdapter/util.d.ts +0 -9
  595. package/esm/CramAdapter/util.js +0 -209
  596. package/esm/LinearPileupDisplay/components/SetMaxHeightDialog.d.ts +0 -8
  597. package/esm/LinearReadArcsDisplay/drawFeats.d.ts +0 -2
  598. package/esm/LinearReadArcsDisplay/drawFeats.js +0 -149
  599. package/esm/LinearReadArcsDisplay/util.d.ts +0 -2
  600. package/esm/LinearReadArcsDisplay/util.js +0 -8
  601. package/esm/LinearReadCloudDisplay/components/ReactComponent.d.ts +0 -5
  602. package/esm/LinearReadCloudDisplay/components/ReactComponent.js +0 -18
  603. package/esm/LinearReadCloudDisplay/drawFeats.d.ts +0 -2
  604. package/esm/LinearReadCloudDisplay/drawFeats.js +0 -24
  605. package/esm/LinearReadCloudDisplay/drawLongReadChains.d.ts +0 -11
  606. package/esm/LinearReadCloudDisplay/drawLongReadChains.js +0 -61
  607. package/esm/LinearReadCloudDisplay/drawPairChains.d.ts +0 -17
  608. package/esm/LinearReadCloudDisplay/drawPairChains.js +0 -90
  609. package/esm/LinearReadCloudDisplay/util.d.ts +0 -2
  610. package/esm/PileupRPC/methods/GetReducedFeatures.d.ts +0 -37
  611. package/esm/PileupRPC/methods/GetReducedFeatures.js +0 -48
  612. package/esm/PileupRPC/util.d.ts +0 -8
  613. package/esm/PileupRPC/util.js +0 -14
  614. package/esm/PileupRenderer/getAlignmentShapeColor.d.ts +0 -10
  615. package/esm/PileupRenderer/renderAlignmentShape.d.ts +0 -7
  616. package/esm/PileupRenderer/renderAlignmentShape.js +0 -117
  617. package/esm/PileupRenderer/renderMethylation.js +0 -57
  618. package/esm/PileupRenderer/renderMismatches.d.ts +0 -18
  619. package/esm/PileupRenderer/renderMismatches.js +0 -121
  620. package/esm/PileupRenderer/renderModifications.d.ts +0 -12
  621. package/esm/PileupRenderer/renderModifications.js +0 -41
  622. package/esm/PileupRenderer/renderPerBaseLettering.d.ts +0 -14
  623. package/esm/PileupRenderer/renderPerBaseLettering.js +0 -39
  624. package/esm/PileupRenderer/renderPerBaseQuality.d.ts +0 -10
  625. package/esm/PileupRenderer/renderPerBaseQuality.js +0 -32
  626. package/esm/PileupRenderer/renderSoftClipping.d.ts +0 -13
  627. package/esm/PileupRenderer/renderSoftClipping.js +0 -56
  628. package/esm/SNPCoverageAdapter/generateCoverageBins.d.ts +0 -13
  629. package/esm/SNPCoverageAdapter/generateCoverageBins.js +0 -83
  630. package/esm/SNPCoverageAdapter/processDepth.d.ts +0 -8
  631. package/esm/SNPCoverageAdapter/processDepth.js +0 -35
  632. package/esm/SNPCoverageAdapter/processMismatches.d.ts +0 -9
  633. package/esm/SNPCoverageAdapter/processMismatches.js +0 -55
  634. package/esm/shared/components/BaseDisplayComponent.d.ts +0 -7
  635. package/esm/shared/components/BaseDisplayComponent.js +0 -42
  636. package/esm/shared/fetchChains.d.ts +0 -28
  637. package/esm/shared/fetchChains.js +0 -19
  638. /package/{dist/LinearPileupDisplay → esm/LinearReadCloudDisplay}/components/SetFeatureHeightDialog.d.ts +0 -0
  639. /package/{dist/PileupRenderer → esm/PileupRenderer/renderers}/getAlignmentShapeColor.d.ts +0 -0
  640. /package/{dist/LinearPileupDisplay → esm/shared}/components/SetMaxHeightDialog.d.ts +0 -0
@@ -1,19 +1,18 @@
1
1
  import { lazy } from 'react';
2
2
  import { ConfigurationReference, getConf, readConfObject, } from '@jbrowse/core/configuration';
3
- import { getContainingView, getEnv, getSession } from '@jbrowse/core/util';
3
+ import { getContainingView, getSession } from '@jbrowse/core/util';
4
+ import { types } from '@jbrowse/mobx-state-tree';
4
5
  import ColorLensIcon from '@mui/icons-material/ColorLens';
5
6
  import SwapVertIcon from '@mui/icons-material/SwapVert';
6
- import VisibilityIcon from '@mui/icons-material/Visibility';
7
7
  import WorkspacesIcon from '@mui/icons-material/Workspaces';
8
- import { observable } from 'mobx';
9
- import { types } from 'mobx-state-tree';
10
- import { SharedLinearPileupDisplayMixin } from './SharedLinearPileupDisplayMixin';
11
- import { getColorForModification, modificationData } from '../util';
12
- const SortByTagDialog = lazy(() => import('./components/SortByTagDialog'));
13
- const GroupByDialog = lazy(() => import('./components/GroupByDialog'));
8
+ import { SharedLinearPileupDisplayMixin } from "./SharedLinearPileupDisplayMixin.js";
9
+ import { SharedModificationsMixin } from "../shared/SharedModificationsMixin.js";
10
+ import { getModificationsSubMenu } from "../shared/menuItems.js";
11
+ const SortByTagDialog = lazy(() => import("./components/SortByTagDialog.js"));
12
+ const GroupByDialog = lazy(() => import("./components/GroupByDialog.js"));
14
13
  function stateModelFactory(configSchema) {
15
14
  return types
16
- .compose('LinearPileupDisplay', SharedLinearPileupDisplayMixin(configSchema), types.model({
15
+ .compose('LinearPileupDisplay', SharedLinearPileupDisplayMixin(configSchema), SharedModificationsMixin(), types.model({
17
16
  type: types.literal('LinearPileupDisplay'),
18
17
  configuration: ConfigurationReference(configSchema),
19
18
  showSoftClipping: false,
@@ -23,26 +22,11 @@ function stateModelFactory(configSchema) {
23
22
  .volatile(() => ({
24
23
  sortReady: false,
25
24
  currSortBpPerPx: 0,
26
- visibleModifications: observable.map({}),
27
- modificationsReady: false,
28
25
  }))
29
26
  .actions(self => ({
30
27
  setCurrSortBpPerPx(n) {
31
28
  self.currSortBpPerPx = n;
32
29
  },
33
- updateVisibleModifications(uniqueModifications) {
34
- for (const value of uniqueModifications) {
35
- if (!self.visibleModifications.has(value.type)) {
36
- self.visibleModifications.set(value.type, {
37
- ...value,
38
- color: getColorForModification(value.type),
39
- });
40
- }
41
- }
42
- },
43
- setModificationsReady(flag) {
44
- self.modificationsReady = flag;
45
- },
46
30
  setSortReady(flag) {
47
31
  self.sortReady = flag;
48
32
  },
@@ -74,6 +58,20 @@ function stateModelFactory(configSchema) {
74
58
  tag,
75
59
  };
76
60
  },
61
+ setSortedByAtPosition(type, pos, refName) {
62
+ const view = getContainingView(self);
63
+ const assemblyName = view.assemblyNames[0];
64
+ if (!assemblyName) {
65
+ return;
66
+ }
67
+ self.sortReady = false;
68
+ self.sortedBy = {
69
+ type,
70
+ pos: pos + 1,
71
+ refName,
72
+ assemblyName,
73
+ };
74
+ },
77
75
  setFeatureHeight(n) {
78
76
  self.sortReady = false;
79
77
  self.featureHeight = n;
@@ -89,22 +87,23 @@ function stateModelFactory(configSchema) {
89
87
  };
90
88
  })
91
89
  .views(self => ({
92
- get visibleModificationTypes() {
93
- return [...self.visibleModifications.keys()];
90
+ get modificationThreshold() {
91
+ return self.colorBy?.modifications?.threshold ?? 10;
94
92
  },
95
93
  get rendererConfig() {
96
- const { featureHeight, noSpacing, trackMaxHeight, mismatchAlpha, rendererTypeName, hideSmallIndels, } = self;
94
+ const { featureHeight, noSpacing, trackMaxHeight, mismatchAlpha, rendererTypeName, hideSmallIndels, hideMismatches, } = self;
97
95
  const configBlob = getConf(self, ['renderers', rendererTypeName]) || {};
98
- return self.rendererType.configSchema.create({
96
+ return {
99
97
  ...configBlob,
100
98
  ...(featureHeight !== undefined ? { height: featureHeight } : {}),
101
99
  ...(hideSmallIndels !== undefined ? { hideSmallIndels } : {}),
100
+ ...(hideMismatches !== undefined ? { hideMismatches } : {}),
102
101
  ...(noSpacing !== undefined ? { noSpacing } : {}),
103
102
  ...(mismatchAlpha !== undefined ? { mismatchAlpha } : {}),
104
103
  ...(trackMaxHeight !== undefined
105
104
  ? { maxHeight: trackMaxHeight }
106
105
  : {}),
107
- }, getEnv(self));
106
+ };
108
107
  },
109
108
  }))
110
109
  .views(self => {
@@ -122,16 +121,17 @@ function stateModelFactory(configSchema) {
122
121
  };
123
122
  })
124
123
  .views(self => {
125
- const { trackMenuItems: superTrackMenuItems, renderPropsPre: superRenderPropsPre, renderProps: superRenderProps, colorSchemeSubMenuItems: superColorSchemeSubMenuItems, } = self;
124
+ const { trackMenuItems: superTrackMenuItems, adapterRenderProps: superAdapterRenderProps, renderProps: superRenderProps, colorSchemeSubMenuItems: superColorSchemeSubMenuItems, showSubMenuItems: superShowSubMenuItems, } = self;
126
125
  return {
127
- renderPropsPre() {
128
- const { sortedBy, showSoftClipping, visibleModifications } = self;
129
- const superProps = superRenderPropsPre();
126
+ adapterRenderProps() {
127
+ const { sortedBy, showSoftClipping, visibleModifications, simplexModifications, } = self;
128
+ const superProps = superAdapterRenderProps();
130
129
  return {
131
130
  ...superProps,
132
131
  showSoftClip: showSoftClipping,
133
132
  sortedBy,
134
133
  visibleModifications: Object.fromEntries(visibleModifications.toJSON()),
134
+ simplexModifications: [...simplexModifications],
135
135
  };
136
136
  },
137
137
  renderProps() {
@@ -142,6 +142,30 @@ function stateModelFactory(configSchema) {
142
142
  notReady: result.notReady || !sortReady,
143
143
  };
144
144
  },
145
+ showSubMenuItems() {
146
+ return [
147
+ ...superShowSubMenuItems(),
148
+ {
149
+ label: 'Show soft clipping',
150
+ type: 'checkbox',
151
+ checked: self.showSoftClipping,
152
+ onClick: () => {
153
+ self.toggleSoftClipping();
154
+ if (self.showSoftClipping) {
155
+ self.clearSelected();
156
+ }
157
+ },
158
+ },
159
+ {
160
+ label: 'Show mismatches faded by quality',
161
+ type: 'checkbox',
162
+ checked: self.mismatchAlphaSetting,
163
+ onClick: () => {
164
+ self.toggleMismatchAlpha();
165
+ },
166
+ },
167
+ ];
168
+ },
145
169
  trackMenuItems() {
146
170
  return [
147
171
  ...superTrackMenuItems(),
@@ -191,73 +215,9 @@ function stateModelFactory(configSchema) {
191
215
  {
192
216
  label: 'Modifications',
193
217
  type: 'subMenu',
194
- subMenu: self.modificationsReady
195
- ? [
196
- {
197
- label: 'All modifications',
198
- onClick: () => {
199
- self.setColorScheme({
200
- type: 'modifications',
201
- });
202
- },
203
- },
204
- ...self.visibleModificationTypes.map(key => {
205
- var _a;
206
- return ({
207
- label: `Show only ${((_a = modificationData[key]) === null || _a === void 0 ? void 0 : _a.name) || key}`,
208
- onClick: () => {
209
- self.setColorScheme({
210
- type: 'modifications',
211
- modifications: {
212
- isolatedModification: key,
213
- },
214
- });
215
- },
216
- });
217
- }),
218
- { type: 'divider' },
219
- {
220
- label: 'All modifications (<50% prob colored blue)',
221
- onClick: () => {
222
- self.setColorScheme({
223
- type: 'modifications',
224
- modifications: {
225
- twoColor: true,
226
- },
227
- });
228
- },
229
- },
230
- ...self.visibleModificationTypes.map(key => {
231
- var _a;
232
- return ({
233
- label: `Show only ${((_a = modificationData[key]) === null || _a === void 0 ? void 0 : _a.name) || key} (<50% prob colored blue)`,
234
- onClick: () => {
235
- self.setColorScheme({
236
- type: 'modifications',
237
- modifications: {
238
- isolatedModification: key,
239
- twoColor: true,
240
- },
241
- });
242
- },
243
- });
244
- }),
245
- { type: 'divider' },
246
- {
247
- label: 'All reference CpGs',
248
- onClick: () => {
249
- self.setColorScheme({
250
- type: 'methylation',
251
- });
252
- },
253
- },
254
- ]
255
- : [
256
- {
257
- label: 'Loading modifications...',
258
- onClick: () => { },
259
- },
260
- ],
218
+ subMenu: getModificationsSubMenu(self, {
219
+ includeMethylation: true,
220
+ }),
261
221
  },
262
222
  {
263
223
  label: 'Insert size',
@@ -283,26 +243,6 @@ function stateModelFactory(configSchema) {
283
243
  ]);
284
244
  },
285
245
  },
286
- {
287
- label: 'Show soft clipping',
288
- icon: VisibilityIcon,
289
- type: 'checkbox',
290
- checked: self.showSoftClipping,
291
- onClick: () => {
292
- self.toggleSoftClipping();
293
- if (self.showSoftClipping) {
294
- self.clearSelected();
295
- }
296
- },
297
- },
298
- {
299
- label: 'Fade mismatches by quality',
300
- type: 'checkbox',
301
- checked: self.mismatchAlphaSetting,
302
- onClick: () => {
303
- self.toggleMismatchAlpha();
304
- },
305
- },
306
246
  ];
307
247
  },
308
248
  };
@@ -312,7 +252,7 @@ function stateModelFactory(configSchema) {
312
252
  ;
313
253
  (async () => {
314
254
  try {
315
- const { doAfterAttach } = await import('./doAfterAttach');
255
+ const { doAfterAttach } = await import("./doAfterAttach.js");
316
256
  doAfterAttach(self);
317
257
  }
318
258
  catch (e) {
@@ -321,6 +261,18 @@ function stateModelFactory(configSchema) {
321
261
  }
322
262
  })();
323
263
  },
324
- }));
264
+ }))
265
+ .postProcessSnapshot(snap => {
266
+ if (!snap) {
267
+ return snap;
268
+ }
269
+ const { showSoftClipping, mismatchAlpha, sortedBy, ...rest } = snap;
270
+ return {
271
+ ...rest,
272
+ ...(showSoftClipping ? { showSoftClipping } : {}),
273
+ ...(mismatchAlpha !== undefined ? { mismatchAlpha } : {}),
274
+ ...(sortedBy !== undefined ? { sortedBy } : {}),
275
+ };
276
+ });
325
277
  }
326
278
  export default stateModelFactory;
@@ -0,0 +1,10 @@
1
+ import type { ColorBy } from '../shared/types.ts';
2
+ import type { AnyConfigurationModel } from '@jbrowse/core/configuration';
3
+ export declare function sharedDoAfterAttach(self: {
4
+ autorunReady: boolean;
5
+ adapterConfig: AnyConfigurationModel;
6
+ colorBy?: ColorBy;
7
+ tagsReady: boolean;
8
+ updateColorTagMap: (arg: string[]) => void;
9
+ setTagsReady: (arg: boolean) => void;
10
+ }): void;
@@ -0,0 +1,28 @@
1
+ import { getContainingView } from '@jbrowse/core/util';
2
+ import { isAlive } from '@jbrowse/mobx-state-tree';
3
+ import { getUniqueTags } from "../shared/getUniqueTags.js";
4
+ import { createAutorun } from "../util.js";
5
+ export function sharedDoAfterAttach(self) {
6
+ createAutorun(self, async () => {
7
+ const view = getContainingView(self);
8
+ if (!self.autorunReady) {
9
+ return;
10
+ }
11
+ const { colorBy, tagsReady } = self;
12
+ const { staticBlocks } = view;
13
+ if (colorBy?.tag && !tagsReady) {
14
+ const vals = await getUniqueTags({
15
+ self,
16
+ tag: colorBy.tag,
17
+ blocks: staticBlocks,
18
+ });
19
+ if (isAlive(self)) {
20
+ self.updateColorTagMap(vals);
21
+ self.setTagsReady(true);
22
+ }
23
+ }
24
+ else {
25
+ self.setTagsReady(true);
26
+ }
27
+ }, { name: 'ColorReady', delay: 1000 });
28
+ }
@@ -0,0 +1,2 @@
1
+ import type { LinearReadArcsDisplayModel } from './model.ts';
2
+ export declare function doAfterAttachRPC(self: LinearReadArcsDisplayModel): void;
@@ -0,0 +1,21 @@
1
+ import { isAlive } from '@jbrowse/mobx-state-tree';
2
+ import { createRPCRenderFunction, setupCanvasRenderingAutorun, } from "../shared/createRPCRenderingSetup.js";
3
+ import { createAutorun } from "../util.js";
4
+ export function doAfterAttachRPC(self) {
5
+ const performRender = createRPCRenderFunction({
6
+ self,
7
+ rpcMethodName: 'RenderLinearReadArcsDisplay',
8
+ getRPCParams: () => self.renderProps(),
9
+ onResult: () => { },
10
+ });
11
+ createAutorun(self, async () => {
12
+ if (!isAlive(self)) {
13
+ return;
14
+ }
15
+ performRender();
16
+ }, {
17
+ delay: 1000,
18
+ name: 'PerformRender',
19
+ });
20
+ setupCanvasRenderingAutorun(self);
21
+ }
@@ -0,0 +1,3 @@
1
+ import { SimpleFeature } from '@jbrowse/core/util';
2
+ import type { ReducedFeature } from '../shared/types.ts';
3
+ export declare function chainToSimpleFeature(chain: ReducedFeature[]): SimpleFeature;
@@ -0,0 +1,40 @@
1
+ import { SimpleFeature } from '@jbrowse/core/util';
2
+ export function chainToSimpleFeature(chain) {
3
+ if (chain.length === 0) {
4
+ throw new Error('Chain cannot be empty');
5
+ }
6
+ const firstFeat = chain[0];
7
+ return new SimpleFeature({
8
+ uniqueId: firstFeat.id,
9
+ id: firstFeat.id,
10
+ name: firstFeat.name,
11
+ refName: firstFeat.refName,
12
+ start: Math.min(...chain.map(f => f.start)),
13
+ end: Math.max(...chain.map(f => f.end)),
14
+ strand: firstFeat.strand,
15
+ flags: firstFeat.flags,
16
+ tlen: firstFeat.tlen,
17
+ pair_orientation: firstFeat.pair_orientation,
18
+ clipLengthAtStartOfRead: firstFeat.clipLengthAtStartOfRead,
19
+ ...(firstFeat.next_ref && { next_ref: firstFeat.next_ref }),
20
+ ...(firstFeat.next_pos !== undefined && { next_pos: firstFeat.next_pos }),
21
+ ...(firstFeat.SA && { SA: firstFeat.SA }),
22
+ subfeatures: chain.map((feat, idx) => ({
23
+ uniqueId: `${feat.id}_${idx}`,
24
+ id: `${feat.id}_${idx}`,
25
+ name: feat.name,
26
+ refName: feat.refName,
27
+ start: feat.start,
28
+ end: feat.end,
29
+ strand: feat.strand,
30
+ type: 'alignment_part',
31
+ flags: feat.flags,
32
+ tlen: feat.tlen,
33
+ pair_orientation: feat.pair_orientation,
34
+ clipLengthAtStartOfRead: feat.clipLengthAtStartOfRead,
35
+ ...(feat.next_ref && { next_ref: feat.next_ref }),
36
+ ...(feat.next_pos !== undefined && { next_pos: feat.next_pos }),
37
+ ...(feat.SA && { SA: feat.SA }),
38
+ })),
39
+ });
40
+ }
@@ -1,4 +1,4 @@
1
- import type { LinearReadArcsDisplayModel } from '../model';
1
+ import type { LinearReadArcsDisplayModel } from '../model.ts';
2
2
  declare const LinearReadArcsReactComponent: ({ model, }: {
3
3
  model: LinearReadArcsDisplayModel;
4
4
  }) => import("react/jsx-runtime").JSX.Element;
@@ -1,18 +1,18 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { useCallback } from 'react';
3
3
  import { getContainingView } from '@jbrowse/core/util';
4
+ import { NonBlockCanvasDisplayComponent as BaseDisplayComponent } from '@jbrowse/plugin-linear-genome-view';
4
5
  import { observer } from 'mobx-react';
5
- import BaseDisplayComponent from '../../shared/components/BaseDisplayComponent';
6
- const Arcs = observer(function ({ model, }) {
6
+ const Arcs = observer(function Arcs({ model, }) {
7
7
  const view = getContainingView(model);
8
8
  const width = Math.round(view.dynamicBlocks.totalWidthPx);
9
9
  const height = model.height;
10
10
  const cb = useCallback((ref) => {
11
11
  model.setRef(ref);
12
12
  }, [model, width, height]);
13
- return (_jsx("canvas", { "data-testid": "arc-canvas", ref: cb, style: { width, height, position: 'absolute' }, width: width * 2, height: height * 2 }));
13
+ return (_jsx("div", { style: { position: 'relative', width, height }, children: _jsx("canvas", { "data-testid": "arc-canvas", ref: cb, style: { width, height, position: 'absolute' }, width: width * 2, height: height * 2 }) }));
14
14
  });
15
- const LinearReadArcsReactComponent = observer(function ({ model, }) {
15
+ const LinearReadArcsReactComponent = observer(function LinearReadArcsReactComponent({ model, }) {
16
16
  return (_jsx(BaseDisplayComponent, { model: model, children: _jsx(Arcs, { model: model }) }));
17
17
  });
18
18
  export default LinearReadArcsReactComponent;
@@ -1,5 +1,5 @@
1
1
  import type PluginManager from '@jbrowse/core/PluginManager';
2
- declare function configSchemaF(pluginManager: PluginManager): import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
2
+ declare function configSchemaF(pluginManager: PluginManager): import("node_modules/@jbrowse/core/src/configuration/configurationSchema.ts").ConfigurationSchemaType<{
3
3
  maxFeatureScreenDensity: {
4
4
  type: string;
5
5
  description: string;
@@ -28,9 +28,9 @@ declare function configSchemaF(pluginManager: PluginManager): import("@jbrowse/c
28
28
  flagExclude: number;
29
29
  };
30
30
  };
31
- }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
32
- renderer: import("mobx-state-tree").IAnyModelType;
33
- }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
31
+ }, import("node_modules/@jbrowse/core/src/configuration/configurationSchema.ts").ConfigurationSchemaOptions<import("node_modules/@jbrowse/core/src/configuration/configurationSchema.ts").ConfigurationSchemaType<{
32
+ renderer: import("@jbrowse/mobx-state-tree").IAnyModelType;
33
+ }, import("node_modules/@jbrowse/core/src/configuration/configurationSchema.ts").ConfigurationSchemaOptions<import("node_modules/@jbrowse/core/src/configuration/configurationSchema.ts").ConfigurationSchemaType<{
34
34
  maxFeatureScreenDensity: {
35
35
  type: string;
36
36
  description: string;
@@ -57,5 +57,5 @@ declare function configSchemaF(pluginManager: PluginManager): import("@jbrowse/c
57
57
  description: string;
58
58
  defaultValue: never[];
59
59
  };
60
- }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "displayId">>, undefined>>, undefined>>;
60
+ }, import("node_modules/@jbrowse/core/src/configuration/configurationSchema.ts").ConfigurationSchemaOptions<undefined, "displayId">>, undefined>>, undefined>>;
61
61
  export default configSchemaF;
@@ -1,6 +1,6 @@
1
1
  import { ConfigurationSchema } from '@jbrowse/core/configuration';
2
2
  import { linearBasicDisplayConfigSchemaFactory } from '@jbrowse/plugin-linear-genome-view';
3
- import { defaultFilterFlags } from '../shared/util';
3
+ import { defaultFilterFlags } from "../shared/util.js";
4
4
  function configSchemaF(pluginManager) {
5
5
  return ConfigurationSchema('LinearReadArcsDisplay', {
6
6
  maxFeatureScreenDensity: {
@@ -1,19 +1,20 @@
1
1
  import { lazy } from 'react';
2
2
  import DisplayType from '@jbrowse/core/pluggableElementTypes/DisplayType';
3
- import configSchemaF from './configSchema';
4
- import stateModelF from './model';
3
+ import configSchemaF from "./configSchema.js";
4
+ import stateModelF from "./model.js";
5
5
  export default function register(pluginManager) {
6
6
  pluginManager.addDisplayType(() => {
7
7
  const configSchema = configSchemaF(pluginManager);
8
8
  return new DisplayType({
9
9
  name: 'LinearReadArcsDisplay',
10
- displayName: 'Arc display',
10
+ displayName: 'Read arc display',
11
+ helpText: 'Connect paired end reads and long split reads using arcs',
11
12
  configSchema,
12
13
  stateModel: stateModelF(configSchema),
13
14
  trackType: 'AlignmentsTrack',
14
15
  viewType: 'LinearGenomeView',
15
16
  subDisplay: { type: 'LinearAlignmentsDisplay', lowerPanel: true },
16
- ReactComponent: lazy(() => import('./components/ReactComponent')),
17
+ ReactComponent: lazy(() => import("./components/LinearReadArcsReactComponent.js")),
17
18
  });
18
19
  });
19
20
  }