@datagrok/bio 2.1.4 → 2.1.8
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/detectors.js +191 -158
- package/dist/package-test.js +281 -152
- package/dist/package.js +38 -19
- package/files/tests/SPGI-derived.csv +320 -0
- package/package.json +3 -3
- package/scripts/generate_fasta_csv_for_alphabets.R +6 -9
- package/src/__jest__/remote.test.ts +13 -7
- package/src/package-test.ts +4 -3
- package/src/package.ts +29 -21
- package/src/tests/{convert-test.ts → converters-test.ts} +0 -0
- package/src/tests/detectors-benchmark-tests.ts +165 -0
- package/src/tests/{detectors-test.ts → detectors-tests.ts} +19 -1
- package/src/tests/renderers-test.ts +1 -6
- package/src/tests/splitters-test.ts +0 -5
- package/src/tests/{substructure-filter-tests.ts → substructure-filters-tests.ts} +1 -1
- package/src/tests/{test-sequnces-generators.ts → utils/sequences-generators.ts} +0 -0
- package/{test-Bio-62cc009524f3-db2d0836.html → test-Bio-62cc009524f3-9c526574.html} +111 -107
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
import * as grok from 'datagrok-api/grok';
|
|
2
|
+
import * as ui from 'datagrok-api/ui';
|
|
3
|
+
import * as DG from 'datagrok-api/dg';
|
|
4
|
+
import * as bio from '@datagrok-libraries/bio';
|
|
5
|
+
|
|
6
|
+
import {after, before, category, test, expect, expectObject} from '@datagrok-libraries/utils/src/test';
|
|
7
|
+
import {UnitsHandler} from '@datagrok-libraries/bio';
|
|
8
|
+
import {Column} from 'datagrok-api/dg';
|
|
9
|
+
|
|
10
|
+
category('detectorsBenchmark', () => {
|
|
11
|
+
|
|
12
|
+
let detectFunc: DG.Func;
|
|
13
|
+
|
|
14
|
+
before(async () => {
|
|
15
|
+
const funcList: DG.Func[] = DG.Func.find({package: 'Bio', name: 'detectMacromolecule'});
|
|
16
|
+
detectFunc = funcList[0];
|
|
17
|
+
|
|
18
|
+
// warm up the detector function
|
|
19
|
+
const col: DG.Column = DG.Column.fromStrings('seq', ['ACGT', 'ACGT', 'ACGT']);
|
|
20
|
+
await detectFunc.prepare({col: col}).call();
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
// -- fasta --
|
|
24
|
+
|
|
25
|
+
test('fastaDnaShorts50Few50', async () => {
|
|
26
|
+
const et: number = await detectMacromoleculeBenchmark(10, bio.NOTATION.FASTA, bio.ALPHABET.DNA, 50, 50);
|
|
27
|
+
},
|
|
28
|
+
{skipReason: '#1192'});
|
|
29
|
+
|
|
30
|
+
test('fastaDnaShorts50Many1E6', async () => {
|
|
31
|
+
const et: number = await detectMacromoleculeBenchmark(10, bio.NOTATION.FASTA, bio.ALPHABET.DNA, 50, 1E6);
|
|
32
|
+
},
|
|
33
|
+
{skipReason: '#1192'});
|
|
34
|
+
|
|
35
|
+
test('fastaDnaLong1e6Few50', async () => {
|
|
36
|
+
const et: number = await detectMacromoleculeBenchmark(10, bio.NOTATION.FASTA, bio.ALPHABET.DNA, 1E6, 50);
|
|
37
|
+
},
|
|
38
|
+
{skipReason: '#1192'});
|
|
39
|
+
|
|
40
|
+
// -- separator --
|
|
41
|
+
|
|
42
|
+
test('separatorDnaShorts50Few50', async () => {
|
|
43
|
+
const et: number = await detectMacromoleculeBenchmark(10, bio.NOTATION.SEPARATOR, bio.ALPHABET.DNA, 50, 50, '/');
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
test('separatorDnaShorts50Many1E6', async () => {
|
|
47
|
+
const et: number = await detectMacromoleculeBenchmark(10, bio.NOTATION.SEPARATOR, bio.ALPHABET.DNA, 50, 1E6, '/');
|
|
48
|
+
},
|
|
49
|
+
{ /* skipReason: 'slow transmit large dataset to detector' */});
|
|
50
|
+
|
|
51
|
+
test('separatorDnaLong1e6Few50', async () => {
|
|
52
|
+
const et: number = await detectMacromoleculeBenchmark(10, bio.NOTATION.SEPARATOR, bio.ALPHABET.DNA, 1E6, 50, '/');
|
|
53
|
+
},
|
|
54
|
+
{skipReason: '#1192'});
|
|
55
|
+
|
|
56
|
+
async function detectMacromoleculeBenchmark(
|
|
57
|
+
maxET: number, notation: bio.NOTATION, alphabet: bio.ALPHABET, length: number, count: number, separator?: string
|
|
58
|
+
): Promise<number> {
|
|
59
|
+
return await benchmark<DG.FuncCall, DG.Column>(10,
|
|
60
|
+
(): DG.FuncCall => {
|
|
61
|
+
const col: DG.Column = generate(notation, [...bio.getAlphabet(alphabet)], length, count, separator);
|
|
62
|
+
const funcCall: DG.FuncCall = detectFunc.prepare({col: col});
|
|
63
|
+
return funcCall;
|
|
64
|
+
},
|
|
65
|
+
async (funcCall: DG.FuncCall): Promise<DG.Column> => {
|
|
66
|
+
return testDetector(funcCall);
|
|
67
|
+
},
|
|
68
|
+
(col: DG.Column) => {
|
|
69
|
+
checkDetectorRes(col, {
|
|
70
|
+
semType: DG.SEMTYPE.MACROMOLECULE,
|
|
71
|
+
notation: notation,
|
|
72
|
+
alphabet: alphabet,
|
|
73
|
+
separator: separator
|
|
74
|
+
});
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
function generate(notation: bio.NOTATION, alphabet: string[], length: number, count: number, separator?: string): DG.Column {
|
|
79
|
+
let seqMerger: (seqMList: string[], separator?: string) => string;
|
|
80
|
+
|
|
81
|
+
switch (notation) {
|
|
82
|
+
case bio.NOTATION.FASTA:
|
|
83
|
+
seqMerger = (seqMList: string[]): string => {
|
|
84
|
+
let res: string = '';
|
|
85
|
+
for (let j = 0; j < seqMList.length; j++) {
|
|
86
|
+
const m = seqMList[j];
|
|
87
|
+
res += m.length == 1 ? m : `[${m}]`;
|
|
88
|
+
}
|
|
89
|
+
return res;
|
|
90
|
+
};
|
|
91
|
+
break;
|
|
92
|
+
case bio.NOTATION.SEPARATOR:
|
|
93
|
+
seqMerger = (seqMList: string[], separator?: string): string => {
|
|
94
|
+
return seqMList.join(separator);
|
|
95
|
+
};
|
|
96
|
+
break;
|
|
97
|
+
default:
|
|
98
|
+
throw new Error(`Not supported notation '${notation}'.`);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
const buildSeq = (alphabet: string[], length: number): string => {
|
|
102
|
+
const seqMList = new Array<string>(length);
|
|
103
|
+
for (let j = 0; j < length; j++) {
|
|
104
|
+
seqMList[j] = alphabet[Math.floor(Math.random() * alphabet.length)];
|
|
105
|
+
}
|
|
106
|
+
return seqMerger(seqMList, separator);
|
|
107
|
+
};
|
|
108
|
+
|
|
109
|
+
const seqList: string[] = Array(count);
|
|
110
|
+
for (let i = 0; i < count; i++) {
|
|
111
|
+
seqList[i] = buildSeq(alphabet, length);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
return DG.Column.fromStrings('seq', seqList);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
type TgtType = { semType: string, notation: bio.NOTATION, alphabet: bio.ALPHABET, separator?: string };
|
|
118
|
+
|
|
119
|
+
function testDetector(funcCall: DG.FuncCall): DG.Column {
|
|
120
|
+
//const semType: string = await grok.functions.call('Bio:detectMacromolecule', {col: col});
|
|
121
|
+
funcCall.callSync();
|
|
122
|
+
const semType = funcCall.getOutputParamValue();
|
|
123
|
+
|
|
124
|
+
const col: DG.Column = funcCall.inputs.col;
|
|
125
|
+
if (semType) col.semType = semType;
|
|
126
|
+
return col;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
function checkDetectorRes(col: DG.Column, tgt: TgtType): void {
|
|
130
|
+
const uh = new UnitsHandler(col);
|
|
131
|
+
expect(col.semType, tgt.semType);
|
|
132
|
+
expect(uh.notation, tgt.notation);
|
|
133
|
+
expect(uh.alphabet, tgt.alphabet);
|
|
134
|
+
expect(uh.separator, tgt.separator);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
});
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
/** Returns ET [ms] of test() */
|
|
141
|
+
async function benchmark<TData, TRes>(
|
|
142
|
+
maxET: number, prepare: () => TData, test: (data: TData) => Promise<TRes>, check: (res: TRes) => void
|
|
143
|
+
): Promise<number> {
|
|
144
|
+
const data: TData = prepare();
|
|
145
|
+
|
|
146
|
+
const t1: number = Date.now();
|
|
147
|
+
// console.profile();
|
|
148
|
+
const res: TRes = await test(data);
|
|
149
|
+
//console.profileEnd();
|
|
150
|
+
const t2: number = Date.now();
|
|
151
|
+
|
|
152
|
+
check(res);
|
|
153
|
+
|
|
154
|
+
const resET: number = t2 - t1;
|
|
155
|
+
if (resET > maxET) {
|
|
156
|
+
const errMsg = `ET ${resET} ms is more than max allowed ${maxET} ms.`;
|
|
157
|
+
console.error(errMsg);
|
|
158
|
+
throw new Error(errMsg);
|
|
159
|
+
} else {
|
|
160
|
+
console.log(`ET ${resET} ms is OK.`);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
return resET;
|
|
164
|
+
}
|
|
165
|
+
|
|
@@ -7,6 +7,17 @@ import {after, before, category, test, expect, expectObject} from '@datagrok-lib
|
|
|
7
7
|
|
|
8
8
|
import {importFasta} from '../package';
|
|
9
9
|
|
|
10
|
+
/*
|
|
11
|
+
// snippet to list df columns of semType='Macromolecule' (false positive)
|
|
12
|
+
const df = grok.shell.tableByName('SPGI');
|
|
13
|
+
for (let i = 0; i < df.columns.length; i++) {
|
|
14
|
+
const col = df.columns.byIndex(i);
|
|
15
|
+
if (col.semType == 'Macromolecule') {
|
|
16
|
+
console.log( i + ' - ' + col.name + ' - ' + col.semType);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
*/
|
|
20
|
+
|
|
10
21
|
type DfReaderFunc = () => Promise<DG.DataFrame>;
|
|
11
22
|
|
|
12
23
|
category('detectors', () => {
|
|
@@ -127,6 +138,7 @@ MWRSWY-CKHP
|
|
|
127
138
|
testUnichemSources = 'testUnichemSources',
|
|
128
139
|
testDmvOffices = 'testDmvOffices',
|
|
129
140
|
testAlertCollection = 'testAlertCollection',
|
|
141
|
+
testSpgi = 'testSpgi',
|
|
130
142
|
}
|
|
131
143
|
|
|
132
144
|
const samples: { [key: string]: string } = {
|
|
@@ -148,6 +160,7 @@ MWRSWY-CKHP
|
|
|
148
160
|
[Samples.testUnichemSources]: 'System:AppData/Bio/tests/testUnichemSources.csv',
|
|
149
161
|
[Samples.testDmvOffices]: 'System:AppData/Bio/tests/testDmvOffices.csv',
|
|
150
162
|
[Samples.testAlertCollection]: 'System:AppData/Bio/tests/testAlertCollection.csv',
|
|
163
|
+
[Samples.testSpgi]: 'System:AppData/Bio/tests/SPGI-derived.csv',
|
|
151
164
|
};
|
|
152
165
|
|
|
153
166
|
const _samplesDfs: { [key: string]: Promise<DG.DataFrame> } = {};
|
|
@@ -337,7 +350,8 @@ MWRSWY-CKHP
|
|
|
337
350
|
});
|
|
338
351
|
|
|
339
352
|
test('samplesFastaPtPosSequence', async () => {
|
|
340
|
-
await _testPos(readSamples(Samples.fastaPtCsv), 'sequence',
|
|
353
|
+
await _testPos(readSamples(Samples.fastaPtCsv), 'sequence',
|
|
354
|
+
bio.NOTATION.FASTA, bio.ALIGNMENT.SEQ, bio.ALPHABET.PT, 20, false);
|
|
341
355
|
});
|
|
342
356
|
|
|
343
357
|
test('samplesTestCerealNegativeCerealName', async () => {
|
|
@@ -374,6 +388,10 @@ MWRSWY-CKHP
|
|
|
374
388
|
test('samplesTestAlertCollectionNegativeSmarts', async () => {
|
|
375
389
|
await _testNeg(readSamples(Samples.testAlertCollection), 'smarts');
|
|
376
390
|
});
|
|
391
|
+
|
|
392
|
+
test('samplesTestSpgiNegativeVals', async () => {
|
|
393
|
+
await _testNeg(readSamples(Samples.testSpgi), 'vals');
|
|
394
|
+
});
|
|
377
395
|
});
|
|
378
396
|
|
|
379
397
|
export async function _testNeg(readDf: DfReaderFunc, colName: string) {
|
|
@@ -7,7 +7,7 @@ import {after, before, category, delay, expect, test} from '@datagrok-libraries/
|
|
|
7
7
|
import {importFasta, multipleSequenceAlignmentAny} from '../package';
|
|
8
8
|
import {convertDo} from '../utils/convert';
|
|
9
9
|
import {SEM_TYPES, TAGS} from '../utils/constants';
|
|
10
|
-
import {generateLongSequence, generateManySequences, performanceTest} from './
|
|
10
|
+
import {generateLongSequence, generateManySequences, performanceTest} from './utils/sequences-generators';
|
|
11
11
|
import {errorToConsole} from '@datagrok-libraries/utils/src/to-console';
|
|
12
12
|
|
|
13
13
|
category('renderers', () => {
|
|
@@ -17,11 +17,6 @@ category('renderers', () => {
|
|
|
17
17
|
before(async () => {
|
|
18
18
|
tvList = [];
|
|
19
19
|
dfList = [];
|
|
20
|
-
await grok.functions.call('Bio:initBio')
|
|
21
|
-
.catch((err) => {
|
|
22
|
-
console.error(errorToConsole(err));
|
|
23
|
-
throw err;
|
|
24
|
-
});
|
|
25
20
|
});
|
|
26
21
|
|
|
27
22
|
after(async () => {
|
|
File without changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<html><head><meta charset="utf-8"/><title>Bio Test Report. Datagrok version datagrok/datagrok:latest SHA=62cc009524f3. Commit
|
|
1
|
+
<html><head><meta charset="utf-8"/><title>Bio Test Report. Datagrok version datagrok/datagrok:latest SHA=62cc009524f3. Commit 9c526574.</title><style type="text/css">html,
|
|
2
2
|
body {
|
|
3
3
|
font-family: Arial, Helvetica, sans-serif;
|
|
4
4
|
font-size: 1rem;
|
|
@@ -229,16 +229,7 @@ header {
|
|
|
229
229
|
font-size: 1rem;
|
|
230
230
|
padding: 0 0.5rem;
|
|
231
231
|
}
|
|
232
|
-
</style></head><body><div id="jesthtml-content"><header><h1 id="title">Bio Test Report. Datagrok version datagrok/datagrok:latest SHA=62cc009524f3. Commit
|
|
233
|
-
Test result : Failed : 0 : Bio.splitters.init : TypeError: Cannot convert undefined or null to object
|
|
234
|
-
Test result : Failed : 0 : Bio.renderers.init : TypeError: Cannot convert undefined or null to object
|
|
235
|
-
Test result : Failed : 1449 : Bio.substructureFilters.helm : Error: Expected "2", got "0"
|
|
236
|
-
|
|
237
|
-
at /home/runner/work/public/public/packages/Bio/src/__jest__/remote.test.ts:70:20
|
|
238
|
-
at Generator.next (<anonymous>)
|
|
239
|
-
at fulfilled (/home/runner/work/public/public/packages/Bio/src/__jest__/remote.test.ts:31:58)
|
|
240
|
-
at runMicrotasks (<anonymous>)
|
|
241
|
-
at processTicksAndRejections (internal/process/task_queues.js:97:5)</pre></div></div></div><div class="suite-consolelog"><div class="suite-consolelog-header">Console Log</div><div class="suite-consolelog-item"><pre class="suite-consolelog-item-origin"> at Object.<anonymous> (/home/runner/work/public/public/packages/Bio/src/__jest__/test-node.ts:63:11)
|
|
232
|
+
</style></head><body><div id="jesthtml-content"><header><h1 id="title">Bio Test Report. Datagrok version datagrok/datagrok:latest SHA=62cc009524f3. Commit 9c526574.</h1></header><div id="metadata-container"><div id="timestamp">Started: 2022-11-18 19:11:24</div><div id="summary"><div id="suite-summary"><div class="summary-total">Suites (1)</div><div class="summary-passed">1 passed</div><div class="summary-failed summary-empty">0 failed</div><div class="summary-pending summary-empty">0 pending</div></div><div id="test-summary"><div class="summary-total">Tests (1)</div><div class="summary-passed">1 passed</div><div class="summary-failed summary-empty">0 failed</div><div class="summary-pending summary-empty">0 pending</div></div></div></div><div id="suite-1" class="suite-container"><div class="suite-info"><div class="suite-path">/home/runner/work/public/public/packages/Bio/src/__jest__/remote.test.ts</div><div class="suite-time warn">54.487s</div></div><div class="suite-tests"><div class="test-result passed"><div class="test-info"><div class="test-suitename"> </div><div class="test-title">TEST</div><div class="test-status">passed</div><div class="test-duration">38.273s</div></div></div></div><div class="suite-consolelog"><div class="suite-consolelog-header">Console Log</div><div class="suite-consolelog-item"><pre class="suite-consolelog-item-origin"> at Object.<anonymous> (/home/runner/work/public/public/packages/Bio/src/__jest__/test-node.ts:63:11)
|
|
242
233
|
at Generator.next (<anonymous>)
|
|
243
234
|
at fulfilled (/home/runner/work/public/public/packages/Bio/src/__jest__/test-node.ts:28:58)
|
|
244
235
|
at processTicksAndRejections (internal/process/task_queues.js:97:5)</pre><pre class="suite-consolelog-item-message">Using web root: http://localhost:8080</pre></div><div class="suite-consolelog-item"><pre class="suite-consolelog-item-origin"> at /home/runner/work/public/public/packages/Bio/src/__jest__/remote.test.ts:40:11
|
|
@@ -248,103 +239,106 @@ Test result : Failed : 1449 : Bio.substructureFilters.helm : Error: Expected "2"
|
|
|
248
239
|
at Object.<anonymous>.__awaiter (/home/runner/work/public/public/packages/Bio/src/__jest__/remote.test.ts:30:12)
|
|
249
240
|
at Object.<anonymous> (/home/runner/work/public/public/packages/Bio/src/__jest__/remote.test.ts:38:23)
|
|
250
241
|
at Promise.then.completed (/home/runner/work/public/public/packages/Bio/node_modules/jest-circus/build/utils.js:391:28)
|
|
251
|
-
at new Promise (<anonymous>)</pre><pre class="suite-consolelog-item-message">Testing Bio package</pre></div><div class="suite-consolelog-item"><pre class="suite-consolelog-item-origin"> at /home/runner/work/public/public/packages/Bio/src/__jest__/remote.test.ts:
|
|
242
|
+
at new Promise (<anonymous>)</pre><pre class="suite-consolelog-item-message">Testing Bio package</pre></div><div class="suite-consolelog-item"><pre class="suite-consolelog-item-origin"> at /home/runner/work/public/public/packages/Bio/src/__jest__/remote.test.ts:72:11
|
|
252
243
|
at Generator.next (<anonymous>)
|
|
253
244
|
at fulfilled (/home/runner/work/public/public/packages/Bio/src/__jest__/remote.test.ts:31:58)
|
|
254
245
|
at runMicrotasks (<anonymous>)
|
|
255
246
|
at processTicksAndRejections (internal/process/task_queues.js:97:5)</pre><pre class="suite-consolelog-item-message">Test result : Success : 1 : Bio.Palettes.testPaletteN : OK
|
|
256
247
|
Test result : Success : 0 : Bio.Palettes.testPaletteAA : OK
|
|
257
|
-
Test result : Success :
|
|
258
|
-
Test result : Success :
|
|
259
|
-
Test result : Success :
|
|
260
|
-
Test result : Success :
|
|
261
|
-
Test result : Success :
|
|
262
|
-
Test result : Success :
|
|
263
|
-
Test result : Success :
|
|
264
|
-
Test result : Success :
|
|
265
|
-
Test result : Success :
|
|
266
|
-
Test result : Success :
|
|
267
|
-
Test result : Success :
|
|
268
|
-
Test result : Success :
|
|
269
|
-
Test result : Success :
|
|
270
|
-
Test result : Success :
|
|
271
|
-
Test result : Success :
|
|
272
|
-
Test result : Success :
|
|
273
|
-
Test result : Success :
|
|
274
|
-
Test result : Success :
|
|
275
|
-
Test result : Success :
|
|
276
|
-
Test result : Success :
|
|
277
|
-
Test result : Success :
|
|
278
|
-
Test result : Success :
|
|
279
|
-
Test result : Success :
|
|
280
|
-
Test result : Success :
|
|
281
|
-
Test result : Success :
|
|
282
|
-
Test result : Success :
|
|
283
|
-
Test result : Success :
|
|
284
|
-
Test result : Success :
|
|
285
|
-
Test result : Success :
|
|
286
|
-
Test result : Success :
|
|
287
|
-
Test result : Success :
|
|
288
|
-
Test result : Success :
|
|
289
|
-
Test result : Success :
|
|
290
|
-
Test result : Success :
|
|
291
|
-
Test result : Success :
|
|
292
|
-
Test result : Success :
|
|
293
|
-
Test result : Success :
|
|
248
|
+
Test result : Success : 0 : Bio.Palettes.testPalettePtMe : OK
|
|
249
|
+
Test result : Success : 281 : Bio.detectors.NegativeEmpty : OK
|
|
250
|
+
Test result : Success : 94 : Bio.detectors.Negative1 : OK
|
|
251
|
+
Test result : Success : 52 : Bio.detectors.Negative2 : OK
|
|
252
|
+
Test result : Success : 27 : Bio.detectors.Negative3 : OK
|
|
253
|
+
Test result : Success : 641 : Bio.detectors.NegativeSmiles : OK
|
|
254
|
+
Test result : Success : 71 : Bio.detectors.Dna1 : OK
|
|
255
|
+
Test result : Success : 48 : Bio.detectors.Rna1 : OK
|
|
256
|
+
Test result : Success : 51 : Bio.detectors.AA1 : OK
|
|
257
|
+
Test result : Success : 58 : Bio.detectors.MsaDna1 : OK
|
|
258
|
+
Test result : Success : 49 : Bio.detectors.MsaAA1 : OK
|
|
259
|
+
Test result : Success : 51 : Bio.detectors.SepDna : OK
|
|
260
|
+
Test result : Success : 37 : Bio.detectors.SepRna : OK
|
|
261
|
+
Test result : Success : 46 : Bio.detectors.SepPt : OK
|
|
262
|
+
Test result : Success : 29 : Bio.detectors.SepUn1 : OK
|
|
263
|
+
Test result : Success : 27 : Bio.detectors.SepUn2 : OK
|
|
264
|
+
Test result : Success : 56 : Bio.detectors.SepMsaN1 : OK
|
|
265
|
+
Test result : Success : 775 : Bio.detectors.SamplesFastaCsvPt : OK
|
|
266
|
+
Test result : Success : 24 : Bio.detectors.SamplesFastaCsvNegativeEntry : OK
|
|
267
|
+
Test result : Success : 6 : Bio.detectors.SamplesFastaCsvNegativeLength : OK
|
|
268
|
+
Test result : Success : 49 : Bio.detectors.SamplesFastaCsvNegativeUniProtKB : OK
|
|
269
|
+
Test result : Success : 394 : Bio.detectors.SamplesFastaFastaPt : OK
|
|
270
|
+
Test result : Success : 1344 : Bio.detectors.samplesPeptidesComplexNegativeID : OK
|
|
271
|
+
Test result : Success : 40 : Bio.detectors.SamplesPeptidesComplexNegativeMeasured : OK
|
|
272
|
+
Test result : Success : 32 : Bio.detectors.SamplesPeptidesComplexNegativeValue : OK
|
|
273
|
+
Test result : Success : 338 : Bio.detectors.samplesMsaComplexUn : OK
|
|
274
|
+
Test result : Success : 16 : Bio.detectors.samplesMsaComplexNegativeActivity : OK
|
|
275
|
+
Test result : Success : 302 : Bio.detectors.samplesIdCsvNegativeID : OK
|
|
276
|
+
Test result : Success : 262 : Bio.detectors.samplesSarSmallCsvNegativeSmiles : OK
|
|
277
|
+
Test result : Success : 250 : Bio.detectors.samplesHelmCsvHELM : OK
|
|
278
|
+
Test result : Success : 21 : Bio.detectors.samplesHelmCsvNegativeActivity : OK
|
|
279
|
+
Test result : Success : 223 : Bio.detectors.samplesTestHelmNegativeID : OK
|
|
280
|
+
Test result : Success : 32 : Bio.detectors.samplesTestHelmNegativeTestType : OK
|
|
281
|
+
Test result : Success : 26 : Bio.detectors.samplesTestHelmPositiveHelmString : OK
|
|
282
|
+
Test result : Success : 16 : Bio.detectors.samplesTestHelmNegativeValid : OK
|
|
283
|
+
Test result : Success : 18 : Bio.detectors.samplesTestHelmNegativeMolWeight : OK
|
|
284
|
+
Test result : Success : 5 : Bio.detectors.samplesTestHelmNegativeMolFormula : OK
|
|
294
285
|
Test result : Success : 15 : Bio.detectors.samplesTestHelmNegativeSmiles : OK
|
|
295
|
-
Test result : Success :
|
|
296
|
-
Test result : Success :
|
|
297
|
-
Test result : Success :
|
|
298
|
-
Test result : Success :
|
|
299
|
-
Test result : Success :
|
|
300
|
-
Test result : Success :
|
|
301
|
-
Test result : Success :
|
|
302
|
-
Test result : Success :
|
|
303
|
-
Test result : Success :
|
|
304
|
-
Test result : Success :
|
|
305
|
-
Test result : Success :
|
|
306
|
-
Test result : Success :
|
|
307
|
-
Test result : Success :
|
|
308
|
-
Test result : Success :
|
|
309
|
-
Test result : Success : 141 : Bio.
|
|
310
|
-
Test result : Success :
|
|
311
|
-
Test result : Success :
|
|
312
|
-
Test result : Success :
|
|
313
|
-
Test result : Success :
|
|
314
|
-
Test result : Success :
|
|
286
|
+
Test result : Success : 787 : Bio.detectors.samplesTestDemogNegativeAll : OK
|
|
287
|
+
Test result : Success : 330 : Bio.detectors.samplesTestSmiles2NegativeSmiles : OK
|
|
288
|
+
Test result : Success : 155 : Bio.detectors.samplesTestActivityCliffsNegativeSmiles : OK
|
|
289
|
+
Test result : Success : 153 : Bio.detectors.samplesFastaPtPosSequence : OK
|
|
290
|
+
Test result : Success : 128 : Bio.detectors.samplesTestCerealNegativeCerealName : OK
|
|
291
|
+
Test result : Success : 236 : Bio.detectors.samplesTestSpgi100NegativeStereoCategory : OK
|
|
292
|
+
Test result : Success : 8 : Bio.detectors.samplesTestSpgi100NegativeScaffoldNames : OK
|
|
293
|
+
Test result : Success : 20 : Bio.detectors.samplesTestSpgi100NegativePrimaryScaffoldName : OK
|
|
294
|
+
Test result : Success : 7 : Bio.detectors.samplesTestSpgi100NegativeSampleName : OK
|
|
295
|
+
Test result : Success : 163 : Bio.detectors.samplesTestUnichemSourcesNegativeSrcUrl : OK
|
|
296
|
+
Test result : Success : 7 : Bio.detectors.samplesTestUnichemSourcesNegativeBaseIdUrl : OK
|
|
297
|
+
Test result : Success : 165 : Bio.detectors.samplesTestDmvOfficesNegativeOfficeName : OK
|
|
298
|
+
Test result : Success : 10 : Bio.detectors.samplesTestDmvOfficesNegativeCity : OK
|
|
299
|
+
Test result : Success : 165 : Bio.detectors.samplesTestAlertCollectionNegativeSmarts : OK
|
|
300
|
+
Test result : Success : 141 : Bio.detectors.samplesTestSpgiNegativeVals : OK
|
|
301
|
+
Test result : Success : 6 : Bio.detectorsBenchmark.separatorDnaShorts50Few50 : OK
|
|
302
|
+
Test result : Success : 10420 : Bio.detectorsBenchmark.separatorDnaShorts50Many1E6 : OK
|
|
303
|
+
Test result : Success : 2371 : Bio.MSA.isCorrect : OK
|
|
304
|
+
Test result : Success : 121 : Bio.MSA.isCorrectLong : OK
|
|
305
|
+
Test result : Success : 1444 : Bio.sequenceSpace.sequenceSpaceOpens : OK
|
|
306
|
+
Test result : Success : 590 : Bio.sequenceSpace.sequenceSpaceWithEmptyRows : OK
|
|
307
|
+
Test result : Success : 1021 : Bio.activityCliffs.activityCliffsOpens : OK
|
|
308
|
+
Test result : Success : 1073 : Bio.activityCliffs.activityCliffsWithEmptyRows : OK
|
|
309
|
+
Test result : Success : 2 : Bio.splitters.fastaMulti : OK
|
|
315
310
|
Test result : Success : 1 : Bio.splitters.helm1 : OK
|
|
316
311
|
Test result : Success : 0 : Bio.splitters.helm2 : OK
|
|
317
312
|
Test result : Success : 0 : Bio.splitters.helm3-multichar : OK
|
|
318
|
-
Test result : Success :
|
|
319
|
-
Test result : Success :
|
|
320
|
-
Test result : Success :
|
|
321
|
-
Test result : Success :
|
|
313
|
+
Test result : Success : 1 : Bio.splitters.testHelm1 : OK
|
|
314
|
+
Test result : Success : 0 : Bio.splitters.testHelm2 : OK
|
|
315
|
+
Test result : Success : 1 : Bio.splitters.testHelm3 : OK
|
|
316
|
+
Test result : Success : 360 : Bio.splitters.splitToMonomers : OK
|
|
322
317
|
Test result : Success : 2 : Bio.splitters.getHelmMonomers : OK
|
|
323
|
-
Test result : Success :
|
|
324
|
-
Test result : Success :
|
|
325
|
-
Test result : Success :
|
|
326
|
-
Test result : Success :
|
|
327
|
-
Test result : Success :
|
|
328
|
-
Test result : Success :
|
|
329
|
-
Test result : Success :
|
|
330
|
-
Test result : Success :
|
|
331
|
-
Test result : Success :
|
|
332
|
-
Test result : Success : 4 : Bio.converters.
|
|
333
|
-
Test result : Success :
|
|
334
|
-
Test result : Success :
|
|
335
|
-
Test result : Success : 3 : Bio.converters.
|
|
336
|
-
Test result : Success : 2 : Bio.converters.testFastaPtToHelm : OK
|
|
318
|
+
Test result : Success : 96 : Bio.renderers.long sequence performance : OK
|
|
319
|
+
Test result : Success : 975 : Bio.renderers.many sequence performance : OK
|
|
320
|
+
Test result : Success : 422 : Bio.renderers.rendererMacromoleculeFasta : OK
|
|
321
|
+
Test result : Success : 253 : Bio.renderers.rendererMacromoleculeSeparator : OK
|
|
322
|
+
Test result : Success : 207 : Bio.renderers.rendererMacromoleculeDifference : OK
|
|
323
|
+
Test result : Success : 695 : Bio.renderers.afterMsa : OK
|
|
324
|
+
Test result : Success : 672 : Bio.renderers.afterConvert : OK
|
|
325
|
+
Test result : Success : 212 : Bio.renderers.selectRendererBySemType : OK
|
|
326
|
+
Test result : Success : 7 : Bio.converters.testFastaPtToSeparator : OK
|
|
327
|
+
Test result : Success : 4 : Bio.converters.testFastaDnaToSeparator : OK
|
|
328
|
+
Test result : Success : 12 : Bio.converters.testFastaRnaToSeparator : OK
|
|
329
|
+
Test result : Success : 5 : Bio.converters.testFastaGapsToSeparator : OK
|
|
330
|
+
Test result : Success : 3 : Bio.converters.testFastaPtToHelm : OK
|
|
337
331
|
Test result : Success : 2 : Bio.converters.testFastaDnaToHelm : OK
|
|
338
|
-
Test result : Success :
|
|
339
|
-
Test result : Success :
|
|
340
|
-
Test result : Success :
|
|
332
|
+
Test result : Success : 2 : Bio.converters.testFastaRnaToHelm : OK
|
|
333
|
+
Test result : Success : 2 : Bio.converters.testFastaGapsToHelm : OK
|
|
334
|
+
Test result : Success : 1 : Bio.converters.testSeparatorPtToFasta : OK
|
|
341
335
|
Test result : Success : 1 : Bio.converters.testSeparatorDnaToFasta : OK
|
|
342
|
-
Test result : Success :
|
|
336
|
+
Test result : Success : 2 : Bio.converters.testSeparatorRnaToFasta : OK
|
|
343
337
|
Test result : Success : 0 : Bio.converters.testSeparatorGapsToFasta : OK
|
|
344
338
|
Test result : Success : 0 : Bio.converters.testSeparatorPtToHelm : OK
|
|
345
|
-
Test result : Success :
|
|
339
|
+
Test result : Success : 1 : Bio.converters.testSeparatorDnaToHelm : OK
|
|
346
340
|
Test result : Success : 0 : Bio.converters.testSeparatorRnaToHelm : OK
|
|
347
|
-
Test result : Success :
|
|
341
|
+
Test result : Success : 1 : Bio.converters.testSeparatorGapsToHelm : OK
|
|
348
342
|
Test result : Success : 1 : Bio.converters.testHelmDnaToFasta : OK
|
|
349
343
|
Test result : Success : 0 : Bio.converters.testHelmRnaToFasta : OK
|
|
350
344
|
Test result : Success : 1 : Bio.converters.testHelmPtToFasta : OK
|
|
@@ -352,36 +346,46 @@ Test result : Success : 0 : Bio.converters.testHelmDnaToSeparator : OK
|
|
|
352
346
|
Test result : Success : 0 : Bio.converters.testHelmRnaToSeparator : OK
|
|
353
347
|
Test result : Success : 0 : Bio.converters.testHelmPtToSeparator : OK
|
|
354
348
|
Test result : Success : 2 : Bio.converters.testHelmLoneRibose : OK
|
|
355
|
-
Test result : Success :
|
|
349
|
+
Test result : Success : 2 : Bio.converters.testHelmLoneDeoxyribose : OK
|
|
356
350
|
Test result : Success : 2 : Bio.converters.testHelmLonePhosphorus : OK
|
|
357
351
|
Test result : Success : 0 : Bio.fastaFileHandler.testNormalFormatting : OK
|
|
358
352
|
Test result : Success : 0 : Bio.fastaFileHandler.testExtraSpaces : OK
|
|
359
353
|
Test result : Success : 0 : Bio.fastaFileHandler.testExtraNewlines : OK
|
|
360
354
|
Test result : Success : 0 : Bio.fastaExport.wrapSequenceSingle : OK
|
|
361
355
|
Test result : Success : 0 : Bio.fastaExport.wrapSequenceMulti : OK
|
|
362
|
-
Test result : Success :
|
|
356
|
+
Test result : Success : 1 : Bio.fastaExport.saveAsFastaTest1 : OK
|
|
363
357
|
Test result : Success : 1 : Bio.fastaExport.saveAsFastaTest2 : OK
|
|
364
358
|
Test result : Success : 1 : Bio.bio.testGetStatsHelm1 : OK
|
|
365
359
|
Test result : Success : 1 : Bio.bio.testGetStatsN1 : OK
|
|
366
360
|
Test result : Success : 0 : Bio.bio.testGetAlphabetSimilarity : OK
|
|
367
|
-
Test result : Success :
|
|
361
|
+
Test result : Success : 2 : Bio.bio.testPickupPaletteN1 : OK
|
|
368
362
|
Test result : Success : 1 : Bio.bio.testPickupPaletteN1e : OK
|
|
369
363
|
Test result : Success : 1 : Bio.bio.testPickupPaletteAA1 : OK
|
|
370
364
|
Test result : Success : 1 : Bio.bio.testPickupPaletteX : OK
|
|
371
|
-
Test result : Success :
|
|
365
|
+
Test result : Success : 1 : Bio.WebLogo.monomerToShort.longMonomerSingle : OK
|
|
372
366
|
Test result : Success : 0 : Bio.WebLogo.monomerToShort.longMonomerShort : OK
|
|
373
367
|
Test result : Success : 0 : Bio.WebLogo.monomerToShort.longMonomerLong56 : OK
|
|
374
|
-
Test result : Success :
|
|
368
|
+
Test result : Success : 0 : Bio.WebLogo.monomerToShort.longMonomerComplexFirstPartShort : OK
|
|
375
369
|
Test result : Success : 0 : Bio.WebLogo.monomerToShort.longMonomerComplexFirstPartLong56 : OK
|
|
376
|
-
Test result : Success :
|
|
377
|
-
Test result : Success :
|
|
378
|
-
Test result : Success :
|
|
370
|
+
Test result : Success : 136 : Bio.WebLogo-positions.allPositions : OK
|
|
371
|
+
Test result : Success : 132 : Bio.WebLogo-positions.positions with shrinkEmptyTail option true (filterd) : OK
|
|
372
|
+
Test result : Success : 273 : Bio.WebLogo-positions.positions with skipEmptyPositions option : OK
|
|
379
373
|
Test result : Success : 3 : Bio.checkInputColumn.testMsaPos : OK
|
|
380
|
-
Test result : Success :
|
|
374
|
+
Test result : Success : 2 : Bio.checkInputColumn.testMsaNegHelm : OK
|
|
381
375
|
Test result : Success : 1 : Bio.checkInputColumn.testMsaNegUN : OK
|
|
382
|
-
Test result : Success :
|
|
383
|
-
Test result : Success :
|
|
384
|
-
Test result : Success :
|
|
385
|
-
Test result : Success :
|
|
386
|
-
Test result : Success :
|
|
376
|
+
Test result : Success : 1 : Bio.checkInputColumn.testGetActionFunctionMeta : OK
|
|
377
|
+
Test result : Success : 462 : Bio.similarity/diversity.similaritySearchViewer : OK
|
|
378
|
+
Test result : Success : 362 : Bio.similarity/diversity.diversitySearchViewer : OK
|
|
379
|
+
Test result : Success : 253 : Bio.substructureFilters.fasta : OK
|
|
380
|
+
Test result : Success : 436 : Bio.substructureFilters.separator : OK
|
|
381
|
+
</pre></div><div class="suite-consolelog-item"><pre class="suite-consolelog-item-origin"> at /home/runner/work/public/public/packages/Bio/src/__jest__/remote.test.ts:74:11
|
|
382
|
+
at Generator.next (<anonymous>)
|
|
383
|
+
at fulfilled (/home/runner/work/public/public/packages/Bio/src/__jest__/remote.test.ts:31:58)
|
|
384
|
+
at runMicrotasks (<anonymous>)
|
|
385
|
+
at processTicksAndRejections (internal/process/task_queues.js:97:5)</pre><pre class="suite-consolelog-item-message">Test result : Skipped : 0 : Bio.detectorsBenchmark.fastaDnaShorts50Few50 : #1192
|
|
386
|
+
Test result : Skipped : 0 : Bio.detectorsBenchmark.fastaDnaShorts50Many1E6 : #1192
|
|
387
|
+
Test result : Skipped : 0 : Bio.detectorsBenchmark.fastaDnaLong1e6Few50 : #1192
|
|
388
|
+
Test result : Skipped : 0 : Bio.detectorsBenchmark.separatorDnaLong1e6Few50 : #1192
|
|
389
|
+
Test result : Skipped : 0 : Bio.renderers.setRendererManually : GROK-11212
|
|
390
|
+
Test result : Skipped : 0 : Bio.substructureFilters.helm : #1206
|
|
387
391
|
</pre></div></div></div></div></body></html>
|