@datagrok/bio 2.27.7 → 2.27.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/CLAUDE.md +77 -12
- package/CREDITS.md +246 -0
- package/dist/package-test.js +2 -2
- package/dist/package-test.js.map +1 -1
- package/dist/package.js +3 -3
- package/dist/package.js.map +1 -1
- package/files/demo-files/Antibody_HC.csv +494 -0
- package/files/demo-files/Antibody_HC.layout +516 -0
- package/files/demo-files/Atomic_Level.csv +4030 -0
- package/files/demo-files/SIRNA.csv +66018 -0
- package/files/demo-files/SIRNA.layout +2784 -0
- package/files/demo-files/bio_similarity_diversity.layout +205 -0
- package/files/tests/to-atomic-level-dna-fasta-output.csv +7152 -7152
- package/package.json +2 -2
- package/projects/bio_demo_activity_cliffs.zip +0 -0
- package/src/demo/bio01-similarity-diversity.ts +10 -0
- package/src/demo/bio01a-hierarchical-clustering-and-sequence-space.ts +0 -1
- package/src/demo/bio01b-hierarchical-clustering-and-activity-cliffs.ts +25 -0
- package/src/demo/bio03-atomic-level.ts +0 -14
- package/src/demo/feature_demos.ts +103 -0
- package/src/package-api.ts +14 -0
- package/src/package.g.ts +16 -0
- package/src/package.ts +28 -8
- package/src/tests/to-atomic-level-tests.ts +507 -155
- package/test-console-output-1.log +548 -647
- package/test-record-1.mp4 +0 -0
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
{
|
|
2
|
+
"#type": "ViewLayout",
|
|
3
|
+
"viewStateMap": {
|
|
4
|
+
"containerType": "horizontal",
|
|
5
|
+
"state": {
|
|
6
|
+
"width": 1616,
|
|
7
|
+
"height": 833
|
|
8
|
+
},
|
|
9
|
+
"children": [
|
|
10
|
+
{
|
|
11
|
+
"containerType": "fill",
|
|
12
|
+
"state": {
|
|
13
|
+
"width": 812,
|
|
14
|
+
"height": 833,
|
|
15
|
+
"documentManager": true
|
|
16
|
+
},
|
|
17
|
+
"children": [
|
|
18
|
+
{
|
|
19
|
+
"containerType": "panel",
|
|
20
|
+
"state": {
|
|
21
|
+
"width": 812,
|
|
22
|
+
"height": 833,
|
|
23
|
+
"element": {
|
|
24
|
+
"id": "4a541150-48b0-11f1-921a-4b0415f08584",
|
|
25
|
+
"type": "Grid",
|
|
26
|
+
"look": {
|
|
27
|
+
"#type": "GridLook",
|
|
28
|
+
"showAddNewRowIcon": true,
|
|
29
|
+
"addNewRowOnLastRowEdit": true,
|
|
30
|
+
"rowHeight": 30,
|
|
31
|
+
"topLevelDefaultMenu": true,
|
|
32
|
+
"allowColumnMenu": true,
|
|
33
|
+
"columns": [
|
|
34
|
+
{
|
|
35
|
+
"width": 44,
|
|
36
|
+
"backgroundColor": 4294440951,
|
|
37
|
+
"customName": "",
|
|
38
|
+
"cellType": "row header",
|
|
39
|
+
"headerCellStyle": {
|
|
40
|
+
"textWrap": "words"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"width": 230,
|
|
45
|
+
"columnName": "sequence",
|
|
46
|
+
"cellType": "sequence",
|
|
47
|
+
"headerCellStyle": {
|
|
48
|
+
"textWrap": "words"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"width": 155,
|
|
53
|
+
"columnName": "Activity",
|
|
54
|
+
"customFormat": "0.0000000000000000",
|
|
55
|
+
"cellType": "number",
|
|
56
|
+
"format": "0.0000000000000000",
|
|
57
|
+
"headerCellStyle": {
|
|
58
|
+
"textWrap": "words"
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
],
|
|
62
|
+
"onInitializedScript": "\n setTimeout(async () => {\n const t = grok.shell.table('Table');\n if (!t)\n return;\n await t.meta.detectSemanticTypes();\n const func = DG.Func.find({name: 'hierarchicalClustering'})[0];\n if (!func)\n return;\n const cols = [\"sequence\"];\n func.apply({\n df: t,\n colNameList: cols,\n distance: 'euclidean',\n linkage: 'complete'\n });\n }, 1000)\n "
|
|
63
|
+
},
|
|
64
|
+
"title": "peptides-non-natural",
|
|
65
|
+
"default": true
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"children": []
|
|
69
|
+
}
|
|
70
|
+
]
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"containerType": "vertical",
|
|
74
|
+
"state": {
|
|
75
|
+
"width": 803,
|
|
76
|
+
"height": 833
|
|
77
|
+
},
|
|
78
|
+
"children": [
|
|
79
|
+
{
|
|
80
|
+
"containerType": "panel",
|
|
81
|
+
"state": {
|
|
82
|
+
"width": 803,
|
|
83
|
+
"height": 396,
|
|
84
|
+
"element": {
|
|
85
|
+
"id": "4a543860-48b0-11f1-83c0-f546b6d79614",
|
|
86
|
+
"type": "Sequence Similarity Search",
|
|
87
|
+
"look": {
|
|
88
|
+
"#type": "JsViewerHostLook",
|
|
89
|
+
"limit": 10,
|
|
90
|
+
"targetColumnName": "sequence",
|
|
91
|
+
"distanceMetric": "Hamming",
|
|
92
|
+
"fingerprint": "Morgan",
|
|
93
|
+
"gapOpen": 1,
|
|
94
|
+
"gapExtend": 0.6,
|
|
95
|
+
"cutoff": 0.01,
|
|
96
|
+
"hotSearch": true,
|
|
97
|
+
"similarColumnLabel": null
|
|
98
|
+
},
|
|
99
|
+
"title": "Sequence Similarity Search"
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"children": []
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"containerType": "panel",
|
|
106
|
+
"state": {
|
|
107
|
+
"width": 803,
|
|
108
|
+
"height": 436,
|
|
109
|
+
"element": {
|
|
110
|
+
"id": "4a545f70-48b0-11f1-8ba2-6d41f5aaac0d",
|
|
111
|
+
"type": "Sequence Diversity Search",
|
|
112
|
+
"look": {
|
|
113
|
+
"#type": "JsViewerHostLook",
|
|
114
|
+
"limit": 10,
|
|
115
|
+
"targetColumnName": "sequence",
|
|
116
|
+
"distanceMetric": "Hamming",
|
|
117
|
+
"fingerprint": "Morgan",
|
|
118
|
+
"gapOpen": 1,
|
|
119
|
+
"gapExtend": 0.6,
|
|
120
|
+
"diverseColumnLabel": null
|
|
121
|
+
},
|
|
122
|
+
"title": "Sequence Diversity Search"
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"children": []
|
|
126
|
+
}
|
|
127
|
+
]
|
|
128
|
+
}
|
|
129
|
+
],
|
|
130
|
+
"floating": [],
|
|
131
|
+
"tableId": "1ac6c220-48b0-11f1-96f8-25bc74a4f3be",
|
|
132
|
+
"tableName": "Table"
|
|
133
|
+
},
|
|
134
|
+
"userData": {
|
|
135
|
+
".columnTags": {
|
|
136
|
+
"sequence": {
|
|
137
|
+
"units": "separator",
|
|
138
|
+
"cell.renderer": "sequence",
|
|
139
|
+
"quality": "Macromolecule"
|
|
140
|
+
},
|
|
141
|
+
"Activity": {
|
|
142
|
+
"format": "0.0000000000000000"
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
"columns": [
|
|
147
|
+
{
|
|
148
|
+
"name": "sequence",
|
|
149
|
+
"type": "string",
|
|
150
|
+
"semType": "Macromolecule",
|
|
151
|
+
"id": "4a5522c0-48b0-11f1-aa6b-0144c5d96cd0",
|
|
152
|
+
"friendlyName": "Sequence",
|
|
153
|
+
"entityTags": [
|
|
154
|
+
{
|
|
155
|
+
"tag": "units",
|
|
156
|
+
"id": "4a54ad90-48b0-11f1-b76c-7b84e409c4c8"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"tag": "separator",
|
|
160
|
+
"id": "4a54ad90-48b0-11f1-a63d-e750540d4500"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"tag": "aligned",
|
|
164
|
+
"id": "4a54ad90-48b0-11f1-bacb-b7efc320ed4f"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"tag": "alphabet",
|
|
168
|
+
"id": "4a54d4a0-48b0-11f1-e38d-791eed2bbb06"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"tag": ".alphabetIsMultichar",
|
|
172
|
+
"id": "4a54d4a0-48b0-11f1-d005-9b6dd0639b69"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"tag": "cell.renderer",
|
|
176
|
+
"id": "4a54fbb0-48b0-11f1-f185-1736b856a5fd"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"tag": "quality",
|
|
180
|
+
"id": "4a54fbb0-48b0-11f1-9edd-8bfb44ec952c"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"tag": ".semantic-detection-duration",
|
|
184
|
+
"id": "4a54fbb0-48b0-11f1-a122-c1e30be38aa5"
|
|
185
|
+
}
|
|
186
|
+
],
|
|
187
|
+
"metaParams": {
|
|
188
|
+
"units": "separator",
|
|
189
|
+
"separator": "/",
|
|
190
|
+
"aligned": "SEQ.MSA",
|
|
191
|
+
"alphabet": "UN",
|
|
192
|
+
".alphabetIsMultichar": "true",
|
|
193
|
+
"cell.renderer": "sequence",
|
|
194
|
+
"quality": "Macromolecule",
|
|
195
|
+
".semantic-detection-duration": "17"
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
],
|
|
199
|
+
"name": "Table",
|
|
200
|
+
"friendlyName": "Table",
|
|
201
|
+
"author": {
|
|
202
|
+
"id": "cb276bc0-6280-11ee-82f7-8dc8dd5df45b"
|
|
203
|
+
},
|
|
204
|
+
"createdOn": "2026-05-10T15:59:56.643Z"
|
|
205
|
+
}
|