@datagrok/bio 2.10.5 → 2.10.7
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.10.
|
|
8
|
+
"version": "2.10.7",
|
|
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",
|
package/src/package.ts
CHANGED
|
@@ -162,13 +162,6 @@ export function getBioLib(): IMonomerLib {
|
|
|
162
162
|
//input: column seqCol {semType: Macromolecule}
|
|
163
163
|
//output: widget result
|
|
164
164
|
export function getRegionPanel(seqCol: DG.Column<string>): DG.Widget {
|
|
165
|
-
// const host = ui.divV([
|
|
166
|
-
// ui.inputs([
|
|
167
|
-
// ui.stringInput('Region', ''),
|
|
168
|
-
// ]),
|
|
169
|
-
// ui.button('Ok', () => {})
|
|
170
|
-
// ]);
|
|
171
|
-
// return DG.Widget.fromRoot(host);
|
|
172
165
|
const funcName: string = 'getRegionTopMenu';
|
|
173
166
|
const funcList = DG.Func.find({package: _package.name, name: funcName});
|
|
174
167
|
if (funcList.length !== 1) throw new Error(`Package '${_package.name}' func '${funcName}' not found`);
|
|
@@ -357,7 +350,7 @@ export function getRegion(
|
|
|
357
350
|
}
|
|
358
351
|
|
|
359
352
|
//top-menu: Bio | Convert | Get Region...
|
|
360
|
-
//name: Get Region
|
|
353
|
+
//name: Get Region Top Menu
|
|
361
354
|
//description: Get sequences for a region specified from a Macromolecule
|
|
362
355
|
//input: dataframe table [Input data table]
|
|
363
356
|
//input: column sequence {semType: Macromolecule} [Sequence column]
|
|
@@ -38,15 +38,15 @@ category('detectorsBenchmark', () => {
|
|
|
38
38
|
// -- separator --
|
|
39
39
|
|
|
40
40
|
test('separatorDnaShorts50Few50', async () => {
|
|
41
|
-
detectMacromoleculeBenchmark(10, NOTATION.SEPARATOR, ALPHABET.DNA, 50, 50, '/');
|
|
41
|
+
await detectMacromoleculeBenchmark(10, NOTATION.SEPARATOR, ALPHABET.DNA, 50, 50, '/');
|
|
42
42
|
});
|
|
43
43
|
|
|
44
44
|
test('separatorDnaShorts50Many1E6', async () => {
|
|
45
|
-
detectMacromoleculeBenchmark(10, NOTATION.SEPARATOR, ALPHABET.DNA, 50, 1E6, '/');
|
|
45
|
+
await detectMacromoleculeBenchmark(10, NOTATION.SEPARATOR, ALPHABET.DNA, 50, 1E6, '/');
|
|
46
46
|
});
|
|
47
47
|
|
|
48
48
|
test('separatorDnaLong1e6Few50', async () => {
|
|
49
|
-
detectMacromoleculeBenchmark(10, NOTATION.SEPARATOR, ALPHABET.DNA, 1E6, 50, '/');
|
|
49
|
+
await detectMacromoleculeBenchmark(10, NOTATION.SEPARATOR, ALPHABET.DNA, 1E6, 50, '/');
|
|
50
50
|
});
|
|
51
51
|
|
|
52
52
|
async function detectMacromoleculeBenchmark(
|