jbrowse-plugin-msaview 3.1.0 → 3.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/dist/LaunchMsaView/components/BlastQuery/BlastAutomaticPanel.js +1 -1
  2. package/dist/LaunchMsaView/components/BlastQuery/BlastManualPanel.js +1 -1
  3. package/dist/LaunchMsaView/components/BlastQuery/blastLaunchView.js +6 -4
  4. package/dist/LaunchMsaView/components/ManualMSALoader/ManualMSALoader.js +1 -1
  5. package/dist/LaunchMsaView/components/ManualMSALoader/launchView.js +4 -2
  6. package/dist/LaunchMsaView/components/OrthologQuery/OrthologPanel.js +8 -3
  7. package/dist/LaunchMsaView/components/OrthologQuery/OrthologSourceSelect.d.ts +9 -0
  8. package/dist/LaunchMsaView/components/OrthologQuery/OrthologSourceSelect.js +20 -0
  9. package/dist/LaunchMsaView/components/OrthologQuery/orthologLaunchView.js +4 -2
  10. package/dist/LaunchMsaView/components/PreLoadedMSA/PreLoadedMSADataPanel.js +1 -1
  11. package/dist/LaunchMsaView/components/PreLoadedMSA/preCalculatedLaunchView.js +4 -2
  12. package/dist/LaunchMsaView/components/SubmitCancelActions.d.ts +4 -1
  13. package/dist/LaunchMsaView/components/SubmitCancelActions.js +34 -10
  14. package/dist/LaunchMsaView/components/SubmitCancelActions.test.d.ts +1 -0
  15. package/dist/LaunchMsaView/components/SubmitCancelActions.test.js +55 -0
  16. package/dist/LaunchMsaViewExtensionPoint/index.js +2 -2
  17. package/dist/MsaViewPanel/doLaunchOrthologs.d.ts +7 -5
  18. package/dist/MsaViewPanel/doLaunchOrthologs.js +64 -30
  19. package/dist/MsaViewPanel/doLaunchOrthologs.test.js +105 -0
  20. package/dist/MsaViewPanel/model.d.ts +9 -0
  21. package/dist/MsaViewPanel/model.js +6 -0
  22. package/dist/index.js +4 -1
  23. package/dist/jbrowse-plugin-msaview.umd.production.min.js +30 -30
  24. package/dist/jbrowse-plugin-msaview.umd.production.min.js.map +4 -4
  25. package/dist/utils/launchMsaView.d.ts +19 -0
  26. package/dist/utils/launchMsaView.js +13 -0
  27. package/dist/utils/pantherOrthologs.d.ts +79 -0
  28. package/dist/utils/pantherOrthologs.js +262 -0
  29. package/dist/utils/workspaces.d.ts +34 -0
  30. package/dist/utils/workspaces.js +100 -0
  31. package/dist/utils/workspaces.test.d.ts +1 -0
  32. package/dist/utils/workspaces.test.js +100 -0
  33. package/dist/version.d.ts +1 -1
  34. package/dist/version.js +1 -1
  35. package/package.json +4 -1
  36. package/src/LaunchMsaView/components/BlastQuery/BlastAutomaticPanel.tsx +1 -0
  37. package/src/LaunchMsaView/components/BlastQuery/BlastManualPanel.tsx +1 -0
  38. package/src/LaunchMsaView/components/BlastQuery/blastLaunchView.ts +7 -4
  39. package/src/LaunchMsaView/components/ManualMSALoader/ManualMSALoader.tsx +1 -0
  40. package/src/LaunchMsaView/components/ManualMSALoader/launchView.ts +5 -2
  41. package/src/LaunchMsaView/components/OrthologQuery/OrthologPanel.tsx +20 -4
  42. package/src/LaunchMsaView/components/OrthologQuery/OrthologSourceSelect.tsx +52 -0
  43. package/src/LaunchMsaView/components/OrthologQuery/orthologLaunchView.ts +5 -2
  44. package/src/LaunchMsaView/components/PreLoadedMSA/PreLoadedMSADataPanel.tsx +1 -0
  45. package/src/LaunchMsaView/components/PreLoadedMSA/preCalculatedLaunchView.ts +5 -2
  46. package/src/LaunchMsaView/components/SubmitCancelActions.test.tsx +95 -0
  47. package/src/LaunchMsaView/components/SubmitCancelActions.tsx +80 -22
  48. package/src/LaunchMsaViewExtensionPoint/index.ts +21 -2
  49. package/src/MsaViewPanel/doLaunchOrthologs.test.ts +117 -0
  50. package/src/MsaViewPanel/doLaunchOrthologs.ts +99 -37
  51. package/src/MsaViewPanel/model.ts +10 -0
  52. package/src/index.ts +4 -1
  53. package/src/utils/launchMsaView.ts +30 -0
  54. package/src/utils/pantherOrthologs.ts +399 -0
  55. package/src/utils/workspaces.test.ts +132 -0
  56. package/src/utils/workspaces.ts +146 -0
  57. package/src/version.ts +1 -1
@@ -6,6 +6,12 @@ import { autorun } from 'mobx';
6
6
  import { MSAModelF } from 'react-msaview';
7
7
  import { autoLoadProteinDomains, launchBlastIfNeeded, launchOrthologsIfNeeded, loadStoredData, observeProteinHighlights, processInit, runCleanup, storeDataToIndexedDB, syncGenomeHoverToMsaColumn, } from './afterCreateAutoruns';
8
8
  import { msaCoordToGenomeCoord, msaCoordToGenomeRegions, } from './msaCoordToGenomeCoord';
9
+ /**
10
+ * Where the ortholog set comes from. NCBI's sets cover vertebrates and
11
+ * insects; PANTHER's span its 144 reference proteomes, human to yeast to
12
+ * Arabidopsis, so a gene from outside NCBI's scope aligns only through it.
13
+ */
14
+ export const orthologSources = ['ncbi', 'panther'];
9
15
  /**
10
16
  * #stateModel MsaViewPlugin
11
17
  * extends
package/dist/index.js CHANGED
@@ -8,6 +8,7 @@ import BgzipFastaMsaAdapterF from './BgzipFastaMsaAdapter';
8
8
  import LaunchMsaViewF from './LaunchMsaView';
9
9
  import LaunchMsaViewExtensionPointF from './LaunchMsaViewExtensionPoint';
10
10
  import MsaViewF from './MsaViewPanel';
11
+ import { launchMsaView } from './utils/launchMsaView';
11
12
  import { version } from './version';
12
13
  export default class MsaViewPlugin extends Plugin {
13
14
  constructor() {
@@ -49,7 +50,9 @@ export default class MsaViewPlugin extends Plugin {
49
50
  label: 'Multiple sequence alignment view',
50
51
  icon: GridOn,
51
52
  onClick: (session) => {
52
- session.addView('MsaView', {});
53
+ // stacked, by default: nothing was launched from, so there is no
54
+ // connected view for it to sit beside
55
+ launchMsaView(session, {});
53
56
  },
54
57
  });
55
58
  }