@apollo-annotation/jbrowse-plugin-apollo 0.3.11 → 0.3.13
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
|
@@ -8,7 +8,6 @@ import {
|
|
|
8
8
|
LocalPathLocation,
|
|
9
9
|
UriLocation,
|
|
10
10
|
} from '@jbrowse/core/util/types/mst'
|
|
11
|
-
import { autorun } from 'mobx'
|
|
12
11
|
import {
|
|
13
12
|
type Instance,
|
|
14
13
|
addDisposer,
|
|
@@ -17,13 +16,14 @@ import {
|
|
|
17
16
|
getSnapshot,
|
|
18
17
|
isAlive,
|
|
19
18
|
types,
|
|
20
|
-
} from 'mobx-state-tree'
|
|
19
|
+
} from '@jbrowse/mobx-state-tree'
|
|
20
|
+
import { autorun } from 'mobx'
|
|
21
21
|
|
|
22
22
|
import type ApolloPluginConfigurationSchema from '../config'
|
|
23
|
-
import {
|
|
23
|
+
import type { ApolloRootModel } from '../types'
|
|
24
24
|
|
|
25
25
|
import OntologyStore, { type OntologyStoreOptions } from './OntologyStore'
|
|
26
|
-
import {
|
|
26
|
+
import type { OntologyDBNode } from './OntologyStore/indexeddb-schema'
|
|
27
27
|
import { applyPrefixes, expandPrefixes } from './OntologyStore/prefixes'
|
|
28
28
|
|
|
29
29
|
export { isDeprecated } from './OntologyStore/indexeddb-schema'
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { AnnotationFeature } from '@apollo-annotation/mst'
|
|
2
2
|
import {
|
|
3
3
|
LocationEndChange,
|
|
4
4
|
LocationStartChange,
|
|
5
5
|
TypeChange,
|
|
6
6
|
} from '@apollo-annotation/shared'
|
|
7
7
|
|
|
8
|
-
import {
|
|
8
|
+
import type { ChangeManager } from '../../ChangeManager'
|
|
9
9
|
|
|
10
10
|
export function handleFeatureTypeChange(
|
|
11
11
|
changeManager: ChangeManager,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
/* eslint-disable unicorn/no-nested-ternary */
|
|
2
1
|
/* eslint-disable @typescript-eslint/unbound-method */
|
|
2
|
+
/* eslint-disable unicorn/no-nested-ternary */
|
|
3
3
|
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import type { AnnotationFeature } from '@apollo-annotation/mst'
|
|
5
|
+
import type { AbstractSessionModel } from '@jbrowse/core/util'
|
|
6
|
+
import { makeStyles } from '@jbrowse/core/util/tss-react'
|
|
6
7
|
import { observer } from 'mobx-react'
|
|
7
8
|
import React from 'react'
|
|
8
|
-
import { makeStyles } from 'tss-react/mui'
|
|
9
9
|
|
|
10
10
|
import { isOntologyClass } from '../../OntologyManager'
|
|
11
11
|
import type OntologyStore from '../../OntologyManager/OntologyStore'
|
|
12
12
|
import { OntologyTermAutocomplete } from '../../components/OntologyTermAutocomplete'
|
|
13
13
|
import { navToFeatureCenter } from '../../util'
|
|
14
|
-
import {
|
|
14
|
+
import type { DisplayStateModel } from '../types'
|
|
15
15
|
|
|
16
16
|
import {
|
|
17
17
|
handleFeatureEndChange,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
handleFeatureTypeChange,
|
|
20
20
|
} from './ChangeHandling'
|
|
21
21
|
import { FeatureAttributes } from './FeatureAttributes'
|
|
22
|
-
import {
|
|
22
|
+
import type { ContextMenuState } from './HybridGrid'
|
|
23
23
|
import { NumberCell } from './NumberCell'
|
|
24
24
|
import { featureContextMenuItems } from './featureContextMenuItems'
|
|
25
25
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/restrict-template-expressions */
|
|
2
|
-
import {
|
|
2
|
+
import type { AnnotationFeature } from '@apollo-annotation/mst'
|
|
3
|
+
import { getSnapshot } from '@jbrowse/mobx-state-tree'
|
|
3
4
|
import { observer } from 'mobx-react'
|
|
4
|
-
import { getSnapshot } from 'mobx-state-tree'
|
|
5
5
|
import React from 'react'
|
|
6
6
|
|
|
7
7
|
import Highlight from './Highlight'
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Menu, type MenuItem } from '@jbrowse/core/ui'
|
|
2
|
+
import { makeStyles } from '@jbrowse/core/util/tss-react'
|
|
2
3
|
import { useTheme } from '@mui/material'
|
|
3
4
|
import { observer } from 'mobx-react'
|
|
4
5
|
import React, { useEffect, useRef, useState } from 'react'
|
|
5
|
-
import { makeStyles } from 'tss-react/mui'
|
|
6
6
|
|
|
7
|
-
import {
|
|
7
|
+
import type { DisplayStateModel } from '../types'
|
|
8
8
|
|
|
9
9
|
import { Feature } from './Feature'
|
|
10
10
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/unbound-method */
|
|
2
|
+
import { makeStyles } from '@jbrowse/core/util/tss-react'
|
|
2
3
|
import { observer } from 'mobx-react'
|
|
3
4
|
import React, { useEffect, useState } from 'react'
|
|
4
|
-
import { makeStyles } from 'tss-react/mui'
|
|
5
5
|
|
|
6
6
|
const useStyles = makeStyles()((theme) => ({
|
|
7
7
|
inputWrapper: {
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/unbound-method */
|
|
2
|
+
|
|
3
|
+
import { makeStyles } from '@jbrowse/core/util/tss-react'
|
|
2
4
|
import ClearIcon from '@mui/icons-material/Clear'
|
|
3
5
|
import UnfoldLessIcon from '@mui/icons-material/UnfoldLess'
|
|
4
6
|
import { IconButton, InputAdornment, TextField, Tooltip } from '@mui/material'
|
|
5
7
|
import { observer } from 'mobx-react'
|
|
6
8
|
import React from 'react'
|
|
7
|
-
import { makeStyles } from 'tss-react/mui'
|
|
8
9
|
|
|
9
|
-
import {
|
|
10
|
+
import type { DisplayStateModel } from '../types'
|
|
10
11
|
|
|
11
12
|
const useStyles = makeStyles()({
|
|
12
13
|
toolbar: {
|
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { AnnotationFeature } from '@apollo-annotation/mst'
|
|
2
|
+
import type { MenuItem } from '@jbrowse/core/ui'
|
|
3
3
|
import {
|
|
4
4
|
type AbstractSessionModel,
|
|
5
5
|
type SessionWithWidgets,
|
|
6
6
|
isSessionModelWithWidgets,
|
|
7
7
|
} from '@jbrowse/core/util'
|
|
8
8
|
|
|
9
|
-
import {
|
|
9
|
+
import type { ChangeManager } from '../../ChangeManager'
|
|
10
10
|
import {
|
|
11
11
|
AddChildFeature,
|
|
12
12
|
CopyFeature,
|
|
13
13
|
DeleteFeature,
|
|
14
|
+
DuplicateTranscript,
|
|
14
15
|
MergeExons,
|
|
15
16
|
MergeTranscripts,
|
|
16
17
|
SplitExon,
|
|
17
18
|
} from '../../components'
|
|
18
|
-
import {
|
|
19
|
+
import type { ApolloSessionModel } from '../../session'
|
|
19
20
|
import { getApolloInternetAccount } from '../../util'
|
|
20
21
|
|
|
21
22
|
export function featureContextMenuItems(
|
|
@@ -214,6 +215,27 @@ export function featureContextMenuItems(
|
|
|
214
215
|
session.showWidget(apolloTranscriptWidget)
|
|
215
216
|
},
|
|
216
217
|
},
|
|
218
|
+
{
|
|
219
|
+
label: 'Duplicate feature',
|
|
220
|
+
onClick: () => {
|
|
221
|
+
;(session as unknown as AbstractSessionModel).queueDialog(
|
|
222
|
+
(doneCallback) => [
|
|
223
|
+
DuplicateTranscript,
|
|
224
|
+
{
|
|
225
|
+
session,
|
|
226
|
+
handleClose: () => {
|
|
227
|
+
doneCallback()
|
|
228
|
+
},
|
|
229
|
+
changeManager,
|
|
230
|
+
sourceFeature: feature,
|
|
231
|
+
sourceAssemblyId: currentAssemblyId,
|
|
232
|
+
selectedFeature,
|
|
233
|
+
setSelectedFeature,
|
|
234
|
+
},
|
|
235
|
+
],
|
|
236
|
+
)
|
|
237
|
+
},
|
|
238
|
+
},
|
|
217
239
|
{
|
|
218
240
|
label: 'Visible',
|
|
219
241
|
type: 'checkbox',
|
|
@@ -3,7 +3,7 @@ import React from 'react'
|
|
|
3
3
|
|
|
4
4
|
import HybridGrid from './HybridGrid'
|
|
5
5
|
import { ToolBar } from './HybridGrid/ToolBar'
|
|
6
|
-
import {
|
|
6
|
+
import type { DisplayStateModel } from './types'
|
|
7
7
|
|
|
8
8
|
function stopPropagation(e: React.MouseEvent) {
|
|
9
9
|
e.stopPropagation()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { type Instance, getParent, types } from 'mobx-state-tree'
|
|
1
|
+
import { type Instance, getParent, types } from '@jbrowse/mobx-state-tree'
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import type { DisplayStateModel } from './types'
|
|
4
4
|
|
|
5
5
|
export const TabularEditorStateModelType = types
|
|
6
6
|
.model('TabularEditor', {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { LinearApolloDisplay } from '../LinearApolloDisplay/stateModel'
|
|
2
|
+
import type { LinearApolloSixFrameDisplay } from '../LinearApolloSixFrameDisplay/stateModel'
|
|
3
3
|
|
|
4
4
|
export type DisplayStateModel =
|
|
5
5
|
| LinearApolloDisplay
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/unbound-method */
|
|
2
|
-
|
|
2
|
+
|
|
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-misused-promises */
|
|
@@ -9,7 +9,9 @@ import {
|
|
|
9
9
|
AddAssemblyFromFileChange,
|
|
10
10
|
} from '@apollo-annotation/shared'
|
|
11
11
|
import { readConfObject } from '@jbrowse/core/configuration'
|
|
12
|
-
import {
|
|
12
|
+
import type { AbstractSessionModel } from '@jbrowse/core/util'
|
|
13
|
+
import { makeStyles } from '@jbrowse/core/util/tss-react'
|
|
14
|
+
import { getRoot } from '@jbrowse/mobx-state-tree'
|
|
13
15
|
import InfoIcon from '@mui/icons-material/Info'
|
|
14
16
|
import LinkIcon from '@mui/icons-material/Link'
|
|
15
17
|
import RadioButtonCheckedIcon from '@mui/icons-material/RadioButtonChecked'
|
|
@@ -26,6 +28,7 @@ import {
|
|
|
26
28
|
DialogContentText,
|
|
27
29
|
FormControlLabel,
|
|
28
30
|
FormGroup,
|
|
31
|
+
FormHelperText,
|
|
29
32
|
IconButton,
|
|
30
33
|
InputAdornment,
|
|
31
34
|
LinearProgress,
|
|
@@ -38,14 +41,12 @@ import {
|
|
|
38
41
|
Typography,
|
|
39
42
|
} from '@mui/material'
|
|
40
43
|
import ObjectID from 'bson-objectid'
|
|
41
|
-
import { getRoot } from 'mobx-state-tree'
|
|
42
44
|
import React, { useState } from 'react'
|
|
43
|
-
import { makeStyles } from 'tss-react/mui'
|
|
44
45
|
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
46
|
+
import type { ApolloInternetAccountModel } from '../ApolloInternetAccount/model'
|
|
47
|
+
import type { ChangeManager } from '../ChangeManager'
|
|
48
|
+
import type { ApolloSessionModel } from '../session'
|
|
49
|
+
import type { ApolloRootModel } from '../types'
|
|
49
50
|
import { createFetchErrorMessage } from '../util'
|
|
50
51
|
|
|
51
52
|
import { Dialog } from './Dialog'
|
|
@@ -139,6 +140,7 @@ export function AddAssembly({
|
|
|
139
140
|
const [importFeatures, setImportFeatures] = useState(true)
|
|
140
141
|
const [sequenceIsEditable, setSequenceIsEditable] = useState(false)
|
|
141
142
|
const [submitted, setSubmitted] = useState(false)
|
|
143
|
+
const [strict, setStrict] = useState(true)
|
|
142
144
|
|
|
143
145
|
const [fastaFile, setFastaFile] = useState<File | null>(null)
|
|
144
146
|
const [fastaIndexFile, setFastaIndexFile] = useState<File | null>(null)
|
|
@@ -194,42 +196,42 @@ export function AddAssembly({
|
|
|
194
196
|
locationType: 'UriLocation',
|
|
195
197
|
uri,
|
|
196
198
|
})
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
jobsManager.runJob(job)
|
|
208
|
-
jobsManager.update(
|
|
209
|
-
job.name,
|
|
210
|
-
`Uploading ${file.name}, this may take awhile`,
|
|
211
|
-
)
|
|
212
|
-
const { signal } = controller
|
|
213
|
-
|
|
214
|
-
const response = await apolloFetchFile(uri, {
|
|
215
|
-
method: 'POST',
|
|
216
|
-
body: formData,
|
|
217
|
-
signal,
|
|
218
|
-
})
|
|
219
|
-
if (!response.ok) {
|
|
220
|
-
const newErrorMessage = await createFetchErrorMessage(
|
|
221
|
-
response,
|
|
222
|
-
'Error when inserting new assembly (while uploading file)',
|
|
199
|
+
const job = {
|
|
200
|
+
name: `UploadAssemblyFile for ${assemblyName}`,
|
|
201
|
+
statusMessage: 'Pre-validating',
|
|
202
|
+
progressPct: 0,
|
|
203
|
+
cancelCallback: () => {
|
|
204
|
+
controller.abort(
|
|
205
|
+
new DOMException(
|
|
206
|
+
`Canceling adding of assembly "${assemblyName}"`,
|
|
207
|
+
'AbortError',
|
|
208
|
+
),
|
|
223
209
|
)
|
|
224
|
-
jobsManager.abortJob(job.name
|
|
225
|
-
|
|
226
|
-
return ''
|
|
227
|
-
}
|
|
228
|
-
const result = await response.json()
|
|
229
|
-
const fileId = result._id as string
|
|
230
|
-
jobsManager.done(job)
|
|
231
|
-
return fileId
|
|
210
|
+
jobsManager.abortJob(job.name)
|
|
211
|
+
},
|
|
232
212
|
}
|
|
213
|
+
jobsManager.runJob(job)
|
|
214
|
+
jobsManager.update(job.name, `Uploading ${file.name}, this may take awhile`)
|
|
215
|
+
const { signal } = controller
|
|
216
|
+
|
|
217
|
+
const response = await apolloFetchFile(uri, {
|
|
218
|
+
method: 'POST',
|
|
219
|
+
body: formData,
|
|
220
|
+
signal,
|
|
221
|
+
})
|
|
222
|
+
if (!response.ok) {
|
|
223
|
+
const newErrorMessage = await createFetchErrorMessage(
|
|
224
|
+
response,
|
|
225
|
+
'Error when inserting new assembly (while uploading file)',
|
|
226
|
+
)
|
|
227
|
+
jobsManager.abortJob(job.name, newErrorMessage)
|
|
228
|
+
setErrorMessage(newErrorMessage)
|
|
229
|
+
return ''
|
|
230
|
+
}
|
|
231
|
+
const result = await response.json()
|
|
232
|
+
const fileId = result._id as string
|
|
233
|
+
jobsManager.done(job)
|
|
234
|
+
return fileId
|
|
233
235
|
throw new Error('Failed to fetch')
|
|
234
236
|
}
|
|
235
237
|
|
|
@@ -270,6 +272,7 @@ export function AddAssembly({
|
|
|
270
272
|
assembly: new ObjectID().toHexString(),
|
|
271
273
|
assemblyName,
|
|
272
274
|
fileIds: { fa: faId },
|
|
275
|
+
parseOptions: { strict },
|
|
273
276
|
})
|
|
274
277
|
} else if (fileType === FileType.GFF3) {
|
|
275
278
|
const faId = await uploadFile(fastaFile, FileType.GFF3)
|
|
@@ -740,6 +743,22 @@ export function AddAssembly({
|
|
|
740
743
|
}
|
|
741
744
|
label="Load features from GFF3 file"
|
|
742
745
|
/>
|
|
746
|
+
<FormControlLabel
|
|
747
|
+
label="Strict parsing"
|
|
748
|
+
disabled={!importFeatures || (submitted && !errorMessage)}
|
|
749
|
+
control={
|
|
750
|
+
<Checkbox
|
|
751
|
+
checked={strict}
|
|
752
|
+
onChange={(e: React.ChangeEvent<HTMLInputElement>) => {
|
|
753
|
+
setStrict(e.target.checked)
|
|
754
|
+
}}
|
|
755
|
+
/>
|
|
756
|
+
}
|
|
757
|
+
/>
|
|
758
|
+
<FormHelperText>
|
|
759
|
+
Don't import any features if any lines in the GFF3 are
|
|
760
|
+
unable to be processed
|
|
761
|
+
</FormHelperText>
|
|
743
762
|
<FormControlLabel
|
|
744
763
|
data-testid="gff3-is-gzip-checkbox"
|
|
745
764
|
control={
|
|
@@ -3,12 +3,12 @@ import { Box, DialogContent, DialogContentText } from '@mui/material'
|
|
|
3
3
|
import { DataGrid, type GridColDef, type GridRowModel } from '@mui/x-data-grid'
|
|
4
4
|
import React from 'react'
|
|
5
5
|
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
import type {
|
|
7
|
+
ApolloInternetAccount,
|
|
8
|
+
CollaborationServerDriver,
|
|
9
9
|
} from '../BackendDrivers'
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
10
|
+
import type { ChangeManager } from '../ChangeManager'
|
|
11
|
+
import type { ApolloSessionModel } from '../session'
|
|
12
12
|
|
|
13
13
|
import { Dialog } from './Dialog'
|
|
14
14
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/unbound-method */
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import type { AnnotationFeature } from '@apollo-annotation/mst'
|
|
4
4
|
import { AddFeatureChange } from '@apollo-annotation/shared'
|
|
5
5
|
import {
|
|
6
6
|
Button,
|
|
@@ -12,11 +12,11 @@ import {
|
|
|
12
12
|
import ObjectID from 'bson-objectid'
|
|
13
13
|
import React, { useState } from 'react'
|
|
14
14
|
|
|
15
|
-
import {
|
|
15
|
+
import type { ChangeManager } from '../ChangeManager'
|
|
16
16
|
import { isOntologyClass } from '../OntologyManager'
|
|
17
17
|
import type OntologyStore from '../OntologyManager/OntologyStore'
|
|
18
18
|
import { fetchValidDescendantTerms } from '../OntologyManager/util'
|
|
19
|
-
import {
|
|
19
|
+
import type { ApolloSessionModel } from '../session'
|
|
20
20
|
|
|
21
21
|
import { Dialog } from './Dialog'
|
|
22
22
|
import { OntologyTermAutocomplete } from './OntologyTermAutocomplete'
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/unbound-method */
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import type { AnnotationFeatureSnapshot } from '@apollo-annotation/mst'
|
|
4
4
|
import { AddFeatureChange } from '@apollo-annotation/shared'
|
|
5
|
-
import {
|
|
5
|
+
import type { Region } from '@jbrowse/core/util/types'
|
|
6
6
|
import InfoIcon from '@mui/icons-material/Info'
|
|
7
7
|
import {
|
|
8
8
|
Box,
|
|
@@ -26,9 +26,9 @@ import ObjectID from 'bson-objectid'
|
|
|
26
26
|
import React, { useState } from 'react'
|
|
27
27
|
|
|
28
28
|
import { CollaborationServerDriver } from '../BackendDrivers'
|
|
29
|
-
import {
|
|
29
|
+
import type { ChangeManager } from '../ChangeManager'
|
|
30
30
|
import { isOntologyClass } from '../OntologyManager'
|
|
31
|
-
import {
|
|
31
|
+
import type { ApolloSessionModel } from '../session'
|
|
32
32
|
|
|
33
33
|
import { Dialog } from './Dialog'
|
|
34
34
|
import { OntologyTermAutocomplete } from './OntologyTermAutocomplete'
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
AddRefSeqAliasesChange,
|
|
4
4
|
type SerializedRefSeqAliases,
|
|
5
5
|
} from '@apollo-annotation/shared'
|
|
6
|
-
import {
|
|
6
|
+
import type { Assembly } from '@jbrowse/core/assemblyManager/assembly'
|
|
7
7
|
import {
|
|
8
8
|
Button,
|
|
9
9
|
DialogActions,
|
|
@@ -25,13 +25,13 @@ import {
|
|
|
25
25
|
import { observer } from 'mobx-react'
|
|
26
26
|
import React, { useEffect, useRef, useState } from 'react'
|
|
27
27
|
|
|
28
|
-
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
28
|
+
import type {
|
|
29
|
+
ApolloInternetAccount,
|
|
30
|
+
CollaborationServerDriver,
|
|
31
|
+
RefNameAliases,
|
|
32
32
|
} from '../BackendDrivers'
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
33
|
+
import type { ChangeManager } from '../ChangeManager'
|
|
34
|
+
import type { ApolloSessionModel } from '../session'
|
|
35
35
|
|
|
36
36
|
import { Dialog } from './Dialog'
|
|
37
37
|
|
|
@@ -3,13 +3,14 @@
|
|
|
3
3
|
/* eslint-disable @typescript-eslint/no-unsafe-argument */
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-misused-promises */
|
|
5
5
|
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
import type {
|
|
7
|
+
AnnotationFeature,
|
|
8
|
+
AnnotationFeatureSnapshot,
|
|
9
9
|
} from '@apollo-annotation/mst'
|
|
10
10
|
import { AddFeatureChange } from '@apollo-annotation/shared'
|
|
11
11
|
import { readConfObject } from '@jbrowse/core/configuration'
|
|
12
|
-
import {
|
|
12
|
+
import type { AbstractSessionModel } from '@jbrowse/core/util'
|
|
13
|
+
import { getSnapshot } from '@jbrowse/mobx-state-tree'
|
|
13
14
|
import {
|
|
14
15
|
Button,
|
|
15
16
|
DialogActions,
|
|
@@ -21,12 +22,11 @@ import {
|
|
|
21
22
|
TextField,
|
|
22
23
|
} from '@mui/material'
|
|
23
24
|
import ObjectID from 'bson-objectid'
|
|
24
|
-
import {
|
|
25
|
-
import { getSnapshot } from 'mobx-state-tree'
|
|
25
|
+
import type { IKeyValueMap } from 'mobx'
|
|
26
26
|
import React, { useEffect, useState } from 'react'
|
|
27
27
|
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
28
|
+
import type { ChangeManager } from '../ChangeManager'
|
|
29
|
+
import type { ApolloSessionModel } from '../session'
|
|
30
30
|
|
|
31
31
|
import { Dialog } from './Dialog'
|
|
32
32
|
|
|
@@ -2,14 +2,15 @@
|
|
|
2
2
|
/* eslint-disable @typescript-eslint/no-misused-promises */
|
|
3
3
|
/* eslint-disable @typescript-eslint/unbound-method */
|
|
4
4
|
|
|
5
|
-
import {
|
|
5
|
+
import type { AnnotationFeatureSnapshot } from '@apollo-annotation/mst'
|
|
6
6
|
import {
|
|
7
7
|
AddFeatureChange,
|
|
8
8
|
LocationEndChange,
|
|
9
9
|
LocationStartChange,
|
|
10
10
|
} from '@apollo-annotation/shared'
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
11
|
+
import type { Assembly } from '@jbrowse/core/assemblyManager/assembly'
|
|
12
|
+
import type { AbstractSessionModel } from '@jbrowse/core/util'
|
|
13
|
+
import { getSnapshot } from '@jbrowse/mobx-state-tree'
|
|
13
14
|
import {
|
|
14
15
|
Box,
|
|
15
16
|
Button,
|
|
@@ -26,10 +27,9 @@ import {
|
|
|
26
27
|
Typography,
|
|
27
28
|
} from '@mui/material'
|
|
28
29
|
import ObjectID from 'bson-objectid'
|
|
29
|
-
import { getSnapshot } from 'mobx-state-tree'
|
|
30
30
|
import React, { useEffect, useMemo, useState } from 'react'
|
|
31
31
|
|
|
32
|
-
import {
|
|
32
|
+
import type { ApolloSessionModel } from '../session'
|
|
33
33
|
|
|
34
34
|
import { Dialog } from './Dialog'
|
|
35
35
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/unbound-method */
|
|
2
2
|
/* eslint-disable @typescript-eslint/no-misused-promises */
|
|
3
3
|
import { DeleteAssemblyChange } from '@apollo-annotation/shared'
|
|
4
|
+
import { getRoot } from '@jbrowse/mobx-state-tree'
|
|
4
5
|
import {
|
|
5
6
|
Button,
|
|
6
7
|
Checkbox,
|
|
@@ -13,17 +14,16 @@ import {
|
|
|
13
14
|
Select,
|
|
14
15
|
type SelectChangeEvent,
|
|
15
16
|
} from '@mui/material'
|
|
16
|
-
import { getRoot } from 'mobx-state-tree'
|
|
17
17
|
import React, { useState } from 'react'
|
|
18
18
|
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
import type { ApolloInternetAccountModel } from '../ApolloInternetAccount/model'
|
|
20
|
+
import type {
|
|
21
|
+
ApolloInternetAccount,
|
|
22
|
+
CollaborationServerDriver,
|
|
23
23
|
} from '../BackendDrivers'
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
24
|
+
import type { ChangeManager } from '../ChangeManager'
|
|
25
|
+
import type { ApolloSessionModel } from '../session'
|
|
26
|
+
import type { ApolloRootModel } from '../types'
|
|
27
27
|
|
|
28
28
|
import { Dialog } from './Dialog'
|
|
29
29
|
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/unbound-method */
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import type { AnnotationFeature } from '@apollo-annotation/mst'
|
|
4
4
|
import {
|
|
5
5
|
DeleteFeatureChange,
|
|
6
6
|
LocationEndChange,
|
|
7
7
|
LocationStartChange,
|
|
8
8
|
} from '@apollo-annotation/shared'
|
|
9
|
+
import { getSnapshot } from '@jbrowse/mobx-state-tree'
|
|
9
10
|
import {
|
|
10
11
|
Button,
|
|
11
12
|
DialogActions,
|
|
12
13
|
DialogContent,
|
|
13
14
|
DialogContentText,
|
|
14
15
|
} from '@mui/material'
|
|
15
|
-
import { getSnapshot } from 'mobx-state-tree'
|
|
16
16
|
import React, { useState } from 'react'
|
|
17
17
|
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
18
|
+
import type { ChangeManager } from '../ChangeManager'
|
|
19
|
+
import type { ApolloSessionModel } from '../session'
|
|
20
20
|
|
|
21
21
|
import { Dialog } from './Dialog'
|
|
22
22
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/unbound-method */
|
|
2
2
|
import { Dialog as JBDialog } from '@jbrowse/core/ui'
|
|
3
|
+
import { makeStyles } from '@jbrowse/core/util/tss-react'
|
|
3
4
|
import CloseIcon from '@mui/icons-material/Close'
|
|
4
5
|
import { type DialogProps, DialogTitle, IconButton } from '@mui/material'
|
|
5
6
|
import { observer } from 'mobx-react'
|
|
6
7
|
import React from 'react'
|
|
7
|
-
import { makeStyles } from 'tss-react/mui'
|
|
8
8
|
|
|
9
9
|
const useStyles = makeStyles()((theme) => ({
|
|
10
10
|
dialogTitle: {
|
|
@@ -3,11 +3,12 @@
|
|
|
3
3
|
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-unnecessary-condition */
|
|
5
5
|
/* eslint-disable @typescript-eslint/no-misused-promises */
|
|
6
|
-
import {
|
|
6
|
+
import type { ApolloAssembly } from '@apollo-annotation/mst'
|
|
7
7
|
import { annotationFeatureToGFF3 } from '@apollo-annotation/shared'
|
|
8
8
|
import { type GFF3Item, formatSync } from '@gmod/gff'
|
|
9
|
-
import {
|
|
9
|
+
import type { Assembly } from '@jbrowse/core/assemblyManager/assembly'
|
|
10
10
|
import { getConf } from '@jbrowse/core/configuration'
|
|
11
|
+
import { type IMSTMap, getSnapshot } from '@jbrowse/mobx-state-tree'
|
|
11
12
|
import {
|
|
12
13
|
Button,
|
|
13
14
|
Checkbox,
|
|
@@ -21,15 +22,14 @@ import {
|
|
|
21
22
|
type SelectChangeEvent,
|
|
22
23
|
} from '@mui/material'
|
|
23
24
|
import { saveAs } from 'file-saver'
|
|
24
|
-
import { type IMSTMap, getSnapshot } from 'mobx-state-tree'
|
|
25
25
|
import React, { useState } from 'react'
|
|
26
26
|
|
|
27
|
-
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
27
|
+
import type {
|
|
28
|
+
ApolloInternetAccount,
|
|
29
|
+
CollaborationServerDriver,
|
|
30
|
+
InMemoryFileDriver,
|
|
31
31
|
} from '../BackendDrivers'
|
|
32
|
-
import {
|
|
32
|
+
import type { ApolloSessionModel } from '../session'
|
|
33
33
|
import { createFetchErrorMessage } from '../util'
|
|
34
34
|
|
|
35
35
|
import { Dialog } from './Dialog'
|