@datagrok/bio 2.11.11 → 2.11.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.
@@ -30,7 +30,7 @@ M V30 3 1 2 4
30
30
  M V30 4 2 4 5
31
31
  M V30 5 1 4 14
32
32
  M V30 6 1 6 7
33
- M V30 7 2 7 8 CFG=3
33
+ M V30 7 2 7 8
34
34
  M V30 8 1 7 9
35
35
  M V30 9 1 9 10
36
36
  M V30 10 1 10 11
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "name": "Leonid Stolbov",
6
6
  "email": "lstolbov@datagrok.ai"
7
7
  },
8
- "version": "2.11.11",
8
+ "version": "2.11.13",
9
9
  "description": "Bioinformatics support (import/export of sequences, conversion, visualization, analysis). [See more](https://github.com/datagrok-ai/public/blob/master/packages/Bio/README.md) for details.",
10
10
  "repository": {
11
11
  "type": "git",
@@ -34,11 +34,11 @@
34
34
  ],
35
35
  "dependencies": {
36
36
  "@biowasm/aioli": "^3.1.0",
37
- "@datagrok-libraries/bio": "^5.39.6",
38
- "@datagrok-libraries/chem-meta": "^1.0.1",
39
- "@datagrok-libraries/ml": "^6.3.55",
40
- "@datagrok-libraries/tutorials": "^1.3.6",
41
- "@datagrok-libraries/utils": "^4.0.17",
37
+ "@datagrok-libraries/bio": "^5.39.9",
38
+ "@datagrok-libraries/chem-meta": "^1.2.1",
39
+ "@datagrok-libraries/ml": "^6.3.56",
40
+ "@datagrok-libraries/tutorials": "^1.3.11",
41
+ "@datagrok-libraries/utils": "^4.1.28",
42
42
  "cash-dom": "^8.0.0",
43
43
  "css-loader": "^6.7.3",
44
44
  "datagrok-api": "^1.16.0",
@@ -64,8 +64,8 @@
64
64
  "webpack": "^5.76.3",
65
65
  "webpack-bundle-analyzer": "latest",
66
66
  "webpack-cli": "^4.9.1",
67
- "@datagrok/chem": "^1.8.4",
68
- "@datagrok/helm": "^2.1.21",
67
+ "@datagrok/chem": "^1.8.6",
68
+ "@datagrok/helm": "^2.1.22",
69
69
  "@datagrok/dendrogram": "^1.2.21"
70
70
  },
71
71
  "scripts": {
@@ -81,7 +81,7 @@ ATC-G-TTGC--
81
81
  });
82
82
  df.filter.fireChanged();
83
83
  const wlViewer: WebLogoViewer = (await df.plot.fromType('WebLogo',
84
- {'shrinkEmptyTail': true})) as WebLogoViewer;
84
+ {'shrinkEmptyTail': true})) as unknown as WebLogoViewer;
85
85
  await testEvent(wlViewer.onLayoutCalculated, () => {}, () => {
86
86
  tv.dockManager.dock(wlViewer.root, DG.DOCK_TYPE.DOWN);
87
87
  }, 500);
@@ -119,7 +119,7 @@ ATC-G-TTGC--
119
119
  seqCol.setTag(bioTAGS.aligned, 'SEQ.MSA');
120
120
 
121
121
  const wlViewer: WebLogoViewer = (await df.plot.fromType('WebLogo',
122
- {'skipEmptyPositions': true})) as WebLogoViewer;
122
+ {'skipEmptyPositions': true})) as unknown as WebLogoViewer;
123
123
  await testEvent(wlViewer.onLayoutCalculated, () => {}, () => {
124
124
  tv.dockManager.dock(wlViewer.root, DG.DOCK_TYPE.DOWN);
125
125
  }, 500);
@@ -155,7 +155,7 @@ ATC-G-TTGC--
155
155
  startPositionName: '3',
156
156
  endPositionName: '7',
157
157
  skipEmptyPositions: true,
158
- })) as WebLogoViewer;
158
+ })) as unknown as WebLogoViewer;
159
159
  await testEvent(wlViewer.onLayoutCalculated, () => {}, () => {
160
160
  tv.dockManager.dock(wlViewer.root, DG.DOCK_TYPE.DOWN);
161
161
  }, 500);
@@ -76,13 +76,13 @@ ATCGAATCGA`;
76
76
  // Note that here the result is actually an inverted value of alignment score, which is coorelated with distance
77
77
  // tests using default BLOSUM62 matrix are in agreement with the results of the online tool
78
78
  test('needleman-blosum62', async () => {
79
- const df = mmDistanceFunctions[MmDistanceFunctionsNames.NEEDLEMANN_WUNSCH]();
80
- _testDistance(prot1, prot2, df, 0.205);
79
+ const df = mmDistanceFunctions[MmDistanceFunctionsNames.NEEDLEMANN_WUNSCH]({gapOpen: 8, gapExtend: 2});
80
+ _testDistance(prot1, prot2, df, -6);
81
81
  });
82
82
 
83
83
  test('needleman-blosum62-del', async () => {
84
- const df = mmDistanceFunctions[MmDistanceFunctionsNames.NEEDLEMANN_WUNSCH]();
85
- _testDistance(prot3, prot4, df, 0.65);
84
+ const df = mmDistanceFunctions[MmDistanceFunctionsNames.NEEDLEMANN_WUNSCH]({gapOpen: 8, gapExtend: 2});
85
+ _testDistance(prot3, prot4, df, -1.8);
86
86
  });
87
87
 
88
88
  test('needleman-custom-sub', async () => {
@@ -21,9 +21,6 @@ import {
21
21
  NOTATION
22
22
  } from '@datagrok-libraries/bio/src/utils/macromolecule';
23
23
  import {splitToMonomersUI} from '../utils/split-to-monomers';
24
- import {SEMTYPE} from 'datagrok-api/dg';
25
- import {UnitsHandler} from '@datagrok-libraries/bio/src/utils/units-handler';
26
- import {TAGS} from '../utils/constants';
27
24
 
28
25
 
29
26
  category('splitters', async () => {
@@ -22,9 +22,9 @@ const appPath = 'System:AppData/Bio';
22
22
  const fileSource = new DG.FileSource(appPath);
23
23
 
24
24
  const testNames: { [k: string]: string } = {
25
- PT: 'peptides fasta',
26
- DNA: 'dna fasta',
27
- MSA: 'msa separator',
25
+ PT: 'peptides-fasta',
26
+ DNA: 'dna-fasta',
27
+ MSA: 'msa-separator',
28
28
  };
29
29
 
30
30
  const inputPath: { [k: string]: string } = {
@@ -328,7 +328,7 @@ export class VdRegionsViewer extends DG.JsViewer implements IVdRegionsViewer {
328
328
  positionWidth: this.positionWidth,
329
329
  positionHeight: this.positionHeight,
330
330
  filterSource: this.filterSource,
331
- }) as WebLogoViewer;
331
+ }) as unknown as WebLogoViewer;
332
332
  wl.onSizeChanged.subscribe(() => { this.calcSize(); });
333
333
  return [orderI, chain, wl];
334
334
  })());