@jbrowse/plugin-alignments 2.18.0 → 3.0.1

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 (168) hide show
  1. package/dist/AlignmentsFeatureDetail/AlignmentsFeatureDetail.d.ts +1 -2
  2. package/dist/AlignmentsFeatureDetail/AlignmentsFeatureDetail.js +20 -13
  3. package/dist/AlignmentsFeatureDetail/Flags.d.ts +1 -2
  4. package/dist/AlignmentsFeatureDetail/Flags.js +6 -8
  5. package/dist/AlignmentsFeatureDetail/Formatter.d.ts +1 -2
  6. package/dist/AlignmentsFeatureDetail/Formatter.js +11 -36
  7. package/dist/AlignmentsFeatureDetail/LaunchPairedEndBreakpointSplitViewPanel.d.ts +1 -2
  8. package/dist/AlignmentsFeatureDetail/LaunchPairedEndBreakpointSplitViewPanel.js +44 -47
  9. package/dist/AlignmentsFeatureDetail/LaunchSupplementaryAlignmentBreakpointSplitViewPanel.d.ts +1 -2
  10. package/dist/AlignmentsFeatureDetail/LaunchSupplementaryAlignmentBreakpointSplitViewPanel.js +27 -31
  11. package/dist/AlignmentsFeatureDetail/LinkedPairedAlignments.d.ts +1 -2
  12. package/dist/AlignmentsFeatureDetail/LinkedPairedAlignments.js +2 -2
  13. package/dist/AlignmentsFeatureDetail/PairLink.d.ts +1 -2
  14. package/dist/AlignmentsFeatureDetail/PairLink.js +3 -6
  15. package/dist/AlignmentsFeatureDetail/SupplementaryAlignments.d.ts +1 -2
  16. package/dist/AlignmentsFeatureDetail/SupplementaryAlignments.js +2 -4
  17. package/dist/AlignmentsFeatureDetail/SupplementaryAlignmentsLocStrings.d.ts +1 -2
  18. package/dist/AlignmentsFeatureDetail/SupplementaryAlignmentsLocStrings.js +21 -27
  19. package/dist/AlignmentsFeatureDetail/index.js +17 -7
  20. package/dist/BamAdapter/index.js +17 -7
  21. package/dist/CramAdapter/CramAdapter.js +7 -2
  22. package/dist/CramAdapter/CramTestAdapters.d.ts +1 -1
  23. package/dist/CramAdapter/CramTestAdapters.js +2 -1
  24. package/dist/CramAdapter/index.js +17 -7
  25. package/dist/GuessAlignmentsTypes/index.js +19 -34
  26. package/dist/HtsgetBamAdapter/index.js +17 -7
  27. package/dist/LinearAlignmentsDisplay/components/AlignmentsDisplay.d.ts +1 -2
  28. package/dist/LinearAlignmentsDisplay/components/AlignmentsDisplay.js +8 -16
  29. package/dist/LinearAlignmentsDisplay/model.d.ts +1 -2
  30. package/dist/LinearAlignmentsDisplay/model.js +5 -7
  31. package/dist/LinearPileupDisplay/SharedLinearPileupDisplayMixin.d.ts +21 -7
  32. package/dist/LinearPileupDisplay/SharedLinearPileupDisplayMixin.js +40 -15
  33. package/dist/LinearPileupDisplay/components/ColorByTagDialog.d.ts +1 -2
  34. package/dist/LinearPileupDisplay/components/ColorByTagDialog.js +10 -39
  35. package/dist/LinearPileupDisplay/components/GroupByDialog.d.ts +1 -2
  36. package/dist/LinearPileupDisplay/components/GroupByDialog.js +82 -121
  37. package/dist/LinearPileupDisplay/components/LinearPileupDisplayBlurb.d.ts +1 -2
  38. package/dist/LinearPileupDisplay/components/LinearPileupDisplayBlurb.js +2 -6
  39. package/dist/LinearPileupDisplay/components/SetFeatureHeightDialog.d.ts +1 -2
  40. package/dist/LinearPileupDisplay/components/SetFeatureHeightDialog.js +13 -42
  41. package/dist/LinearPileupDisplay/components/SetMaxHeightDialog.d.ts +1 -2
  42. package/dist/LinearPileupDisplay/components/SetMaxHeightDialog.js +10 -38
  43. package/dist/LinearPileupDisplay/components/SortByTagDialog.d.ts +1 -2
  44. package/dist/LinearPileupDisplay/components/SortByTagDialog.js +15 -44
  45. package/dist/LinearPileupDisplay/model.d.ts +21 -7
  46. package/dist/LinearPileupDisplay/model.js +19 -8
  47. package/dist/LinearReadArcsDisplay/components/ReactComponent.d.ts +1 -2
  48. package/dist/LinearReadArcsDisplay/components/ReactComponent.js +4 -27
  49. package/dist/LinearReadArcsDisplay/index.js +17 -7
  50. package/dist/LinearReadArcsDisplay/model.d.ts +1 -1
  51. package/dist/LinearReadArcsDisplay/model.js +17 -7
  52. package/dist/LinearReadCloudDisplay/components/ReactComponent.d.ts +1 -2
  53. package/dist/LinearReadCloudDisplay/components/ReactComponent.js +4 -27
  54. package/dist/LinearReadCloudDisplay/index.js +17 -7
  55. package/dist/LinearReadCloudDisplay/model.d.ts +1 -1
  56. package/dist/LinearReadCloudDisplay/model.js +17 -7
  57. package/dist/LinearSNPCoverageDisplay/components/Tooltip.d.ts +1 -2
  58. package/dist/LinearSNPCoverageDisplay/components/Tooltip.js +15 -54
  59. package/dist/LinearSNPCoverageDisplay/model.d.ts +4 -4
  60. package/dist/LinearSNPCoverageDisplay/model.js +49 -35
  61. package/dist/MismatchParser/cigarToMismatches.d.ts +1 -2
  62. package/dist/MismatchParser/index.d.ts +1 -2
  63. package/dist/MismatchParser/mdToMismatches.d.ts +1 -2
  64. package/dist/PileupRenderer/PileupRenderer.d.ts +4 -4
  65. package/dist/PileupRenderer/PileupRenderer.js +17 -7
  66. package/dist/PileupRenderer/components/PileupRendering.d.ts +1 -2
  67. package/dist/PileupRenderer/components/PileupRendering.js +15 -40
  68. package/dist/PileupRenderer/configSchema.d.ts +5 -0
  69. package/dist/PileupRenderer/configSchema.js +5 -0
  70. package/dist/PileupRenderer/makeImageData.js +2 -0
  71. package/dist/PileupRenderer/renderMismatches.d.ts +2 -1
  72. package/dist/PileupRenderer/renderMismatches.js +18 -13
  73. package/dist/SNPCoverageAdapter/index.js +17 -7
  74. package/dist/SNPCoverageAdapter/processModifications.js +1 -1
  75. package/dist/SNPCoverageRenderer/SNPCoverageRenderer.d.ts +1 -18
  76. package/dist/SNPCoverageRenderer/SNPCoverageRenderer.js +35 -264
  77. package/dist/SNPCoverageRenderer/configSchema.d.ts +3 -3
  78. package/dist/SNPCoverageRenderer/configSchema.js +3 -3
  79. package/dist/SNPCoverageRenderer/makeImage.d.ts +2 -0
  80. package/dist/SNPCoverageRenderer/makeImage.js +270 -0
  81. package/dist/SNPCoverageRenderer/types.d.ts +19 -0
  82. package/dist/SNPCoverageRenderer/types.js +2 -0
  83. package/dist/index.js +17 -7
  84. package/dist/shared/components/BaseDisplayComponent.d.ts +1 -2
  85. package/dist/shared/components/BaseDisplayComponent.js +6 -13
  86. package/dist/shared/components/FilterByTagDialog.d.ts +1 -2
  87. package/dist/shared/components/FilterByTagDialog.js +42 -92
  88. package/dist/shared/renderSvgUtil.d.ts +1 -2
  89. package/dist/shared/renderSvgUtil.js +20 -17
  90. package/esm/AlignmentsFeatureDetail/AlignmentsFeatureDetail.d.ts +1 -2
  91. package/esm/AlignmentsFeatureDetail/AlignmentsFeatureDetail.js +3 -6
  92. package/esm/AlignmentsFeatureDetail/Flags.d.ts +1 -2
  93. package/esm/AlignmentsFeatureDetail/Flags.js +6 -8
  94. package/esm/AlignmentsFeatureDetail/Formatter.d.ts +1 -2
  95. package/esm/AlignmentsFeatureDetail/Formatter.js +11 -13
  96. package/esm/AlignmentsFeatureDetail/LaunchPairedEndBreakpointSplitViewPanel.d.ts +1 -2
  97. package/esm/AlignmentsFeatureDetail/LaunchPairedEndBreakpointSplitViewPanel.js +27 -40
  98. package/esm/AlignmentsFeatureDetail/LaunchSupplementaryAlignmentBreakpointSplitViewPanel.d.ts +1 -2
  99. package/esm/AlignmentsFeatureDetail/LaunchSupplementaryAlignmentBreakpointSplitViewPanel.js +10 -24
  100. package/esm/AlignmentsFeatureDetail/LinkedPairedAlignments.d.ts +1 -2
  101. package/esm/AlignmentsFeatureDetail/LinkedPairedAlignments.js +2 -2
  102. package/esm/AlignmentsFeatureDetail/PairLink.d.ts +1 -2
  103. package/esm/AlignmentsFeatureDetail/PairLink.js +3 -3
  104. package/esm/AlignmentsFeatureDetail/SupplementaryAlignments.d.ts +1 -2
  105. package/esm/AlignmentsFeatureDetail/SupplementaryAlignments.js +2 -4
  106. package/esm/AlignmentsFeatureDetail/SupplementaryAlignmentsLocStrings.d.ts +1 -2
  107. package/esm/AlignmentsFeatureDetail/SupplementaryAlignmentsLocStrings.js +21 -24
  108. package/esm/CramAdapter/CramAdapter.js +7 -2
  109. package/esm/CramAdapter/CramTestAdapters.d.ts +1 -1
  110. package/esm/CramAdapter/CramTestAdapters.js +2 -1
  111. package/esm/GuessAlignmentsTypes/index.js +19 -34
  112. package/esm/LinearAlignmentsDisplay/components/AlignmentsDisplay.d.ts +1 -2
  113. package/esm/LinearAlignmentsDisplay/components/AlignmentsDisplay.js +8 -13
  114. package/esm/LinearAlignmentsDisplay/model.d.ts +1 -2
  115. package/esm/LinearAlignmentsDisplay/model.js +5 -7
  116. package/esm/LinearPileupDisplay/SharedLinearPileupDisplayMixin.d.ts +21 -7
  117. package/esm/LinearPileupDisplay/SharedLinearPileupDisplayMixin.js +23 -8
  118. package/esm/LinearPileupDisplay/components/ColorByTagDialog.d.ts +1 -2
  119. package/esm/LinearPileupDisplay/components/ColorByTagDialog.js +10 -16
  120. package/esm/LinearPileupDisplay/components/GroupByDialog.d.ts +1 -2
  121. package/esm/LinearPileupDisplay/components/GroupByDialog.js +82 -98
  122. package/esm/LinearPileupDisplay/components/LinearPileupDisplayBlurb.d.ts +1 -2
  123. package/esm/LinearPileupDisplay/components/LinearPileupDisplayBlurb.js +2 -3
  124. package/esm/LinearPileupDisplay/components/SetFeatureHeightDialog.d.ts +1 -2
  125. package/esm/LinearPileupDisplay/components/SetFeatureHeightDialog.js +13 -19
  126. package/esm/LinearPileupDisplay/components/SetMaxHeightDialog.d.ts +1 -2
  127. package/esm/LinearPileupDisplay/components/SetMaxHeightDialog.js +10 -15
  128. package/esm/LinearPileupDisplay/components/SortByTagDialog.d.ts +1 -2
  129. package/esm/LinearPileupDisplay/components/SortByTagDialog.js +15 -21
  130. package/esm/LinearPileupDisplay/model.d.ts +21 -7
  131. package/esm/LinearPileupDisplay/model.js +2 -1
  132. package/esm/LinearReadArcsDisplay/components/ReactComponent.d.ts +1 -2
  133. package/esm/LinearReadArcsDisplay/components/ReactComponent.js +4 -4
  134. package/esm/LinearReadArcsDisplay/model.d.ts +1 -1
  135. package/esm/LinearReadCloudDisplay/components/ReactComponent.d.ts +1 -2
  136. package/esm/LinearReadCloudDisplay/components/ReactComponent.js +4 -4
  137. package/esm/LinearReadCloudDisplay/model.d.ts +1 -1
  138. package/esm/LinearSNPCoverageDisplay/components/Tooltip.d.ts +1 -2
  139. package/esm/LinearSNPCoverageDisplay/components/Tooltip.js +15 -51
  140. package/esm/LinearSNPCoverageDisplay/model.d.ts +4 -4
  141. package/esm/LinearSNPCoverageDisplay/model.js +32 -28
  142. package/esm/MismatchParser/cigarToMismatches.d.ts +1 -2
  143. package/esm/MismatchParser/index.d.ts +1 -2
  144. package/esm/MismatchParser/mdToMismatches.d.ts +1 -2
  145. package/esm/PileupRenderer/PileupRenderer.d.ts +4 -4
  146. package/esm/PileupRenderer/components/PileupRendering.d.ts +1 -2
  147. package/esm/PileupRenderer/components/PileupRendering.js +15 -17
  148. package/esm/PileupRenderer/configSchema.d.ts +5 -0
  149. package/esm/PileupRenderer/configSchema.js +5 -0
  150. package/esm/PileupRenderer/makeImageData.js +2 -0
  151. package/esm/PileupRenderer/renderMismatches.d.ts +2 -1
  152. package/esm/PileupRenderer/renderMismatches.js +18 -13
  153. package/esm/SNPCoverageAdapter/processModifications.js +1 -1
  154. package/esm/SNPCoverageRenderer/SNPCoverageRenderer.d.ts +1 -18
  155. package/esm/SNPCoverageRenderer/SNPCoverageRenderer.js +3 -265
  156. package/esm/SNPCoverageRenderer/configSchema.d.ts +3 -3
  157. package/esm/SNPCoverageRenderer/configSchema.js +3 -3
  158. package/esm/SNPCoverageRenderer/makeImage.d.ts +2 -0
  159. package/esm/SNPCoverageRenderer/makeImage.js +267 -0
  160. package/esm/SNPCoverageRenderer/types.d.ts +19 -0
  161. package/esm/SNPCoverageRenderer/types.js +1 -0
  162. package/esm/shared/components/BaseDisplayComponent.d.ts +1 -2
  163. package/esm/shared/components/BaseDisplayComponent.js +6 -10
  164. package/esm/shared/components/FilterByTagDialog.d.ts +1 -2
  165. package/esm/shared/components/FilterByTagDialog.js +42 -69
  166. package/esm/shared/renderSvgUtil.d.ts +1 -2
  167. package/esm/shared/renderSvgUtil.js +3 -7
  168. package/package.json +13 -13
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
2
  Object.defineProperty(exports, "__esModule", { value: true });
26
- const react_1 = __importStar(require("react"));
3
+ const jsx_runtime_1 = require("react/jsx-runtime");
4
+ const react_1 = require("react");
27
5
  const ui_1 = require("@jbrowse/core/ui");
28
6
  const util_1 = require("@jbrowse/core/util");
29
7
  const material_1 = require("@mui/material");
@@ -66,41 +44,54 @@ const GroupByTagDialog = (0, mobx_react_1.observer)(function (props) {
66
44
  }
67
45
  })();
68
46
  }, [model, isInvalid, debouncedTag]);
69
- return (react_1.default.createElement(ui_1.Dialog, { open: true, onClose: handleClose, title: "Group by" },
70
- react_1.default.createElement(material_1.DialogContent, null,
71
- react_1.default.createElement(material_1.Typography, null, "NOTE: this will create new session tracks with the \"filter by\" set to the values chosen here rather than affecting the current track state"),
72
- react_1.default.createElement(material_1.TextField, { fullWidth: true, value: type, onChange: event => {
73
- setType(event.target.value);
74
- }, label: "Group by...", select: true },
75
- react_1.default.createElement(material_1.MenuItem, { value: "strand" }, "Strand"),
76
- react_1.default.createElement(material_1.MenuItem, { value: "tag" }, "Tag")),
77
- type === 'tag' ? (react_1.default.createElement(react_1.default.Fragment, null,
78
- react_1.default.createElement(material_1.Typography, { color: "textSecondary" }, "Examples: HP for haplotype, RG for read group, etc."),
79
- react_1.default.createElement(material_1.TextField, { value: tag, onChange: event => {
80
- setGroupByTag(event.target.value);
81
- }, placeholder: "Enter tag name", error: isInvalid, helperText: isInvalid ? 'Not a valid tag' : '', autoComplete: "off", "data-testid": "group-tag-name", slotProps: {
82
- htmlInput: {
83
- maxLength: 2,
84
- 'data-testid': 'group-tag-name-input',
85
- },
86
- } }),
87
- error ? (react_1.default.createElement(ui_1.ErrorMessage, { error: error })) : loading ? (react_1.default.createElement(ui_1.LoadingEllipses, { title: "Loading unique tags" })) : tagSet ? (react_1.default.createElement("div", null,
88
- react_1.default.createElement("div", null,
89
- "Found unique ",
90
- tag,
91
- " values:"),
92
- react_1.default.createElement("div", null, tagSet.join(', ')))) : null)) : null),
93
- react_1.default.createElement(material_1.DialogActions, null,
94
- react_1.default.createElement(material_1.Button, { variant: "contained", color: "primary", type: "submit", disabled: !tagSet, autoFocus: true, onClick: () => {
95
- const track = (0, util_1.getContainingTrack)(model);
96
- const trackConf = structuredClone((0, mobx_state_tree_1.getSnapshot)(track.configuration));
97
- const session = (0, util_1.getSession)(model);
98
- const view = (0, util_1.getContainingView)(model);
99
- if (type === 'tag') {
100
- if (tagSet) {
101
- const ret = [...tagSet, undefined];
102
- for (const tagValue of ret) {
103
- const t1 = `${trackConf.trackId}-${tag}:${tagValue}-${+Date.now()}-sessionTrack`;
47
+ return ((0, jsx_runtime_1.jsxs)(ui_1.Dialog, { open: true, onClose: handleClose, title: "Group by", children: [(0, jsx_runtime_1.jsxs)(material_1.DialogContent, { children: [(0, jsx_runtime_1.jsx)(material_1.Typography, { children: "NOTE: this will create new session tracks with the \"filter by\" set to the values chosen here rather than affecting the current track state" }), (0, jsx_runtime_1.jsxs)(material_1.TextField, { fullWidth: true, value: type, onChange: event => {
48
+ setType(event.target.value);
49
+ }, label: "Group by...", select: true, children: [(0, jsx_runtime_1.jsx)(material_1.MenuItem, { value: "strand", children: "Strand" }), (0, jsx_runtime_1.jsx)(material_1.MenuItem, { value: "tag", children: "Tag" })] }), type === 'tag' ? ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(material_1.Typography, { color: "textSecondary", children: "Examples: HP for haplotype, RG for read group, etc." }), (0, jsx_runtime_1.jsx)(material_1.TextField, { value: tag, onChange: event => {
50
+ setGroupByTag(event.target.value);
51
+ }, placeholder: "Enter tag name", error: isInvalid, helperText: isInvalid ? 'Not a valid tag' : '', autoComplete: "off", "data-testid": "group-tag-name", slotProps: {
52
+ htmlInput: {
53
+ maxLength: 2,
54
+ 'data-testid': 'group-tag-name-input',
55
+ },
56
+ } }), error ? ((0, jsx_runtime_1.jsx)(ui_1.ErrorMessage, { error: error })) : loading ? ((0, jsx_runtime_1.jsx)(ui_1.LoadingEllipses, { title: "Loading unique tags" })) : tagSet ? ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsxs)("div", { children: ["Found unique ", tag, " values:"] }), (0, jsx_runtime_1.jsx)("div", { children: tagSet.join(', ') })] })) : null] })) : null] }), (0, jsx_runtime_1.jsxs)(material_1.DialogActions, { children: [(0, jsx_runtime_1.jsx)(material_1.Button, { variant: "contained", color: "primary", type: "submit", disabled: !tagSet, autoFocus: true, onClick: () => {
57
+ const track = (0, util_1.getContainingTrack)(model);
58
+ const trackConf = structuredClone((0, mobx_state_tree_1.getSnapshot)(track.configuration));
59
+ const session = (0, util_1.getSession)(model);
60
+ const view = (0, util_1.getContainingView)(model);
61
+ if (type === 'tag') {
62
+ if (tagSet) {
63
+ const ret = [...tagSet, undefined];
64
+ for (const tagValue of ret) {
65
+ const t1 = `${trackConf.trackId}-${tag}:${tagValue}-${+Date.now()}-sessionTrack`;
66
+ session.addTrackConf({
67
+ ...trackConf,
68
+ trackId: t1,
69
+ name: `${trackConf.name} (${tag}:${tagValue})`,
70
+ displays: [
71
+ {
72
+ displayId: `${t1}-LinearAlignmentsDisplay`,
73
+ type: 'LinearAlignmentsDisplay',
74
+ pileupDisplay: {
75
+ displayId: `${t1}-LinearAlignmentsDisplay-LinearPileupDisplay`,
76
+ type: 'LinearPileupDisplay',
77
+ filterBy: {
78
+ ...util_2.defaultFilterFlags,
79
+ tagFilter: {
80
+ tag,
81
+ value: tagValue,
82
+ },
83
+ },
84
+ },
85
+ },
86
+ ],
87
+ });
88
+ view.showTrack(t1);
89
+ }
90
+ }
91
+ }
92
+ else if (type === 'strand') {
93
+ const t1 = `${trackConf.trackId}-${tag}:(-)-${+Date.now()}-sessionTrack`;
94
+ const t2 = `${trackConf.trackId}-${tag}:(+)-${+Date.now()}-sessionTrack`;
104
95
  session.addTrackConf({
105
96
  ...trackConf,
106
97
  trackId: t1,
@@ -112,73 +103,43 @@ const GroupByTagDialog = (0, mobx_react_1.observer)(function (props) {
112
103
  pileupDisplay: {
113
104
  displayId: `${t1}-LinearAlignmentsDisplay-LinearPileupDisplay`,
114
105
  type: 'LinearPileupDisplay',
115
- filterBy: {
116
- ...util_2.defaultFilterFlags,
117
- tagFilter: {
118
- tag,
119
- value: tagValue,
120
- },
121
- },
106
+ filterBy: util_2.negFlags,
107
+ },
108
+ },
109
+ {
110
+ displayId: `${t1}-LinearSNPCoverageDisplay`,
111
+ type: 'LinearSNPCoverageDisplay',
112
+ filterBy: util_2.negFlags,
113
+ },
114
+ ],
115
+ });
116
+ session.addTrackConf({
117
+ ...trackConf,
118
+ trackId: t2,
119
+ name: `${trackConf.name} (+)`,
120
+ displays: [
121
+ {
122
+ displayId: `${t2}-LinearAlignmentsDisplay`,
123
+ type: 'LinearAlignmentsDisplay',
124
+ pileupDisplay: {
125
+ displayId: `${t2}-LinearAlignmentsDisplay-LinearPileupDisplay`,
126
+ type: 'LinearPileupDisplay',
127
+ filterBy: util_2.posFlags,
122
128
  },
123
129
  },
130
+ {
131
+ displayId: `${t2}-LinearSNPCoverageDisplay`,
132
+ type: 'LinearSNPCoverageDisplay',
133
+ filterBy: util_2.posFlags,
134
+ },
124
135
  ],
125
136
  });
126
137
  view.showTrack(t1);
138
+ view.showTrack(t2);
127
139
  }
128
- }
129
- }
130
- else if (type === 'strand') {
131
- const t1 = `${trackConf.trackId}-${tag}:(-)-${+Date.now()}-sessionTrack`;
132
- const t2 = `${trackConf.trackId}-${tag}:(+)-${+Date.now()}-sessionTrack`;
133
- session.addTrackConf({
134
- ...trackConf,
135
- trackId: t1,
136
- name: `${trackConf.name} (-)`,
137
- displays: [
138
- {
139
- displayId: `${t1}-LinearAlignmentsDisplay`,
140
- type: 'LinearAlignmentsDisplay',
141
- pileupDisplay: {
142
- displayId: `${t1}-LinearAlignmentsDisplay-LinearPileupDisplay`,
143
- type: 'LinearPileupDisplay',
144
- filterBy: util_2.negFlags,
145
- },
146
- },
147
- {
148
- displayId: `${t1}-LinearSNPCoverageDisplay`,
149
- type: 'LinearSNPCoverageDisplay',
150
- filterBy: util_2.negFlags,
151
- },
152
- ],
153
- });
154
- session.addTrackConf({
155
- ...trackConf,
156
- trackId: t2,
157
- name: `${trackConf.name} (+)`,
158
- displays: [
159
- {
160
- displayId: `${t2}-LinearAlignmentsDisplay`,
161
- type: 'LinearAlignmentsDisplay',
162
- pileupDisplay: {
163
- displayId: `${t2}-LinearAlignmentsDisplay-LinearPileupDisplay`,
164
- type: 'LinearPileupDisplay',
165
- filterBy: util_2.posFlags,
166
- },
167
- },
168
- {
169
- displayId: `${t2}-LinearSNPCoverageDisplay`,
170
- type: 'LinearSNPCoverageDisplay',
171
- filterBy: util_2.posFlags,
172
- },
173
- ],
174
- });
175
- view.showTrack(t1);
176
- view.showTrack(t2);
177
- }
178
- handleClose();
179
- } }, "Submit"),
180
- react_1.default.createElement(material_1.Button, { variant: "contained", color: "secondary", onClick: () => {
181
- handleClose();
182
- } }, "Cancel"))));
140
+ handleClose();
141
+ }, children: "Submit" }), (0, jsx_runtime_1.jsx)(material_1.Button, { variant: "contained", color: "secondary", onClick: () => {
142
+ handleClose();
143
+ }, children: "Cancel" })] })] }));
183
144
  });
184
145
  exports.default = GroupByTagDialog;
@@ -1,8 +1,7 @@
1
- import React from 'react';
2
1
  import type { SortedBy } from '../../shared/types';
3
2
  declare const LinearPileupDisplayBlurb: ({ model, }: {
4
3
  model: {
5
4
  sortedBy?: SortedBy;
6
5
  };
7
- }) => React.JSX.Element | null;
6
+ }) => import("react/jsx-runtime").JSX.Element | null;
8
7
  export default LinearPileupDisplayBlurb;
@@ -1,15 +1,11 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
2
  Object.defineProperty(exports, "__esModule", { value: true });
6
- const react_1 = __importDefault(require("react"));
3
+ const jsx_runtime_1 = require("react/jsx-runtime");
7
4
  const material_1 = require("@mui/material");
8
5
  const mobx_react_1 = require("mobx-react");
9
6
  const LinearPileupDisplayBlurb = (0, mobx_react_1.observer)(function ({ model, }) {
10
7
  var _a;
11
8
  const { sortedBy } = model;
12
- return sortedBy ? (react_1.default.createElement("div", { "data-testid": `blurb-${sortedBy}` },
13
- react_1.default.createElement(material_1.Typography, { color: "secondary", variant: "caption" }, `Sorted by ${(_a = sortedBy.tag) !== null && _a !== void 0 ? _a : sortedBy.type} at ${sortedBy.refName}:${sortedBy.pos}`))) : null;
9
+ return sortedBy ? ((0, jsx_runtime_1.jsx)("div", { "data-testid": `blurb-${sortedBy}`, children: (0, jsx_runtime_1.jsx)(material_1.Typography, { color: "secondary", variant: "caption", children: `Sorted by ${(_a = sortedBy.tag) !== null && _a !== void 0 ? _a : sortedBy.type} at ${sortedBy.refName}:${sortedBy.pos}` }) })) : null;
14
10
  });
15
11
  exports.default = LinearPileupDisplayBlurb;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  declare const SetFeatureHeightDialog: (props: {
3
2
  model: {
4
3
  setFeatureHeight: (arg?: number) => void;
@@ -7,5 +6,5 @@ declare const SetFeatureHeightDialog: (props: {
7
6
  noSpacing?: boolean;
8
7
  };
9
8
  handleClose: () => void;
10
- }) => React.JSX.Element;
9
+ }) => import("react/jsx-runtime").JSX.Element;
11
10
  export default SetFeatureHeightDialog;
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
2
  Object.defineProperty(exports, "__esModule", { value: true });
26
- const react_1 = __importStar(require("react"));
3
+ const jsx_runtime_1 = require("react/jsx-runtime");
4
+ const react_1 = require("react");
27
5
  const ui_1 = require("@jbrowse/core/ui");
28
6
  const material_1 = require("@mui/material");
29
7
  const mobx_react_1 = require("mobx-react");
@@ -33,23 +11,16 @@ const SetFeatureHeightDialog = (0, mobx_react_1.observer)(function (props) {
33
11
  const [height, setHeight] = (0, react_1.useState)(`${featureHeightSetting}`);
34
12
  const [noSpacing, setNoSpacing] = (0, react_1.useState)(noSpacingSetting);
35
13
  const ok = height !== '' && !Number.isNaN(+height);
36
- return (react_1.default.createElement(ui_1.Dialog, { open: true, onClose: handleClose, title: "Set feature height" },
37
- react_1.default.createElement(material_1.DialogContent, null,
38
- react_1.default.createElement(material_1.Typography, null, "Adjust the feature height and whether there is any spacing between features. Setting feature height to 1 and removing spacing makes the display very compact."),
39
- react_1.default.createElement(material_1.TextField, { value: height, helperText: "Feature height", onChange: event => {
40
- setHeight(event.target.value);
41
- } }),
42
- react_1.default.createElement(material_1.FormControlLabel, { control: react_1.default.createElement(material_1.Checkbox, { checked: !!noSpacing, onChange: () => {
43
- setNoSpacing(val => !val);
44
- } }), label: "Remove spacing between features in y-direction?" }),
45
- react_1.default.createElement(material_1.DialogActions, null,
46
- react_1.default.createElement(material_1.Button, { variant: "contained", color: "primary", type: "submit", autoFocus: true, disabled: !ok, onClick: () => {
47
- model.setFeatureHeight(height !== '' && !Number.isNaN(+height) ? +height : undefined);
48
- model.setNoSpacing(noSpacing);
49
- handleClose();
50
- } }, "Submit"),
51
- react_1.default.createElement(material_1.Button, { variant: "contained", color: "secondary", onClick: () => {
52
- handleClose();
53
- } }, "Cancel")))));
14
+ return ((0, jsx_runtime_1.jsx)(ui_1.Dialog, { open: true, onClose: handleClose, title: "Set feature height", children: (0, jsx_runtime_1.jsxs)(material_1.DialogContent, { children: [(0, jsx_runtime_1.jsx)(material_1.Typography, { children: "Adjust the feature height and whether there is any spacing between features. Setting feature height to 1 and removing spacing makes the display very compact." }), (0, jsx_runtime_1.jsx)(material_1.TextField, { value: height, helperText: "Feature height", onChange: event => {
15
+ setHeight(event.target.value);
16
+ } }), (0, jsx_runtime_1.jsx)(material_1.FormControlLabel, { control: (0, jsx_runtime_1.jsx)(material_1.Checkbox, { checked: !!noSpacing, onChange: () => {
17
+ setNoSpacing(val => !val);
18
+ } }), label: "Remove spacing between features in y-direction?" }), (0, jsx_runtime_1.jsxs)(material_1.DialogActions, { children: [(0, jsx_runtime_1.jsx)(material_1.Button, { variant: "contained", color: "primary", type: "submit", autoFocus: true, disabled: !ok, onClick: () => {
19
+ model.setFeatureHeight(height !== '' && !Number.isNaN(+height) ? +height : undefined);
20
+ model.setNoSpacing(noSpacing);
21
+ handleClose();
22
+ }, children: "Submit" }), (0, jsx_runtime_1.jsx)(material_1.Button, { variant: "contained", color: "secondary", onClick: () => {
23
+ handleClose();
24
+ }, children: "Cancel" })] })] }) }));
54
25
  });
55
26
  exports.default = SetFeatureHeightDialog;
@@ -1,9 +1,8 @@
1
- import React from 'react';
2
1
  declare const SetMaxHeightDialog: (props: {
3
2
  model: {
4
3
  maxHeight?: number;
5
4
  setMaxHeight: (arg?: number) => void;
6
5
  };
7
6
  handleClose: () => void;
8
- }) => React.JSX.Element;
7
+ }) => import("react/jsx-runtime").JSX.Element;
9
8
  export default SetMaxHeightDialog;
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
2
  Object.defineProperty(exports, "__esModule", { value: true });
26
- const react_1 = __importStar(require("react"));
3
+ const jsx_runtime_1 = require("react/jsx-runtime");
4
+ const react_1 = require("react");
27
5
  const ui_1 = require("@jbrowse/core/ui");
28
6
  const material_1 = require("@mui/material");
29
7
  const mobx_react_1 = require("mobx-react");
@@ -38,19 +16,13 @@ const SetMaxHeightDialog = (0, mobx_react_1.observer)(function (props) {
38
16
  const { classes } = useStyles();
39
17
  const { maxHeight = '' } = model;
40
18
  const [max, setMax] = (0, react_1.useState)(`${maxHeight}`);
41
- return (react_1.default.createElement(ui_1.Dialog, { open: true, onClose: handleClose, title: "Set max height" },
42
- react_1.default.createElement(material_1.DialogContent, { className: classes.root },
43
- react_1.default.createElement(material_1.Typography, null, "Set max height for the track. For example, you can increase this if the layout says \"Max height reached\""),
44
- react_1.default.createElement(material_1.TextField, { value: max, autoFocus: true, onChange: event => {
45
- setMax(event.target.value);
46
- }, placeholder: "Enter max height for layout" }),
47
- react_1.default.createElement(material_1.DialogActions, null,
48
- react_1.default.createElement(material_1.Button, { variant: "contained", color: "primary", type: "submit", autoFocus: true, onClick: () => {
49
- model.setMaxHeight(max !== '' && !Number.isNaN(+max) ? +max : undefined);
50
- handleClose();
51
- } }, "Submit"),
52
- react_1.default.createElement(material_1.Button, { variant: "contained", color: "secondary", onClick: () => {
53
- handleClose();
54
- } }, "Cancel")))));
19
+ return ((0, jsx_runtime_1.jsx)(ui_1.Dialog, { open: true, onClose: handleClose, title: "Set max height", children: (0, jsx_runtime_1.jsxs)(material_1.DialogContent, { className: classes.root, children: [(0, jsx_runtime_1.jsx)(material_1.Typography, { children: "Set max height for the track. For example, you can increase this if the layout says \"Max height reached\"" }), (0, jsx_runtime_1.jsx)(material_1.TextField, { value: max, autoFocus: true, onChange: event => {
20
+ setMax(event.target.value);
21
+ }, placeholder: "Enter max height for layout" }), (0, jsx_runtime_1.jsxs)(material_1.DialogActions, { children: [(0, jsx_runtime_1.jsx)(material_1.Button, { variant: "contained", color: "primary", type: "submit", autoFocus: true, onClick: () => {
22
+ model.setMaxHeight(max !== '' && !Number.isNaN(+max) ? +max : undefined);
23
+ handleClose();
24
+ }, children: "Submit" }), (0, jsx_runtime_1.jsx)(material_1.Button, { variant: "contained", color: "secondary", onClick: () => {
25
+ handleClose();
26
+ }, children: "Cancel" })] })] }) }));
55
27
  });
56
28
  exports.default = SetMaxHeightDialog;
@@ -1,8 +1,7 @@
1
- import React from 'react';
2
1
  declare const SortByTagDialog: (props: {
3
2
  model: {
4
3
  setSortedBy: (arg: string, arg2: string) => void;
5
4
  };
6
5
  handleClose: () => void;
7
- }) => React.JSX.Element;
6
+ }) => import("react/jsx-runtime").JSX.Element;
8
7
  export default SortByTagDialog;
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
2
  Object.defineProperty(exports, "__esModule", { value: true });
26
- const react_1 = __importStar(require("react"));
3
+ const jsx_runtime_1 = require("react/jsx-runtime");
4
+ const react_1 = require("react");
27
5
  const ui_1 = require("@jbrowse/core/ui");
28
6
  const material_1 = require("@mui/material");
29
7
  const mobx_react_1 = require("mobx-react");
@@ -31,25 +9,18 @@ const SortByTagDialog = (0, mobx_react_1.observer)(function (props) {
31
9
  const { model, handleClose } = props;
32
10
  const [tag, setTag] = (0, react_1.useState)('');
33
11
  const validTag = /^[A-Za-z][A-Za-z0-9]$/.exec(tag);
34
- return (react_1.default.createElement(ui_1.Dialog, { open: true, onClose: handleClose, title: "Sort by tag" },
35
- react_1.default.createElement(material_1.DialogContent, null,
36
- react_1.default.createElement(material_1.Typography, null, "Set the tag to sort by"),
37
- react_1.default.createElement(material_1.Typography, { color: "textSecondary" }, "Examples: HP for haplotype, RG for read group, etc."),
38
- react_1.default.createElement(material_1.TextField, { value: tag, onChange: event => {
39
- setTag(event.target.value);
40
- }, placeholder: "Enter tag name", error: tag.length === 2 && !validTag, helperText: tag.length === 2 && !validTag ? 'Not a valid tag' : '', autoComplete: "off", "data-testid": "sort-tag-name", slotProps: {
41
- htmlInput: {
42
- maxLength: 2,
43
- 'data-testid': 'sort-tag-name-input',
44
- },
45
- } }),
46
- react_1.default.createElement(material_1.DialogActions, null,
47
- react_1.default.createElement(material_1.Button, { variant: "contained", color: "primary", type: "submit", autoFocus: true, onClick: () => {
48
- model.setSortedBy('tag', tag);
49
- handleClose();
50
- } }, "Submit"),
51
- react_1.default.createElement(material_1.Button, { variant: "contained", color: "secondary", onClick: () => {
52
- handleClose();
53
- } }, "Cancel")))));
12
+ return ((0, jsx_runtime_1.jsx)(ui_1.Dialog, { open: true, onClose: handleClose, title: "Sort by tag", children: (0, jsx_runtime_1.jsxs)(material_1.DialogContent, { children: [(0, jsx_runtime_1.jsx)(material_1.Typography, { children: "Set the tag to sort by" }), (0, jsx_runtime_1.jsx)(material_1.Typography, { color: "textSecondary", children: "Examples: HP for haplotype, RG for read group, etc." }), (0, jsx_runtime_1.jsx)(material_1.TextField, { value: tag, onChange: event => {
13
+ setTag(event.target.value);
14
+ }, placeholder: "Enter tag name", error: tag.length === 2 && !validTag, helperText: tag.length === 2 && !validTag ? 'Not a valid tag' : '', autoComplete: "off", "data-testid": "sort-tag-name", slotProps: {
15
+ htmlInput: {
16
+ maxLength: 2,
17
+ 'data-testid': 'sort-tag-name-input',
18
+ },
19
+ } }), (0, jsx_runtime_1.jsxs)(material_1.DialogActions, { children: [(0, jsx_runtime_1.jsx)(material_1.Button, { variant: "contained", color: "primary", type: "submit", autoFocus: true, onClick: () => {
20
+ model.setSortedBy('tag', tag);
21
+ handleClose();
22
+ }, children: "Submit" }), (0, jsx_runtime_1.jsx)(material_1.Button, { variant: "contained", color: "secondary", onClick: () => {
23
+ handleClose();
24
+ }, children: "Cancel" })] })] }) }));
54
25
  });
55
26
  exports.default = SortByTagDialog;
@@ -36,7 +36,7 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
36
36
  status?: string;
37
37
  reactElement?: React.ReactElement;
38
38
  };
39
- }) => import("react").JSX.Element | undefined;
39
+ }) => import("react/jsx-runtime").JSX.Element | undefined;
40
40
  renderProps: any;
41
41
  } & {
42
42
  doReload(): void;
@@ -86,6 +86,7 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
86
86
  colorBySetting: import("mobx-state-tree").IType<import("../shared/types").ColorBy | undefined, import("../shared/types").ColorBy | undefined, import("../shared/types").ColorBy | undefined>;
87
87
  filterBySetting: import("mobx-state-tree").IType<import("../shared/types").FilterBy | undefined, import("../shared/types").FilterBy | undefined, import("../shared/types").FilterBy | undefined>;
88
88
  jexlFilters: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
89
+ hideSmallIndelsSetting: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<boolean>>;
89
90
  } & {
90
91
  type: import("mobx-state-tree").ISimpleType<"LinearPileupDisplay">;
91
92
  configuration: AnyConfigurationSchemaType;
@@ -183,13 +184,13 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
183
184
  } & {
184
185
  readonly statsReadyAndRegionNotTooLarge: boolean;
185
186
  regionCannotBeRenderedText(_region: import("@jbrowse/core/util").Region): "" | "Force load to see features";
186
- regionCannotBeRendered(_region: import("@jbrowse/core/util").Region): import("react").JSX.Element | null;
187
+ regionCannotBeRendered(_region: import("@jbrowse/core/util").Region): import("react/jsx-runtime").JSX.Element | null;
187
188
  } & {
188
189
  featureIdUnderMouse: undefined | string;
189
190
  contextMenuFeature: undefined | import("@jbrowse/core/util").Feature;
190
191
  } & {
191
- readonly DisplayMessageComponent: import("react").FC<any> | undefined;
192
- readonly blockType: "dynamicBlocks" | "staticBlocks";
192
+ readonly DisplayMessageComponent: undefined | React.FC<any>;
193
+ readonly blockType: "staticBlocks" | "dynamicBlocks";
193
194
  readonly blockDefinitions: import("@jbrowse/core/util/blockTypes").BlockSet;
194
195
  } & {
195
196
  readonly renderDelay: number;
@@ -216,7 +217,7 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
216
217
  contextMenuItems(): import("@jbrowse/core/ui").MenuItem[];
217
218
  renderProps(): any;
218
219
  } & {
219
- renderSvg(opts: import("@jbrowse/plugin-linear-genome-view").ExportSvgDisplayOptions): Promise<import("react").JSX.Element>;
220
+ renderSvg(opts: import("@jbrowse/plugin-linear-genome-view").ExportSvgDisplayOptions): Promise<import("react/jsx-runtime").JSX.Element>;
220
221
  afterAttach(): void;
221
222
  } & {
222
223
  colorTagMap: import("mobx").ObservableMap<string, string>;
@@ -227,6 +228,7 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
227
228
  readonly filterBy: any;
228
229
  } & {
229
230
  readonly autorunReady: boolean;
231
+ readonly hideSmallIndels: boolean | undefined;
230
232
  } & {
231
233
  setTagsReady(flag: boolean): void;
232
234
  setMaxHeight(n?: number): void;
@@ -240,6 +242,7 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
240
242
  setConfig(conf: import("@jbrowse/core/configuration").AnyConfigurationModel): void;
241
243
  setFilterBy(filter: import("../shared/types").FilterBy): void;
242
244
  setJexlFilters(filters: string[]): void;
245
+ setHideSmallIndels(arg: boolean): void;
243
246
  } & {
244
247
  readonly rendererConfig: {
245
248
  [x: string]: any;
@@ -275,18 +278,28 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
275
278
  model: {
276
279
  sortedBy?: SortedBy;
277
280
  };
278
- }) => import("react").JSX.Element | null;
281
+ }) => import("react/jsx-runtime").JSX.Element | null;
279
282
  renderPropsPre(): any;
280
283
  colorSchemeSubMenuItems(): {
281
284
  label: string;
282
285
  onClick: () => void;
283
286
  }[];
284
287
  trackMenuItems(): (import("@jbrowse/core/ui").MenuDivider | import("@jbrowse/core/ui").MenuSubHeader | import("@jbrowse/core/ui").NormalMenuItem | import("@jbrowse/core/ui").CheckboxMenuItem | import("@jbrowse/core/ui").RadioMenuItem | import("@jbrowse/core/ui").SubMenuItem | {
288
+ label: string;
289
+ priority: number;
290
+ type: string;
291
+ checked: boolean | undefined;
292
+ onClick: () => void;
293
+ icon?: undefined;
294
+ } | {
285
295
  label: string;
286
296
  icon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
287
297
  muiName: string;
288
298
  };
289
299
  onClick: () => void;
300
+ priority?: undefined;
301
+ type?: undefined;
302
+ checked?: undefined;
290
303
  })[];
291
304
  } & {
292
305
  renderProps(): any;
@@ -430,7 +443,7 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
430
443
  status?: string;
431
444
  reactElement?: React.ReactElement;
432
445
  };
433
- }) => import("react").JSX.Element | undefined;
446
+ }) => import("react/jsx-runtime").JSX.Element | undefined;
434
447
  renderProps: any;
435
448
  } & {
436
449
  doReload(): void;
@@ -480,6 +493,7 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
480
493
  colorBySetting: import("mobx-state-tree").IType<import("../shared/types").ColorBy | undefined, import("../shared/types").ColorBy | undefined, import("../shared/types").ColorBy | undefined>;
481
494
  filterBySetting: import("mobx-state-tree").IType<import("../shared/types").FilterBy | undefined, import("../shared/types").FilterBy | undefined, import("../shared/types").FilterBy | undefined>;
482
495
  jexlFilters: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
496
+ hideSmallIndelsSetting: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<boolean>>;
483
497
  }>> & import("mobx-state-tree/dist/internal").NonEmptyObject & import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
484
498
  export type LinearPileupDisplayStateModel = ReturnType<typeof stateModelFactory>;
485
499
  export type LinearPileupDisplayModel = Instance<LinearPileupDisplayStateModel>;