@apollo-annotation/jbrowse-plugin-apollo 0.3.11 → 0.3.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ApolloInternetAccount/components/AuthTypeSelector.d.ts +6 -0
- package/dist/ApolloInternetAccount/components/AuthTypeSelector.d.ts.map +1 -0
- package/dist/ApolloInternetAccount/components/LoginButtons.d.ts +5 -0
- package/dist/ApolloInternetAccount/components/LoginButtons.d.ts.map +1 -0
- package/dist/ApolloInternetAccount/components/LoginIcons.d.ts +4 -0
- package/dist/ApolloInternetAccount/components/LoginIcons.d.ts.map +1 -0
- package/dist/ApolloInternetAccount/index.d.ts +3 -0
- package/dist/ApolloInternetAccount/index.d.ts.map +1 -0
- package/dist/ApolloJobModel.d.ts +53 -0
- package/dist/ApolloJobModel.d.ts.map +1 -0
- package/dist/ApolloRefNameAliasAdapter/ApolloRefNameAliasAdapter.d.ts +12 -0
- package/dist/ApolloRefNameAliasAdapter/ApolloRefNameAliasAdapter.d.ts.map +1 -0
- package/dist/ApolloRefNameAliasAdapter/index.d.ts +3 -0
- package/dist/ApolloRefNameAliasAdapter/index.d.ts.map +1 -0
- package/dist/ApolloSequenceAdapter/ApolloSequenceAdapter.d.ts +27 -0
- package/dist/ApolloSequenceAdapter/ApolloSequenceAdapter.d.ts.map +1 -0
- package/dist/ApolloSequenceAdapter/index.d.ts +3 -0
- package/dist/ApolloSequenceAdapter/index.d.ts.map +1 -0
- package/dist/ApolloTextSearchAdapter/ApolloTextSearchAdapter.d.ts +13 -0
- package/dist/ApolloTextSearchAdapter/ApolloTextSearchAdapter.d.ts.map +1 -0
- package/dist/ApolloTextSearchAdapter/index.d.ts +3 -0
- package/dist/ApolloTextSearchAdapter/index.d.ts.map +1 -0
- package/dist/BackendDrivers/BackendDriver.d.ts +26 -0
- package/dist/BackendDrivers/BackendDriver.d.ts.map +1 -0
- package/dist/BackendDrivers/CollaborationServerDriver.d.ts +206 -0
- package/dist/BackendDrivers/CollaborationServerDriver.d.ts.map +1 -0
- package/dist/BackendDrivers/DesktopFileDriver.d.ts +160 -0
- package/dist/BackendDrivers/DesktopFileDriver.d.ts.map +1 -0
- package/dist/BackendDrivers/InMemoryFileDriver.d.ts +162 -0
- package/dist/BackendDrivers/InMemoryFileDriver.d.ts.map +1 -0
- package/dist/BackendDrivers/index.d.ts +5 -0
- package/dist/BackendDrivers/index.d.ts.map +1 -0
- package/dist/ChangeManager.d.ts +24 -0
- package/dist/ChangeManager.d.ts.map +1 -0
- package/dist/FeatureDetailsWidget/ApolloFeatureDetailsWidget.d.ts +6 -0
- package/dist/FeatureDetailsWidget/ApolloFeatureDetailsWidget.d.ts.map +1 -0
- package/dist/FeatureDetailsWidget/ApolloTranscriptDetailsWidget.d.ts +12 -0
- package/dist/FeatureDetailsWidget/ApolloTranscriptDetailsWidget.d.ts.map +1 -0
- package/dist/FeatureDetailsWidget/AttributeKey.d.ts +4 -0
- package/dist/FeatureDetailsWidget/AttributeKey.d.ts.map +1 -0
- package/dist/FeatureDetailsWidget/AttributeKeySelector.d.ts +6 -0
- package/dist/FeatureDetailsWidget/AttributeKeySelector.d.ts.map +1 -0
- package/dist/FeatureDetailsWidget/Attributes.d.ts +9 -0
- package/dist/FeatureDetailsWidget/Attributes.d.ts.map +1 -0
- package/dist/FeatureDetailsWidget/BasicInformation.d.ts +8 -0
- package/dist/FeatureDetailsWidget/BasicInformation.d.ts.map +1 -0
- package/dist/FeatureDetailsWidget/DefaultAttributeEditor.d.ts +9 -0
- package/dist/FeatureDetailsWidget/DefaultAttributeEditor.d.ts.map +1 -0
- package/dist/FeatureDetailsWidget/DefaultAttributeViewer.d.ts +5 -0
- package/dist/FeatureDetailsWidget/DefaultAttributeViewer.d.ts.map +1 -0
- package/dist/FeatureDetailsWidget/FeatureDetailsNavigation.d.ts +7 -0
- package/dist/FeatureDetailsWidget/FeatureDetailsNavigation.d.ts.map +1 -0
- package/dist/FeatureDetailsWidget/NumberTextField.d.ts +8 -0
- package/dist/FeatureDetailsWidget/NumberTextField.d.ts.map +1 -0
- package/dist/FeatureDetailsWidget/Sequence.d.ts +10 -0
- package/dist/FeatureDetailsWidget/Sequence.d.ts.map +1 -0
- package/dist/FeatureDetailsWidget/StringTextField.d.ts +8 -0
- package/dist/FeatureDetailsWidget/StringTextField.d.ts.map +1 -0
- package/dist/FeatureDetailsWidget/TranscriptSequence.d.ts +10 -0
- package/dist/FeatureDetailsWidget/TranscriptSequence.d.ts.map +1 -0
- package/dist/FeatureDetailsWidget/TranscriptWidgetEditLocation.d.ts +9 -0
- package/dist/FeatureDetailsWidget/TranscriptWidgetEditLocation.d.ts.map +1 -0
- package/dist/FeatureDetailsWidget/TranscriptWidgetSummary.d.ts +6 -0
- package/dist/FeatureDetailsWidget/TranscriptWidgetSummary.d.ts.map +1 -0
- package/dist/FeatureDetailsWidget/index.d.ts +5 -0
- package/dist/FeatureDetailsWidget/index.d.ts.map +1 -0
- package/dist/FeatureDetailsWidget/model.d.ts +123 -0
- package/dist/FeatureDetailsWidget/model.d.ts.map +1 -0
- package/dist/LinearApolloDisplay/components/CheckResultWarnings.d.ts +5 -0
- package/dist/LinearApolloDisplay/components/CheckResultWarnings.d.ts.map +1 -0
- package/dist/LinearApolloDisplay/components/LinearApolloDisplay.d.ts +7 -0
- package/dist/LinearApolloDisplay/components/LinearApolloDisplay.d.ts.map +1 -0
- package/dist/LinearApolloDisplay/components/index.d.ts +2 -0
- package/dist/LinearApolloDisplay/components/index.d.ts.map +1 -0
- package/dist/LinearApolloDisplay/glyphs/BoxGlyph.d.ts +4 -0
- package/dist/LinearApolloDisplay/glyphs/BoxGlyph.d.ts.map +1 -0
- package/dist/LinearApolloDisplay/glyphs/GeneGlyph.d.ts +3 -0
- package/dist/LinearApolloDisplay/glyphs/GeneGlyph.d.ts.map +1 -0
- package/dist/LinearApolloDisplay/glyphs/GenericChildGlyph.d.ts +3 -0
- package/dist/LinearApolloDisplay/glyphs/GenericChildGlyph.d.ts.map +1 -0
- package/dist/LinearApolloDisplay/glyphs/Glyph.d.ts +26 -0
- package/dist/LinearApolloDisplay/glyphs/Glyph.d.ts.map +1 -0
- package/dist/LinearApolloDisplay/glyphs/index.d.ts +4 -0
- package/dist/LinearApolloDisplay/glyphs/index.d.ts.map +1 -0
- package/dist/LinearApolloDisplay/glyphs/util.d.ts +12 -0
- package/dist/LinearApolloDisplay/glyphs/util.d.ts.map +1 -0
- package/dist/LinearApolloDisplay/index.d.ts +3 -0
- package/dist/LinearApolloDisplay/index.d.ts.map +1 -0
- package/dist/LinearApolloDisplay/stateModel/base.d.ts +254 -0
- package/dist/LinearApolloDisplay/stateModel/base.d.ts.map +1 -0
- package/dist/LinearApolloDisplay/stateModel/index.d.ts +349 -0
- package/dist/LinearApolloDisplay/stateModel/index.d.ts.map +1 -0
- package/dist/LinearApolloDisplay/stateModel/layouts.d.ts +273 -0
- package/dist/LinearApolloDisplay/stateModel/layouts.d.ts.map +1 -0
- package/dist/LinearApolloDisplay/stateModel/mouseEvents.d.ts +656 -0
- package/dist/LinearApolloDisplay/stateModel/mouseEvents.d.ts.map +1 -0
- package/dist/LinearApolloDisplay/stateModel/rendering.d.ts +300 -0
- package/dist/LinearApolloDisplay/stateModel/rendering.d.ts.map +1 -0
- package/dist/LinearApolloDisplay/types.d.ts +2 -0
- package/dist/LinearApolloDisplay/types.d.ts.map +1 -0
- package/dist/LinearApolloReferenceSequenceDisplay/components/LinearApolloReferenceSequenceDisplay.d.ts +7 -0
- package/dist/LinearApolloReferenceSequenceDisplay/components/LinearApolloReferenceSequenceDisplay.d.ts.map +1 -0
- package/dist/LinearApolloReferenceSequenceDisplay/components/index.d.ts +2 -0
- package/dist/LinearApolloReferenceSequenceDisplay/components/index.d.ts.map +1 -0
- package/dist/LinearApolloReferenceSequenceDisplay/drawSequenceOverlay.d.ts +6 -0
- package/dist/LinearApolloReferenceSequenceDisplay/drawSequenceOverlay.d.ts.map +1 -0
- package/dist/LinearApolloReferenceSequenceDisplay/drawSequenceTrack.d.ts +5 -0
- package/dist/LinearApolloReferenceSequenceDisplay/drawSequenceTrack.d.ts.map +1 -0
- package/dist/LinearApolloReferenceSequenceDisplay/index.d.ts +4 -0
- package/dist/LinearApolloReferenceSequenceDisplay/index.d.ts.map +1 -0
- package/dist/LinearApolloReferenceSequenceDisplay/stateModel/base.d.ts +236 -0
- package/dist/LinearApolloReferenceSequenceDisplay/stateModel/base.d.ts.map +1 -0
- package/dist/LinearApolloReferenceSequenceDisplay/stateModel/index.d.ts +245 -0
- package/dist/LinearApolloReferenceSequenceDisplay/stateModel/index.d.ts.map +1 -0
- package/dist/LinearApolloReferenceSequenceDisplay/stateModel/rendering.d.ts +246 -0
- package/dist/LinearApolloReferenceSequenceDisplay/stateModel/rendering.d.ts.map +1 -0
- package/dist/LinearApolloSixFrameDisplay/components/LinearApolloSixFrameDisplay.d.ts +7 -0
- package/dist/LinearApolloSixFrameDisplay/components/LinearApolloSixFrameDisplay.d.ts.map +1 -0
- package/dist/LinearApolloSixFrameDisplay/components/TrackLines.d.ts +8 -0
- package/dist/LinearApolloSixFrameDisplay/components/TrackLines.d.ts.map +1 -0
- package/dist/LinearApolloSixFrameDisplay/components/index.d.ts +3 -0
- package/dist/LinearApolloSixFrameDisplay/components/index.d.ts.map +1 -0
- package/dist/LinearApolloSixFrameDisplay/glyphs/GeneGlyph.d.ts +3 -0
- package/dist/LinearApolloSixFrameDisplay/glyphs/GeneGlyph.d.ts.map +1 -0
- package/dist/LinearApolloSixFrameDisplay/glyphs/Glyph.d.ts +20 -0
- package/dist/LinearApolloSixFrameDisplay/glyphs/Glyph.d.ts.map +1 -0
- package/dist/LinearApolloSixFrameDisplay/glyphs/index.d.ts +2 -0
- package/dist/LinearApolloSixFrameDisplay/glyphs/index.d.ts.map +1 -0
- package/dist/LinearApolloSixFrameDisplay/index.d.ts +3 -0
- package/dist/LinearApolloSixFrameDisplay/index.d.ts.map +1 -0
- package/dist/LinearApolloSixFrameDisplay/stateModel/base.d.ts +257 -0
- package/dist/LinearApolloSixFrameDisplay/stateModel/base.d.ts.map +1 -0
- package/dist/LinearApolloSixFrameDisplay/stateModel/index.d.ts +355 -0
- package/dist/LinearApolloSixFrameDisplay/stateModel/index.d.ts.map +1 -0
- package/dist/LinearApolloSixFrameDisplay/stateModel/layouts.d.ts +283 -0
- package/dist/LinearApolloSixFrameDisplay/stateModel/layouts.d.ts.map +1 -0
- package/dist/LinearApolloSixFrameDisplay/stateModel/mouseEvents.d.ts +668 -0
- package/dist/LinearApolloSixFrameDisplay/stateModel/mouseEvents.d.ts.map +1 -0
- package/dist/LinearApolloSixFrameDisplay/stateModel/rendering.d.ts +306 -0
- package/dist/LinearApolloSixFrameDisplay/stateModel/rendering.d.ts.map +1 -0
- package/dist/LinearApolloSixFrameDisplay/types.d.ts +2 -0
- package/dist/LinearApolloSixFrameDisplay/types.d.ts.map +1 -0
- package/dist/OntologyManager/OntologyStore/fulltext-stopwords.d.ts +8 -0
- package/dist/OntologyManager/OntologyStore/fulltext-stopwords.d.ts.map +1 -0
- package/dist/OntologyManager/OntologyStore/fulltext.d.ts +27 -0
- package/dist/OntologyManager/OntologyStore/fulltext.d.ts.map +1 -0
- package/dist/OntologyManager/OntologyStore/index.d.ts +93 -0
- package/dist/OntologyManager/OntologyStore/index.d.ts.map +1 -0
- package/dist/OntologyManager/OntologyStore/indexeddb-schema.d.ts +71 -0
- package/dist/OntologyManager/OntologyStore/indexeddb-schema.d.ts.map +1 -0
- package/dist/OntologyManager/OntologyStore/indexeddb-storage.d.ts +11 -0
- package/dist/OntologyManager/OntologyStore/indexeddb-storage.d.ts.map +1 -0
- package/dist/OntologyManager/OntologyStore/obo-graph-json-schema.d.ts +107 -0
- package/dist/OntologyManager/OntologyStore/obo-graph-json-schema.d.ts.map +1 -0
- package/dist/OntologyManager/OntologyStore/prefixes.d.ts +20 -0
- package/dist/OntologyManager/OntologyStore/prefixes.d.ts.map +1 -0
- package/dist/OntologyManager/util.d.ts +4 -0
- package/dist/OntologyManager/util.d.ts.map +1 -0
- package/dist/TabularEditor/HybridGrid/ChangeHandling.d.ts +6 -0
- package/dist/TabularEditor/HybridGrid/ChangeHandling.d.ts.map +1 -0
- package/dist/TabularEditor/HybridGrid/Feature.d.ts +13 -0
- package/dist/TabularEditor/HybridGrid/Feature.d.ts.map +1 -0
- package/dist/TabularEditor/HybridGrid/FeatureAttributes.d.ts +6 -0
- package/dist/TabularEditor/HybridGrid/FeatureAttributes.d.ts.map +1 -0
- package/dist/TabularEditor/HybridGrid/Highlight.d.ts +6 -0
- package/dist/TabularEditor/HybridGrid/Highlight.d.ts.map +1 -0
- package/dist/TabularEditor/HybridGrid/HybridGrid.d.ts +14 -0
- package/dist/TabularEditor/HybridGrid/HybridGrid.d.ts.map +1 -0
- package/dist/TabularEditor/HybridGrid/NumberCell.d.ts +8 -0
- package/dist/TabularEditor/HybridGrid/NumberCell.d.ts.map +1 -0
- package/dist/TabularEditor/HybridGrid/ToolBar.d.ts +5 -0
- package/dist/TabularEditor/HybridGrid/ToolBar.d.ts.map +1 -0
- package/dist/TabularEditor/HybridGrid/featureContextMenuItems.d.ts +11 -0
- package/dist/TabularEditor/HybridGrid/featureContextMenuItems.d.ts.map +1 -0
- package/dist/TabularEditor/HybridGrid/index.d.ts +2 -0
- package/dist/TabularEditor/HybridGrid/index.d.ts.map +1 -0
- package/dist/TabularEditor/TabularEditorPane.d.ts +5 -0
- package/dist/TabularEditor/TabularEditorPane.d.ts.map +1 -0
- package/dist/TabularEditor/index.d.ts +3 -0
- package/dist/TabularEditor/index.d.ts.map +1 -0
- package/dist/TabularEditor/model.d.ts +17 -0
- package/dist/TabularEditor/model.d.ts.map +1 -0
- package/dist/TabularEditor/types.d.ts +4 -0
- package/dist/TabularEditor/types.d.ts.map +1 -0
- package/dist/components/AddAssembly.d.ts +10 -0
- package/dist/components/AddAssembly.d.ts.map +1 -0
- package/dist/components/AddAssemblyAliases.d.ts +10 -0
- package/dist/components/AddAssemblyAliases.d.ts.map +1 -0
- package/dist/components/AddChildFeature.d.ts +13 -0
- package/dist/components/AddChildFeature.d.ts.map +1 -0
- package/dist/components/AddFeature.d.ts +12 -0
- package/dist/components/AddFeature.d.ts.map +1 -0
- package/dist/components/AddRefSeqAliases.d.ts +10 -0
- package/dist/components/AddRefSeqAliases.d.ts.map +1 -0
- package/dist/components/CopyFeature.d.ts +13 -0
- package/dist/components/CopyFeature.d.ts.map +1 -0
- package/dist/components/CreateApolloAnnotation.d.ts +20 -0
- package/dist/components/CreateApolloAnnotation.d.ts.map +1 -0
- package/dist/components/DeleteAssembly.d.ts +10 -0
- package/dist/components/DeleteAssembly.d.ts.map +1 -0
- package/dist/components/DeleteFeature.d.ts +15 -0
- package/dist/components/DeleteFeature.d.ts.map +1 -0
- package/dist/components/Dialog.d.ts +7 -0
- package/dist/components/Dialog.d.ts.map +1 -0
- package/dist/components/DownloadGFF3.d.ts +8 -0
- package/dist/components/DownloadGFF3.d.ts.map +1 -0
- package/dist/components/DuplicateTranscript.d.ts +15 -0
- package/dist/components/DuplicateTranscript.d.ts.map +1 -0
- package/dist/components/EditZoomThresholdDialog.d.ts +11 -0
- package/dist/components/EditZoomThresholdDialog.d.ts.map +1 -0
- package/dist/components/FilterFeatures.d.ts +10 -0
- package/dist/components/FilterFeatures.d.ts.map +1 -0
- package/dist/components/FilterTranscripts.d.ts +10 -0
- package/dist/components/FilterTranscripts.d.ts.map +1 -0
- package/dist/components/ImportFeatures.d.ts +10 -0
- package/dist/components/ImportFeatures.d.ts.map +1 -0
- package/dist/components/LogOut.d.ts +8 -0
- package/dist/components/LogOut.d.ts.map +1 -0
- package/dist/components/ManageChecks.d.ts +8 -0
- package/dist/components/ManageChecks.d.ts.map +1 -0
- package/dist/components/ManageUsers.d.ts +10 -0
- package/dist/components/ManageUsers.d.ts.map +1 -0
- package/dist/components/MergeExons.d.ts +15 -0
- package/dist/components/MergeExons.d.ts.map +1 -0
- package/dist/components/MergeTranscripts.d.ts +15 -0
- package/dist/components/MergeTranscripts.d.ts.map +1 -0
- package/dist/components/OntologyTermAutocomplete.d.ts +25 -0
- package/dist/components/OntologyTermAutocomplete.d.ts.map +1 -0
- package/dist/components/OntologyTermMultiSelect.d.ts +12 -0
- package/dist/components/OntologyTermMultiSelect.d.ts.map +1 -0
- package/dist/components/OpenLocalFile.d.ts +15 -0
- package/dist/components/OpenLocalFile.d.ts.map +1 -0
- package/dist/components/SplitExon.d.ts +15 -0
- package/dist/components/SplitExon.d.ts.map +1 -0
- package/dist/components/ViewChangeLog.d.ts +8 -0
- package/dist/components/ViewChangeLog.d.ts.map +1 -0
- package/dist/components/ViewCheckResults.d.ts +8 -0
- package/dist/components/ViewCheckResults.d.ts.map +1 -0
- package/dist/components/index.d.ts +21 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/extensions/annotationFromJBrowseFeature.d.ts +6 -0
- package/dist/extensions/annotationFromJBrowseFeature.d.ts.map +1 -0
- package/dist/extensions/annotationFromPileup.d.ts +3 -0
- package/dist/extensions/annotationFromPileup.d.ts.map +1 -0
- package/dist/extensions/index.d.ts +3 -0
- package/dist/extensions/index.d.ts.map +1 -0
- package/dist/index.esm.js +843 -1330
- package/dist/index.esm.js.map +1 -1
- package/dist/jbrowse-plugin-apollo.cjs.development.js +919 -1455
- package/dist/jbrowse-plugin-apollo.cjs.development.js.map +1 -1
- package/dist/jbrowse-plugin-apollo.cjs.production.min.js +1 -1
- package/dist/jbrowse-plugin-apollo.cjs.production.min.js.map +1 -1
- package/dist/jbrowse-plugin-apollo.umd.development.js +46351 -63687
- package/dist/jbrowse-plugin-apollo.umd.development.js.map +1 -1
- package/dist/jbrowse-plugin-apollo.umd.production.min.js +1 -1
- package/dist/jbrowse-plugin-apollo.umd.production.min.js.map +1 -1
- package/dist/makeDisplayComponent.d.ts +9 -0
- package/dist/makeDisplayComponent.d.ts.map +1 -0
- package/dist/menus/index.d.ts +2 -0
- package/dist/menus/index.d.ts.map +1 -0
- package/dist/menus/topLevelMenu.d.ts +3 -0
- package/dist/menus/topLevelMenu.d.ts.map +1 -0
- package/dist/menus/topLevelMenuAdmin.d.ts +3 -0
- package/dist/menus/topLevelMenuAdmin.d.ts.map +1 -0
- package/dist/session/index.d.ts +2 -0
- package/dist/session/index.d.ts.map +1 -0
- package/dist/types.d.ts +10 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/util/annotationFeatureUtils.d.ts +7 -0
- package/dist/util/annotationFeatureUtils.d.ts.map +1 -0
- package/dist/util/copyToClipboard.d.ts +2 -0
- package/dist/util/copyToClipboard.d.ts.map +1 -0
- package/dist/util/glyphUtils.d.ts +31 -0
- package/dist/util/glyphUtils.d.ts.map +1 -0
- package/dist/util/index.d.ts +10 -0
- package/dist/util/index.d.ts.map +1 -0
- package/dist/util/loadAssemblyIntoClient.d.ts +5 -0
- package/dist/util/loadAssemblyIntoClient.d.ts.map +1 -0
- package/dist/util/mouseEventsUtils.d.ts +25 -0
- package/dist/util/mouseEventsUtils.d.ts.map +1 -0
- package/package.json +48 -25
- package/src/ApolloInternetAccount/components/AuthTypeSelector.tsx +7 -2
- package/src/ApolloInternetAccount/components/LoginButtons.tsx +1 -1
- package/src/ApolloInternetAccount/configSchema.ts +1 -1
- package/src/ApolloInternetAccount/model.ts +13 -6
- package/src/ApolloJobModel.ts +3 -3
- package/src/ApolloRefNameAliasAdapter/ApolloRefNameAliasAdapter.ts +2 -2
- package/src/ApolloSequenceAdapter/ApolloSequenceAdapter.ts +2 -2
- package/src/ApolloTextSearchAdapter/ApolloTextSearchAdapter.ts +28 -5
- package/src/BackendDrivers/BackendDriver.ts +8 -8
- package/src/BackendDrivers/CollaborationServerDriver.ts +6 -6
- package/src/BackendDrivers/DesktopFileDriver.ts +4 -4
- package/src/BackendDrivers/InMemoryFileDriver.ts +5 -8
- package/src/ChangeManager.ts +8 -3
- package/src/FeatureDetailsWidget/ApolloFeatureDetailsWidget.tsx +3 -3
- package/src/FeatureDetailsWidget/ApolloTranscriptDetailsWidget.tsx +7 -7
- package/src/FeatureDetailsWidget/AttributeKey.tsx +1 -1
- package/src/FeatureDetailsWidget/AttributeKeySelector.tsx +1 -1
- package/src/FeatureDetailsWidget/Attributes.tsx +4 -4
- package/src/FeatureDetailsWidget/BasicInformation.tsx +3 -3
- package/src/FeatureDetailsWidget/DefaultAttributeEditor.tsx +1 -1
- package/src/FeatureDetailsWidget/FeatureDetailsNavigation.tsx +2 -2
- package/src/FeatureDetailsWidget/Sequence.tsx +3 -3
- package/src/FeatureDetailsWidget/TranscriptSequence.tsx +2 -2
- package/src/FeatureDetailsWidget/TranscriptWidgetEditLocation.tsx +3 -6
- package/src/FeatureDetailsWidget/TranscriptWidgetSummary.tsx +1 -1
- package/src/FeatureDetailsWidget/model.ts +3 -3
- package/src/LinearApolloDisplay/components/CheckResultWarnings.tsx +2 -2
- package/src/LinearApolloDisplay/components/LinearApolloDisplay.tsx +6 -4
- package/src/LinearApolloDisplay/glyphs/BoxGlyph.ts +7 -7
- package/src/LinearApolloDisplay/glyphs/GeneGlyph.ts +56 -30
- package/src/LinearApolloDisplay/glyphs/GenericChildGlyph.ts +6 -6
- package/src/LinearApolloDisplay/glyphs/Glyph.ts +7 -7
- package/src/LinearApolloDisplay/glyphs/util.ts +2 -2
- package/src/LinearApolloDisplay/stateModel/base.ts +17 -8
- package/src/LinearApolloDisplay/stateModel/index.ts +2 -2
- package/src/LinearApolloDisplay/stateModel/layouts.ts +4 -4
- package/src/LinearApolloDisplay/stateModel/mouseEvents.ts +6 -6
- package/src/LinearApolloDisplay/stateModel/rendering.ts +3 -3
- package/src/LinearApolloReferenceSequenceDisplay/components/LinearApolloReferenceSequenceDisplay.tsx +4 -2
- package/src/LinearApolloReferenceSequenceDisplay/drawSequenceOverlay.ts +4 -4
- package/src/LinearApolloReferenceSequenceDisplay/drawSequenceTrack.ts +3 -3
- package/src/LinearApolloReferenceSequenceDisplay/stateModel/base.ts +11 -8
- package/src/LinearApolloReferenceSequenceDisplay/stateModel/index.ts +2 -2
- package/src/LinearApolloReferenceSequenceDisplay/stateModel/rendering.ts +2 -2
- package/src/LinearApolloSixFrameDisplay/components/LinearApolloSixFrameDisplay.tsx +17 -9
- package/src/LinearApolloSixFrameDisplay/components/TrackLines.tsx +1 -1
- package/src/LinearApolloSixFrameDisplay/glyphs/GeneGlyph.ts +36 -23
- package/src/LinearApolloSixFrameDisplay/glyphs/Glyph.ts +6 -6
- package/src/LinearApolloSixFrameDisplay/stateModel/base.ts +17 -8
- package/src/LinearApolloSixFrameDisplay/stateModel/index.ts +2 -2
- package/src/LinearApolloSixFrameDisplay/stateModel/layouts.ts +12 -8
- package/src/LinearApolloSixFrameDisplay/stateModel/mouseEvents.ts +11 -10
- package/src/LinearApolloSixFrameDisplay/stateModel/rendering.ts +3 -3
- package/src/OntologyManager/OntologyStore/fulltext.test.ts +1 -1
- package/src/OntologyManager/OntologyStore/fulltext.ts +11 -4
- package/src/OntologyManager/OntologyStore/index.test.ts +3 -0
- package/src/OntologyManager/OntologyStore/indexeddb-schema.ts +6 -6
- package/src/OntologyManager/OntologyStore/indexeddb-storage.ts +2 -1
- package/src/OntologyManager/index.ts +4 -4
- package/src/OntologyManager/util.ts +1 -1
- package/src/TabularEditor/HybridGrid/ChangeHandling.ts +2 -2
- package/src/TabularEditor/HybridGrid/Feature.tsx +6 -6
- package/src/TabularEditor/HybridGrid/FeatureAttributes.tsx +2 -2
- package/src/TabularEditor/HybridGrid/Highlight.tsx +1 -1
- package/src/TabularEditor/HybridGrid/HybridGrid.tsx +2 -2
- package/src/TabularEditor/HybridGrid/NumberCell.tsx +1 -1
- package/src/TabularEditor/HybridGrid/ToolBar.tsx +3 -2
- package/src/TabularEditor/HybridGrid/featureContextMenuItems.ts +26 -4
- package/src/TabularEditor/TabularEditorPane.tsx +1 -1
- package/src/TabularEditor/model.ts +2 -2
- package/src/TabularEditor/types.ts +2 -2
- package/src/components/AddAssembly.tsx +61 -42
- package/src/components/AddAssemblyAliases.tsx +5 -5
- package/src/components/AddChildFeature.tsx +3 -3
- package/src/components/AddFeature.tsx +4 -4
- package/src/components/AddRefSeqAliases.tsx +7 -7
- package/src/components/CopyFeature.tsx +8 -8
- package/src/components/CreateApolloAnnotation.tsx +5 -5
- package/src/components/DeleteAssembly.tsx +8 -8
- package/src/components/DeleteFeature.tsx +4 -4
- package/src/components/Dialog.tsx +1 -1
- package/src/components/DownloadGFF3.tsx +8 -8
- package/src/components/DuplicateTranscript.tsx +132 -0
- package/src/components/FilterFeatures.tsx +1 -1
- package/src/components/FilterTranscripts.tsx +1 -1
- package/src/components/ImportFeatures.tsx +51 -33
- package/src/components/LogOut.tsx +4 -4
- package/src/components/ManageChecks.tsx +8 -8
- package/src/components/ManageUsers.tsx +18 -26
- package/src/components/MergeExons.tsx +4 -4
- package/src/components/MergeTranscripts.tsx +4 -4
- package/src/components/OntologyTermAutocomplete.tsx +14 -4
- package/src/components/OntologyTermMultiSelect.tsx +12 -5
- package/src/components/OpenLocalFile.tsx +2 -2
- package/src/components/SplitExon.tsx +6 -6
- package/src/components/ViewChangeLog.tsx +8 -8
- package/src/components/ViewCheckResults.tsx +4 -4
- package/src/components/index.ts +1 -0
- package/src/config.ts +1 -1
- package/src/extensions/annotationFromJBrowseFeature.ts +29 -24
- package/src/extensions/annotationFromPileup.ts +8 -6
- package/src/index.ts +25 -1
- package/src/makeDisplayComponent.tsx +8 -5
- package/src/menus/topLevelMenu.ts +4 -4
- package/src/menus/topLevelMenuAdmin.ts +4 -4
- package/src/session/ClientDataStore.ts +20 -15
- package/src/session/session.ts +30 -19
- package/src/types.ts +10 -4
- package/src/util/annotationFeatureUtils.ts +1 -1
- package/src/util/displayUtils.ts +3 -3
- package/src/util/glyphUtils.ts +10 -10
- package/src/util/index.ts +4 -4
- package/src/util/loadAssemblyIntoClient.ts +4 -4
- package/src/util/mouseEventsUtils.ts +2 -2
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/no-unnecessary-condition */
|
|
2
2
|
import type PluginManager from '@jbrowse/core/PluginManager'
|
|
3
|
-
import {
|
|
3
|
+
import type { AnyConfigurationSchemaType } from '@jbrowse/core/configuration'
|
|
4
4
|
import { doesIntersect2 } from '@jbrowse/core/util'
|
|
5
|
+
import { type Instance, addDisposer, types } from '@jbrowse/mobx-state-tree'
|
|
5
6
|
import { type Theme, createTheme } from '@mui/material'
|
|
6
7
|
import { autorun } from 'mobx'
|
|
7
|
-
import { type Instance, addDisposer, types } from 'mobx-state-tree'
|
|
8
8
|
|
|
9
|
-
import {
|
|
9
|
+
import type { ApolloSessionModel } from '../../session'
|
|
10
10
|
|
|
11
11
|
import { layoutsModelFactory } from './layouts'
|
|
12
12
|
|
package/src/LinearApolloReferenceSequenceDisplay/components/LinearApolloReferenceSequenceDisplay.tsx
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/unbound-method */
|
|
2
|
+
|
|
2
3
|
/* eslint-disable @typescript-eslint/no-misused-promises */
|
|
3
4
|
import { getContainingView } from '@jbrowse/core/util'
|
|
4
|
-
import {
|
|
5
|
+
import type { LinearGenomeViewModel } from '@jbrowse/plugin-linear-genome-view'
|
|
5
6
|
import { Alert, Tooltip, useTheme } from '@mui/material'
|
|
6
7
|
import { observer } from 'mobx-react'
|
|
7
8
|
import React, { useEffect } from 'react'
|
|
8
9
|
|
|
9
10
|
import { useStyles } from '../../util/displayUtils'
|
|
10
|
-
import {
|
|
11
|
+
import type { LinearApolloReferenceSequenceDisplay as LinearApolloReferenceSequenceDisplayI } from '../stateModel'
|
|
11
12
|
|
|
12
13
|
interface LinearApolloReferenceSequenceDisplayProps {
|
|
13
14
|
model: LinearApolloReferenceSequenceDisplayI
|
|
@@ -34,6 +35,7 @@ export const LinearApolloReferenceSequenceDisplay = observer(
|
|
|
34
35
|
const lgv = getContainingView(model) as unknown as LinearGenomeViewModel
|
|
35
36
|
const message = regionCannotBeRendered()
|
|
36
37
|
|
|
38
|
+
// This type is wrong in @jbrowse/core
|
|
37
39
|
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
|
|
38
40
|
if (message) {
|
|
39
41
|
return (
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { AnnotationFeature } from '@apollo-annotation/mst'
|
|
2
2
|
import { type Frame, getFrame } from '@jbrowse/core/util'
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import type { BlockSet, ContentBlock } from '@jbrowse/core/util/blockTypes'
|
|
4
|
+
import type { Theme } from '@mui/material'
|
|
5
5
|
|
|
6
|
-
import {
|
|
6
|
+
import type { ApolloSessionModel, HoveredFeature } from '../session'
|
|
7
7
|
|
|
8
8
|
function getSeqRow(
|
|
9
9
|
strand: 1 | -1 | undefined,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defaultCodonTable, getFrame, revcom } from '@jbrowse/core/util'
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { BlockSet } from '@jbrowse/core/util/blockTypes'
|
|
3
|
+
import type { Theme } from '@mui/material'
|
|
4
4
|
|
|
5
5
|
import { strokeRectInner } from '../LinearApolloDisplay/glyphs/util'
|
|
6
|
-
import {
|
|
6
|
+
import type { ApolloSessionModel } from '../session'
|
|
7
7
|
import { codonColorCode, colorCode } from '../util/displayUtils'
|
|
8
8
|
|
|
9
9
|
function drawLetter(
|
|
@@ -3,10 +3,13 @@
|
|
|
3
3
|
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
|
|
5
5
|
/* eslint-disable @typescript-eslint/no-unnecessary-condition */
|
|
6
|
-
import {
|
|
6
|
+
import type { AnnotationFeature } from '@apollo-annotation/mst'
|
|
7
7
|
import type PluginManager from '@jbrowse/core/PluginManager'
|
|
8
|
-
import {
|
|
9
|
-
|
|
8
|
+
import {
|
|
9
|
+
type AnyConfigurationSchemaType,
|
|
10
|
+
ConfigurationReference,
|
|
11
|
+
getConf,
|
|
12
|
+
} from '@jbrowse/core/configuration'
|
|
10
13
|
import { BaseDisplay } from '@jbrowse/core/pluggableElementTypes'
|
|
11
14
|
import {
|
|
12
15
|
type AbstractSessionModel,
|
|
@@ -15,13 +18,13 @@ import {
|
|
|
15
18
|
} from '@jbrowse/core/util'
|
|
16
19
|
import { getParentRenderProps } from '@jbrowse/core/util/tracks'
|
|
17
20
|
// import type LinearGenomeViewPlugin from '@jbrowse/plugin-linear-genome-view'
|
|
18
|
-
import {
|
|
21
|
+
import { addDisposer, getRoot, types } from '@jbrowse/mobx-state-tree'
|
|
22
|
+
import type { LinearGenomeViewModel } from '@jbrowse/plugin-linear-genome-view'
|
|
19
23
|
import { autorun } from 'mobx'
|
|
20
|
-
import { addDisposer, getRoot, types } from 'mobx-state-tree'
|
|
21
24
|
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
+
import type { ApolloInternetAccountModel } from '../../ApolloInternetAccount/model'
|
|
26
|
+
import type { ApolloSessionModel, HoveredFeature } from '../../session'
|
|
27
|
+
import type { ApolloRootModel } from '../../types'
|
|
25
28
|
|
|
26
29
|
const minDisplayHeight = 20
|
|
27
30
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type PluginManager from '@jbrowse/core/PluginManager'
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { AnyConfigurationSchemaType } from '@jbrowse/core/configuration'
|
|
3
|
+
import type { Instance } from '@jbrowse/mobx-state-tree'
|
|
4
4
|
|
|
5
5
|
import { renderingModelFactory } from './rendering'
|
|
6
6
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/no-unnecessary-condition */
|
|
2
2
|
import type PluginManager from '@jbrowse/core/PluginManager'
|
|
3
|
-
import {
|
|
3
|
+
import type { AnyConfigurationSchemaType } from '@jbrowse/core/configuration'
|
|
4
|
+
import { type Instance, addDisposer } from '@jbrowse/mobx-state-tree'
|
|
4
5
|
import { type Theme, createTheme } from '@mui/material'
|
|
5
6
|
import { autorun } from 'mobx'
|
|
6
|
-
import { type Instance, addDisposer } from 'mobx-state-tree'
|
|
7
7
|
|
|
8
8
|
import { drawSequenceOverlay } from '../drawSequenceOverlay'
|
|
9
9
|
import { drawSequenceTrack } from '../drawSequenceTrack'
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/unbound-method */
|
|
2
|
+
|
|
2
3
|
/* eslint-disable @typescript-eslint/no-misused-promises */
|
|
3
|
-
|
|
4
|
-
import {
|
|
4
|
+
|
|
5
|
+
import type { CheckResultI } from '@apollo-annotation/mst'
|
|
5
6
|
import { Menu, type MenuItem } from '@jbrowse/core/ui'
|
|
6
7
|
import {
|
|
7
8
|
type AbstractSessionModel,
|
|
@@ -9,7 +10,7 @@ import {
|
|
|
9
10
|
getContainingView,
|
|
10
11
|
getFrame,
|
|
11
12
|
} from '@jbrowse/core/util'
|
|
12
|
-
import {
|
|
13
|
+
import type { LinearGenomeViewModel } from '@jbrowse/plugin-linear-genome-view'
|
|
13
14
|
import ErrorIcon from '@mui/icons-material/Error'
|
|
14
15
|
import LockIcon from '@mui/icons-material/Lock'
|
|
15
16
|
import { Alert, Avatar, Badge, Box, Tooltip, useTheme } from '@mui/material'
|
|
@@ -21,7 +22,7 @@ import {
|
|
|
21
22
|
clusterResultByMessage,
|
|
22
23
|
useStyles,
|
|
23
24
|
} from '../../util/displayUtils'
|
|
24
|
-
import {
|
|
25
|
+
import type { LinearApolloSixFrameDisplay as LinearApolloSixFrameDisplayI } from '../stateModel'
|
|
25
26
|
|
|
26
27
|
import { TrackLines } from './TrackLines'
|
|
27
28
|
|
|
@@ -41,7 +42,6 @@ export const LinearApolloSixFrameDisplay = observer(
|
|
|
41
42
|
contextMenuItems: getContextMenuItems,
|
|
42
43
|
cursor,
|
|
43
44
|
featuresHeight,
|
|
44
|
-
featureLabelSpacer,
|
|
45
45
|
geneTrackRowNums,
|
|
46
46
|
isShown,
|
|
47
47
|
onMouseDown,
|
|
@@ -55,6 +55,7 @@ export const LinearApolloSixFrameDisplay = observer(
|
|
|
55
55
|
setOverlayCanvas,
|
|
56
56
|
setTheme,
|
|
57
57
|
showCheckResults,
|
|
58
|
+
showFeatureLabels,
|
|
58
59
|
} = model
|
|
59
60
|
const { classes } = useStyles()
|
|
60
61
|
const lgv = getContainingView(model) as unknown as LinearGenomeViewModel
|
|
@@ -64,6 +65,7 @@ export const LinearApolloSixFrameDisplay = observer(
|
|
|
64
65
|
}, [theme, setTheme])
|
|
65
66
|
const [contextCoord, setContextCoord] = useState<Coord>()
|
|
66
67
|
const [contextMenuItems, setContextMenuItems] = useState<MenuItem[]>([])
|
|
68
|
+
|
|
67
69
|
const message = regionCannotBeRendered()
|
|
68
70
|
if (!isShown) {
|
|
69
71
|
return null
|
|
@@ -94,6 +96,8 @@ export const LinearApolloSixFrameDisplay = observer(
|
|
|
94
96
|
<LockIcon />
|
|
95
97
|
</div>
|
|
96
98
|
) : null}
|
|
99
|
+
{/* This type is wrong in @jbrowse/core */}
|
|
100
|
+
{/* eslint-disable-next-line @typescript-eslint/no-unnecessary-condition */}
|
|
97
101
|
{message ? (
|
|
98
102
|
<Alert
|
|
99
103
|
severity="warning"
|
|
@@ -188,15 +192,19 @@ export const LinearApolloSixFrameDisplay = observer(
|
|
|
188
192
|
let row
|
|
189
193
|
for (const loc of feature.cdsLocations) {
|
|
190
194
|
for (const cds of loc) {
|
|
191
|
-
|
|
195
|
+
const frame = getFrame(
|
|
192
196
|
cds.min,
|
|
193
197
|
cds.max,
|
|
194
198
|
feature.strand ?? 1,
|
|
195
199
|
cds.phase,
|
|
196
200
|
)
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
201
|
+
const frameOffsets = showFeatureLabels
|
|
202
|
+
? [0, 5, 3, 1, 15, 13, 11]
|
|
203
|
+
: [0, 2, 1, 0, 8, 7, 6]
|
|
204
|
+
const rowNum = frameOffsets.at(frame)
|
|
205
|
+
if (!rowNum) {
|
|
206
|
+
continue
|
|
207
|
+
}
|
|
200
208
|
if (
|
|
201
209
|
checkResult.start >= cds.min &&
|
|
202
210
|
checkResult.start <= cds.max
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { observer } from 'mobx-react'
|
|
2
2
|
import React from 'react'
|
|
3
3
|
|
|
4
|
-
import {
|
|
4
|
+
import type { LinearApolloSixFrameDisplay } from '../stateModel'
|
|
5
5
|
|
|
6
6
|
export const TrackLines = observer(function TrackLines({
|
|
7
7
|
model,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import type {
|
|
2
|
+
AnnotationFeature,
|
|
3
|
+
TranscriptPartCoding,
|
|
4
4
|
} from '@apollo-annotation/mst'
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import type { BaseDisplayModel } from '@jbrowse/core/pluggableElementTypes'
|
|
6
|
+
import type { MenuItem } from '@jbrowse/core/ui'
|
|
7
7
|
import {
|
|
8
8
|
type AbstractSessionModel,
|
|
9
9
|
getContainingView,
|
|
@@ -11,10 +11,10 @@ import {
|
|
|
11
11
|
intersection2,
|
|
12
12
|
measureText,
|
|
13
13
|
} from '@jbrowse/core/util'
|
|
14
|
-
import {
|
|
14
|
+
import { getSnapshot } from '@jbrowse/mobx-state-tree'
|
|
15
|
+
import type { LinearGenomeViewModel } from '@jbrowse/plugin-linear-genome-view'
|
|
15
16
|
import { alpha } from '@mui/material'
|
|
16
17
|
import equal from 'fast-deep-equal/es6'
|
|
17
|
-
import { getSnapshot } from 'mobx-state-tree'
|
|
18
18
|
|
|
19
19
|
import { MergeExons, SplitExon } from '../../components'
|
|
20
20
|
import { FilterTranscripts } from '../../components/FilterTranscripts'
|
|
@@ -35,12 +35,12 @@ import {
|
|
|
35
35
|
navToFeatureCenter,
|
|
36
36
|
selectFeatureAndOpenWidget,
|
|
37
37
|
} from '../../util'
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
38
|
+
import type { LinearApolloSixFrameDisplay } from '../stateModel'
|
|
39
|
+
import type { LinearApolloSixFrameDisplayMouseEvents } from '../stateModel/mouseEvents'
|
|
40
|
+
import type { LinearApolloSixFrameDisplayRendering } from '../stateModel/rendering'
|
|
41
|
+
import type { CanvasMouseEvent } from '../types'
|
|
42
42
|
|
|
43
|
-
import {
|
|
43
|
+
import type { Glyph } from './Glyph'
|
|
44
44
|
|
|
45
45
|
let forwardFillLight: CanvasPattern | null = null
|
|
46
46
|
let backwardFillLight: CanvasPattern | null = null
|
|
@@ -347,9 +347,14 @@ function draw(
|
|
|
347
347
|
cdsStartPx = reversed ? minX - cdsWidthPx : minX
|
|
348
348
|
ctx.fillStyle = theme.palette.text.primary
|
|
349
349
|
const frame = getFrame(cds.min, cds.max, child.strand ?? 1, cds.phase)
|
|
350
|
-
const
|
|
351
|
-
|
|
352
|
-
|
|
350
|
+
const frameOffsets = showFeatureLabels
|
|
351
|
+
? [0, 4, 2, 0, 14, 12, 10]
|
|
352
|
+
: [0, 2, 1, 0, 7, 6, 5]
|
|
353
|
+
const row = frameOffsets.at(frame)
|
|
354
|
+
if (row === undefined) {
|
|
355
|
+
continue
|
|
356
|
+
}
|
|
357
|
+
cdsTop = row * rowHeight
|
|
353
358
|
ctx.fillRect(cdsStartPx, cdsTop, cdsWidthPx, cdsHeight)
|
|
354
359
|
|
|
355
360
|
// Draw lines to connect CDS features with shared mRNA parent
|
|
@@ -525,9 +530,14 @@ function drawHover(
|
|
|
525
530
|
})?.offsetPx ?? 0) - offsetPx
|
|
526
531
|
const cdsStartPx = reversed ? minX - cdsWidthPx : minX
|
|
527
532
|
const frame = getFrame(cds.min, cds.max, strand ?? 1, cds.phase)
|
|
528
|
-
const
|
|
529
|
-
|
|
530
|
-
|
|
533
|
+
const frameOffsets = showFeatureLabels
|
|
534
|
+
? [0, 4, 2, 0, 14, 12, 10]
|
|
535
|
+
: [0, 2, 1, 0, 7, 6, 5]
|
|
536
|
+
const row = frameOffsets.at(frame)
|
|
537
|
+
if (row === undefined) {
|
|
538
|
+
continue
|
|
539
|
+
}
|
|
540
|
+
const cdsTop = row * rowHeight
|
|
531
541
|
if (counter > 1) {
|
|
532
542
|
// Mid-point for intron line "hat"
|
|
533
543
|
const midPoint: [number, number] = [
|
|
@@ -759,8 +769,6 @@ function drawTooltip(
|
|
|
759
769
|
const displayedRegion = displayedRegions[layoutIndex]
|
|
760
770
|
const { refName, reversed } = displayedRegion
|
|
761
771
|
const rowHeight = apolloRowHeight
|
|
762
|
-
const cdsHeight = Math.round(0.7 * rowHeight)
|
|
763
|
-
const featureLabelSpacer = showFeatureLabels ? 2 : 1
|
|
764
772
|
let location = 'Loc: '
|
|
765
773
|
let cds: TranscriptPartCoding | undefined = undefined
|
|
766
774
|
for (const loc of feature.cdsLocations) {
|
|
@@ -784,9 +792,14 @@ function drawTooltip(
|
|
|
784
792
|
regionNumber: layoutIndex,
|
|
785
793
|
})?.offsetPx ?? 0) - offsetPx
|
|
786
794
|
const frame = getFrame(min, max, strand ?? 1, phase)
|
|
787
|
-
const
|
|
788
|
-
|
|
789
|
-
|
|
795
|
+
const frameOffsets = showFeatureLabels
|
|
796
|
+
? [0, 4, 2, 0, 14, 12, 10]
|
|
797
|
+
: [0, 2, 1, 0, 7, 6, 5]
|
|
798
|
+
const row = frameOffsets.at(frame)
|
|
799
|
+
if (row === undefined) {
|
|
800
|
+
return
|
|
801
|
+
}
|
|
802
|
+
const cdsTop = row * rowHeight
|
|
790
803
|
const cdsWidthPx = (max - min) / bpPerPx
|
|
791
804
|
|
|
792
805
|
const featureType = `Type: ${cds.type}`
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { AnnotationFeature } from '@apollo-annotation/mst'
|
|
2
|
+
import type { MenuItem } from '@jbrowse/core/ui'
|
|
3
3
|
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
4
|
+
import type { MousePositionWithFeature } from '../../util'
|
|
5
|
+
import type { LinearApolloSixFrameDisplayMouseEvents } from '../stateModel/mouseEvents'
|
|
6
|
+
import type { LinearApolloSixFrameDisplayRendering } from '../stateModel/rendering'
|
|
7
|
+
import type { CanvasMouseEvent } from '../types'
|
|
8
8
|
|
|
9
9
|
export interface Glyph {
|
|
10
10
|
/** draw the feature's primary rendering on the canvas */
|
|
@@ -3,10 +3,13 @@
|
|
|
3
3
|
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
|
|
5
5
|
/* eslint-disable @typescript-eslint/no-unnecessary-condition */
|
|
6
|
-
import {
|
|
6
|
+
import type { AnnotationFeature } from '@apollo-annotation/mst'
|
|
7
7
|
import type PluginManager from '@jbrowse/core/PluginManager'
|
|
8
|
-
import {
|
|
9
|
-
|
|
8
|
+
import {
|
|
9
|
+
type AnyConfigurationSchemaType,
|
|
10
|
+
ConfigurationReference,
|
|
11
|
+
getConf,
|
|
12
|
+
} from '@jbrowse/core/configuration'
|
|
10
13
|
import { BaseDisplay } from '@jbrowse/core/pluggableElementTypes'
|
|
11
14
|
import {
|
|
12
15
|
type AbstractSessionModel,
|
|
@@ -16,14 +19,20 @@ import {
|
|
|
16
19
|
} from '@jbrowse/core/util'
|
|
17
20
|
import { getParentRenderProps } from '@jbrowse/core/util/tracks'
|
|
18
21
|
// import type LinearGenomeViewPlugin from '@jbrowse/plugin-linear-genome-view'
|
|
19
|
-
import {
|
|
22
|
+
import {
|
|
23
|
+
addDisposer,
|
|
24
|
+
cast,
|
|
25
|
+
getRoot,
|
|
26
|
+
getSnapshot,
|
|
27
|
+
types,
|
|
28
|
+
} from '@jbrowse/mobx-state-tree'
|
|
29
|
+
import type { LinearGenomeViewModel } from '@jbrowse/plugin-linear-genome-view'
|
|
20
30
|
import { autorun } from 'mobx'
|
|
21
|
-
import { addDisposer, cast, getRoot, getSnapshot, types } from 'mobx-state-tree'
|
|
22
31
|
|
|
23
|
-
import {
|
|
32
|
+
import type { ApolloInternetAccountModel } from '../../ApolloInternetAccount/model'
|
|
24
33
|
import { FilterFeatures } from '../../components/FilterFeatures'
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
34
|
+
import type { ApolloSessionModel, HoveredFeature } from '../../session'
|
|
35
|
+
import type { ApolloRootModel } from '../../types'
|
|
27
36
|
import { EditZoomThresholdDialog } from '../../util/displayUtils'
|
|
28
37
|
|
|
29
38
|
const minDisplayHeight = 20
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type PluginManager from '@jbrowse/core/PluginManager'
|
|
2
|
-
import {
|
|
3
|
-
import { type Instance, types } from 'mobx-state-tree'
|
|
2
|
+
import type { AnyConfigurationSchemaType } from '@jbrowse/core/configuration'
|
|
3
|
+
import { type Instance, types } from '@jbrowse/mobx-state-tree'
|
|
4
4
|
|
|
5
5
|
import { TabularEditorStateModelType } from '../../TabularEditor'
|
|
6
6
|
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/no-unnecessary-condition */
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import type { AnnotationFeature } from '@apollo-annotation/mst'
|
|
4
4
|
import type PluginManager from '@jbrowse/core/PluginManager'
|
|
5
|
-
import {
|
|
5
|
+
import type { AnyConfigurationSchemaType } from '@jbrowse/core/configuration'
|
|
6
6
|
import {
|
|
7
7
|
type AbstractSessionModel,
|
|
8
8
|
doesIntersect2,
|
|
9
9
|
getFrame,
|
|
10
10
|
} from '@jbrowse/core/util'
|
|
11
|
+
import { addDisposer, isAlive } from '@jbrowse/mobx-state-tree'
|
|
11
12
|
import { autorun, observable } from 'mobx'
|
|
12
|
-
import { addDisposer, isAlive } from 'mobx-state-tree'
|
|
13
13
|
|
|
14
|
-
import {
|
|
14
|
+
import type { ApolloSessionModel } from '../../session'
|
|
15
15
|
import { geneGlyph } from '../glyphs'
|
|
16
16
|
|
|
17
17
|
import { baseModelFactory } from './base'
|
|
@@ -159,15 +159,19 @@ export function layoutsModelFactory(
|
|
|
159
159
|
}
|
|
160
160
|
for (const cdsRow of cdsLocations) {
|
|
161
161
|
for (const cds of cdsRow) {
|
|
162
|
-
|
|
162
|
+
const frame = getFrame(
|
|
163
163
|
cds.min,
|
|
164
164
|
cds.max,
|
|
165
165
|
strand ?? 1,
|
|
166
166
|
cds.phase,
|
|
167
167
|
)
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
168
|
+
const frameOffsets = self.showFeatureLabels
|
|
169
|
+
? [0, 5, 3, 1, 15, 13, 11]
|
|
170
|
+
: [0, 2, 1, 0, 8, 7, 6]
|
|
171
|
+
const rowNum = frameOffsets.at(frame)
|
|
172
|
+
if (!rowNum) {
|
|
173
|
+
continue
|
|
174
|
+
}
|
|
171
175
|
if (!featureLayout.get(rowNum)) {
|
|
172
176
|
featureLayout.set(rowNum, [])
|
|
173
177
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { AnnotationFeature } from '@apollo-annotation/mst'
|
|
2
2
|
import {
|
|
3
3
|
LocationEndChange,
|
|
4
4
|
LocationStartChange,
|
|
5
5
|
} from '@apollo-annotation/shared'
|
|
6
6
|
import type PluginManager from '@jbrowse/core/PluginManager'
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
7
|
+
import type { AnyConfigurationSchemaType } from '@jbrowse/core/configuration'
|
|
8
|
+
import type { MenuItem } from '@jbrowse/core/ui'
|
|
9
9
|
import { getFrame } from '@jbrowse/core/util'
|
|
10
|
+
import { type Instance, addDisposer, cast } from '@jbrowse/mobx-state-tree'
|
|
10
11
|
import { autorun } from 'mobx'
|
|
11
|
-
import
|
|
12
|
-
import { type CSSProperties } from 'react'
|
|
12
|
+
import type { CSSProperties } from 'react'
|
|
13
13
|
|
|
14
14
|
import {
|
|
15
15
|
type Edge,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
getPropagatedLocationChanges,
|
|
20
20
|
isMousePositionWithFeature,
|
|
21
21
|
} from '../../util'
|
|
22
|
-
import {
|
|
22
|
+
import type { CanvasMouseEvent } from '../types'
|
|
23
23
|
|
|
24
24
|
import { renderingModelFactory } from './rendering'
|
|
25
25
|
|
|
@@ -86,15 +86,16 @@ export function mouseEventsModelIntermediateFactory(
|
|
|
86
86
|
}
|
|
87
87
|
for (const loc of feature.cdsLocations) {
|
|
88
88
|
for (const cds of loc) {
|
|
89
|
-
|
|
89
|
+
const frame = getFrame(
|
|
90
90
|
cds.min,
|
|
91
91
|
cds.max,
|
|
92
92
|
feature.strand ?? 1,
|
|
93
93
|
cds.phase,
|
|
94
94
|
)
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
95
|
+
const frameOffsets = self.showFeatureLabels
|
|
96
|
+
? [0, 5, 3, 1, 15, 13, 11]
|
|
97
|
+
: [0, 2, 1, 0, 8, 7, 6]
|
|
98
|
+
const rowNum = frameOffsets.at(frame)
|
|
98
99
|
if (row === rowNum && bp >= cds.min && bp <= cds.max) {
|
|
99
100
|
return (
|
|
100
101
|
featureID === undefined ||
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/no-unnecessary-condition */
|
|
2
2
|
import type PluginManager from '@jbrowse/core/PluginManager'
|
|
3
|
-
import {
|
|
3
|
+
import type { AnyConfigurationSchemaType } from '@jbrowse/core/configuration'
|
|
4
4
|
import {
|
|
5
5
|
defaultCodonTable,
|
|
6
6
|
doesIntersect2,
|
|
7
7
|
getFrame,
|
|
8
8
|
revcom,
|
|
9
9
|
} from '@jbrowse/core/util'
|
|
10
|
+
import { type Instance, addDisposer, types } from '@jbrowse/mobx-state-tree'
|
|
10
11
|
import { type Theme, createTheme } from '@mui/material'
|
|
11
12
|
import { autorun } from 'mobx'
|
|
12
|
-
import { type Instance, addDisposer, types } from 'mobx-state-tree'
|
|
13
13
|
|
|
14
|
-
import {
|
|
14
|
+
import type { ApolloSessionModel } from '../../session'
|
|
15
15
|
import { codonColorCode } from '../../util/displayUtils'
|
|
16
16
|
|
|
17
17
|
import { layoutsModelFactory } from './layouts'
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
extractWords,
|
|
7
7
|
getWords,
|
|
8
8
|
} from './fulltext'
|
|
9
|
-
import {
|
|
9
|
+
import type { OntologyDBNode } from './indexeddb-schema'
|
|
10
10
|
|
|
11
11
|
const testNode: OntologyDBNode = {
|
|
12
12
|
id: 'http://purl.obolibrary.org/obo/SO_0000001',
|
|
@@ -5,16 +5,16 @@
|
|
|
5
5
|
import { checkAbortSignal } from '@jbrowse/core/util/aborting'
|
|
6
6
|
import jsonpath from 'jsonpath'
|
|
7
7
|
|
|
8
|
-
import {
|
|
8
|
+
import type { TextIndexFieldDefinition } from '..'
|
|
9
9
|
|
|
10
10
|
import { stopwords } from './fulltext-stopwords'
|
|
11
|
-
import {
|
|
11
|
+
import type { OntologyDBNode } from './indexeddb-schema'
|
|
12
12
|
import { applyPrefixes } from './prefixes'
|
|
13
13
|
|
|
14
14
|
// eslint-disable-next-line import/no-duplicates
|
|
15
15
|
import type OntologyStore from '.'
|
|
16
16
|
// eslint-disable-next-line import/no-duplicates
|
|
17
|
-
import {
|
|
17
|
+
import type { Transaction } from '.'
|
|
18
18
|
|
|
19
19
|
/** special value of jsonPath that gets the IRI (that is, ID) of the node with the configured prefixes applied */
|
|
20
20
|
export const PREFIXED_ID_PATH = '$PREFIXED_ID'
|
|
@@ -28,7 +28,14 @@ function jsonPathQuery(
|
|
|
28
28
|
if (path === PREFIXED_ID_PATH) {
|
|
29
29
|
return [applyPrefixes(node.id, prefixes)]
|
|
30
30
|
}
|
|
31
|
-
|
|
31
|
+
let response
|
|
32
|
+
try {
|
|
33
|
+
response = jsonpath.query(node, path)
|
|
34
|
+
} catch {
|
|
35
|
+
// eslint-disable-next-line unicorn/prefer-structured-clone
|
|
36
|
+
response = jsonpath.query(JSON.parse(JSON.stringify(node)), path)
|
|
37
|
+
}
|
|
38
|
+
return response
|
|
32
39
|
}
|
|
33
40
|
|
|
34
41
|
function wordsInString(str: string) {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/no-unsafe-return */
|
|
2
2
|
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
|
|
3
3
|
import path from 'node:path'
|
|
4
|
+
import { fileURLToPath } from 'node:url'
|
|
4
5
|
|
|
5
6
|
import { beforeAll, describe, expect, it, jest } from '@jest/globals'
|
|
6
7
|
|
|
@@ -8,6 +9,8 @@ import { type OntologyClass, isOntologyClass } from '..'
|
|
|
8
9
|
|
|
9
10
|
import OntologyStore from '.'
|
|
10
11
|
|
|
12
|
+
const __dirname = path.dirname(fileURLToPath(import.meta.url))
|
|
13
|
+
|
|
11
14
|
jest.setTimeout(1_000_000_000)
|
|
12
15
|
|
|
13
16
|
const prefixes = new Map([
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/** schema types used to strongly-type using the `idb` type system */
|
|
2
|
-
import {
|
|
2
|
+
import type { DBSchema } from 'idb/with-async-ittr'
|
|
3
3
|
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
import type {
|
|
5
|
+
Edge as OboGraphEdge,
|
|
6
|
+
Meta as OboGraphMeta,
|
|
7
|
+
Node as OboGraphNode,
|
|
8
8
|
} from './obo-graph-json-schema'
|
|
9
9
|
|
|
10
|
-
import {
|
|
10
|
+
import type { OntologyStoreOptions, SourceLocation } from '.'
|
|
11
11
|
|
|
12
12
|
/** metadata about this IndexedDB ontology database */
|
|
13
13
|
export interface Meta {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/no-unnecessary-condition */
|
|
2
|
+
|
|
2
3
|
import { openLocation } from '@jbrowse/core/util/io'
|
|
3
4
|
import equal from 'fast-deep-equal/es6'
|
|
4
5
|
import {
|
|
@@ -15,7 +16,7 @@ import {
|
|
|
15
16
|
isOntologyDBEdge,
|
|
16
17
|
isOntologyDBNode,
|
|
17
18
|
} from './indexeddb-schema'
|
|
18
|
-
import {
|
|
19
|
+
import type { GraphDocument } from './obo-graph-json-schema'
|
|
19
20
|
|
|
20
21
|
import type OntologyStore from '.'
|
|
21
22
|
|