@datagrok/bio 2.22.7 → 2.22.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/dist/111.js +1 -1
- package/dist/111.js.map +1 -1
- package/dist/234.js +1 -1
- package/dist/234.js.map +1 -1
- package/dist/242.js +1 -1
- package/dist/242.js.map +1 -1
- package/dist/284.js +1 -1
- package/dist/284.js.map +1 -1
- package/dist/455.js +1 -1
- package/dist/455.js.map +1 -1
- package/dist/589.js +1 -1
- package/dist/589.js.map +1 -1
- package/dist/603.js +1 -1
- package/dist/603.js.map +1 -1
- package/dist/682.js +1 -1
- package/dist/682.js.map +1 -1
- package/dist/705.js +1 -1
- package/dist/705.js.map +1 -1
- package/dist/731.js +1 -1
- package/dist/731.js.map +1 -1
- package/dist/778.js +1 -1
- package/dist/778.js.map +1 -1
- package/dist/793.js +1 -1
- package/dist/793.js.map +1 -1
- package/dist/801.js.map +1 -1
- package/dist/810.js +1 -1
- package/dist/810.js.map +1 -1
- package/dist/950.js +1 -1
- package/dist/950.js.map +1 -1
- package/dist/980.js +1 -1
- package/dist/980.js.map +1 -1
- package/dist/package-test.js +3 -3
- package/dist/package-test.js.map +1 -1
- package/dist/package.js +3 -3
- package/dist/package.js.map +1 -1
- package/package.json +4 -4
- package/src/package-api.ts +2 -2
- package/src/package.g.ts +122 -160
- package/src/package.ts +53 -23
- package/test-console-output-1.log +389 -390
- package/test-record-1.mp4 +0 -0
package/src/package.g.ts
CHANGED
|
@@ -1,37 +1,32 @@
|
|
|
1
1
|
import {PackageFunctions} from './package';
|
|
2
2
|
import * as DG from 'datagrok-api/dg';
|
|
3
3
|
|
|
4
|
-
//name: getMonomerLibHelper
|
|
5
4
|
//description: Returns an instance of the monomer library helper
|
|
6
5
|
//output: object result
|
|
7
|
-
export async function getMonomerLibHelper() {
|
|
8
|
-
return PackageFunctions.getMonomerLibHelper();
|
|
6
|
+
export async function getMonomerLibHelper() : Promise<any> {
|
|
7
|
+
return await PackageFunctions.getMonomerLibHelper();
|
|
9
8
|
}
|
|
10
9
|
|
|
11
|
-
//name: initBio
|
|
12
10
|
//tags: init
|
|
13
|
-
export async function initBio() {
|
|
14
|
-
|
|
11
|
+
export async function initBio() : Promise<void> {
|
|
12
|
+
await PackageFunctions.initBio();
|
|
15
13
|
}
|
|
16
14
|
|
|
17
|
-
//name: sequenceTooltip
|
|
18
15
|
//tags: tooltip
|
|
19
16
|
//input: column col { semType: Macromolecule }
|
|
20
17
|
//output: widget result
|
|
21
|
-
export function sequenceTooltip(col: DG.Column) {
|
|
18
|
+
export function sequenceTooltip(col: DG.Column) : any {
|
|
22
19
|
return PackageFunctions.sequenceTooltip(col);
|
|
23
20
|
}
|
|
24
21
|
|
|
25
|
-
//name: getBioLib
|
|
26
22
|
//output: object monomerLib
|
|
27
|
-
export function getBioLib() {
|
|
23
|
+
export function getBioLib() : any {
|
|
28
24
|
return PackageFunctions.getBioLib();
|
|
29
25
|
}
|
|
30
26
|
|
|
31
|
-
//name: getSeqHandler
|
|
32
27
|
//input: column sequence { semType: Macromolecule }
|
|
33
28
|
//output: object result
|
|
34
|
-
export function getSeqHandler(sequence: any) {
|
|
29
|
+
export function getSeqHandler(sequence: DG.Column<any>) : any {
|
|
35
30
|
return PackageFunctions.getSeqHandler(sequence);
|
|
36
31
|
}
|
|
37
32
|
|
|
@@ -40,7 +35,7 @@ export function getSeqHandler(sequence: any) {
|
|
|
40
35
|
//tags: panel
|
|
41
36
|
//input: column seqCol { semType: Macromolecule }
|
|
42
37
|
//output: widget result
|
|
43
|
-
export function getRegionPanel(seqCol: any) {
|
|
38
|
+
export function getRegionPanel(seqCol: DG.Column<any>) : any {
|
|
44
39
|
return PackageFunctions.getRegionPanel(seqCol);
|
|
45
40
|
}
|
|
46
41
|
|
|
@@ -48,62 +43,55 @@ export function getRegionPanel(seqCol: any) {
|
|
|
48
43
|
//tags: panel, exclude-actions-panel
|
|
49
44
|
//input: column seqColumn { semType: Macromolecule }
|
|
50
45
|
//output: widget result
|
|
51
|
-
export async function libraryPanel(_seqColumn: DG.Column) {
|
|
52
|
-
return PackageFunctions.libraryPanel(_seqColumn);
|
|
46
|
+
export async function libraryPanel(_seqColumn: DG.Column) : Promise<any> {
|
|
47
|
+
return await PackageFunctions.libraryPanel(_seqColumn);
|
|
53
48
|
}
|
|
54
49
|
|
|
55
|
-
//name: GetRegionEditor
|
|
56
50
|
//tags: editor
|
|
57
51
|
//input: funccall call
|
|
58
|
-
export function GetRegionEditor(call: DG.FuncCall) {
|
|
59
|
-
|
|
52
|
+
export function GetRegionEditor(call: DG.FuncCall) : void {
|
|
53
|
+
PackageFunctions.GetRegionEditor(call);
|
|
60
54
|
}
|
|
61
55
|
|
|
62
|
-
//name: SplitToMonomersEditor
|
|
63
56
|
//tags: editor
|
|
64
57
|
//input: funccall call
|
|
65
|
-
export function SplitToMonomersEditor(call: DG.FuncCall) {
|
|
66
|
-
|
|
58
|
+
export function SplitToMonomersEditor(call: DG.FuncCall) : void {
|
|
59
|
+
PackageFunctions.SplitToMonomersEditor(call);
|
|
67
60
|
}
|
|
68
61
|
|
|
69
|
-
//name: SequenceSpaceEditor
|
|
70
62
|
//tags: editor
|
|
71
63
|
//input: funccall call
|
|
72
|
-
export function SequenceSpaceEditor(call: DG.FuncCall) {
|
|
73
|
-
|
|
64
|
+
export function SequenceSpaceEditor(call: DG.FuncCall) : void {
|
|
65
|
+
PackageFunctions.SequenceSpaceEditor(call);
|
|
74
66
|
}
|
|
75
67
|
|
|
76
|
-
//name: SeqActivityCliffsEditor
|
|
77
68
|
//tags: editor
|
|
78
69
|
//input: funccall call
|
|
79
|
-
export function SeqActivityCliffsEditor(call: DG.FuncCall) {
|
|
80
|
-
|
|
70
|
+
export function SeqActivityCliffsEditor(call: DG.FuncCall) : void {
|
|
71
|
+
PackageFunctions.SeqActivityCliffsEditor(call);
|
|
81
72
|
}
|
|
82
73
|
|
|
83
|
-
//name: customSequenceCellRenderer
|
|
84
74
|
//tags: cellRenderer
|
|
85
75
|
//output: grid_cell_renderer result
|
|
86
76
|
//meta.cellType: sequence
|
|
87
77
|
//meta.columnTags: quality=Macromolecule, units=custom
|
|
88
|
-
export function customSequenceCellRenderer() {
|
|
78
|
+
export function customSequenceCellRenderer() : any {
|
|
89
79
|
return PackageFunctions.customSequenceCellRenderer();
|
|
90
80
|
}
|
|
91
81
|
|
|
92
|
-
//name: fastaSequenceCellRenderer
|
|
93
82
|
//tags: cellRenderer
|
|
94
83
|
//output: grid_cell_renderer result
|
|
95
84
|
//meta.cellType: sequence
|
|
96
85
|
//meta.columnTags: quality=Macromolecule, units=fasta
|
|
97
|
-
export function fastaSequenceCellRenderer() {
|
|
86
|
+
export function fastaSequenceCellRenderer() : any {
|
|
98
87
|
return PackageFunctions.fastaSequenceCellRenderer();
|
|
99
88
|
}
|
|
100
89
|
|
|
101
|
-
//name: separatorSequenceCellRenderer
|
|
102
90
|
//tags: cellRenderer
|
|
103
91
|
//output: grid_cell_renderer result
|
|
104
92
|
//meta.cellType: sequence
|
|
105
93
|
//meta.columnTags: quality=Macromolecule, units=separator
|
|
106
|
-
export function separatorSequenceCellRenderer() {
|
|
94
|
+
export function separatorSequenceCellRenderer() : any {
|
|
107
95
|
return PackageFunctions.separatorSequenceCellRenderer();
|
|
108
96
|
}
|
|
109
97
|
|
|
@@ -111,7 +99,7 @@ export function separatorSequenceCellRenderer() {
|
|
|
111
99
|
//tags: panel
|
|
112
100
|
//input: column molColumn { semType: Macromolecule }
|
|
113
101
|
//output: widget result
|
|
114
|
-
export function macroMolColumnPropertyPanel(molColumn: DG.Column) {
|
|
102
|
+
export function macroMolColumnPropertyPanel(molColumn: DG.Column) : any {
|
|
115
103
|
return PackageFunctions.macroMolColumnPropertyPanel(molColumn);
|
|
116
104
|
}
|
|
117
105
|
|
|
@@ -119,7 +107,7 @@ export function macroMolColumnPropertyPanel(molColumn: DG.Column) {
|
|
|
119
107
|
//tags: panel, bio, widgets
|
|
120
108
|
//input: semantic_value sequence { semType: Macromolecule }
|
|
121
109
|
//output: widget result
|
|
122
|
-
export function compositionAnalysisWidget(sequence: DG.SemanticValue) {
|
|
110
|
+
export function compositionAnalysisWidget(sequence: DG.SemanticValue) : any {
|
|
123
111
|
return PackageFunctions.compositionAnalysisWidget(sequence);
|
|
124
112
|
}
|
|
125
113
|
|
|
@@ -128,11 +116,10 @@ export function compositionAnalysisWidget(sequence: DG.SemanticValue) {
|
|
|
128
116
|
//output: grid_cell_renderer result
|
|
129
117
|
//meta.cellType: MacromoleculeDifference
|
|
130
118
|
//meta.columnTags: quality=MacromoleculeDifference
|
|
131
|
-
export function macromoleculeDifferenceCellRenderer() {
|
|
119
|
+
export function macromoleculeDifferenceCellRenderer() : any {
|
|
132
120
|
return PackageFunctions.macromoleculeDifferenceCellRenderer();
|
|
133
121
|
}
|
|
134
122
|
|
|
135
|
-
//name: sequenceAlignment
|
|
136
123
|
//input: string alignType { choices: ['Local alignment','Global alignment'] }
|
|
137
124
|
//input: string alignTable { choices: ['AUTO','NUCLEOTIDES','BLOSUM45','BLOSUM50','BLOSUM62','BLOSUM80','BLOSUM90','PAM30','PAM70','PAM250','SCHNEIDER','TRANS'] }
|
|
138
125
|
//input: double gap
|
|
@@ -161,14 +148,13 @@ export function vdRegionsViewer() {
|
|
|
161
148
|
return PackageFunctions.vdRegionsViewer();
|
|
162
149
|
}
|
|
163
150
|
|
|
164
|
-
//name: getRegion
|
|
165
151
|
//description: Gets a new column with sequences of the region between start and end
|
|
166
152
|
//input: column sequence
|
|
167
153
|
//input: string start { optional: true }
|
|
168
154
|
//input: string end { optional: true }
|
|
169
155
|
//input: string name { optional: true; description: Name of the column to be created }
|
|
170
156
|
//output: column result
|
|
171
|
-
export function getRegion(sequence: any
|
|
157
|
+
export function getRegion(sequence: DG.Column<any>, start: any, end: any, name: any) : any {
|
|
172
158
|
return PackageFunctions.getRegion(sequence, start, end, name);
|
|
173
159
|
}
|
|
174
160
|
|
|
@@ -181,8 +167,8 @@ export function getRegion(sequence: any, start: any, end: any, name: any) {
|
|
|
181
167
|
//input: string name { optional: true; description: Region column name }
|
|
182
168
|
//top-menu: Bio | Calculate | Get Region...
|
|
183
169
|
//editor: Bio:GetRegionEditor
|
|
184
|
-
export async function getRegionTopMenu(table: DG.DataFrame, sequence: DG.Column, start: any, end: any, name: any) {
|
|
185
|
-
|
|
170
|
+
export async function getRegionTopMenu(table: DG.DataFrame, sequence: DG.Column, start: any, end: any, name: any) : Promise<void> {
|
|
171
|
+
await PackageFunctions.getRegionTopMenu(table, sequence, start, end, name);
|
|
186
172
|
}
|
|
187
173
|
|
|
188
174
|
//name: Sequence Activity Cliffs
|
|
@@ -198,8 +184,8 @@ export async function getRegionTopMenu(table: DG.DataFrame, sequence: DG.Column,
|
|
|
198
184
|
//input: bool demo { optional: true }
|
|
199
185
|
//top-menu: Bio | Analyze | Activity Cliffs...
|
|
200
186
|
//editor: Bio:SeqActivityCliffsEditor
|
|
201
|
-
export async function activityCliffs(table: DG.DataFrame, molecules: any
|
|
202
|
-
return PackageFunctions.activityCliffs(table, molecules, activities, similarity, methodName, similarityMetric, preprocessingFunction, options, demo);
|
|
187
|
+
export async function activityCliffs(table: DG.DataFrame, molecules: DG.Column<any>, activities: DG.Column, similarity: number, methodName: any, similarityMetric: any, preprocessingFunction: any, options?: any, demo?: boolean) : Promise<any> {
|
|
188
|
+
return await PackageFunctions.activityCliffs(table, molecules, activities, similarity, methodName, similarityMetric, preprocessingFunction, options, demo);
|
|
203
189
|
}
|
|
204
190
|
|
|
205
191
|
//name: Encode Sequences
|
|
@@ -213,8 +199,8 @@ export async function activityCliffs(table: DG.DataFrame, molecules: any, activi
|
|
|
213
199
|
//meta.supportedSemTypes: Macromolecule
|
|
214
200
|
//meta.supportedTypes: string
|
|
215
201
|
//meta.supportedDistanceFunctions: Hamming,Levenshtein,Monomer chemical distance,Needlemann-Wunsch
|
|
216
|
-
export async function macromoleculePreprocessingFunction(col: DG.Column, metric: any, gapOpen: number, gapExtend: number, fingerprintType: string) {
|
|
217
|
-
return PackageFunctions.macromoleculePreprocessingFunction(col, metric, gapOpen, gapExtend, fingerprintType);
|
|
202
|
+
export async function macromoleculePreprocessingFunction(col: DG.Column, metric: any, gapOpen: number, gapExtend: number, fingerprintType: string) : Promise<any> {
|
|
203
|
+
return await PackageFunctions.macromoleculePreprocessingFunction(col, metric, gapOpen, gapExtend, fingerprintType);
|
|
218
204
|
}
|
|
219
205
|
|
|
220
206
|
//name: Helm Fingerprints
|
|
@@ -225,8 +211,8 @@ export async function macromoleculePreprocessingFunction(col: DG.Column, metric:
|
|
|
225
211
|
//meta.supportedTypes: string
|
|
226
212
|
//meta.supportedUnits: helm
|
|
227
213
|
//meta.supportedDistanceFunctions: Tanimoto,Asymmetric,Cosine,Sokal
|
|
228
|
-
export async function helmPreprocessingFunction(col: any
|
|
229
|
-
return PackageFunctions.helmPreprocessingFunction(col, _metric);
|
|
214
|
+
export async function helmPreprocessingFunction(col: DG.Column<any>, _metric: any) : Promise<any> {
|
|
215
|
+
return await PackageFunctions.helmPreprocessingFunction(col, _metric);
|
|
230
216
|
}
|
|
231
217
|
|
|
232
218
|
//name: Sequence Space
|
|
@@ -242,8 +228,8 @@ export async function helmPreprocessingFunction(col: any, _metric: any) {
|
|
|
242
228
|
//input: bool isDemo { optional: true }
|
|
243
229
|
//top-menu: Bio | Analyze | Sequence Space...
|
|
244
230
|
//editor: Bio:SequenceSpaceEditor
|
|
245
|
-
export async function sequenceSpaceTopMenu(table: DG.DataFrame, molecules: DG.Column, methodName: any, similarityMetric: any, plotEmbeddings: boolean, preprocessingFunction?: any, options?: any, clusterEmbeddings?: boolean, isDemo?: boolean) {
|
|
246
|
-
return PackageFunctions.sequenceSpaceTopMenu(table, molecules, methodName, similarityMetric, plotEmbeddings, preprocessingFunction, options, clusterEmbeddings, isDemo);
|
|
231
|
+
export async function sequenceSpaceTopMenu(table: DG.DataFrame, molecules: DG.Column, methodName: any, similarityMetric: any, plotEmbeddings: boolean, preprocessingFunction?: any, options?: any, clusterEmbeddings?: boolean, isDemo?: boolean) : Promise<any> {
|
|
232
|
+
return await PackageFunctions.sequenceSpaceTopMenu(table, molecules, methodName, similarityMetric, plotEmbeddings, preprocessingFunction, options, clusterEmbeddings, isDemo);
|
|
247
233
|
}
|
|
248
234
|
|
|
249
235
|
//name: To Atomic Level
|
|
@@ -253,39 +239,39 @@ export async function sequenceSpaceTopMenu(table: DG.DataFrame, molecules: DG.Co
|
|
|
253
239
|
//input: bool nonlinear { default: false; caption: Non-linear; description: Slower mode for cycling/branching HELM structures }
|
|
254
240
|
//input: bool highlight { default: false; caption: Highlight monomers; description: Highlight monomers' substructures of the molecule }
|
|
255
241
|
//top-menu: Bio | Transform | To Atomic Level...
|
|
256
|
-
export async function toAtomicLevel(table: DG.DataFrame, seqCol: DG.Column, nonlinear: boolean, highlight: boolean) {
|
|
257
|
-
|
|
242
|
+
export async function toAtomicLevel(table: DG.DataFrame, seqCol: DG.Column, nonlinear: boolean, highlight: boolean) : Promise<void> {
|
|
243
|
+
await PackageFunctions.toAtomicLevel(table, seqCol, nonlinear, highlight);
|
|
258
244
|
}
|
|
259
245
|
|
|
260
246
|
//name: To Atomic Level...
|
|
261
247
|
//input: column seqCol { semType: Macromolecule }
|
|
262
248
|
//meta.action: to atomic level
|
|
263
|
-
export async function toAtomicLevelAction(seqCol: DG.Column) {
|
|
264
|
-
|
|
249
|
+
export async function toAtomicLevelAction(seqCol: DG.Column) : Promise<void> {
|
|
250
|
+
await PackageFunctions.toAtomicLevelAction(seqCol);
|
|
265
251
|
}
|
|
266
252
|
|
|
267
253
|
//name: Molecular Structure
|
|
268
254
|
//tags: panel, bio, widgets
|
|
269
255
|
//input: semantic_value sequence { semType: Macromolecule }
|
|
270
256
|
//output: widget result
|
|
271
|
-
export async function toAtomicLevelPanel(sequence: DG.SemanticValue) {
|
|
272
|
-
return PackageFunctions.toAtomicLevelPanel(sequence);
|
|
257
|
+
export async function toAtomicLevelPanel(sequence: DG.SemanticValue) : Promise<any> {
|
|
258
|
+
return await PackageFunctions.toAtomicLevelPanel(sequence);
|
|
273
259
|
}
|
|
274
260
|
|
|
275
261
|
//name: Molecular 3D Structure
|
|
276
262
|
//tags: panel, bio, widgets
|
|
277
263
|
//input: semantic_value sequence { semType: Macromolecule }
|
|
278
264
|
//output: widget result
|
|
279
|
-
export async function sequence3dStructureWidget(sequence: DG.SemanticValue) {
|
|
280
|
-
return PackageFunctions.sequence3dStructureWidget(sequence);
|
|
265
|
+
export async function sequence3dStructureWidget(sequence: DG.SemanticValue) : Promise<any> {
|
|
266
|
+
return await PackageFunctions.sequence3dStructureWidget(sequence);
|
|
281
267
|
}
|
|
282
268
|
|
|
283
269
|
//name: MSA
|
|
284
270
|
//description: Performs multiple sequence alignment
|
|
285
271
|
//tags: panel, bio
|
|
286
272
|
//top-menu: Bio | Analyze | MSA...
|
|
287
|
-
export function multipleSequenceAlignmentDialog() {
|
|
288
|
-
|
|
273
|
+
export function multipleSequenceAlignmentDialog() : void {
|
|
274
|
+
PackageFunctions.multipleSequenceAlignmentDialog();
|
|
289
275
|
}
|
|
290
276
|
|
|
291
277
|
//name: Multiple Sequence Alignment
|
|
@@ -295,8 +281,8 @@ export function multipleSequenceAlignmentDialog() {
|
|
|
295
281
|
//input: column clustersCol
|
|
296
282
|
//input: object options { optional: true }
|
|
297
283
|
//output: column result
|
|
298
|
-
export async function alignSequences(sequenceCol: any, clustersCol: any, options?: any) {
|
|
299
|
-
return PackageFunctions.alignSequences(sequenceCol, clustersCol, options);
|
|
284
|
+
export async function alignSequences(sequenceCol: any, clustersCol: any, options?: any) : Promise<any> {
|
|
285
|
+
return await PackageFunctions.alignSequences(sequenceCol, clustersCol, options);
|
|
300
286
|
}
|
|
301
287
|
|
|
302
288
|
//name: Composition Analysis
|
|
@@ -305,56 +291,51 @@ export async function alignSequences(sequenceCol: any, clustersCol: any, options
|
|
|
305
291
|
//meta.icon: files/icons/composition-analysis.svg
|
|
306
292
|
//top-menu: Bio | Analyze | Composition
|
|
307
293
|
export async function compositionAnalysis() {
|
|
308
|
-
return PackageFunctions.compositionAnalysis();
|
|
294
|
+
return await PackageFunctions.compositionAnalysis();
|
|
309
295
|
}
|
|
310
296
|
|
|
311
|
-
//name: importFasta
|
|
312
297
|
//description: Opens FASTA file
|
|
313
298
|
//tags: file-handler
|
|
314
299
|
//input: string fileContent
|
|
315
300
|
//output: list<dataframe> result
|
|
316
301
|
//meta.ext: fasta, fna, ffn, faa, frn, fa, fst
|
|
317
|
-
export function importFasta(fileContent: string) {
|
|
302
|
+
export function importFasta(fileContent: string) : any {
|
|
318
303
|
return PackageFunctions.importFasta(fileContent);
|
|
319
304
|
}
|
|
320
305
|
|
|
321
|
-
//name: importBam
|
|
322
306
|
//description: Opens Bam file
|
|
323
307
|
//tags: file-handler
|
|
324
308
|
//input: string fileContent
|
|
325
309
|
//output: list<dataframe> result
|
|
326
310
|
//meta.ext: bam, bai
|
|
327
|
-
export function importBam(fileContent: string) {
|
|
311
|
+
export function importBam(fileContent: string) : any {
|
|
328
312
|
return PackageFunctions.importBam(fileContent);
|
|
329
313
|
}
|
|
330
314
|
|
|
331
|
-
//name: convertDialog
|
|
332
315
|
//top-menu: Bio | Transform | Convert Notation...
|
|
333
|
-
export function convertDialog() {
|
|
334
|
-
|
|
316
|
+
export function convertDialog() : void {
|
|
317
|
+
PackageFunctions.convertDialog();
|
|
335
318
|
}
|
|
336
319
|
|
|
337
320
|
//name: Convert Notation...
|
|
338
321
|
//input: column col { semType: Macromolecule }
|
|
339
322
|
//meta.action: Convert Notation...
|
|
340
|
-
export function convertColumnAction(col: DG.Column) {
|
|
341
|
-
|
|
323
|
+
export function convertColumnAction(col: DG.Column) : void {
|
|
324
|
+
PackageFunctions.convertColumnAction(col);
|
|
342
325
|
}
|
|
343
326
|
|
|
344
|
-
//name: monomerCellRenderer
|
|
345
327
|
//tags: cellRenderer
|
|
346
328
|
//output: grid_cell_renderer result
|
|
347
329
|
//meta.cellType: Monomer
|
|
348
330
|
//meta.columnTags: quality=Monomer
|
|
349
|
-
export function monomerCellRenderer() {
|
|
331
|
+
export function monomerCellRenderer() : any {
|
|
350
332
|
return PackageFunctions.monomerCellRenderer();
|
|
351
333
|
}
|
|
352
334
|
|
|
353
|
-
//name: testDetectMacromolecule
|
|
354
335
|
//input: string path { choices: ['Demo:Files/','System:AppData/'] }
|
|
355
336
|
//output: dataframe result
|
|
356
|
-
export async function testDetectMacromolecule(path: string) {
|
|
357
|
-
return PackageFunctions.testDetectMacromolecule(path);
|
|
337
|
+
export async function testDetectMacromolecule(path: string) : Promise<any> {
|
|
338
|
+
return await PackageFunctions.testDetectMacromolecule(path);
|
|
358
339
|
}
|
|
359
340
|
|
|
360
341
|
//name: Split to Monomers
|
|
@@ -363,14 +344,14 @@ export async function testDetectMacromolecule(path: string) {
|
|
|
363
344
|
//output: dataframe result
|
|
364
345
|
//top-menu: Bio | Transform | Split to Monomers...
|
|
365
346
|
//editor: Bio:SplitToMonomersEditor
|
|
366
|
-
export async function splitToMonomersTopMenu(table: DG.DataFrame, sequence: DG.Column) {
|
|
367
|
-
return PackageFunctions.splitToMonomersTopMenu(table, sequence);
|
|
347
|
+
export async function splitToMonomersTopMenu(table: DG.DataFrame, sequence: DG.Column) : Promise<any> {
|
|
348
|
+
return await PackageFunctions.splitToMonomersTopMenu(table, sequence);
|
|
368
349
|
}
|
|
369
350
|
|
|
370
351
|
//name: Bio: getHelmMonomers
|
|
371
352
|
//input: column sequence { semType: Macromolecule }
|
|
372
353
|
//output: object result
|
|
373
|
-
export function getHelmMonomers(sequence: any) {
|
|
354
|
+
export function getHelmMonomers(sequence: DG.Column<any>) : string[] {
|
|
374
355
|
return PackageFunctions.getHelmMonomers(sequence);
|
|
375
356
|
}
|
|
376
357
|
|
|
@@ -378,7 +359,7 @@ export function getHelmMonomers(sequence: any) {
|
|
|
378
359
|
//tags: viewer
|
|
379
360
|
//output: viewer result
|
|
380
361
|
//meta.icon: files/icons/sequence-similarity-viewer.svg
|
|
381
|
-
export function similaritySearchViewer() {
|
|
362
|
+
export function similaritySearchViewer() : any {
|
|
382
363
|
return PackageFunctions.similaritySearchViewer();
|
|
383
364
|
}
|
|
384
365
|
|
|
@@ -394,7 +375,7 @@ export function similaritySearchTopMenu() {
|
|
|
394
375
|
//tags: viewer
|
|
395
376
|
//output: viewer result
|
|
396
377
|
//meta.icon: files/icons/sequence-diversity-viewer.svg
|
|
397
|
-
export function diversitySearchViewer() {
|
|
378
|
+
export function diversitySearchViewer() : any {
|
|
398
379
|
return PackageFunctions.diversitySearchViewer();
|
|
399
380
|
}
|
|
400
381
|
|
|
@@ -409,16 +390,16 @@ export function diversitySearchTopMenu() {
|
|
|
409
390
|
//name: SearchSubsequenceEditor
|
|
410
391
|
//tags: editor
|
|
411
392
|
//input: funccall call
|
|
412
|
-
export function searchSubsequenceEditor(call: DG.FuncCall) {
|
|
413
|
-
|
|
393
|
+
export function searchSubsequenceEditor(call: DG.FuncCall) : void {
|
|
394
|
+
PackageFunctions.searchSubsequenceEditor(call);
|
|
414
395
|
}
|
|
415
396
|
|
|
416
397
|
//name: Subsequence Search
|
|
417
398
|
//input: column macromolecules
|
|
418
399
|
//top-menu: Bio | Search | Subsequence Search ...
|
|
419
400
|
//editor: Bio:SearchSubsequenceEditor
|
|
420
|
-
export function SubsequenceSearchTopMenu(macromolecules: DG.Column) {
|
|
421
|
-
|
|
401
|
+
export function SubsequenceSearchTopMenu(macromolecules: DG.Column) : void {
|
|
402
|
+
PackageFunctions.SubsequenceSearchTopMenu(macromolecules);
|
|
422
403
|
}
|
|
423
404
|
|
|
424
405
|
//name: Identity Scoring
|
|
@@ -428,8 +409,8 @@ export function SubsequenceSearchTopMenu(macromolecules: DG.Column) {
|
|
|
428
409
|
//input: string reference { description: Sequence,matching column format }
|
|
429
410
|
//output: column result
|
|
430
411
|
//top-menu: Bio | Calculate | Identity...
|
|
431
|
-
export async function sequenceIdentityScoring(table: DG.DataFrame, macromolecule: DG.Column, reference: string) {
|
|
432
|
-
return PackageFunctions.sequenceIdentityScoring(table, macromolecule, reference);
|
|
412
|
+
export async function sequenceIdentityScoring(table: DG.DataFrame, macromolecule: DG.Column, reference: string) : Promise<any> {
|
|
413
|
+
return await PackageFunctions.sequenceIdentityScoring(table, macromolecule, reference);
|
|
433
414
|
}
|
|
434
415
|
|
|
435
416
|
//name: Similarity Scoring
|
|
@@ -439,27 +420,26 @@ export async function sequenceIdentityScoring(table: DG.DataFrame, macromolecule
|
|
|
439
420
|
//input: string reference { description: Sequence,matching column format }
|
|
440
421
|
//output: column result
|
|
441
422
|
//top-menu: Bio | Calculate | Similarity...
|
|
442
|
-
export async function sequenceSimilarityScoring(table: DG.DataFrame, macromolecule: DG.Column, reference: string) {
|
|
443
|
-
return PackageFunctions.sequenceSimilarityScoring(table, macromolecule, reference);
|
|
423
|
+
export async function sequenceSimilarityScoring(table: DG.DataFrame, macromolecule: DG.Column, reference: string) : Promise<any> {
|
|
424
|
+
return await PackageFunctions.sequenceSimilarityScoring(table, macromolecule, reference);
|
|
444
425
|
}
|
|
445
426
|
|
|
446
427
|
//name: Manage Monomer Libraries
|
|
447
428
|
//description: Manage HELM monomer libraries
|
|
448
|
-
export async function manageMonomerLibraries() {
|
|
449
|
-
|
|
429
|
+
export async function manageMonomerLibraries() : Promise<void> {
|
|
430
|
+
await PackageFunctions.manageMonomerLibraries();
|
|
450
431
|
}
|
|
451
432
|
|
|
452
433
|
//name: Manage Monomer Libraries View
|
|
453
434
|
//top-menu: Bio | Manage | Monomer Libraries
|
|
454
|
-
export async function manageLibrariesView() {
|
|
455
|
-
|
|
435
|
+
export async function manageLibrariesView() : Promise<void> {
|
|
436
|
+
await PackageFunctions.manageLibrariesView();
|
|
456
437
|
}
|
|
457
438
|
|
|
458
|
-
//name: manageMonomersView
|
|
459
439
|
//description: Edit and create monomers
|
|
460
440
|
//top-menu: Bio | Manage | Monomers
|
|
461
|
-
export async function manageMonomersView() {
|
|
462
|
-
|
|
441
|
+
export async function manageMonomersView() : Promise<void> {
|
|
442
|
+
await PackageFunctions.manageMonomersView();
|
|
463
443
|
}
|
|
464
444
|
|
|
465
445
|
//name: Manage Monomer Libraries
|
|
@@ -467,22 +447,21 @@ export async function manageMonomersView() {
|
|
|
467
447
|
//output: view result
|
|
468
448
|
//meta.browsePath: Peptides
|
|
469
449
|
//meta.icon: files/icons/monomers.png
|
|
470
|
-
export async function manageMonomerLibrariesView() {
|
|
471
|
-
return PackageFunctions.manageMonomerLibrariesView();
|
|
450
|
+
export async function manageMonomerLibrariesView() : Promise<any> {
|
|
451
|
+
return await PackageFunctions.manageMonomerLibrariesView();
|
|
472
452
|
}
|
|
473
453
|
|
|
474
454
|
//name: Monomer Manager Tree Browser
|
|
475
455
|
//input: dynamic treeNode
|
|
476
|
-
//
|
|
477
|
-
export async function manageMonomerLibrariesViewTreeBrowser(treeNode: any
|
|
478
|
-
|
|
456
|
+
//meta.role: appTreeBrowser
|
|
457
|
+
export async function manageMonomerLibrariesViewTreeBrowser(treeNode: any) : Promise<void> {
|
|
458
|
+
await PackageFunctions.manageMonomerLibrariesViewTreeBrowser(treeNode);
|
|
479
459
|
}
|
|
480
460
|
|
|
481
|
-
//name: saveAsFasta
|
|
482
461
|
//description: As FASTA...
|
|
483
462
|
//tags: fileExporter
|
|
484
|
-
export function saveAsFasta() {
|
|
485
|
-
|
|
463
|
+
export function saveAsFasta() : void {
|
|
464
|
+
PackageFunctions.saveAsFasta();
|
|
486
465
|
}
|
|
487
466
|
|
|
488
467
|
//name: Bio Substructure Filter
|
|
@@ -490,140 +469,123 @@ export function saveAsFasta() {
|
|
|
490
469
|
//tags: filter
|
|
491
470
|
//output: filter result
|
|
492
471
|
//meta.semType: Macromolecule
|
|
493
|
-
export function bioSubstructureFilter() {
|
|
472
|
+
export function bioSubstructureFilter() : any {
|
|
494
473
|
return PackageFunctions.bioSubstructureFilter();
|
|
495
474
|
}
|
|
496
475
|
|
|
497
476
|
//name: Bio Substructure Filter Test
|
|
498
477
|
//description: Substructure filter for Helm package tests
|
|
499
478
|
//output: object result
|
|
500
|
-
export function bioSubstructureFilterTest() {
|
|
479
|
+
export function bioSubstructureFilterTest() : any {
|
|
501
480
|
return PackageFunctions.bioSubstructureFilterTest();
|
|
502
481
|
}
|
|
503
482
|
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
return PackageFunctions.webLogoLargeApp();
|
|
483
|
+
export async function webLogoLargeApp() : Promise<void> {
|
|
484
|
+
await PackageFunctions.webLogoLargeApp();
|
|
507
485
|
}
|
|
508
486
|
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
return PackageFunctions.webLogoAggApp();
|
|
487
|
+
export async function webLogoAggApp() : Promise<void> {
|
|
488
|
+
await PackageFunctions.webLogoAggApp();
|
|
512
489
|
}
|
|
513
490
|
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
return PackageFunctions.getRegionApp();
|
|
491
|
+
export async function getRegionApp() : Promise<void> {
|
|
492
|
+
await PackageFunctions.getRegionApp();
|
|
517
493
|
}
|
|
518
494
|
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
return PackageFunctions.getRegionHelmApp();
|
|
495
|
+
export async function getRegionHelmApp() : Promise<void> {
|
|
496
|
+
await PackageFunctions.getRegionHelmApp();
|
|
522
497
|
}
|
|
523
498
|
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
return PackageFunctions.longSeqTableSeparator();
|
|
499
|
+
export function longSeqTableSeparator() : void {
|
|
500
|
+
PackageFunctions.longSeqTableSeparator();
|
|
527
501
|
}
|
|
528
502
|
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
return PackageFunctions.longSeqTableFasta();
|
|
503
|
+
export function longSeqTableFasta() : void {
|
|
504
|
+
PackageFunctions.longSeqTableFasta();
|
|
532
505
|
}
|
|
533
506
|
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
return PackageFunctions.longSeqTableHelm();
|
|
507
|
+
export function longSeqTableHelm() : void {
|
|
508
|
+
PackageFunctions.longSeqTableHelm();
|
|
537
509
|
}
|
|
538
510
|
|
|
539
|
-
//name: addCopyMenu
|
|
540
511
|
//input: object cell
|
|
541
512
|
//input: object menu
|
|
542
|
-
export function addCopyMenu(cell: any, menu: any) {
|
|
543
|
-
|
|
513
|
+
export function addCopyMenu(cell: any, menu: any) : void {
|
|
514
|
+
PackageFunctions.addCopyMenu(cell, menu);
|
|
544
515
|
}
|
|
545
516
|
|
|
546
|
-
//name: demoBioSimilarityDiversity
|
|
547
517
|
//description: Sequence similarity tracking and evaluation dataset diversity
|
|
548
518
|
//meta.demoPath: Bioinformatics | Similarity, Diversity
|
|
549
519
|
//meta.path: /apps/Tutorials/Demo/Bioinformatics/Similarity,%20Diversity
|
|
550
520
|
//meta.demoSkip: GROK-14320
|
|
551
|
-
export async function demoBioSimilarityDiversity() {
|
|
552
|
-
|
|
521
|
+
export async function demoBioSimilarityDiversity() : Promise<void> {
|
|
522
|
+
await PackageFunctions.demoBioSimilarityDiversity();
|
|
553
523
|
}
|
|
554
524
|
|
|
555
|
-
//name: demoBioSequenceSpace
|
|
556
525
|
//description: Exploring sequence space of Macromolecules, comparison with hierarchical clustering results
|
|
557
526
|
//meta.demoPath: Bioinformatics | Sequence Space
|
|
558
527
|
//meta.path: /apps/Tutorials/Demo/Bioinformatics/Sequence%20Space
|
|
559
528
|
//meta.demoSkip: GROK-14320
|
|
560
|
-
export async function demoBioSequenceSpace() {
|
|
561
|
-
|
|
529
|
+
export async function demoBioSequenceSpace() : Promise<void> {
|
|
530
|
+
await PackageFunctions.demoBioSequenceSpace();
|
|
562
531
|
}
|
|
563
532
|
|
|
564
|
-
//name: demoBioActivityCliffs
|
|
565
533
|
//description: Activity Cliffs analysis on Macromolecules data
|
|
566
534
|
//meta.demoPath: Bioinformatics | Activity Cliffs
|
|
567
535
|
//meta.path: /apps/Tutorials/Demo/Bioinformatics/Activity%20Cliffs
|
|
568
536
|
//meta.demoSkip: GROK-14320
|
|
569
|
-
export async function demoBioActivityCliffs() {
|
|
570
|
-
|
|
537
|
+
export async function demoBioActivityCliffs() : Promise<void> {
|
|
538
|
+
await PackageFunctions.demoBioActivityCliffs();
|
|
571
539
|
}
|
|
572
540
|
|
|
573
|
-
//name: demoBioAtomicLevel
|
|
574
541
|
//description: Atomic level structure of Macromolecules
|
|
575
542
|
//meta.demoPath: Bioinformatics | Atomic Level
|
|
576
543
|
//meta.path: /apps/Tutorials/Demo/Bioinformatics/Atomic%20Level
|
|
577
544
|
//meta.demoSkip: GROK-14320
|
|
578
|
-
export async function demoBioAtomicLevel() {
|
|
579
|
-
|
|
545
|
+
export async function demoBioAtomicLevel() : Promise<void> {
|
|
546
|
+
await PackageFunctions.demoBioAtomicLevel();
|
|
580
547
|
}
|
|
581
548
|
|
|
582
549
|
//name: SDF to JSON Library
|
|
583
550
|
//input: dataframe table
|
|
584
|
-
export async function sdfToJsonLib(table: DG.DataFrame) {
|
|
585
|
-
|
|
551
|
+
export async function sdfToJsonLib(table: DG.DataFrame) : Promise<void> {
|
|
552
|
+
await PackageFunctions.sdfToJsonLib(table);
|
|
586
553
|
}
|
|
587
554
|
|
|
588
|
-
//name: seq2atomic
|
|
589
555
|
//description: Converts a `Macromolecule` sequence to its atomic level `Molecule` representation
|
|
590
556
|
//input: string seq { semType: Macromolecule }
|
|
591
557
|
//input: bool nonlinear
|
|
592
|
-
//output: string molfile {
|
|
558
|
+
//output: string molfile { }
|
|
593
559
|
//friendlyName: seq2atomic
|
|
594
|
-
export async function seq2atomic(seq: string, nonlinear: boolean) {
|
|
595
|
-
return PackageFunctions.seq2atomic(seq, nonlinear);
|
|
560
|
+
export async function seq2atomic(seq: string, nonlinear: boolean) : Promise<any> {
|
|
561
|
+
return await PackageFunctions.seq2atomic(seq, nonlinear);
|
|
596
562
|
}
|
|
597
563
|
|
|
598
|
-
//name: seqIdentity
|
|
599
564
|
//description: Gets identity to a reference sequence
|
|
600
565
|
//input: string seq { semType: Macromolecule }
|
|
601
566
|
//input: string ref { semType: Macromolecule }
|
|
602
567
|
//output: double result
|
|
603
568
|
//friendlyName: seqIdentity
|
|
604
|
-
export async function seqIdentity(seq: string, ref: string) {
|
|
605
|
-
return PackageFunctions.seqIdentity(seq, ref);
|
|
569
|
+
export async function seqIdentity(seq: string, ref: string) : Promise<any> {
|
|
570
|
+
return await PackageFunctions.seqIdentity(seq, ref);
|
|
606
571
|
}
|
|
607
572
|
|
|
608
|
-
//name: detectMacromoleculeProbe
|
|
609
573
|
//input: file file
|
|
610
574
|
//input: string colName
|
|
611
575
|
//input: double probeCount { default: 100 }
|
|
612
|
-
export async function detectMacromoleculeProbe(file: DG.FileInfo, colName: string, probeCount: number) {
|
|
613
|
-
|
|
576
|
+
export async function detectMacromoleculeProbe(file: DG.FileInfo, colName: string, probeCount: number) : Promise<void> {
|
|
577
|
+
await PackageFunctions.detectMacromoleculeProbe(file, colName, probeCount);
|
|
614
578
|
}
|
|
615
579
|
|
|
616
|
-
//name: getSeqHelper
|
|
617
580
|
//output: object result
|
|
618
|
-
export async function getSeqHelper() {
|
|
619
|
-
return PackageFunctions.getSeqHelper();
|
|
581
|
+
export async function getSeqHelper() : Promise<any> {
|
|
582
|
+
return await PackageFunctions.getSeqHelper();
|
|
620
583
|
}
|
|
621
584
|
|
|
622
|
-
//name: getMolFromHelm
|
|
623
585
|
//input: dataframe df
|
|
624
586
|
//input: column helmCol
|
|
625
587
|
//input: bool chiralityEngine { default: true }
|
|
626
588
|
//output: column result
|
|
627
|
-
export async function getMolFromHelm(df: DG.DataFrame, helmCol: any
|
|
628
|
-
return PackageFunctions.getMolFromHelm(df, helmCol, chiralityEngine);
|
|
589
|
+
export async function getMolFromHelm(df: DG.DataFrame, helmCol: DG.Column<any>, chiralityEngine: boolean) : Promise<any> {
|
|
590
|
+
return await PackageFunctions.getMolFromHelm(df, helmCol, chiralityEngine);
|
|
629
591
|
}
|