@datagrok/bio 2.1.8 → 2.1.9
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/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"name": "Leonid Stolbov",
|
|
6
6
|
"email": "lstolbov@datagrok.ai"
|
|
7
7
|
},
|
|
8
|
-
"version": "2.1.
|
|
8
|
+
"version": "2.1.9",
|
|
9
9
|
"description": "Bio is a [package](https://datagrok.ai/help/develop/develop#packages) for the [Datagrok](https://datagrok.ai) platform",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
package/src/package.ts
CHANGED
|
@@ -588,9 +588,6 @@ export async function testDetectMacromolecule(path: string): Promise<DG.DataFram
|
|
|
588
588
|
//tags: panel, bio
|
|
589
589
|
//input: column col {semType: Macromolecule}
|
|
590
590
|
export function splitToMonomers(col: DG.Column<string>): void {
|
|
591
|
-
if (!col.getTag(bio_TAGS.aligned).includes(C.MSA))
|
|
592
|
-
return grok.shell.error('Splitting is applicable only for aligned sequences');
|
|
593
|
-
|
|
594
591
|
const tempDf = splitAlignedSequences(col);
|
|
595
592
|
const originalDf = col.dataFrame;
|
|
596
593
|
for (const tempCol of tempDf.columns) {
|
|
@@ -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 820f73b0.</title><style type="text/css">html,
|
|
2
2
|
body {
|
|
3
3
|
font-family: Arial, Helvetica, sans-serif;
|
|
4
4
|
font-size: 1rem;
|
|
@@ -229,7 +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
|
|
232
|
+
</style></head><body><div id="jesthtml-content"><header><h1 id="title">Bio Test Report. Datagrok version datagrok/datagrok:latest SHA=62cc009524f3. Commit 820f73b0.</h1></header><div id="metadata-container"><div id="timestamp">Started: 2022-11-21 17:50:27</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">51.915s</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">35.984s</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)
|
|
233
233
|
at Generator.next (<anonymous>)
|
|
234
234
|
at fulfilled (/home/runner/work/public/public/packages/Bio/src/__jest__/test-node.ts:28:58)
|
|
235
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
|
|
@@ -246,113 +246,113 @@ header {
|
|
|
246
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
|
|
247
247
|
Test result : Success : 0 : Bio.Palettes.testPaletteAA : OK
|
|
248
248
|
Test result : Success : 0 : Bio.Palettes.testPalettePtMe : OK
|
|
249
|
-
Test result : Success :
|
|
250
|
-
Test result : Success :
|
|
251
|
-
Test result : Success :
|
|
252
|
-
Test result : Success :
|
|
253
|
-
Test result : Success :
|
|
254
|
-
Test result : Success :
|
|
255
|
-
Test result : Success :
|
|
256
|
-
Test result : Success :
|
|
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 :
|
|
249
|
+
Test result : Success : 266 : Bio.detectors.NegativeEmpty : OK
|
|
250
|
+
Test result : Success : 46 : Bio.detectors.Negative1 : OK
|
|
251
|
+
Test result : Success : 76 : Bio.detectors.Negative2 : OK
|
|
252
|
+
Test result : Success : 25 : Bio.detectors.Negative3 : OK
|
|
253
|
+
Test result : Success : 647 : Bio.detectors.NegativeSmiles : OK
|
|
254
|
+
Test result : Success : 64 : Bio.detectors.Dna1 : OK
|
|
255
|
+
Test result : Success : 24 : Bio.detectors.Rna1 : OK
|
|
256
|
+
Test result : Success : 23 : Bio.detectors.AA1 : OK
|
|
257
|
+
Test result : Success : 17 : Bio.detectors.MsaDna1 : OK
|
|
258
|
+
Test result : Success : 34 : Bio.detectors.MsaAA1 : OK
|
|
259
|
+
Test result : Success : 23 : Bio.detectors.SepDna : OK
|
|
260
|
+
Test result : Success : 24 : Bio.detectors.SepRna : OK
|
|
261
|
+
Test result : Success : 24 : Bio.detectors.SepPt : OK
|
|
262
|
+
Test result : Success : 32 : Bio.detectors.SepUn1 : OK
|
|
263
|
+
Test result : Success : 41 : Bio.detectors.SepUn2 : OK
|
|
264
|
+
Test result : Success : 33 : Bio.detectors.SepMsaN1 : OK
|
|
265
|
+
Test result : Success : 750 : Bio.detectors.SamplesFastaCsvPt : OK
|
|
266
|
+
Test result : Success : 17 : Bio.detectors.SamplesFastaCsvNegativeEntry : OK
|
|
267
|
+
Test result : Success : 16 : Bio.detectors.SamplesFastaCsvNegativeLength : OK
|
|
268
|
+
Test result : Success : 41 : Bio.detectors.SamplesFastaCsvNegativeUniProtKB : OK
|
|
269
|
+
Test result : Success : 347 : Bio.detectors.SamplesFastaFastaPt : OK
|
|
270
|
+
Test result : Success : 1222 : Bio.detectors.samplesPeptidesComplexNegativeID : OK
|
|
271
|
+
Test result : Success : 43 : Bio.detectors.SamplesPeptidesComplexNegativeMeasured : OK
|
|
272
|
+
Test result : Success : 20 : Bio.detectors.SamplesPeptidesComplexNegativeValue : OK
|
|
273
|
+
Test result : Success : 300 : Bio.detectors.samplesMsaComplexUn : OK
|
|
274
|
+
Test result : Success : 7 : Bio.detectors.samplesMsaComplexNegativeActivity : OK
|
|
275
|
+
Test result : Success : 191 : Bio.detectors.samplesIdCsvNegativeID : OK
|
|
276
|
+
Test result : Success : 172 : Bio.detectors.samplesSarSmallCsvNegativeSmiles : OK
|
|
277
|
+
Test result : Success : 168 : Bio.detectors.samplesHelmCsvHELM : OK
|
|
278
|
+
Test result : Success : 9 : Bio.detectors.samplesHelmCsvNegativeActivity : OK
|
|
279
|
+
Test result : Success : 180 : Bio.detectors.samplesTestHelmNegativeID : OK
|
|
280
280
|
Test result : Success : 32 : Bio.detectors.samplesTestHelmNegativeTestType : OK
|
|
281
281
|
Test result : Success : 26 : Bio.detectors.samplesTestHelmPositiveHelmString : OK
|
|
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 :
|
|
282
|
+
Test result : Success : 20 : Bio.detectors.samplesTestHelmNegativeValid : OK
|
|
283
|
+
Test result : Success : 7 : Bio.detectors.samplesTestHelmNegativeMolWeight : OK
|
|
284
|
+
Test result : Success : 39 : Bio.detectors.samplesTestHelmNegativeMolFormula : OK
|
|
285
|
+
Test result : Success : 16 : Bio.detectors.samplesTestHelmNegativeSmiles : OK
|
|
286
|
+
Test result : Success : 1164 : Bio.detectors.samplesTestDemogNegativeAll : OK
|
|
287
|
+
Test result : Success : 366 : Bio.detectors.samplesTestSmiles2NegativeSmiles : OK
|
|
288
|
+
Test result : Success : 183 : Bio.detectors.samplesTestActivityCliffsNegativeSmiles : OK
|
|
289
|
+
Test result : Success : 149 : Bio.detectors.samplesFastaPtPosSequence : OK
|
|
290
|
+
Test result : Success : 141 : Bio.detectors.samplesTestCerealNegativeCerealName : OK
|
|
291
|
+
Test result : Success : 228 : Bio.detectors.samplesTestSpgi100NegativeStereoCategory : OK
|
|
292
|
+
Test result : Success : 7 : Bio.detectors.samplesTestSpgi100NegativeScaffoldNames : OK
|
|
293
|
+
Test result : Success : 7 : Bio.detectors.samplesTestSpgi100NegativePrimaryScaffoldName : OK
|
|
294
294
|
Test result : Success : 7 : Bio.detectors.samplesTestSpgi100NegativeSampleName : OK
|
|
295
|
-
Test result : Success :
|
|
296
|
-
Test result : Success :
|
|
297
|
-
Test result : Success :
|
|
295
|
+
Test result : Success : 190 : Bio.detectors.samplesTestUnichemSourcesNegativeSrcUrl : OK
|
|
296
|
+
Test result : Success : 5 : Bio.detectors.samplesTestUnichemSourcesNegativeBaseIdUrl : OK
|
|
297
|
+
Test result : Success : 158 : Bio.detectors.samplesTestDmvOfficesNegativeOfficeName : OK
|
|
298
298
|
Test result : Success : 10 : Bio.detectors.samplesTestDmvOfficesNegativeCity : OK
|
|
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 :
|
|
299
|
+
Test result : Success : 300 : Bio.detectors.samplesTestAlertCollectionNegativeSmarts : OK
|
|
300
|
+
Test result : Success : 140 : Bio.detectors.samplesTestSpgiNegativeVals : OK
|
|
301
|
+
Test result : Success : 12 : Bio.detectorsBenchmark.separatorDnaShorts50Few50 : OK
|
|
302
|
+
Test result : Success : 10234 : Bio.detectorsBenchmark.separatorDnaShorts50Many1E6 : OK
|
|
303
|
+
Test result : Success : 1702 : Bio.MSA.isCorrect : OK
|
|
304
|
+
Test result : Success : 95 : Bio.MSA.isCorrectLong : OK
|
|
305
|
+
Test result : Success : 1274 : Bio.sequenceSpace.sequenceSpaceOpens : OK
|
|
306
|
+
Test result : Success : 609 : Bio.sequenceSpace.sequenceSpaceWithEmptyRows : OK
|
|
307
|
+
Test result : Success : 934 : Bio.activityCliffs.activityCliffsOpens : OK
|
|
308
|
+
Test result : Success : 1024 : Bio.activityCliffs.activityCliffsWithEmptyRows : OK
|
|
309
|
+
Test result : Success : 1 : Bio.splitters.fastaMulti : OK
|
|
310
310
|
Test result : Success : 1 : Bio.splitters.helm1 : OK
|
|
311
|
-
Test result : Success :
|
|
312
|
-
Test result : Success :
|
|
313
|
-
Test result : Success :
|
|
314
|
-
Test result : Success :
|
|
315
|
-
Test result : Success :
|
|
316
|
-
Test result : Success :
|
|
311
|
+
Test result : Success : 1 : Bio.splitters.helm2 : OK
|
|
312
|
+
Test result : Success : 1 : Bio.splitters.helm3-multichar : OK
|
|
313
|
+
Test result : Success : 0 : Bio.splitters.testHelm1 : OK
|
|
314
|
+
Test result : Success : 1 : Bio.splitters.testHelm2 : OK
|
|
315
|
+
Test result : Success : 0 : Bio.splitters.testHelm3 : OK
|
|
316
|
+
Test result : Success : 352 : Bio.splitters.splitToMonomers : OK
|
|
317
317
|
Test result : Success : 2 : Bio.splitters.getHelmMonomers : OK
|
|
318
|
-
Test result : Success :
|
|
319
|
-
Test result : Success :
|
|
320
|
-
Test result : Success :
|
|
321
|
-
Test result : Success :
|
|
322
|
-
Test result : Success :
|
|
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 :
|
|
333
|
-
Test result : Success :
|
|
318
|
+
Test result : Success : 92 : Bio.renderers.long sequence performance : OK
|
|
319
|
+
Test result : Success : 964 : Bio.renderers.many sequence performance : OK
|
|
320
|
+
Test result : Success : 367 : Bio.renderers.rendererMacromoleculeFasta : OK
|
|
321
|
+
Test result : Success : 254 : Bio.renderers.rendererMacromoleculeSeparator : OK
|
|
322
|
+
Test result : Success : 97 : Bio.renderers.rendererMacromoleculeDifference : OK
|
|
323
|
+
Test result : Success : 554 : Bio.renderers.afterMsa : OK
|
|
324
|
+
Test result : Success : 389 : Bio.renderers.afterConvert : OK
|
|
325
|
+
Test result : Success : 215 : Bio.renderers.selectRendererBySemType : OK
|
|
326
|
+
Test result : Success : 8 : Bio.converters.testFastaPtToSeparator : OK
|
|
327
|
+
Test result : Success : 7 : Bio.converters.testFastaDnaToSeparator : OK
|
|
328
|
+
Test result : Success : 6 : Bio.converters.testFastaRnaToSeparator : OK
|
|
329
|
+
Test result : Success : 6 : Bio.converters.testFastaGapsToSeparator : OK
|
|
330
|
+
Test result : Success : 4 : Bio.converters.testFastaPtToHelm : OK
|
|
331
|
+
Test result : Success : 3 : Bio.converters.testFastaDnaToHelm : OK
|
|
332
|
+
Test result : Success : 4 : Bio.converters.testFastaRnaToHelm : OK
|
|
333
|
+
Test result : Success : 11 : Bio.converters.testFastaGapsToHelm : OK
|
|
334
334
|
Test result : Success : 1 : Bio.converters.testSeparatorPtToFasta : OK
|
|
335
335
|
Test result : Success : 1 : Bio.converters.testSeparatorDnaToFasta : OK
|
|
336
|
-
Test result : Success :
|
|
337
|
-
Test result : Success :
|
|
338
|
-
Test result : Success :
|
|
336
|
+
Test result : Success : 1 : Bio.converters.testSeparatorRnaToFasta : OK
|
|
337
|
+
Test result : Success : 1 : Bio.converters.testSeparatorGapsToFasta : OK
|
|
338
|
+
Test result : Success : 1 : Bio.converters.testSeparatorPtToHelm : OK
|
|
339
339
|
Test result : Success : 1 : Bio.converters.testSeparatorDnaToHelm : OK
|
|
340
|
-
Test result : Success :
|
|
340
|
+
Test result : Success : 1 : Bio.converters.testSeparatorRnaToHelm : OK
|
|
341
341
|
Test result : Success : 1 : Bio.converters.testSeparatorGapsToHelm : OK
|
|
342
342
|
Test result : Success : 1 : Bio.converters.testHelmDnaToFasta : OK
|
|
343
|
-
Test result : Success :
|
|
343
|
+
Test result : Success : 1 : Bio.converters.testHelmRnaToFasta : OK
|
|
344
344
|
Test result : Success : 1 : Bio.converters.testHelmPtToFasta : OK
|
|
345
|
-
Test result : Success :
|
|
345
|
+
Test result : Success : 1 : Bio.converters.testHelmDnaToSeparator : OK
|
|
346
346
|
Test result : Success : 0 : Bio.converters.testHelmRnaToSeparator : OK
|
|
347
347
|
Test result : Success : 0 : Bio.converters.testHelmPtToSeparator : OK
|
|
348
|
-
Test result : Success :
|
|
348
|
+
Test result : Success : 4 : Bio.converters.testHelmLoneRibose : OK
|
|
349
349
|
Test result : Success : 2 : Bio.converters.testHelmLoneDeoxyribose : OK
|
|
350
|
-
Test result : Success :
|
|
351
|
-
Test result : Success :
|
|
350
|
+
Test result : Success : 4 : Bio.converters.testHelmLonePhosphorus : OK
|
|
351
|
+
Test result : Success : 1 : Bio.fastaFileHandler.testNormalFormatting : OK
|
|
352
352
|
Test result : Success : 0 : Bio.fastaFileHandler.testExtraSpaces : OK
|
|
353
|
-
Test result : Success :
|
|
353
|
+
Test result : Success : 1 : Bio.fastaFileHandler.testExtraNewlines : OK
|
|
354
354
|
Test result : Success : 0 : Bio.fastaExport.wrapSequenceSingle : OK
|
|
355
|
-
Test result : Success :
|
|
355
|
+
Test result : Success : 1 : Bio.fastaExport.wrapSequenceMulti : OK
|
|
356
356
|
Test result : Success : 1 : Bio.fastaExport.saveAsFastaTest1 : OK
|
|
357
357
|
Test result : Success : 1 : Bio.fastaExport.saveAsFastaTest2 : OK
|
|
358
358
|
Test result : Success : 1 : Bio.bio.testGetStatsHelm1 : OK
|
|
@@ -362,22 +362,22 @@ Test result : Success : 2 : Bio.bio.testPickupPaletteN1 : OK
|
|
|
362
362
|
Test result : Success : 1 : Bio.bio.testPickupPaletteN1e : OK
|
|
363
363
|
Test result : Success : 1 : Bio.bio.testPickupPaletteAA1 : OK
|
|
364
364
|
Test result : Success : 1 : Bio.bio.testPickupPaletteX : OK
|
|
365
|
-
Test result : Success :
|
|
365
|
+
Test result : Success : 0 : Bio.WebLogo.monomerToShort.longMonomerSingle : OK
|
|
366
366
|
Test result : Success : 0 : Bio.WebLogo.monomerToShort.longMonomerShort : OK
|
|
367
367
|
Test result : Success : 0 : Bio.WebLogo.monomerToShort.longMonomerLong56 : OK
|
|
368
368
|
Test result : Success : 0 : Bio.WebLogo.monomerToShort.longMonomerComplexFirstPartShort : OK
|
|
369
369
|
Test result : Success : 0 : Bio.WebLogo.monomerToShort.longMonomerComplexFirstPartLong56 : OK
|
|
370
|
-
Test result : Success :
|
|
371
|
-
Test result : Success :
|
|
372
|
-
Test result : Success :
|
|
373
|
-
Test result : Success :
|
|
374
|
-
Test result : Success :
|
|
370
|
+
Test result : Success : 133 : Bio.WebLogo-positions.allPositions : OK
|
|
371
|
+
Test result : Success : 139 : Bio.WebLogo-positions.positions with shrinkEmptyTail option true (filterd) : OK
|
|
372
|
+
Test result : Success : 119 : Bio.WebLogo-positions.positions with skipEmptyPositions option : OK
|
|
373
|
+
Test result : Success : 4 : Bio.checkInputColumn.testMsaPos : OK
|
|
374
|
+
Test result : Success : 1 : Bio.checkInputColumn.testMsaNegHelm : OK
|
|
375
375
|
Test result : Success : 1 : Bio.checkInputColumn.testMsaNegUN : OK
|
|
376
376
|
Test result : Success : 1 : Bio.checkInputColumn.testGetActionFunctionMeta : OK
|
|
377
|
-
Test result : Success :
|
|
378
|
-
Test result : Success :
|
|
379
|
-
Test result : Success :
|
|
380
|
-
Test result : Success :
|
|
377
|
+
Test result : Success : 493 : Bio.similarity/diversity.similaritySearchViewer : OK
|
|
378
|
+
Test result : Success : 337 : Bio.similarity/diversity.diversitySearchViewer : OK
|
|
379
|
+
Test result : Success : 242 : Bio.substructureFilters.fasta : OK
|
|
380
|
+
Test result : Success : 425 : Bio.substructureFilters.separator : OK
|
|
381
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
382
|
at Generator.next (<anonymous>)
|
|
383
383
|
at fulfilled (/home/runner/work/public/public/packages/Bio/src/__jest__/remote.test.ts:31:58)
|