@datagrok/bio 2.7.1 → 2.7.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.
- package/dist/18.js +1 -1
- package/dist/18.js.map +1 -1
- package/dist/190.js +1 -1
- package/dist/190.js.map +1 -1
- package/dist/452.js.map +1 -1
- package/dist/729.js +1 -1
- package/dist/729.js.map +1 -1
- package/dist/79.js.map +1 -1
- package/dist/package-test.js +1 -1
- package/dist/package-test.js.map +1 -1
- package/dist/package.js +1 -1
- package/dist/package.js.map +1 -1
- package/package.json +3 -3
- package/src/package.ts +12 -12
- package/src/substructure-search/substructure-search.ts +1 -0
- package/tsconfig.json +2 -3
- package/webpack.config.js +1 -1
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"name": "Leonid Stolbov",
|
|
6
6
|
"email": "lstolbov@datagrok.ai"
|
|
7
7
|
},
|
|
8
|
-
"version": "2.7.
|
|
8
|
+
"version": "2.7.2",
|
|
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",
|
|
@@ -53,9 +53,9 @@
|
|
|
53
53
|
"source-map-loader": "^4.0.1",
|
|
54
54
|
"ts-loader": "^9.2.5",
|
|
55
55
|
"typescript": "^4.8.4",
|
|
56
|
-
"webpack": "^5.76.
|
|
56
|
+
"webpack": "^5.76.3",
|
|
57
57
|
"webpack-bundle-analyzer": "latest",
|
|
58
|
-
"webpack-cli": "^4.
|
|
58
|
+
"webpack-cli": "^4.9.1",
|
|
59
59
|
"@datagrok/chem": "1.4.21",
|
|
60
60
|
"@datagrok/helm": "2.1.7"
|
|
61
61
|
},
|
package/src/package.ts
CHANGED
|
@@ -262,7 +262,7 @@ export function SeqActivityCliffsEditor(call: DG.FuncCall) {
|
|
|
262
262
|
.show();
|
|
263
263
|
}
|
|
264
264
|
|
|
265
|
-
//top-menu: Bio |
|
|
265
|
+
//top-menu: Bio | Analyze | Activity Cliffs...
|
|
266
266
|
//name: Sequence Activity Cliffs
|
|
267
267
|
//description: detect activity cliffs
|
|
268
268
|
//input: dataframe table [Input data table]
|
|
@@ -356,7 +356,7 @@ export function SequenceSpaceEditor(call: DG.FuncCall) {
|
|
|
356
356
|
.show();
|
|
357
357
|
}
|
|
358
358
|
|
|
359
|
-
//top-menu: Bio |
|
|
359
|
+
//top-menu: Bio | Analyze | Sequence Space...
|
|
360
360
|
//name: Sequence Space
|
|
361
361
|
//input: dataframe table
|
|
362
362
|
//input: column molecules { semType: Macromolecule }
|
|
@@ -454,7 +454,7 @@ export async function sequenceSpaceTopMenu(
|
|
|
454
454
|
} */
|
|
455
455
|
};
|
|
456
456
|
|
|
457
|
-
//top-menu: Bio |
|
|
457
|
+
//top-menu: Bio | Convert | To Atomic Level...
|
|
458
458
|
//name: To Atomic Level
|
|
459
459
|
//description: returns molfiles for each monomer from HELM library
|
|
460
460
|
//input: dataframe df [Input data table]
|
|
@@ -477,8 +477,8 @@ export async function toAtomicLevel(df: DG.DataFrame, macroMolecule: DG.Column):
|
|
|
477
477
|
grok.shell.warning(ui.list(atomicLevelRes.warnings));
|
|
478
478
|
}
|
|
479
479
|
|
|
480
|
-
//top-menu: Bio |
|
|
481
|
-
//name: MSA
|
|
480
|
+
//top-menu: Bio | Analyze | MSA...
|
|
481
|
+
//name: MSA
|
|
482
482
|
//tags: bio, panel
|
|
483
483
|
export function multipleSequenceAlignmentDialog(): void {
|
|
484
484
|
multipleSequenceAlignmentUI();
|
|
@@ -495,7 +495,7 @@ export async function alignSequences(sequenceCol: DG.Column<string> | null = nul
|
|
|
495
495
|
return multipleSequenceAlignmentUI({col: sequenceCol, clustersCol});
|
|
496
496
|
}
|
|
497
497
|
|
|
498
|
-
//top-menu: Bio |
|
|
498
|
+
//top-menu: Bio | Analyze | Composition
|
|
499
499
|
//name: Composition Analysis
|
|
500
500
|
//meta.icon: files/icons/composition-analysis.svg
|
|
501
501
|
//output: viewer result
|
|
@@ -554,7 +554,7 @@ export async function compositionAnalysis(): Promise<void> {
|
|
|
554
554
|
await handler(col);
|
|
555
555
|
}
|
|
556
556
|
|
|
557
|
-
//top-menu: Bio |
|
|
557
|
+
//top-menu: Bio | Convert | SDF to JSON Library...
|
|
558
558
|
//name: SDF to JSON Library
|
|
559
559
|
//input: dataframe table
|
|
560
560
|
export async function sdfToJsonLib(table: DG.DataFrame) {
|
|
@@ -595,7 +595,7 @@ export function importBam(fileContent: string): DG.DataFrame [] {
|
|
|
595
595
|
return [];
|
|
596
596
|
}
|
|
597
597
|
|
|
598
|
-
//top-menu: Bio | Convert...
|
|
598
|
+
//top-menu: Bio | Convert | Notation...
|
|
599
599
|
//name: convertDialog
|
|
600
600
|
export function convertDialog() {
|
|
601
601
|
const col = getMacromoleculeColumn();
|
|
@@ -675,7 +675,7 @@ export function SplitToMonomersEditor(call: DG.FuncCall): void {
|
|
|
675
675
|
.show();
|
|
676
676
|
}
|
|
677
677
|
|
|
678
|
-
//top-menu: Bio | Split to Monomers
|
|
678
|
+
//top-menu: Bio | Convert | Split to Monomers...
|
|
679
679
|
//name: Split to Monomers
|
|
680
680
|
//input: dataframe table
|
|
681
681
|
//input: column sequence { semType: Macromolecule }
|
|
@@ -702,7 +702,7 @@ export function similaritySearchViewer(): SequenceSimilarityViewer {
|
|
|
702
702
|
return new SequenceSimilarityViewer();
|
|
703
703
|
}
|
|
704
704
|
|
|
705
|
-
//top-menu: Bio | Search | Similarity
|
|
705
|
+
//top-menu: Bio | Search | Similarity
|
|
706
706
|
//name: similaritySearch
|
|
707
707
|
//description: finds the most similar sequence
|
|
708
708
|
//output: viewer result
|
|
@@ -720,7 +720,7 @@ export function diversitySearchViewer(): SequenceDiversityViewer {
|
|
|
720
720
|
return new SequenceDiversityViewer();
|
|
721
721
|
}
|
|
722
722
|
|
|
723
|
-
//top-menu: Bio | Search | Diversity
|
|
723
|
+
//top-menu: Bio | Search | Diversity
|
|
724
724
|
//name: diversitySearch
|
|
725
725
|
//description: finds the most diverse molecules
|
|
726
726
|
//output: viewer result
|
|
@@ -730,7 +730,7 @@ export function diversitySearchTopMenu() {
|
|
|
730
730
|
view.dockManager.dock(viewer, 'down');
|
|
731
731
|
}
|
|
732
732
|
|
|
733
|
-
//top-menu: Bio |
|
|
733
|
+
//top-menu: Bio | Search | Substructure...
|
|
734
734
|
//name: bioSubstructureSearch
|
|
735
735
|
export function bioSubstructureSearch(): void {
|
|
736
736
|
const col = getMacromoleculeColumn();
|
|
@@ -105,6 +105,7 @@ export async function helmSubstructureSearch(substructure: string, col: DG.Colum
|
|
|
105
105
|
if (col.version !== col.temp[MONOMERIC_COL_TAGS.LAST_INVALIDATED_VERSION])
|
|
106
106
|
await invalidateMols(col, true);
|
|
107
107
|
const substructureCol: DG.Column<string> = DG.Column.string('helm', 1).init((_i) => substructure);
|
|
108
|
+
substructureCol.semType = DG.SEMTYPE.MACROMOLECULE;
|
|
108
109
|
substructureCol.setTag(DG.TAGS.UNITS, NOTATION.HELM);
|
|
109
110
|
const substructureMolsCol =
|
|
110
111
|
await getMonomericMols(substructureCol, true, col.temp[MONOMERIC_COL_TAGS.MONOMERS_DICT]);
|
package/tsconfig.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
/* Basic Options */
|
|
6
6
|
// "incremental": true, /* Enable incremental compilation */
|
|
7
|
-
"target": "es2020",
|
|
7
|
+
"target": "es2020", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */
|
|
8
8
|
"module": "es2020", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */
|
|
9
9
|
"lib": ["ES2022", "dom"], /* Specify library files to be included in the compilation. */
|
|
10
10
|
// "allowJs": true, /* Allow javascript files to be compiled. */
|
|
@@ -66,8 +66,7 @@
|
|
|
66
66
|
|
|
67
67
|
/* Advanced Options */
|
|
68
68
|
"skipLibCheck": false, /* Skip type checking of declaration files. */
|
|
69
|
-
"forceConsistentCasingInFileNames": true,
|
|
70
|
-
/* Disallow inconsistently-cased references to the same file. */
|
|
69
|
+
"forceConsistentCasingInFileNames": true, /* Disallow inconsistently-cased references to the same file. */
|
|
71
70
|
//"jsx": "react"
|
|
72
71
|
}
|
|
73
72
|
}
|