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