jbrowse-plugin-msaview 2.2.8 → 2.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (134) hide show
  1. package/dist/AddHighlightModel/index.d.ts +1 -1
  2. package/dist/AddHighlightModel/index.js.map +1 -1
  3. package/dist/BgzipFastaMsaAdapter/BgzipFastaMsaAdapter.d.ts +2 -1
  4. package/dist/BgzipFastaMsaAdapter/BgzipFastaMsaAdapter.js +1 -1
  5. package/dist/BgzipFastaMsaAdapter/BgzipFastaMsaAdapter.js.map +1 -1
  6. package/dist/BgzipFastaMsaAdapter/configSchema.d.ts +3 -3
  7. package/dist/BgzipFastaMsaAdapter/configSchema.js.map +1 -1
  8. package/dist/BgzipFastaMsaAdapter/index.d.ts +1 -1
  9. package/dist/BgzipFastaMsaAdapter/index.js.map +1 -1
  10. package/dist/LaunchMsaView/components/EnsemblGeneTree/EnsemblGeneTree.d.ts +1 -1
  11. package/dist/LaunchMsaView/components/EnsemblGeneTree/EnsemblGeneTree.js +1 -1
  12. package/dist/LaunchMsaView/components/EnsemblGeneTree/EnsemblGeneTree.js.map +1 -1
  13. package/dist/LaunchMsaView/components/EnsemblGeneTree/ensemblGeneTreeUtils.js.map +1 -1
  14. package/dist/LaunchMsaView/components/LaunchMsaViewDialog.d.ts +1 -1
  15. package/dist/LaunchMsaView/components/LaunchMsaViewDialog.js.map +1 -1
  16. package/dist/LaunchMsaView/components/ManualMSALoader/ManualMSALoader.d.ts +1 -1
  17. package/dist/LaunchMsaView/components/ManualMSALoader/ManualMSALoader.js +1 -1
  18. package/dist/LaunchMsaView/components/ManualMSALoader/ManualMSALoader.js.map +1 -1
  19. package/dist/LaunchMsaView/components/ManualMSALoader/launchView.d.ts +1 -1
  20. package/dist/LaunchMsaView/components/ManualMSALoader/launchView.js.map +1 -1
  21. package/dist/LaunchMsaView/components/NCBIBlastQuery/CachedBlastResults.d.ts +1 -2
  22. package/dist/LaunchMsaView/components/NCBIBlastQuery/CachedBlastResults.js +21 -14
  23. package/dist/LaunchMsaView/components/NCBIBlastQuery/CachedBlastResults.js.map +1 -1
  24. package/dist/LaunchMsaView/components/NCBIBlastQuery/NCBIBlastAutomaticPanel.d.ts +1 -1
  25. package/dist/LaunchMsaView/components/NCBIBlastQuery/NCBIBlastAutomaticPanel.js +32 -35
  26. package/dist/LaunchMsaView/components/NCBIBlastQuery/NCBIBlastAutomaticPanel.js.map +1 -1
  27. package/dist/LaunchMsaView/components/NCBIBlastQuery/NCBIBlastRIDPanel.d.ts +1 -1
  28. package/dist/LaunchMsaView/components/NCBIBlastQuery/NCBIBlastRIDPanel.js +2 -2
  29. package/dist/LaunchMsaView/components/NCBIBlastQuery/NCBIBlastRIDPanel.js.map +1 -1
  30. package/dist/LaunchMsaView/components/NCBIBlastQuery/blastLaunchView.d.ts +1 -1
  31. package/dist/LaunchMsaView/components/NCBIBlastQuery/blastLaunchView.js.map +1 -1
  32. package/dist/LaunchMsaView/components/NCBIBlastQuery/consts.d.ts +2 -0
  33. package/dist/LaunchMsaView/components/NCBIBlastQuery/consts.js +1 -0
  34. package/dist/LaunchMsaView/components/NCBIBlastQuery/consts.js.map +1 -1
  35. package/dist/LaunchMsaView/components/PreLoadedMSA/PreLoadedMSADataPanel.d.ts +1 -1
  36. package/dist/LaunchMsaView/components/PreLoadedMSA/PreLoadedMSADataPanel.js +6 -8
  37. package/dist/LaunchMsaView/components/PreLoadedMSA/PreLoadedMSADataPanel.js.map +1 -1
  38. package/dist/LaunchMsaView/components/PreLoadedMSA/fetchMSAData.d.ts +2 -2
  39. package/dist/LaunchMsaView/components/PreLoadedMSA/fetchMSAData.js.map +1 -1
  40. package/dist/LaunchMsaView/components/PreLoadedMSA/preCalculatedLaunchView.d.ts +1 -1
  41. package/dist/LaunchMsaView/components/PreLoadedMSA/preCalculatedLaunchView.js.map +1 -1
  42. package/dist/LaunchMsaView/components/TranscriptSelector.d.ts +3 -3
  43. package/dist/LaunchMsaView/components/TranscriptSelector.js +4 -4
  44. package/dist/LaunchMsaView/components/TranscriptSelector.js.map +1 -1
  45. package/dist/LaunchMsaView/components/useTranscriptSelection.d.ts +1 -1
  46. package/dist/LaunchMsaView/components/useTranscriptSelection.js +1 -2
  47. package/dist/LaunchMsaView/components/useTranscriptSelection.js.map +1 -1
  48. package/dist/LaunchMsaView/components/util.js +1 -1
  49. package/dist/LaunchMsaView/components/util.js.map +1 -1
  50. package/dist/LaunchMsaView/index.d.ts +1 -1
  51. package/dist/LaunchMsaView/index.js.map +1 -1
  52. package/dist/LaunchMsaView/util.d.ts +1 -0
  53. package/dist/LaunchMsaView/util.js +10 -0
  54. package/dist/LaunchMsaView/util.js.map +1 -1
  55. package/dist/MsaViewPanel/afterCreateAutoruns.d.ts +10 -0
  56. package/dist/MsaViewPanel/afterCreateAutoruns.js +258 -0
  57. package/dist/MsaViewPanel/afterCreateAutoruns.js.map +1 -0
  58. package/dist/MsaViewPanel/blosum62.d.ts +2 -0
  59. package/dist/MsaViewPanel/blosum62.js +628 -0
  60. package/dist/MsaViewPanel/blosum62.js.map +1 -0
  61. package/dist/MsaViewPanel/components/LoadingBLAST.d.ts +1 -1
  62. package/dist/MsaViewPanel/components/LoadingBLAST.js.map +1 -1
  63. package/dist/MsaViewPanel/components/MsaViewPanel.d.ts +1 -1
  64. package/dist/MsaViewPanel/components/MsaViewPanel.js.map +1 -1
  65. package/dist/MsaViewPanel/doLaunchBlast.d.ts +1 -1
  66. package/dist/MsaViewPanel/doLaunchBlast.js.map +1 -1
  67. package/dist/MsaViewPanel/genomeToMSA.d.ts +1 -1
  68. package/dist/MsaViewPanel/genomeToMSA.js.map +1 -1
  69. package/dist/MsaViewPanel/index.d.ts +1 -1
  70. package/dist/MsaViewPanel/index.js.map +1 -1
  71. package/dist/MsaViewPanel/model.d.ts +31 -39
  72. package/dist/MsaViewPanel/model.js +17 -309
  73. package/dist/MsaViewPanel/model.js.map +1 -1
  74. package/dist/MsaViewPanel/msaDataStore.d.ts +3 -4
  75. package/dist/MsaViewPanel/msaDataStore.js +59 -173
  76. package/dist/MsaViewPanel/msaDataStore.js.map +1 -1
  77. package/dist/MsaViewPanel/pairwiseAlignment.d.ts +0 -7
  78. package/dist/MsaViewPanel/pairwiseAlignment.js +1 -636
  79. package/dist/MsaViewPanel/pairwiseAlignment.js.map +1 -1
  80. package/dist/MsaViewPanel/structureConnection.js +1 -5
  81. package/dist/MsaViewPanel/structureConnection.js.map +1 -1
  82. package/dist/MsaViewPanel/util.d.ts +1 -1
  83. package/dist/index.d.ts +6 -6
  84. package/dist/index.js +21 -22
  85. package/dist/index.js.map +1 -1
  86. package/dist/jbrowse-plugin-msaview.umd.production.min.js +29 -29
  87. package/dist/jbrowse-plugin-msaview.umd.production.min.js.map +4 -4
  88. package/dist/utils/msa.js +35 -77
  89. package/dist/utils/msa.js.map +1 -1
  90. package/dist/utils/ncbiBlast.js +1 -10
  91. package/dist/utils/ncbiBlast.js.map +1 -1
  92. package/dist/version.d.ts +1 -1
  93. package/dist/version.js +1 -1
  94. package/dist/version.js.map +1 -1
  95. package/package.json +33 -30
  96. package/src/AddHighlightModel/index.tsx +1 -1
  97. package/src/BgzipFastaMsaAdapter/BgzipFastaMsaAdapter.ts +3 -4
  98. package/src/BgzipFastaMsaAdapter/configSchema.ts +2 -1
  99. package/src/BgzipFastaMsaAdapter/index.ts +2 -1
  100. package/src/LaunchMsaView/components/EnsemblGeneTree/EnsemblGeneTree.tsx +2 -6
  101. package/src/LaunchMsaView/components/EnsemblGeneTree/ensemblGeneTreeUtils.ts +2 -1
  102. package/src/LaunchMsaView/components/LaunchMsaViewDialog.tsx +2 -1
  103. package/src/LaunchMsaView/components/ManualMSALoader/ManualMSALoader.tsx +6 -7
  104. package/src/LaunchMsaView/components/ManualMSALoader/launchView.ts +5 -2
  105. package/src/LaunchMsaView/components/NCBIBlastQuery/CachedBlastResults.tsx +22 -17
  106. package/src/LaunchMsaView/components/NCBIBlastQuery/NCBIBlastAutomaticPanel.tsx +40 -52
  107. package/src/LaunchMsaView/components/NCBIBlastQuery/NCBIBlastRIDPanel.tsx +6 -13
  108. package/src/LaunchMsaView/components/NCBIBlastQuery/blastLaunchView.ts +2 -1
  109. package/src/LaunchMsaView/components/NCBIBlastQuery/consts.ts +2 -0
  110. package/src/LaunchMsaView/components/PreLoadedMSA/PreLoadedMSADataPanel.tsx +7 -19
  111. package/src/LaunchMsaView/components/PreLoadedMSA/fetchMSAData.ts +2 -2
  112. package/src/LaunchMsaView/components/PreLoadedMSA/preCalculatedLaunchView.ts +1 -2
  113. package/src/LaunchMsaView/components/TranscriptSelector.tsx +7 -6
  114. package/src/LaunchMsaView/components/useTranscriptSelection.ts +1 -6
  115. package/src/LaunchMsaView/components/util.ts +1 -1
  116. package/src/LaunchMsaView/index.ts +6 -5
  117. package/src/LaunchMsaView/util.ts +11 -0
  118. package/src/MsaViewPanel/afterCreateAutoruns.ts +299 -0
  119. package/src/MsaViewPanel/blosum62.ts +628 -0
  120. package/src/MsaViewPanel/components/LoadingBLAST.tsx +2 -1
  121. package/src/MsaViewPanel/components/MsaViewPanel.tsx +2 -1
  122. package/src/MsaViewPanel/doLaunchBlast.ts +1 -1
  123. package/src/MsaViewPanel/genomeToMSA.ts +2 -1
  124. package/src/MsaViewPanel/index.ts +2 -1
  125. package/src/MsaViewPanel/model.ts +30 -392
  126. package/src/MsaViewPanel/msaDataStore.ts +56 -196
  127. package/src/MsaViewPanel/pairwiseAlignment.ts +1 -637
  128. package/src/MsaViewPanel/structureConnection.ts +1 -5
  129. package/src/MsaViewPanel/util.ts +1 -1
  130. package/src/index.ts +5 -4
  131. package/src/utils/msa.ts +45 -100
  132. package/src/utils/ncbiBlast.ts +3 -13
  133. package/src/version.ts +1 -1
  134. package/CHANGELOG.md +0 -101
@@ -0,0 +1,628 @@
1
+ const BLOSUM62: Record<string, Record<string, number>> = {
2
+ A: {
3
+ A: 4,
4
+ R: -1,
5
+ N: -2,
6
+ D: -2,
7
+ C: 0,
8
+ Q: -1,
9
+ E: -1,
10
+ G: 0,
11
+ H: -2,
12
+ I: -1,
13
+ L: -1,
14
+ K: -1,
15
+ M: -1,
16
+ F: -2,
17
+ P: -1,
18
+ S: 1,
19
+ T: 0,
20
+ W: -3,
21
+ Y: -2,
22
+ V: 0,
23
+ B: -2,
24
+ Z: -1,
25
+ X: 0,
26
+ '*': -4,
27
+ },
28
+ R: {
29
+ A: -1,
30
+ R: 5,
31
+ N: 0,
32
+ D: -2,
33
+ C: -3,
34
+ Q: 1,
35
+ E: 0,
36
+ G: -2,
37
+ H: 0,
38
+ I: -3,
39
+ L: -2,
40
+ K: 2,
41
+ M: -1,
42
+ F: -3,
43
+ P: -2,
44
+ S: -1,
45
+ T: -1,
46
+ W: -3,
47
+ Y: -2,
48
+ V: -3,
49
+ B: -1,
50
+ Z: 0,
51
+ X: -1,
52
+ '*': -4,
53
+ },
54
+ N: {
55
+ A: -2,
56
+ R: 0,
57
+ N: 6,
58
+ D: 1,
59
+ C: -3,
60
+ Q: 0,
61
+ E: 0,
62
+ G: 0,
63
+ H: 1,
64
+ I: -3,
65
+ L: -3,
66
+ K: 0,
67
+ M: -2,
68
+ F: -3,
69
+ P: -2,
70
+ S: 1,
71
+ T: 0,
72
+ W: -4,
73
+ Y: -2,
74
+ V: -3,
75
+ B: 3,
76
+ Z: 0,
77
+ X: -1,
78
+ '*': -4,
79
+ },
80
+ D: {
81
+ A: -2,
82
+ R: -2,
83
+ N: 1,
84
+ D: 6,
85
+ C: -3,
86
+ Q: 0,
87
+ E: 2,
88
+ G: -1,
89
+ H: -1,
90
+ I: -3,
91
+ L: -4,
92
+ K: -1,
93
+ M: -3,
94
+ F: -3,
95
+ P: -1,
96
+ S: 0,
97
+ T: -1,
98
+ W: -4,
99
+ Y: -3,
100
+ V: -3,
101
+ B: 4,
102
+ Z: 1,
103
+ X: -1,
104
+ '*': -4,
105
+ },
106
+ C: {
107
+ A: 0,
108
+ R: -3,
109
+ N: -3,
110
+ D: -3,
111
+ C: 9,
112
+ Q: -3,
113
+ E: -4,
114
+ G: -3,
115
+ H: -3,
116
+ I: -1,
117
+ L: -1,
118
+ K: -3,
119
+ M: -1,
120
+ F: -2,
121
+ P: -3,
122
+ S: -1,
123
+ T: -1,
124
+ W: -2,
125
+ Y: -2,
126
+ V: -1,
127
+ B: -3,
128
+ Z: -3,
129
+ X: -2,
130
+ '*': -4,
131
+ },
132
+ Q: {
133
+ A: -1,
134
+ R: 1,
135
+ N: 0,
136
+ D: 0,
137
+ C: -3,
138
+ Q: 5,
139
+ E: 2,
140
+ G: -2,
141
+ H: 0,
142
+ I: -3,
143
+ L: -2,
144
+ K: 1,
145
+ M: 0,
146
+ F: -3,
147
+ P: -1,
148
+ S: 0,
149
+ T: -1,
150
+ W: -2,
151
+ Y: -1,
152
+ V: -2,
153
+ B: 0,
154
+ Z: 3,
155
+ X: -1,
156
+ '*': -4,
157
+ },
158
+ E: {
159
+ A: -1,
160
+ R: 0,
161
+ N: 0,
162
+ D: 2,
163
+ C: -4,
164
+ Q: 2,
165
+ E: 5,
166
+ G: -2,
167
+ H: 0,
168
+ I: -3,
169
+ L: -3,
170
+ K: 1,
171
+ M: -2,
172
+ F: -3,
173
+ P: -1,
174
+ S: 0,
175
+ T: -1,
176
+ W: -3,
177
+ Y: -2,
178
+ V: -2,
179
+ B: 1,
180
+ Z: 4,
181
+ X: -1,
182
+ '*': -4,
183
+ },
184
+ G: {
185
+ A: 0,
186
+ R: -2,
187
+ N: 0,
188
+ D: -1,
189
+ C: -3,
190
+ Q: -2,
191
+ E: -2,
192
+ G: 6,
193
+ H: -2,
194
+ I: -4,
195
+ L: -4,
196
+ K: -2,
197
+ M: -3,
198
+ F: -3,
199
+ P: -2,
200
+ S: 0,
201
+ T: -2,
202
+ W: -2,
203
+ Y: -3,
204
+ V: -3,
205
+ B: -1,
206
+ Z: -2,
207
+ X: -1,
208
+ '*': -4,
209
+ },
210
+ H: {
211
+ A: -2,
212
+ R: 0,
213
+ N: 1,
214
+ D: -1,
215
+ C: -3,
216
+ Q: 0,
217
+ E: 0,
218
+ G: -2,
219
+ H: 8,
220
+ I: -3,
221
+ L: -3,
222
+ K: -1,
223
+ M: -2,
224
+ F: -1,
225
+ P: -2,
226
+ S: -1,
227
+ T: -2,
228
+ W: -2,
229
+ Y: 2,
230
+ V: -3,
231
+ B: 0,
232
+ Z: 0,
233
+ X: -1,
234
+ '*': -4,
235
+ },
236
+ I: {
237
+ A: -1,
238
+ R: -3,
239
+ N: -3,
240
+ D: -3,
241
+ C: -1,
242
+ Q: -3,
243
+ E: -3,
244
+ G: -4,
245
+ H: -3,
246
+ I: 4,
247
+ L: 2,
248
+ K: -3,
249
+ M: 1,
250
+ F: 0,
251
+ P: -3,
252
+ S: -2,
253
+ T: -1,
254
+ W: -3,
255
+ Y: -1,
256
+ V: 3,
257
+ B: -3,
258
+ Z: -3,
259
+ X: -1,
260
+ '*': -4,
261
+ },
262
+ L: {
263
+ A: -1,
264
+ R: -2,
265
+ N: -3,
266
+ D: -4,
267
+ C: -1,
268
+ Q: -2,
269
+ E: -3,
270
+ G: -4,
271
+ H: -3,
272
+ I: 2,
273
+ L: 4,
274
+ K: -2,
275
+ M: 2,
276
+ F: 0,
277
+ P: -3,
278
+ S: -2,
279
+ T: -1,
280
+ W: -2,
281
+ Y: -1,
282
+ V: 1,
283
+ B: -4,
284
+ Z: -3,
285
+ X: -1,
286
+ '*': -4,
287
+ },
288
+ K: {
289
+ A: -1,
290
+ R: 2,
291
+ N: 0,
292
+ D: -1,
293
+ C: -3,
294
+ Q: 1,
295
+ E: 1,
296
+ G: -2,
297
+ H: -1,
298
+ I: -3,
299
+ L: -2,
300
+ K: 5,
301
+ M: -1,
302
+ F: -3,
303
+ P: -1,
304
+ S: 0,
305
+ T: -1,
306
+ W: -3,
307
+ Y: -2,
308
+ V: -2,
309
+ B: 0,
310
+ Z: 1,
311
+ X: -1,
312
+ '*': -4,
313
+ },
314
+ M: {
315
+ A: -1,
316
+ R: -1,
317
+ N: -2,
318
+ D: -3,
319
+ C: -1,
320
+ Q: 0,
321
+ E: -2,
322
+ G: -3,
323
+ H: -2,
324
+ I: 1,
325
+ L: 2,
326
+ K: -1,
327
+ M: 5,
328
+ F: 0,
329
+ P: -2,
330
+ S: -1,
331
+ T: -1,
332
+ W: -1,
333
+ Y: -1,
334
+ V: 1,
335
+ B: -3,
336
+ Z: -1,
337
+ X: -1,
338
+ '*': -4,
339
+ },
340
+ F: {
341
+ A: -2,
342
+ R: -3,
343
+ N: -3,
344
+ D: -3,
345
+ C: -2,
346
+ Q: -3,
347
+ E: -3,
348
+ G: -3,
349
+ H: -1,
350
+ I: 0,
351
+ L: 0,
352
+ K: -3,
353
+ M: 0,
354
+ F: 6,
355
+ P: -4,
356
+ S: -2,
357
+ T: -2,
358
+ W: 1,
359
+ Y: 3,
360
+ V: -1,
361
+ B: -3,
362
+ Z: -3,
363
+ X: -1,
364
+ '*': -4,
365
+ },
366
+ P: {
367
+ A: -1,
368
+ R: -2,
369
+ N: -2,
370
+ D: -1,
371
+ C: -3,
372
+ Q: -1,
373
+ E: -1,
374
+ G: -2,
375
+ H: -2,
376
+ I: -3,
377
+ L: -3,
378
+ K: -1,
379
+ M: -2,
380
+ F: -4,
381
+ P: 7,
382
+ S: -1,
383
+ T: -1,
384
+ W: -4,
385
+ Y: -3,
386
+ V: -2,
387
+ B: -2,
388
+ Z: -1,
389
+ X: -2,
390
+ '*': -4,
391
+ },
392
+ S: {
393
+ A: 1,
394
+ R: -1,
395
+ N: 1,
396
+ D: 0,
397
+ C: -1,
398
+ Q: 0,
399
+ E: 0,
400
+ G: 0,
401
+ H: -1,
402
+ I: -2,
403
+ L: -2,
404
+ K: 0,
405
+ M: -1,
406
+ F: -2,
407
+ P: -1,
408
+ S: 4,
409
+ T: 1,
410
+ W: -3,
411
+ Y: -2,
412
+ V: -2,
413
+ B: 0,
414
+ Z: 0,
415
+ X: 0,
416
+ '*': -4,
417
+ },
418
+ T: {
419
+ A: 0,
420
+ R: -1,
421
+ N: 0,
422
+ D: -1,
423
+ C: -1,
424
+ Q: -1,
425
+ E: -1,
426
+ G: -2,
427
+ H: -2,
428
+ I: -1,
429
+ L: -1,
430
+ K: -1,
431
+ M: -1,
432
+ F: -2,
433
+ P: -1,
434
+ S: 1,
435
+ T: 5,
436
+ W: -2,
437
+ Y: -2,
438
+ V: 0,
439
+ B: -1,
440
+ Z: -1,
441
+ X: 0,
442
+ '*': -4,
443
+ },
444
+ W: {
445
+ A: -3,
446
+ R: -3,
447
+ N: -4,
448
+ D: -4,
449
+ C: -2,
450
+ Q: -2,
451
+ E: -3,
452
+ G: -2,
453
+ H: -2,
454
+ I: -3,
455
+ L: -2,
456
+ K: -3,
457
+ M: -1,
458
+ F: 1,
459
+ P: -4,
460
+ S: -3,
461
+ T: -2,
462
+ W: 11,
463
+ Y: 2,
464
+ V: -3,
465
+ B: -4,
466
+ Z: -3,
467
+ X: -2,
468
+ '*': -4,
469
+ },
470
+ Y: {
471
+ A: -2,
472
+ R: -2,
473
+ N: -2,
474
+ D: -3,
475
+ C: -2,
476
+ Q: -1,
477
+ E: -2,
478
+ G: -3,
479
+ H: 2,
480
+ I: -1,
481
+ L: -1,
482
+ K: -2,
483
+ M: -1,
484
+ F: 3,
485
+ P: -3,
486
+ S: -2,
487
+ T: -2,
488
+ W: 2,
489
+ Y: 7,
490
+ V: -1,
491
+ B: -3,
492
+ Z: -2,
493
+ X: -1,
494
+ '*': -4,
495
+ },
496
+ V: {
497
+ A: 0,
498
+ R: -3,
499
+ N: -3,
500
+ D: -3,
501
+ C: -1,
502
+ Q: -2,
503
+ E: -2,
504
+ G: -3,
505
+ H: -3,
506
+ I: 3,
507
+ L: 1,
508
+ K: -2,
509
+ M: 1,
510
+ F: -1,
511
+ P: -2,
512
+ S: -2,
513
+ T: 0,
514
+ W: -3,
515
+ Y: -1,
516
+ V: 4,
517
+ B: -3,
518
+ Z: -2,
519
+ X: -1,
520
+ '*': -4,
521
+ },
522
+ B: {
523
+ A: -2,
524
+ R: -1,
525
+ N: 3,
526
+ D: 4,
527
+ C: -3,
528
+ Q: 0,
529
+ E: 1,
530
+ G: -1,
531
+ H: 0,
532
+ I: -3,
533
+ L: -4,
534
+ K: 0,
535
+ M: -3,
536
+ F: -3,
537
+ P: -2,
538
+ S: 0,
539
+ T: -1,
540
+ W: -4,
541
+ Y: -3,
542
+ V: -3,
543
+ B: 4,
544
+ Z: 1,
545
+ X: -1,
546
+ '*': -4,
547
+ },
548
+ Z: {
549
+ A: -1,
550
+ R: 0,
551
+ N: 0,
552
+ D: 1,
553
+ C: -3,
554
+ Q: 3,
555
+ E: 4,
556
+ G: -2,
557
+ H: 0,
558
+ I: -3,
559
+ L: -3,
560
+ K: 1,
561
+ M: -1,
562
+ F: -3,
563
+ P: -1,
564
+ S: 0,
565
+ T: -1,
566
+ W: -3,
567
+ Y: -2,
568
+ V: -2,
569
+ B: 1,
570
+ Z: 4,
571
+ X: -1,
572
+ '*': -4,
573
+ },
574
+ X: {
575
+ A: 0,
576
+ R: -1,
577
+ N: -1,
578
+ D: -1,
579
+ C: -2,
580
+ Q: -1,
581
+ E: -1,
582
+ G: -1,
583
+ H: -1,
584
+ I: -1,
585
+ L: -1,
586
+ K: -1,
587
+ M: -1,
588
+ F: -1,
589
+ P: -2,
590
+ S: 0,
591
+ T: 0,
592
+ W: -2,
593
+ Y: -1,
594
+ V: -1,
595
+ B: -1,
596
+ Z: -1,
597
+ X: -1,
598
+ '*': -4,
599
+ },
600
+ '*': {
601
+ A: -4,
602
+ R: -4,
603
+ N: -4,
604
+ D: -4,
605
+ C: -4,
606
+ Q: -4,
607
+ E: -4,
608
+ G: -4,
609
+ H: -4,
610
+ I: -4,
611
+ L: -4,
612
+ K: -4,
613
+ M: -4,
614
+ F: -4,
615
+ P: -4,
616
+ S: -4,
617
+ T: -4,
618
+ W: -4,
619
+ Y: -4,
620
+ V: -4,
621
+ B: -4,
622
+ Z: -4,
623
+ X: -4,
624
+ '*': 1,
625
+ },
626
+ }
627
+
628
+ export default BLOSUM62
@@ -5,9 +5,10 @@ import { Typography } from '@mui/material'
5
5
  import { observer } from 'mobx-react'
6
6
  import { makeStyles } from 'tss-react/mui'
7
7
 
8
- import { JBrowsePluginMsaViewModel } from '../model'
9
8
  import RIDLink from './RIDLink'
10
9
 
10
+ import type { JBrowsePluginMsaViewModel } from '../model'
11
+
11
12
  const useStyles = makeStyles()(theme => ({
12
13
  margin: {
13
14
  padding: 20,
@@ -4,9 +4,10 @@ import { LoadingEllipses } from '@jbrowse/core/ui'
4
4
  import { observer } from 'mobx-react'
5
5
  import { MSAView } from 'react-msaview'
6
6
 
7
- import { JBrowsePluginMsaViewModel } from '../model'
8
7
  import LoadingBLAST from './LoadingBLAST'
9
8
 
9
+ import type { JBrowsePluginMsaViewModel } from '../model'
10
+
10
11
  const MsaViewPanel = observer(function MsaViewPanel2({
11
12
  model,
12
13
  }: {
@@ -1,4 +1,3 @@
1
- import { JBrowsePluginMsaViewModel } from './model'
2
1
  import { makeId, strip } from '../LaunchMsaView/components/util'
3
2
  import { cleanProteinSequence } from '../LaunchMsaView/util'
4
3
  import { saveBlastResult } from '../utils/blastCache'
@@ -6,6 +5,7 @@ import { launchMSA } from '../utils/msa'
6
5
  import { queryBlast, queryBlastFromRid } from '../utils/ncbiBlast'
7
6
  import { fetchTaxonomyInfo } from '../utils/taxonomyNames'
8
7
 
8
+ import type { JBrowsePluginMsaViewModel } from './model'
9
9
  import type { TaxonomyInfo } from '../utils/taxonomyNames'
10
10
  import type { BlastHitDescription } from '../utils/types'
11
11
 
@@ -1,8 +1,9 @@
1
1
  import { getSession } from '@jbrowse/core/util'
2
2
 
3
- import { JBrowsePluginMsaViewModel } from './model'
4
3
  import { checkHovered } from './util'
5
4
 
5
+ import type { JBrowsePluginMsaViewModel } from './model'
6
+
6
7
  /**
7
8
  * Convert a genome coordinate from session.hovered to a visible MSA column.
8
9
  *
@@ -1,10 +1,11 @@
1
1
  import { lazy } from 'react'
2
2
 
3
- import PluginManager from '@jbrowse/core/PluginManager'
4
3
  import ViewType from '@jbrowse/core/pluggableElementTypes/ViewType'
5
4
 
6
5
  import stateModelFactory from './model'
7
6
 
7
+ import type PluginManager from '@jbrowse/core/PluginManager'
8
+
8
9
  // lazies
9
10
  const MsaViewPanel = lazy(() => import('./components/MsaViewPanel'))
10
11