@jbrowse/plugin-linear-genome-view 2.6.1 → 2.6.2

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 (370) hide show
  1. package/dist/BaseLinearDisplay/components/BaseLinearDisplay.js +0 -1
  2. package/dist/BaseLinearDisplay/components/Block.js +0 -1
  3. package/dist/BaseLinearDisplay/components/BlockMsg.js +0 -1
  4. package/dist/BaseLinearDisplay/components/LinearBlocks.js +0 -1
  5. package/dist/BaseLinearDisplay/components/ServerSideRenderedBlockContent.js +0 -1
  6. package/dist/BaseLinearDisplay/components/TooLargeMessage.js +0 -1
  7. package/dist/BaseLinearDisplay/components/Tooltip.js +0 -1
  8. package/dist/BaseLinearDisplay/index.js +0 -1
  9. package/dist/BaseLinearDisplay/models/BaseLinearDisplayModel.js +0 -1
  10. package/dist/BaseLinearDisplay/models/FeatureDensityMixin.js +0 -1
  11. package/dist/BaseLinearDisplay/models/TrackHeightMixin.js +0 -1
  12. package/dist/BaseLinearDisplay/models/autorunFeatureDensityStats.js +0 -1
  13. package/dist/BaseLinearDisplay/models/configSchema.js +0 -1
  14. package/dist/BaseLinearDisplay/models/renderSvg.js +0 -1
  15. package/dist/BaseLinearDisplay/models/serverSideRenderedBlock.js +0 -1
  16. package/dist/BaseLinearDisplay/models/util.js +0 -1
  17. package/dist/BasicTrack/configSchema.js +0 -1
  18. package/dist/BasicTrack/index.js +0 -1
  19. package/dist/FeatureTrack/configSchema.js +0 -1
  20. package/dist/FeatureTrack/index.js +0 -1
  21. package/dist/LaunchLinearGenomeView/index.js +0 -1
  22. package/dist/LinearBareDisplay/configSchema.js +0 -1
  23. package/dist/LinearBareDisplay/index.js +0 -1
  24. package/dist/LinearBareDisplay/model.js +0 -1
  25. package/dist/LinearBasicDisplay/components/SetMaxHeight.js +0 -1
  26. package/dist/LinearBasicDisplay/configSchema.js +0 -1
  27. package/dist/LinearBasicDisplay/index.js +0 -1
  28. package/dist/LinearBasicDisplay/model.js +0 -1
  29. package/dist/LinearGenomeView/components/CenterLine.js +0 -1
  30. package/dist/LinearGenomeView/components/Cytobands.js +0 -1
  31. package/dist/LinearGenomeView/components/ExportSvgDialog.js +0 -1
  32. package/dist/LinearGenomeView/components/GetSequenceDialog.js +0 -1
  33. package/dist/LinearGenomeView/components/Gridlines.js +0 -1
  34. package/dist/LinearGenomeView/components/Header.js +0 -1
  35. package/dist/LinearGenomeView/components/ImportForm.js +0 -1
  36. package/dist/LinearGenomeView/components/LinearGenomeView.js +0 -1
  37. package/dist/LinearGenomeView/components/MiniControls.js +0 -1
  38. package/dist/LinearGenomeView/components/OverviewRubberband.js +0 -1
  39. package/dist/LinearGenomeView/components/OverviewScalebar.js +0 -1
  40. package/dist/LinearGenomeView/components/RefNameAutocomplete/AutocompleteTextField.js +0 -1
  41. package/dist/LinearGenomeView/components/RefNameAutocomplete/EndAdornment.js +0 -1
  42. package/dist/LinearGenomeView/components/RefNameAutocomplete/HelpDialog.js +0 -1
  43. package/dist/LinearGenomeView/components/RefNameAutocomplete/index.js +0 -1
  44. package/dist/LinearGenomeView/components/RefNameAutocomplete/util.js +0 -1
  45. package/dist/LinearGenomeView/components/Rubberband.js +0 -1
  46. package/dist/LinearGenomeView/components/RubberbandSpan.js +0 -1
  47. package/dist/LinearGenomeView/components/Scalebar.js +0 -1
  48. package/dist/LinearGenomeView/components/SearchBox.js +0 -1
  49. package/dist/LinearGenomeView/components/SearchResultsDialog.js +0 -1
  50. package/dist/LinearGenomeView/components/SearchResultsTable.js +0 -1
  51. package/dist/LinearGenomeView/components/SequenceSearchDialog.js +0 -1
  52. package/dist/LinearGenomeView/components/TrackContainer.js +0 -1
  53. package/dist/LinearGenomeView/components/TrackLabel.js +1 -2
  54. package/dist/LinearGenomeView/components/TrackLabelContainer.js +0 -1
  55. package/dist/LinearGenomeView/components/TrackRenderingContainer.js +0 -1
  56. package/dist/LinearGenomeView/components/TracksContainer.js +0 -1
  57. package/dist/LinearGenomeView/components/VerticalGuide.js +0 -1
  58. package/dist/LinearGenomeView/components/ZoomControls.js +0 -1
  59. package/dist/LinearGenomeView/components/hooks.js +0 -1
  60. package/dist/LinearGenomeView/components/util.js +0 -1
  61. package/dist/LinearGenomeView/index.js +0 -1
  62. package/dist/LinearGenomeView/model.js +0 -1
  63. package/dist/LinearGenomeView/svgcomponents/SVGBackground.js +0 -1
  64. package/dist/LinearGenomeView/svgcomponents/SVGHeader.js +0 -1
  65. package/dist/LinearGenomeView/svgcomponents/SVGLinearGenomeView.js +0 -1
  66. package/dist/LinearGenomeView/svgcomponents/SVGRegionSeparators.js +0 -1
  67. package/dist/LinearGenomeView/svgcomponents/SVGRuler.js +0 -1
  68. package/dist/LinearGenomeView/svgcomponents/SVGScalebar.js +0 -1
  69. package/dist/LinearGenomeView/svgcomponents/SVGTrackLabel.js +0 -1
  70. package/dist/LinearGenomeView/svgcomponents/SVGTracks.js +0 -1
  71. package/dist/LinearGenomeView/util.js +0 -1
  72. package/dist/index.js +0 -1
  73. package/esm/BaseLinearDisplay/components/BaseLinearDisplay.js +0 -1
  74. package/esm/BaseLinearDisplay/components/Block.js +0 -1
  75. package/esm/BaseLinearDisplay/components/BlockMsg.js +0 -1
  76. package/esm/BaseLinearDisplay/components/LinearBlocks.js +0 -1
  77. package/esm/BaseLinearDisplay/components/ServerSideRenderedBlockContent.js +0 -1
  78. package/esm/BaseLinearDisplay/components/TooLargeMessage.js +0 -1
  79. package/esm/BaseLinearDisplay/components/Tooltip.js +0 -1
  80. package/esm/BaseLinearDisplay/index.js +0 -1
  81. package/esm/BaseLinearDisplay/models/BaseLinearDisplayModel.js +0 -1
  82. package/esm/BaseLinearDisplay/models/FeatureDensityMixin.js +0 -1
  83. package/esm/BaseLinearDisplay/models/TrackHeightMixin.js +0 -1
  84. package/esm/BaseLinearDisplay/models/autorunFeatureDensityStats.js +0 -1
  85. package/esm/BaseLinearDisplay/models/configSchema.js +0 -1
  86. package/esm/BaseLinearDisplay/models/renderSvg.js +0 -1
  87. package/esm/BaseLinearDisplay/models/serverSideRenderedBlock.js +0 -1
  88. package/esm/BaseLinearDisplay/models/util.js +0 -1
  89. package/esm/BasicTrack/configSchema.js +0 -1
  90. package/esm/BasicTrack/index.js +0 -1
  91. package/esm/FeatureTrack/configSchema.js +0 -1
  92. package/esm/FeatureTrack/index.js +0 -1
  93. package/esm/LaunchLinearGenomeView/index.js +0 -1
  94. package/esm/LinearBareDisplay/configSchema.js +0 -1
  95. package/esm/LinearBareDisplay/index.js +0 -1
  96. package/esm/LinearBareDisplay/model.js +0 -1
  97. package/esm/LinearBasicDisplay/components/SetMaxHeight.js +0 -1
  98. package/esm/LinearBasicDisplay/configSchema.js +0 -1
  99. package/esm/LinearBasicDisplay/index.js +0 -1
  100. package/esm/LinearBasicDisplay/model.js +0 -1
  101. package/esm/LinearGenomeView/components/CenterLine.js +0 -1
  102. package/esm/LinearGenomeView/components/Cytobands.js +0 -1
  103. package/esm/LinearGenomeView/components/ExportSvgDialog.js +0 -1
  104. package/esm/LinearGenomeView/components/GetSequenceDialog.js +0 -1
  105. package/esm/LinearGenomeView/components/Gridlines.js +0 -1
  106. package/esm/LinearGenomeView/components/Header.js +0 -1
  107. package/esm/LinearGenomeView/components/ImportForm.js +0 -1
  108. package/esm/LinearGenomeView/components/LinearGenomeView.js +0 -1
  109. package/esm/LinearGenomeView/components/MiniControls.js +0 -1
  110. package/esm/LinearGenomeView/components/OverviewRubberband.js +0 -1
  111. package/esm/LinearGenomeView/components/OverviewScalebar.js +0 -1
  112. package/esm/LinearGenomeView/components/RefNameAutocomplete/AutocompleteTextField.js +0 -1
  113. package/esm/LinearGenomeView/components/RefNameAutocomplete/EndAdornment.js +0 -1
  114. package/esm/LinearGenomeView/components/RefNameAutocomplete/HelpDialog.js +0 -1
  115. package/esm/LinearGenomeView/components/RefNameAutocomplete/index.js +0 -1
  116. package/esm/LinearGenomeView/components/RefNameAutocomplete/util.js +0 -1
  117. package/esm/LinearGenomeView/components/Rubberband.js +0 -1
  118. package/esm/LinearGenomeView/components/RubberbandSpan.js +0 -1
  119. package/esm/LinearGenomeView/components/Scalebar.js +0 -1
  120. package/esm/LinearGenomeView/components/SearchBox.js +0 -1
  121. package/esm/LinearGenomeView/components/SearchResultsDialog.js +0 -1
  122. package/esm/LinearGenomeView/components/SearchResultsTable.js +0 -1
  123. package/esm/LinearGenomeView/components/SequenceSearchDialog.js +0 -1
  124. package/esm/LinearGenomeView/components/TrackContainer.js +0 -1
  125. package/esm/LinearGenomeView/components/TrackLabel.js +1 -2
  126. package/esm/LinearGenomeView/components/TrackLabelContainer.js +0 -1
  127. package/esm/LinearGenomeView/components/TrackRenderingContainer.js +0 -1
  128. package/esm/LinearGenomeView/components/TracksContainer.js +0 -1
  129. package/esm/LinearGenomeView/components/VerticalGuide.js +0 -1
  130. package/esm/LinearGenomeView/components/ZoomControls.js +0 -1
  131. package/esm/LinearGenomeView/components/hooks.js +0 -1
  132. package/esm/LinearGenomeView/components/util.js +0 -1
  133. package/esm/LinearGenomeView/index.js +0 -1
  134. package/esm/LinearGenomeView/model.js +0 -1
  135. package/esm/LinearGenomeView/svgcomponents/SVGBackground.js +0 -1
  136. package/esm/LinearGenomeView/svgcomponents/SVGHeader.js +0 -1
  137. package/esm/LinearGenomeView/svgcomponents/SVGLinearGenomeView.js +0 -1
  138. package/esm/LinearGenomeView/svgcomponents/SVGRegionSeparators.js +0 -1
  139. package/esm/LinearGenomeView/svgcomponents/SVGRuler.js +0 -1
  140. package/esm/LinearGenomeView/svgcomponents/SVGScalebar.js +0 -1
  141. package/esm/LinearGenomeView/svgcomponents/SVGTrackLabel.js +0 -1
  142. package/esm/LinearGenomeView/svgcomponents/SVGTracks.js +0 -1
  143. package/esm/LinearGenomeView/util.js +0 -1
  144. package/esm/index.js +0 -1
  145. package/package.json +3 -4
  146. package/dist/BaseLinearDisplay/components/BaseLinearDisplay.js.map +0 -1
  147. package/dist/BaseLinearDisplay/components/Block.js.map +0 -1
  148. package/dist/BaseLinearDisplay/components/BlockMsg.js.map +0 -1
  149. package/dist/BaseLinearDisplay/components/LinearBlocks.js.map +0 -1
  150. package/dist/BaseLinearDisplay/components/ServerSideRenderedBlockContent.js.map +0 -1
  151. package/dist/BaseLinearDisplay/components/TooLargeMessage.js.map +0 -1
  152. package/dist/BaseLinearDisplay/components/Tooltip.js.map +0 -1
  153. package/dist/BaseLinearDisplay/index.js.map +0 -1
  154. package/dist/BaseLinearDisplay/models/BaseLinearDisplayModel.js.map +0 -1
  155. package/dist/BaseLinearDisplay/models/FeatureDensityMixin.js.map +0 -1
  156. package/dist/BaseLinearDisplay/models/TrackHeightMixin.js.map +0 -1
  157. package/dist/BaseLinearDisplay/models/autorunFeatureDensityStats.js.map +0 -1
  158. package/dist/BaseLinearDisplay/models/configSchema.js.map +0 -1
  159. package/dist/BaseLinearDisplay/models/renderSvg.js.map +0 -1
  160. package/dist/BaseLinearDisplay/models/serverSideRenderedBlock.js.map +0 -1
  161. package/dist/BaseLinearDisplay/models/util.js.map +0 -1
  162. package/dist/BasicTrack/configSchema.js.map +0 -1
  163. package/dist/BasicTrack/index.js.map +0 -1
  164. package/dist/FeatureTrack/configSchema.js.map +0 -1
  165. package/dist/FeatureTrack/index.js.map +0 -1
  166. package/dist/LaunchLinearGenomeView/index.js.map +0 -1
  167. package/dist/LinearBareDisplay/configSchema.js.map +0 -1
  168. package/dist/LinearBareDisplay/index.js.map +0 -1
  169. package/dist/LinearBareDisplay/model.js.map +0 -1
  170. package/dist/LinearBasicDisplay/components/SetMaxHeight.js.map +0 -1
  171. package/dist/LinearBasicDisplay/configSchema.js.map +0 -1
  172. package/dist/LinearBasicDisplay/index.js.map +0 -1
  173. package/dist/LinearBasicDisplay/model.js.map +0 -1
  174. package/dist/LinearGenomeView/components/CenterLine.js.map +0 -1
  175. package/dist/LinearGenomeView/components/Cytobands.js.map +0 -1
  176. package/dist/LinearGenomeView/components/ExportSvgDialog.js.map +0 -1
  177. package/dist/LinearGenomeView/components/GetSequenceDialog.js.map +0 -1
  178. package/dist/LinearGenomeView/components/Gridlines.js.map +0 -1
  179. package/dist/LinearGenomeView/components/Header.js.map +0 -1
  180. package/dist/LinearGenomeView/components/ImportForm.js.map +0 -1
  181. package/dist/LinearGenomeView/components/LinearGenomeView.js.map +0 -1
  182. package/dist/LinearGenomeView/components/MiniControls.js.map +0 -1
  183. package/dist/LinearGenomeView/components/OverviewRubberband.js.map +0 -1
  184. package/dist/LinearGenomeView/components/OverviewScalebar.js.map +0 -1
  185. package/dist/LinearGenomeView/components/RefNameAutocomplete/AutocompleteTextField.js.map +0 -1
  186. package/dist/LinearGenomeView/components/RefNameAutocomplete/EndAdornment.js.map +0 -1
  187. package/dist/LinearGenomeView/components/RefNameAutocomplete/HelpDialog.js.map +0 -1
  188. package/dist/LinearGenomeView/components/RefNameAutocomplete/index.js.map +0 -1
  189. package/dist/LinearGenomeView/components/RefNameAutocomplete/util.js.map +0 -1
  190. package/dist/LinearGenomeView/components/Rubberband.js.map +0 -1
  191. package/dist/LinearGenomeView/components/RubberbandSpan.js.map +0 -1
  192. package/dist/LinearGenomeView/components/Scalebar.js.map +0 -1
  193. package/dist/LinearGenomeView/components/SearchBox.js.map +0 -1
  194. package/dist/LinearGenomeView/components/SearchResultsDialog.js.map +0 -1
  195. package/dist/LinearGenomeView/components/SearchResultsTable.js.map +0 -1
  196. package/dist/LinearGenomeView/components/SequenceSearchDialog.js.map +0 -1
  197. package/dist/LinearGenomeView/components/TrackContainer.js.map +0 -1
  198. package/dist/LinearGenomeView/components/TrackLabel.js.map +0 -1
  199. package/dist/LinearGenomeView/components/TrackLabelContainer.js.map +0 -1
  200. package/dist/LinearGenomeView/components/TrackRenderingContainer.js.map +0 -1
  201. package/dist/LinearGenomeView/components/TracksContainer.js.map +0 -1
  202. package/dist/LinearGenomeView/components/VerticalGuide.js.map +0 -1
  203. package/dist/LinearGenomeView/components/ZoomControls.js.map +0 -1
  204. package/dist/LinearGenomeView/components/hooks.js.map +0 -1
  205. package/dist/LinearGenomeView/components/util.js.map +0 -1
  206. package/dist/LinearGenomeView/index.js.map +0 -1
  207. package/dist/LinearGenomeView/model.js.map +0 -1
  208. package/dist/LinearGenomeView/svgcomponents/SVGBackground.js.map +0 -1
  209. package/dist/LinearGenomeView/svgcomponents/SVGHeader.js.map +0 -1
  210. package/dist/LinearGenomeView/svgcomponents/SVGLinearGenomeView.js.map +0 -1
  211. package/dist/LinearGenomeView/svgcomponents/SVGRegionSeparators.js.map +0 -1
  212. package/dist/LinearGenomeView/svgcomponents/SVGRuler.js.map +0 -1
  213. package/dist/LinearGenomeView/svgcomponents/SVGScalebar.js.map +0 -1
  214. package/dist/LinearGenomeView/svgcomponents/SVGTrackLabel.js.map +0 -1
  215. package/dist/LinearGenomeView/svgcomponents/SVGTracks.js.map +0 -1
  216. package/dist/LinearGenomeView/util.js.map +0 -1
  217. package/dist/index.js.map +0 -1
  218. package/esm/BaseLinearDisplay/components/BaseLinearDisplay.js.map +0 -1
  219. package/esm/BaseLinearDisplay/components/Block.js.map +0 -1
  220. package/esm/BaseLinearDisplay/components/BlockMsg.js.map +0 -1
  221. package/esm/BaseLinearDisplay/components/LinearBlocks.js.map +0 -1
  222. package/esm/BaseLinearDisplay/components/ServerSideRenderedBlockContent.js.map +0 -1
  223. package/esm/BaseLinearDisplay/components/TooLargeMessage.js.map +0 -1
  224. package/esm/BaseLinearDisplay/components/Tooltip.js.map +0 -1
  225. package/esm/BaseLinearDisplay/index.js.map +0 -1
  226. package/esm/BaseLinearDisplay/models/BaseLinearDisplayModel.js.map +0 -1
  227. package/esm/BaseLinearDisplay/models/FeatureDensityMixin.js.map +0 -1
  228. package/esm/BaseLinearDisplay/models/TrackHeightMixin.js.map +0 -1
  229. package/esm/BaseLinearDisplay/models/autorunFeatureDensityStats.js.map +0 -1
  230. package/esm/BaseLinearDisplay/models/configSchema.js.map +0 -1
  231. package/esm/BaseLinearDisplay/models/renderSvg.js.map +0 -1
  232. package/esm/BaseLinearDisplay/models/serverSideRenderedBlock.js.map +0 -1
  233. package/esm/BaseLinearDisplay/models/util.js.map +0 -1
  234. package/esm/BasicTrack/configSchema.js.map +0 -1
  235. package/esm/BasicTrack/index.js.map +0 -1
  236. package/esm/FeatureTrack/configSchema.js.map +0 -1
  237. package/esm/FeatureTrack/index.js.map +0 -1
  238. package/esm/LaunchLinearGenomeView/index.js.map +0 -1
  239. package/esm/LinearBareDisplay/configSchema.js.map +0 -1
  240. package/esm/LinearBareDisplay/index.js.map +0 -1
  241. package/esm/LinearBareDisplay/model.js.map +0 -1
  242. package/esm/LinearBasicDisplay/components/SetMaxHeight.js.map +0 -1
  243. package/esm/LinearBasicDisplay/configSchema.js.map +0 -1
  244. package/esm/LinearBasicDisplay/index.js.map +0 -1
  245. package/esm/LinearBasicDisplay/model.js.map +0 -1
  246. package/esm/LinearGenomeView/components/CenterLine.js.map +0 -1
  247. package/esm/LinearGenomeView/components/Cytobands.js.map +0 -1
  248. package/esm/LinearGenomeView/components/ExportSvgDialog.js.map +0 -1
  249. package/esm/LinearGenomeView/components/GetSequenceDialog.js.map +0 -1
  250. package/esm/LinearGenomeView/components/Gridlines.js.map +0 -1
  251. package/esm/LinearGenomeView/components/Header.js.map +0 -1
  252. package/esm/LinearGenomeView/components/ImportForm.js.map +0 -1
  253. package/esm/LinearGenomeView/components/LinearGenomeView.js.map +0 -1
  254. package/esm/LinearGenomeView/components/MiniControls.js.map +0 -1
  255. package/esm/LinearGenomeView/components/OverviewRubberband.js.map +0 -1
  256. package/esm/LinearGenomeView/components/OverviewScalebar.js.map +0 -1
  257. package/esm/LinearGenomeView/components/RefNameAutocomplete/AutocompleteTextField.js.map +0 -1
  258. package/esm/LinearGenomeView/components/RefNameAutocomplete/EndAdornment.js.map +0 -1
  259. package/esm/LinearGenomeView/components/RefNameAutocomplete/HelpDialog.js.map +0 -1
  260. package/esm/LinearGenomeView/components/RefNameAutocomplete/index.js.map +0 -1
  261. package/esm/LinearGenomeView/components/RefNameAutocomplete/util.js.map +0 -1
  262. package/esm/LinearGenomeView/components/Rubberband.js.map +0 -1
  263. package/esm/LinearGenomeView/components/RubberbandSpan.js.map +0 -1
  264. package/esm/LinearGenomeView/components/Scalebar.js.map +0 -1
  265. package/esm/LinearGenomeView/components/SearchBox.js.map +0 -1
  266. package/esm/LinearGenomeView/components/SearchResultsDialog.js.map +0 -1
  267. package/esm/LinearGenomeView/components/SearchResultsTable.js.map +0 -1
  268. package/esm/LinearGenomeView/components/SequenceSearchDialog.js.map +0 -1
  269. package/esm/LinearGenomeView/components/TrackContainer.js.map +0 -1
  270. package/esm/LinearGenomeView/components/TrackLabel.js.map +0 -1
  271. package/esm/LinearGenomeView/components/TrackLabelContainer.js.map +0 -1
  272. package/esm/LinearGenomeView/components/TrackRenderingContainer.js.map +0 -1
  273. package/esm/LinearGenomeView/components/TracksContainer.js.map +0 -1
  274. package/esm/LinearGenomeView/components/VerticalGuide.js.map +0 -1
  275. package/esm/LinearGenomeView/components/ZoomControls.js.map +0 -1
  276. package/esm/LinearGenomeView/components/hooks.js.map +0 -1
  277. package/esm/LinearGenomeView/components/util.js.map +0 -1
  278. package/esm/LinearGenomeView/index.js.map +0 -1
  279. package/esm/LinearGenomeView/model.js.map +0 -1
  280. package/esm/LinearGenomeView/svgcomponents/SVGBackground.js.map +0 -1
  281. package/esm/LinearGenomeView/svgcomponents/SVGHeader.js.map +0 -1
  282. package/esm/LinearGenomeView/svgcomponents/SVGLinearGenomeView.js.map +0 -1
  283. package/esm/LinearGenomeView/svgcomponents/SVGRegionSeparators.js.map +0 -1
  284. package/esm/LinearGenomeView/svgcomponents/SVGRuler.js.map +0 -1
  285. package/esm/LinearGenomeView/svgcomponents/SVGScalebar.js.map +0 -1
  286. package/esm/LinearGenomeView/svgcomponents/SVGTrackLabel.js.map +0 -1
  287. package/esm/LinearGenomeView/svgcomponents/SVGTracks.js.map +0 -1
  288. package/esm/LinearGenomeView/util.js.map +0 -1
  289. package/esm/index.js.map +0 -1
  290. package/src/BaseLinearDisplay/components/BaseLinearDisplay.tsx +0 -117
  291. package/src/BaseLinearDisplay/components/Block.tsx +0 -77
  292. package/src/BaseLinearDisplay/components/BlockMsg.tsx +0 -42
  293. package/src/BaseLinearDisplay/components/LinearBlocks.tsx +0 -119
  294. package/src/BaseLinearDisplay/components/ServerSideRenderedBlockContent.tsx +0 -69
  295. package/src/BaseLinearDisplay/components/TooLargeMessage.tsx +0 -36
  296. package/src/BaseLinearDisplay/components/Tooltip.tsx +0 -107
  297. package/src/BaseLinearDisplay/index.ts +0 -16
  298. package/src/BaseLinearDisplay/models/BaseLinearDisplayModel.tsx +0 -407
  299. package/src/BaseLinearDisplay/models/FeatureDensityMixin.tsx +0 -213
  300. package/src/BaseLinearDisplay/models/TrackHeightMixin.tsx +0 -59
  301. package/src/BaseLinearDisplay/models/autorunFeatureDensityStats.ts +0 -46
  302. package/src/BaseLinearDisplay/models/configSchema.ts +0 -60
  303. package/src/BaseLinearDisplay/models/renderSvg.tsx +0 -101
  304. package/src/BaseLinearDisplay/models/serverSideRenderedBlock.ts +0 -320
  305. package/src/BaseLinearDisplay/models/util.ts +0 -67
  306. package/src/BasicTrack/configSchema.ts +0 -24
  307. package/src/BasicTrack/index.ts +0 -18
  308. package/src/FeatureTrack/configSchema.ts +0 -28
  309. package/src/FeatureTrack/index.ts +0 -18
  310. package/src/LaunchLinearGenomeView/index.ts +0 -66
  311. package/src/LinearBareDisplay/configSchema.ts +0 -28
  312. package/src/LinearBareDisplay/index.test.js +0 -34
  313. package/src/LinearBareDisplay/index.ts +0 -25
  314. package/src/LinearBareDisplay/model.ts +0 -54
  315. package/src/LinearBasicDisplay/components/SetMaxHeight.tsx +0 -73
  316. package/src/LinearBasicDisplay/configSchema.ts +0 -28
  317. package/src/LinearBasicDisplay/index.ts +0 -25
  318. package/src/LinearBasicDisplay/model.ts +0 -215
  319. package/src/LinearGenomeView/README.md +0 -9
  320. package/src/LinearGenomeView/components/CenterLine.tsx +0 -65
  321. package/src/LinearGenomeView/components/Cytobands.tsx +0 -154
  322. package/src/LinearGenomeView/components/ExportSvgDialog.tsx +0 -149
  323. package/src/LinearGenomeView/components/GetSequenceDialog.tsx +0 -269
  324. package/src/LinearGenomeView/components/Gridlines.tsx +0 -119
  325. package/src/LinearGenomeView/components/Header.tsx +0 -126
  326. package/src/LinearGenomeView/components/ImportForm.tsx +0 -217
  327. package/src/LinearGenomeView/components/LinearGenomeView.test.tsx +0 -167
  328. package/src/LinearGenomeView/components/LinearGenomeView.tsx +0 -75
  329. package/src/LinearGenomeView/components/MiniControls.tsx +0 -54
  330. package/src/LinearGenomeView/components/OverviewRubberband.tsx +0 -219
  331. package/src/LinearGenomeView/components/OverviewScalebar.tsx +0 -351
  332. package/src/LinearGenomeView/components/RefNameAutocomplete/AutocompleteTextField.tsx +0 -53
  333. package/src/LinearGenomeView/components/RefNameAutocomplete/EndAdornment.tsx +0 -44
  334. package/src/LinearGenomeView/components/RefNameAutocomplete/HelpDialog.tsx +0 -69
  335. package/src/LinearGenomeView/components/RefNameAutocomplete/index.tsx +0 -160
  336. package/src/LinearGenomeView/components/RefNameAutocomplete/util.ts +0 -65
  337. package/src/LinearGenomeView/components/Rubberband.tsx +0 -89
  338. package/src/LinearGenomeView/components/RubberbandSpan.tsx +0 -99
  339. package/src/LinearGenomeView/components/Scalebar.test.tsx +0 -145
  340. package/src/LinearGenomeView/components/Scalebar.tsx +0 -199
  341. package/src/LinearGenomeView/components/SearchBox.tsx +0 -123
  342. package/src/LinearGenomeView/components/SearchResultsDialog.tsx +0 -57
  343. package/src/LinearGenomeView/components/SearchResultsTable.tsx +0 -121
  344. package/src/LinearGenomeView/components/SequenceSearchDialog.tsx +0 -136
  345. package/src/LinearGenomeView/components/TrackContainer.tsx +0 -92
  346. package/src/LinearGenomeView/components/TrackLabel.tsx +0 -123
  347. package/src/LinearGenomeView/components/TrackLabelContainer.tsx +0 -48
  348. package/src/LinearGenomeView/components/TrackRenderingContainer.tsx +0 -96
  349. package/src/LinearGenomeView/components/TracksContainer.tsx +0 -114
  350. package/src/LinearGenomeView/components/VerticalGuide.tsx +0 -37
  351. package/src/LinearGenomeView/components/ZoomControls.tsx +0 -62
  352. package/src/LinearGenomeView/components/__snapshots__/LinearGenomeView.test.tsx.snap +0 -1520
  353. package/src/LinearGenomeView/components/hooks.ts +0 -306
  354. package/src/LinearGenomeView/components/util.ts +0 -76
  355. package/src/LinearGenomeView/hg38DisplayedRegions.json +0 -3187
  356. package/src/LinearGenomeView/index.test.ts +0 -993
  357. package/src/LinearGenomeView/index.ts +0 -17
  358. package/src/LinearGenomeView/model.ts +0 -1533
  359. package/src/LinearGenomeView/svgcomponents/SVGBackground.tsx +0 -21
  360. package/src/LinearGenomeView/svgcomponents/SVGHeader.tsx +0 -95
  361. package/src/LinearGenomeView/svgcomponents/SVGLinearGenomeView.tsx +0 -114
  362. package/src/LinearGenomeView/svgcomponents/SVGRegionSeparators.tsx +0 -31
  363. package/src/LinearGenomeView/svgcomponents/SVGRuler.tsx +0 -125
  364. package/src/LinearGenomeView/svgcomponents/SVGScalebar.tsx +0 -57
  365. package/src/LinearGenomeView/svgcomponents/SVGTrackLabel.tsx +0 -47
  366. package/src/LinearGenomeView/svgcomponents/SVGTracks.tsx +0 -67
  367. package/src/LinearGenomeView/util.test.ts +0 -33
  368. package/src/LinearGenomeView/util.ts +0 -182
  369. package/src/LinearGenomeView/volvoxDisplayedRegions.json +0 -16
  370. package/src/index.ts +0 -91
@@ -1,66 +0,0 @@
1
- import PluginManager from '@jbrowse/core/PluginManager'
2
- import { AbstractSessionModel, when } from '@jbrowse/core/util'
3
- import { LinearGenomeViewModel } from '../LinearGenomeView'
4
-
5
- type LGV = LinearGenomeViewModel
6
-
7
- export default (pluginManager: PluginManager) => {
8
- pluginManager.addToExtensionPoint(
9
- 'LaunchView-LinearGenomeView',
10
- // @ts-expect-error
11
- async ({
12
- session,
13
- assembly,
14
- loc,
15
- tracks = [],
16
- }: {
17
- session: AbstractSessionModel
18
- assembly?: string
19
- loc: string
20
- tracks?: string[]
21
- }) => {
22
- try {
23
- const { assemblyManager } = session
24
- const view = session.addView('LinearGenomeView', {}) as LGV
25
-
26
- await when(() => !!view.volatileWidth)
27
-
28
- if (!assembly) {
29
- throw new Error(
30
- 'No assembly provided when launching linear genome view',
31
- )
32
- }
33
-
34
- const asm = await assemblyManager.waitForAssembly(assembly)
35
- if (!asm) {
36
- throw new Error(
37
- `Assembly "${assembly}" not found when launching linear genome view`,
38
- )
39
- }
40
-
41
- await view.navToLocString(loc, assembly)
42
-
43
- const idsNotFound = [] as string[]
44
- tracks.forEach(track => {
45
- try {
46
- view.showTrack(track)
47
- } catch (e) {
48
- if (`${e}`.match('Could not resolve identifier')) {
49
- idsNotFound.push(track)
50
- } else {
51
- throw e
52
- }
53
- }
54
- })
55
- if (idsNotFound.length) {
56
- throw new Error(
57
- `Could not resolve identifiers: ${idsNotFound.join(',')}`,
58
- )
59
- }
60
- } catch (e) {
61
- session.notify(`${e}`, 'error')
62
- throw e
63
- }
64
- },
65
- )
66
- }
@@ -1,28 +0,0 @@
1
- import PluginManager from '@jbrowse/core/PluginManager'
2
- import { ConfigurationSchema } from '@jbrowse/core/configuration'
3
- import { baseLinearDisplayConfigSchema } from '../BaseLinearDisplay'
4
-
5
- /**
6
- * #config LinearBareDisplay
7
- * #category display
8
- */
9
- function configSchemaFactory(pluginManager: PluginManager) {
10
- return ConfigurationSchema(
11
- 'LinearBareDisplay',
12
- {
13
- /**
14
- * #slot
15
- */
16
- renderer: pluginManager.pluggableConfigSchemaType('renderer'),
17
- },
18
- {
19
- /**
20
- * #baseConfiguration
21
- */
22
- baseConfiguration: baseLinearDisplayConfigSchema,
23
- explicitlyTyped: true,
24
- },
25
- )
26
- }
27
-
28
- export { configSchemaFactory }
@@ -1,34 +0,0 @@
1
- import { types } from 'mobx-state-tree'
2
- import { ConfigurationSchema } from '@jbrowse/core/configuration'
3
- import { configSchemaFactory } from '.'
4
-
5
- test('config schema renderer type', () => {
6
- const stubPluginManager = {
7
- pluggableConfigSchemaType(type) {
8
- const one = ConfigurationSchema(
9
- `${type}_TypeOne`,
10
- {},
11
- { explicitlyTyped: true },
12
- )
13
- const two = ConfigurationSchema(
14
- `${type}_TypeTwo`,
15
- {},
16
- { explicitlyTyped: true },
17
- )
18
- const three = ConfigurationSchema(
19
- `${type}_TypeThree`,
20
- {},
21
- { explicitlyTyped: true },
22
- )
23
- return types.union(one, two, three)
24
- },
25
- }
26
-
27
- const configSchema = configSchemaFactory(stubPluginManager)
28
- const instance = configSchema.create({
29
- type: 'LinearBareDisplay',
30
- displayId: 'displayId0',
31
- renderer: { type: 'renderer_TypeTwo' },
32
- })
33
- expect(instance.renderer.type).toBe('renderer_TypeTwo')
34
- })
@@ -1,25 +0,0 @@
1
- import PluginManager from '@jbrowse/core/PluginManager'
2
- import { DisplayType } from '@jbrowse/core/pluggableElementTypes'
3
-
4
- // locals
5
- import { configSchemaFactory } from './configSchema'
6
- import { stateModelFactory } from './model'
7
- import { BaseLinearDisplayComponent } from '../BaseLinearDisplay/'
8
-
9
- export default (pluginManager: PluginManager) => {
10
- pluginManager.addDisplayType(() => {
11
- const configSchema = configSchemaFactory(pluginManager)
12
- return new DisplayType({
13
- name: 'LinearBareDisplay',
14
- configSchema,
15
- displayName: 'Bare feature display',
16
- stateModel: stateModelFactory(configSchema),
17
- trackType: 'BasicTrack',
18
- viewType: 'LinearGenomeView',
19
- ReactComponent: BaseLinearDisplayComponent,
20
- })
21
- })
22
- }
23
-
24
- export { configSchemaFactory } from './configSchema'
25
- export { stateModelFactory } from './model'
@@ -1,54 +0,0 @@
1
- import {
2
- AnyConfigurationSchemaType,
3
- ConfigurationReference,
4
- } from '@jbrowse/core/configuration'
5
- import { getParentRenderProps } from '@jbrowse/core/util/tracks'
6
- import { types } from 'mobx-state-tree'
7
- import { BaseLinearDisplay } from '../BaseLinearDisplay'
8
-
9
- /**
10
- * #stateModel LinearBareDisplay
11
- * #category display
12
- * extends `BaseLinearDisplay`
13
- */
14
- export function stateModelFactory(configSchema: AnyConfigurationSchemaType) {
15
- return types
16
- .compose(
17
- 'LinearBareDisplay',
18
- BaseLinearDisplay,
19
- types.model({
20
- /**
21
- * #property
22
- */
23
- type: types.literal('LinearBareDisplay'),
24
- /**
25
- * #property
26
- */
27
- configuration: ConfigurationReference(configSchema),
28
- }),
29
- )
30
-
31
- .views(self => {
32
- const { renderProps: superRenderProps } = self
33
- return {
34
- /**
35
- * #method
36
- */
37
- renderProps() {
38
- return {
39
- ...superRenderProps(),
40
- ...getParentRenderProps(self),
41
- rpcDriverName: self.rpcDriverName,
42
- config: self.configuration.renderer,
43
- }
44
- },
45
-
46
- /**
47
- * #getter
48
- */
49
- get rendererTypeName() {
50
- return self.configuration.renderer.type
51
- },
52
- }
53
- })
54
- }
@@ -1,73 +0,0 @@
1
- import React, { useState } from 'react'
2
- import { observer } from 'mobx-react'
3
- import { Dialog } from '@jbrowse/core/ui'
4
- import {
5
- Button,
6
- DialogActions,
7
- DialogContent,
8
- Typography,
9
- TextField,
10
- } from '@mui/material'
11
- import { makeStyles } from 'tss-react/mui'
12
-
13
- const useStyles = makeStyles()({
14
- root: {
15
- width: 500,
16
- },
17
- })
18
-
19
- function SetMaxHeightDlg({
20
- model,
21
- handleClose,
22
- }: {
23
- model: {
24
- maxHeight?: number
25
- setMaxHeight: (arg?: number) => void
26
- }
27
- handleClose: () => void
28
- }) {
29
- const { classes } = useStyles()
30
- const { maxHeight = '' } = model
31
- const [max, setMax] = useState(`${maxHeight}`)
32
-
33
- return (
34
- <Dialog open onClose={handleClose} title="Set max height">
35
- <DialogContent className={classes.root}>
36
- <Typography>
37
- Set max height for the track. For example, you can increase this if
38
- the layout says &quot;Max height reached&quot;
39
- </Typography>
40
- <TextField
41
- value={max}
42
- onChange={event => setMax(event.target.value)}
43
- placeholder="Enter max score"
44
- />
45
- <DialogActions>
46
- <Button
47
- variant="contained"
48
- color="primary"
49
- type="submit"
50
- autoFocus
51
- onClick={() => {
52
- model.setMaxHeight(
53
- max !== '' && !Number.isNaN(+max) ? +max : undefined,
54
- )
55
- handleClose()
56
- }}
57
- >
58
- Submit
59
- </Button>
60
- <Button
61
- variant="contained"
62
- color="secondary"
63
- onClick={() => handleClose()}
64
- >
65
- Cancel
66
- </Button>
67
- </DialogActions>
68
- </DialogContent>
69
- </Dialog>
70
- )
71
- }
72
-
73
- export default observer(SetMaxHeightDlg)
@@ -1,28 +0,0 @@
1
- import { ConfigurationSchema } from '@jbrowse/core/configuration'
2
- import PluginManager from '@jbrowse/core/PluginManager'
3
- import { baseLinearDisplayConfigSchema } from '../BaseLinearDisplay'
4
-
5
- /**
6
- * #config LinearBasicDisplay
7
- * #category display
8
- */
9
- function configSchemaFactory(pluginManager: PluginManager) {
10
- return ConfigurationSchema(
11
- 'LinearBasicDisplay',
12
- {
13
- /**
14
- * #slot
15
- */
16
- renderer: pluginManager.pluggableConfigSchemaType('renderer'),
17
- },
18
- {
19
- /**
20
- * #baseConfiguration
21
- */
22
- baseConfiguration: baseLinearDisplayConfigSchema,
23
- explicitlyTyped: true,
24
- },
25
- )
26
- }
27
-
28
- export default configSchemaFactory
@@ -1,25 +0,0 @@
1
- import PluginManager from '@jbrowse/core/PluginManager'
2
- import { DisplayType } from '@jbrowse/core/pluggableElementTypes'
3
- import { BaseLinearDisplayComponent } from '../BaseLinearDisplay'
4
-
5
- // locals
6
- import configSchema from './configSchema'
7
- import modelFactory from './model'
8
-
9
- export default (pluginManager: PluginManager) => {
10
- pluginManager.addDisplayType(() => {
11
- const config = configSchema(pluginManager)
12
- return new DisplayType({
13
- name: 'LinearBasicDisplay',
14
- displayName: 'Basic feature display',
15
- configSchema: config,
16
- stateModel: modelFactory(config),
17
- trackType: 'FeatureTrack',
18
- viewType: 'LinearGenomeView',
19
- ReactComponent: BaseLinearDisplayComponent,
20
- })
21
- })
22
- }
23
-
24
- export { default as modelFactory } from './model'
25
- export { default as configSchema } from './configSchema'
@@ -1,215 +0,0 @@
1
- import { lazy } from 'react'
2
- import {
3
- getConf,
4
- ConfigurationReference,
5
- AnyConfigurationSchemaType,
6
- } from '@jbrowse/core/configuration'
7
- import { getSession } from '@jbrowse/core/util'
8
- import { MenuItem } from '@jbrowse/core/ui'
9
- import { types, getEnv, Instance } from 'mobx-state-tree'
10
-
11
- // icons
12
- import VisibilityIcon from '@mui/icons-material/Visibility'
13
-
14
- // locals
15
- import { BaseLinearDisplay } from '../BaseLinearDisplay'
16
-
17
- const SetMaxHeightDlg = lazy(() => import('./components/SetMaxHeight'))
18
-
19
- /**
20
- * #stateModel LinearBasicDisplay
21
- * #category display
22
- * used by `FeatureTrack`, has simple settings like "show/hide feature labels",
23
- * etc.
24
- */
25
- function stateModelFactory(configSchema: AnyConfigurationSchemaType) {
26
- return types
27
- .compose(
28
- 'LinearBasicDisplay',
29
- BaseLinearDisplay,
30
- types.model({
31
- /**
32
- * #property
33
- */
34
- type: types.literal('LinearBasicDisplay'),
35
- /**
36
- * #property
37
- */
38
- trackShowLabels: types.maybe(types.boolean),
39
- /**
40
- * #property
41
- */
42
- trackShowDescriptions: types.maybe(types.boolean),
43
- /**
44
- * #property
45
- */
46
- trackDisplayMode: types.maybe(types.string),
47
- /**
48
- * #property
49
- */
50
- trackMaxHeight: types.maybe(types.number),
51
- /**
52
- * #property
53
- */
54
- configuration: ConfigurationReference(configSchema),
55
- }),
56
- )
57
- .views(self => ({
58
- /**
59
- * #getter
60
- */
61
- get rendererTypeName() {
62
- return getConf(self, ['renderer', 'type'])
63
- },
64
-
65
- /**
66
- * #getter
67
- */
68
- get showLabels() {
69
- return self.trackShowLabels ?? getConf(self, ['renderer', 'showLabels'])
70
- },
71
-
72
- /**
73
- * #getter
74
- */
75
- get showDescriptions() {
76
- return (
77
- self.trackShowDescriptions ??
78
- getConf(self, ['renderer', 'showDescriptions'])
79
- )
80
- },
81
-
82
- /**
83
- * #getter
84
- */
85
- get maxHeight() {
86
- return self.trackMaxHeight ?? getConf(self, ['renderer', 'maxHeight'])
87
- },
88
-
89
- /**
90
- * #getter
91
- */
92
- get displayMode() {
93
- return (
94
- self.trackDisplayMode ?? getConf(self, ['renderer', 'displayMode'])
95
- )
96
- },
97
- }))
98
- .views(self => ({
99
- /**
100
- * #getter
101
- */
102
- get rendererConfig() {
103
- const configBlob = getConf(self, ['renderer']) || {}
104
- const config = configBlob as Omit<typeof configBlob, symbol>
105
-
106
- return self.rendererType.configSchema.create(
107
- {
108
- ...config,
109
- showLabels: self.showLabels,
110
- showDescriptions: self.showDescriptions,
111
- displayMode: self.displayMode,
112
- maxHeight: self.maxHeight,
113
- },
114
- getEnv(self),
115
- )
116
- },
117
- }))
118
-
119
- .actions(self => ({
120
- /**
121
- * #action
122
- */
123
- toggleShowLabels() {
124
- self.trackShowLabels = !self.showLabels
125
- },
126
- /**
127
- * #action
128
- */
129
- toggleShowDescriptions() {
130
- self.trackShowDescriptions = !self.showDescriptions
131
- },
132
- /**
133
- * #action
134
- */
135
- setDisplayMode(val: string) {
136
- self.trackDisplayMode = val
137
- },
138
- /**
139
- * #action
140
- */
141
- setMaxHeight(val?: number) {
142
- self.trackMaxHeight = val
143
- },
144
- }))
145
- .views(self => {
146
- const {
147
- trackMenuItems: superTrackMenuItems,
148
- renderProps: superRenderProps,
149
- } = self
150
- return {
151
- /**
152
- * #method
153
- */
154
- renderProps() {
155
- const config = self.rendererConfig
156
- const superProps = superRenderProps()
157
- const superPropsOmit = superProps as Omit<typeof superProps, symbol>
158
- return {
159
- ...superPropsOmit,
160
- config,
161
- }
162
- },
163
-
164
- /**
165
- * #method
166
- */
167
- trackMenuItems(): MenuItem[] {
168
- return [
169
- ...superTrackMenuItems(),
170
- {
171
- label: 'Show labels',
172
- icon: VisibilityIcon,
173
- type: 'checkbox',
174
- checked: self.showLabels,
175
- onClick: () => self.toggleShowLabels(),
176
- },
177
- {
178
- label: 'Show descriptions',
179
- icon: VisibilityIcon,
180
- type: 'checkbox',
181
- checked: self.showDescriptions,
182
- onClick: () => self.toggleShowDescriptions(),
183
- },
184
- {
185
- label: 'Display mode',
186
- icon: VisibilityIcon,
187
- subMenu: [
188
- 'compact',
189
- 'reducedRepresentation',
190
- 'normal',
191
- 'collapse',
192
- ].map(val => ({
193
- label: val,
194
- onClick: () => self.setDisplayMode(val),
195
- })),
196
- },
197
- {
198
- label: 'Set max height',
199
- onClick: () => {
200
- getSession(self).queueDialog(handleClose => [
201
- SetMaxHeightDlg,
202
- { model: self, handleClose },
203
- ])
204
- },
205
- },
206
- ]
207
- },
208
- }
209
- })
210
- }
211
-
212
- export type FeatureTrackStateModel = ReturnType<typeof stateModelFactory>
213
- export type FeatureTrackModel = Instance<FeatureTrackStateModel>
214
-
215
- export default stateModelFactory
@@ -1,9 +0,0 @@
1
- # Key LinearGenomeView state fields
2
-
3
- - displayedRegions - array of { refName, start, end }, tiled in the display left
4
- to right
5
- - offsetPx - the offset in px of the left edge of the view
6
- - bpPerPx - ratio of basepairs to screen pixels
7
- - width - width in px of the view
8
-
9
- Everything runs off of these four things.
@@ -1,65 +0,0 @@
1
- import React, { useRef } from 'react'
2
- import { makeStyles } from 'tss-react/mui'
3
- import { observer } from 'mobx-react'
4
- import { LinearGenomeViewModel } from '..'
5
-
6
- type LGV = LinearGenomeViewModel
7
-
8
- const useStyles = makeStyles()(theme => ({
9
- centerLineContainer: {
10
- background: 'transparent',
11
- height: '100%',
12
- zIndex: 5, // above the track but under menu
13
- position: 'absolute',
14
- border: `1px ${theme.palette.action.active} dashed`,
15
- borderTop: 'none',
16
- borderBottom: 'none',
17
- pointerEvents: 'none',
18
- },
19
- centerLineText: {
20
- position: 'absolute',
21
- pointerEvents: 'none',
22
- whiteSpace: 'nowrap',
23
- fontWeight: 'bold',
24
- },
25
- }))
26
-
27
- function CenterLine({ model }: { model: LGV }) {
28
- const { bpPerPx, centerLineInfo, trackHeights, tracks, width } = model
29
- const ref = useRef<HTMLDivElement>(null)
30
- const { classes } = useStyles()
31
- const startingPosition = width / 2
32
-
33
- return tracks.length ? (
34
- <div
35
- data-testid="centerline_container"
36
- className={classes.centerLineContainer}
37
- role="presentation"
38
- ref={ref}
39
- style={{
40
- left: `${startingPosition}px`,
41
- width: Math.max(1 / bpPerPx, 1),
42
- }}
43
- >
44
- {centerLineInfo && (
45
- <div
46
- // text that indicates what bp is center, positioned
47
- // at the bottom right of the center line
48
- data-testid="centerline_text"
49
- className={classes.centerLineText}
50
- role="presentation"
51
- style={{
52
- left: Math.max(1 / bpPerPx, 1) + 5,
53
- top: trackHeights,
54
- }}
55
- >
56
- {/* change bp to refName */}
57
- {centerLineInfo.refName}:{' '}
58
- {Math.max(Math.round(centerLineInfo.offset) + 1, 0)}
59
- </div>
60
- )}
61
- </div>
62
- ) : null
63
- }
64
-
65
- export default observer(CenterLine)