Spaces:
Running
Running
Cypher box in Bio demo.
Browse files- examples/Bio demo +499 -103
examples/Bio demo
CHANGED
@@ -7,55 +7,55 @@
|
|
7 |
"data": {
|
8 |
"title": "Import CSV",
|
9 |
"params": {
|
10 |
-
"
|
11 |
"separator": "<auto>",
|
12 |
-
"
|
13 |
},
|
14 |
"display": null,
|
15 |
"error": null,
|
|
|
16 |
"collapsed": null,
|
17 |
"meta": {
|
18 |
-
"outputs": {
|
19 |
-
"output": {
|
20 |
-
"position": "right",
|
21 |
-
"name": "output",
|
22 |
-
"type": {
|
23 |
-
"type": "None"
|
24 |
-
}
|
25 |
-
}
|
26 |
-
},
|
27 |
"params": {
|
28 |
-
"
|
|
|
29 |
"type": {
|
30 |
"type": "<class 'str'>"
|
31 |
},
|
|
|
|
|
|
|
32 |
"default": null,
|
|
|
|
|
|
|
33 |
"name": "filename"
|
34 |
},
|
35 |
"columns": {
|
36 |
-
"default": "<from file>",
|
37 |
"name": "columns",
|
|
|
38 |
"type": {
|
39 |
"type": "<class 'str'>"
|
40 |
}
|
41 |
-
}
|
42 |
-
|
43 |
-
|
44 |
-
|
|
|
|
|
45 |
"type": {
|
46 |
-
"type": "
|
47 |
}
|
48 |
}
|
49 |
},
|
50 |
-
"inputs": {},
|
51 |
"type": "basic",
|
|
|
52 |
"name": "Import CSV"
|
53 |
-
}
|
54 |
-
"__execution_delay": 0.0
|
55 |
},
|
56 |
"position": {
|
57 |
-
"x":
|
58 |
-
"y":
|
59 |
},
|
60 |
"width": 200.0,
|
61 |
"height": 200.0
|
@@ -66,34 +66,35 @@
|
|
66 |
"data": {
|
67 |
"title": "Parse SMILES",
|
68 |
"params": {
|
|
|
69 |
"table": "df",
|
70 |
-
"save_as": "mols"
|
71 |
-
"smiles_column": "SMILES"
|
72 |
},
|
73 |
"display": null,
|
74 |
"error": null,
|
75 |
"meta": {
|
76 |
"name": "Parse SMILES",
|
|
|
77 |
"params": {
|
78 |
"table": {
|
|
|
|
|
79 |
"type": {
|
80 |
"type": "<class 'str'>"
|
81 |
-
}
|
82 |
-
"default": "df",
|
83 |
-
"name": "table"
|
84 |
},
|
85 |
"smiles_column": {
|
|
|
|
|
86 |
"type": {
|
87 |
"type": "<class 'str'>"
|
88 |
-
}
|
89 |
-
"name": "smiles_column",
|
90 |
-
"default": "SMILES"
|
91 |
},
|
92 |
"save_as": {
|
|
|
93 |
"type": {
|
94 |
"type": "<class 'str'>"
|
95 |
},
|
96 |
-
"name": "save_as",
|
97 |
"default": "mols"
|
98 |
}
|
99 |
},
|
@@ -109,21 +110,20 @@
|
|
109 |
"outputs": {
|
110 |
"output": {
|
111 |
"position": "right",
|
112 |
-
"name": "output",
|
113 |
"type": {
|
114 |
"type": "None"
|
115 |
-
}
|
|
|
116 |
}
|
117 |
-
}
|
118 |
-
"type": "basic"
|
119 |
}
|
120 |
},
|
121 |
"position": {
|
122 |
-
"x":
|
123 |
-
"y":
|
124 |
},
|
125 |
-
"
|
126 |
-
"
|
127 |
},
|
128 |
{
|
129 |
"id": "Graph from molecule similarity 1",
|
@@ -132,43 +132,19 @@
|
|
132 |
"title": "Graph from molecule similarity",
|
133 |
"params": {
|
134 |
"table": "df",
|
135 |
-
"
|
136 |
-
"
|
137 |
},
|
138 |
"display": null,
|
139 |
"error": null,
|
140 |
-
"collapsed": null,
|
141 |
"meta": {
|
142 |
-
"params": {
|
143 |
-
"mols_column": {
|
144 |
-
"name": "mols_column",
|
145 |
-
"default": "mols",
|
146 |
-
"type": {
|
147 |
-
"type": "<class 'str'>"
|
148 |
-
}
|
149 |
-
},
|
150 |
-
"table": {
|
151 |
-
"type": {
|
152 |
-
"type": "<class 'str'>"
|
153 |
-
},
|
154 |
-
"default": "df",
|
155 |
-
"name": "table"
|
156 |
-
},
|
157 |
-
"average_degree": {
|
158 |
-
"name": "average_degree",
|
159 |
-
"default": 10.0,
|
160 |
-
"type": {
|
161 |
-
"type": "<class 'int'>"
|
162 |
-
}
|
163 |
-
}
|
164 |
-
},
|
165 |
"inputs": {
|
166 |
"bundle": {
|
167 |
"position": "left",
|
|
|
168 |
"type": {
|
169 |
"type": "<class 'lynxkite_graph_analytics.lynxkite_ops.Bundle'>"
|
170 |
-
}
|
171 |
-
"name": "bundle"
|
172 |
}
|
173 |
},
|
174 |
"outputs": {
|
@@ -180,9 +156,33 @@
|
|
180 |
"name": "output"
|
181 |
}
|
182 |
},
|
|
|
183 |
"name": "Graph from molecule similarity",
|
184 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
185 |
},
|
|
|
186 |
"__execution_delay": 0.0
|
187 |
},
|
188 |
"position": {
|
@@ -198,9 +198,9 @@
|
|
198 |
"data": {
|
199 |
"title": "Visualize graph",
|
200 |
"params": {
|
201 |
-
"color_edges_by": "similarity",
|
202 |
"color_nodes_by": "ORGANISM",
|
203 |
-
"label_by": "DRUG_NAME"
|
|
|
204 |
},
|
205 |
"display": {
|
206 |
"animationDuration": 500,
|
@@ -228,8 +228,8 @@
|
|
228 |
"data": [
|
229 |
{
|
230 |
"id": "0",
|
231 |
-
"x": 0.
|
232 |
-
"y": 0.
|
233 |
"symbolSize": 22.360679774997894,
|
234 |
"itemStyle": {
|
235 |
"color": "#a6cee3"
|
@@ -242,8 +242,8 @@
|
|
242 |
},
|
243 |
{
|
244 |
"id": "1",
|
245 |
-
"x":
|
246 |
-
"y": -0.
|
247 |
"symbolSize": 22.360679774997894,
|
248 |
"itemStyle": {
|
249 |
"color": "#1f78b4"
|
@@ -256,8 +256,8 @@
|
|
256 |
},
|
257 |
{
|
258 |
"id": "2",
|
259 |
-
"x": -0.
|
260 |
-
"y": 0.
|
261 |
"symbolSize": 22.360679774997894,
|
262 |
"itemStyle": {
|
263 |
"color": "#1f78b4"
|
@@ -270,8 +270,8 @@
|
|
270 |
},
|
271 |
{
|
272 |
"id": "3",
|
273 |
-
"x":
|
274 |
-
"y":
|
275 |
"symbolSize": 22.360679774997894,
|
276 |
"itemStyle": {
|
277 |
"color": "#1f78b4"
|
@@ -284,8 +284,8 @@
|
|
284 |
},
|
285 |
{
|
286 |
"id": "4",
|
287 |
-
"x":
|
288 |
-
"y": -0
|
289 |
"symbolSize": 22.360679774997894,
|
290 |
"itemStyle": {
|
291 |
"color": "#1f78b4"
|
@@ -384,55 +384,437 @@
|
|
384 |
},
|
385 |
"error": null,
|
386 |
"__execution_delay": 0.0,
|
|
|
387 |
"meta": {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
388 |
"inputs": {
|
389 |
"graph": {
|
|
|
|
|
|
|
390 |
"name": "graph",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
391 |
"position": "left",
|
|
|
392 |
"type": {
|
393 |
"type": "<class 'lynxkite_graph_analytics.lynxkite_ops.Bundle'>"
|
394 |
}
|
395 |
}
|
396 |
},
|
397 |
-
"
|
398 |
-
"type": "visualization",
|
399 |
"params": {
|
400 |
-
"
|
401 |
-
"name": "color_edges_by",
|
402 |
"default": null,
|
|
|
403 |
"type": {
|
404 |
-
"format": "
|
405 |
}
|
406 |
},
|
407 |
-
"
|
408 |
-
"default": null,
|
409 |
"type": {
|
410 |
-
"
|
411 |
},
|
412 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
413 |
},
|
414 |
-
"
|
415 |
-
"
|
416 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
417 |
"type": {
|
418 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
419 |
}
|
420 |
}
|
421 |
},
|
422 |
"position": {
|
423 |
-
"x":
|
424 |
-
"y":
|
425 |
},
|
426 |
-
"name": "
|
427 |
-
|
428 |
-
|
|
|
429 |
},
|
430 |
"position": {
|
431 |
-
"x":
|
432 |
-
"y":
|
433 |
},
|
434 |
-
"width":
|
435 |
-
"height":
|
436 |
}
|
437 |
],
|
438 |
"edges": [
|
@@ -456,6 +838,20 @@
|
|
456 |
"target": "Visualize graph 1",
|
457 |
"sourceHandle": "output",
|
458 |
"targetHandle": "graph"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
459 |
}
|
460 |
]
|
461 |
}
|
|
|
7 |
"data": {
|
8 |
"title": "Import CSV",
|
9 |
"params": {
|
10 |
+
"filename": "examples/drug_target_data_sample.csv",
|
11 |
"separator": "<auto>",
|
12 |
+
"columns": "<from file>"
|
13 |
},
|
14 |
"display": null,
|
15 |
"error": null,
|
16 |
+
"__execution_delay": 0.0,
|
17 |
"collapsed": null,
|
18 |
"meta": {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
"params": {
|
20 |
+
"separator": {
|
21 |
+
"default": "<auto>",
|
22 |
"type": {
|
23 |
"type": "<class 'str'>"
|
24 |
},
|
25 |
+
"name": "separator"
|
26 |
+
},
|
27 |
+
"filename": {
|
28 |
"default": null,
|
29 |
+
"type": {
|
30 |
+
"type": "<class 'str'>"
|
31 |
+
},
|
32 |
"name": "filename"
|
33 |
},
|
34 |
"columns": {
|
|
|
35 |
"name": "columns",
|
36 |
+
"default": "<from file>",
|
37 |
"type": {
|
38 |
"type": "<class 'str'>"
|
39 |
}
|
40 |
+
}
|
41 |
+
},
|
42 |
+
"outputs": {
|
43 |
+
"output": {
|
44 |
+
"position": "right",
|
45 |
+
"name": "output",
|
46 |
"type": {
|
47 |
+
"type": "None"
|
48 |
}
|
49 |
}
|
50 |
},
|
|
|
51 |
"type": "basic",
|
52 |
+
"inputs": {},
|
53 |
"name": "Import CSV"
|
54 |
+
}
|
|
|
55 |
},
|
56 |
"position": {
|
57 |
+
"x": 300.92214591096035,
|
58 |
+
"y": 1018.8292637889027
|
59 |
},
|
60 |
"width": 200.0,
|
61 |
"height": 200.0
|
|
|
66 |
"data": {
|
67 |
"title": "Parse SMILES",
|
68 |
"params": {
|
69 |
+
"smiles_column": "SMILES",
|
70 |
"table": "df",
|
71 |
+
"save_as": "mols"
|
|
|
72 |
},
|
73 |
"display": null,
|
74 |
"error": null,
|
75 |
"meta": {
|
76 |
"name": "Parse SMILES",
|
77 |
+
"type": "basic",
|
78 |
"params": {
|
79 |
"table": {
|
80 |
+
"default": "df",
|
81 |
+
"name": "table",
|
82 |
"type": {
|
83 |
"type": "<class 'str'>"
|
84 |
+
}
|
|
|
|
|
85 |
},
|
86 |
"smiles_column": {
|
87 |
+
"name": "smiles_column",
|
88 |
+
"default": "SMILES",
|
89 |
"type": {
|
90 |
"type": "<class 'str'>"
|
91 |
+
}
|
|
|
|
|
92 |
},
|
93 |
"save_as": {
|
94 |
+
"name": "save_as",
|
95 |
"type": {
|
96 |
"type": "<class 'str'>"
|
97 |
},
|
|
|
98 |
"default": "mols"
|
99 |
}
|
100 |
},
|
|
|
110 |
"outputs": {
|
111 |
"output": {
|
112 |
"position": "right",
|
|
|
113 |
"type": {
|
114 |
"type": "None"
|
115 |
+
},
|
116 |
+
"name": "output"
|
117 |
}
|
118 |
+
}
|
|
|
119 |
}
|
120 |
},
|
121 |
"position": {
|
122 |
+
"x": 580.5892989328847,
|
123 |
+
"y": 1012.8823965480503
|
124 |
},
|
125 |
+
"width": 200.0,
|
126 |
+
"height": 200.0
|
127 |
},
|
128 |
{
|
129 |
"id": "Graph from molecule similarity 1",
|
|
|
132 |
"title": "Graph from molecule similarity",
|
133 |
"params": {
|
134 |
"table": "df",
|
135 |
+
"average_degree": "3",
|
136 |
+
"mols_column": "mols"
|
137 |
},
|
138 |
"display": null,
|
139 |
"error": null,
|
|
|
140 |
"meta": {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
141 |
"inputs": {
|
142 |
"bundle": {
|
143 |
"position": "left",
|
144 |
+
"name": "bundle",
|
145 |
"type": {
|
146 |
"type": "<class 'lynxkite_graph_analytics.lynxkite_ops.Bundle'>"
|
147 |
+
}
|
|
|
148 |
}
|
149 |
},
|
150 |
"outputs": {
|
|
|
156 |
"name": "output"
|
157 |
}
|
158 |
},
|
159 |
+
"type": "basic",
|
160 |
"name": "Graph from molecule similarity",
|
161 |
+
"params": {
|
162 |
+
"average_degree": {
|
163 |
+
"default": 10.0,
|
164 |
+
"type": {
|
165 |
+
"type": "<class 'int'>"
|
166 |
+
},
|
167 |
+
"name": "average_degree"
|
168 |
+
},
|
169 |
+
"table": {
|
170 |
+
"default": "df",
|
171 |
+
"name": "table",
|
172 |
+
"type": {
|
173 |
+
"type": "<class 'str'>"
|
174 |
+
}
|
175 |
+
},
|
176 |
+
"mols_column": {
|
177 |
+
"default": "mols",
|
178 |
+
"name": "mols_column",
|
179 |
+
"type": {
|
180 |
+
"type": "<class 'str'>"
|
181 |
+
}
|
182 |
+
}
|
183 |
+
}
|
184 |
},
|
185 |
+
"collapsed": null,
|
186 |
"__execution_delay": 0.0
|
187 |
},
|
188 |
"position": {
|
|
|
198 |
"data": {
|
199 |
"title": "Visualize graph",
|
200 |
"params": {
|
|
|
201 |
"color_nodes_by": "ORGANISM",
|
202 |
+
"label_by": "DRUG_NAME",
|
203 |
+
"color_edges_by": "similarity"
|
204 |
},
|
205 |
"display": {
|
206 |
"animationDuration": 500,
|
|
|
228 |
"data": [
|
229 |
{
|
230 |
"id": "0",
|
231 |
+
"x": -0.13734854736037372,
|
232 |
+
"y": 0.0003840689616843064,
|
233 |
"symbolSize": 22.360679774997894,
|
234 |
"itemStyle": {
|
235 |
"color": "#a6cee3"
|
|
|
242 |
},
|
243 |
{
|
244 |
"id": "1",
|
245 |
+
"x": 0.4859426303201164,
|
246 |
+
"y": -0.09785193844993345,
|
247 |
"symbolSize": 22.360679774997894,
|
248 |
"itemStyle": {
|
249 |
"color": "#1f78b4"
|
|
|
256 |
},
|
257 |
{
|
258 |
"id": "2",
|
259 |
+
"x": -0.36490537596845657,
|
260 |
+
"y": 0.655747709585604,
|
261 |
"symbolSize": 22.360679774997894,
|
262 |
"itemStyle": {
|
263 |
"color": "#1f78b4"
|
|
|
270 |
},
|
271 |
{
|
272 |
"id": "3",
|
273 |
+
"x": 0.8039553347691868,
|
274 |
+
"y": 0.44172015990267444,
|
275 |
"symbolSize": 22.360679774997894,
|
276 |
"itemStyle": {
|
277 |
"color": "#1f78b4"
|
|
|
284 |
},
|
285 |
{
|
286 |
"id": "4",
|
287 |
+
"x": -0.7876440417604583,
|
288 |
+
"y": -1.0,
|
289 |
"symbolSize": 22.360679774997894,
|
290 |
"itemStyle": {
|
291 |
"color": "#1f78b4"
|
|
|
384 |
},
|
385 |
"error": null,
|
386 |
"__execution_delay": 0.0,
|
387 |
+
"collapsed": null,
|
388 |
"meta": {
|
389 |
+
"params": {
|
390 |
+
"label_by": {
|
391 |
+
"type": {
|
392 |
+
"format": "node attribute"
|
393 |
+
},
|
394 |
+
"name": "label_by",
|
395 |
+
"default": null
|
396 |
+
},
|
397 |
+
"color_nodes_by": {
|
398 |
+
"type": {
|
399 |
+
"format": "node attribute"
|
400 |
+
},
|
401 |
+
"name": "color_nodes_by",
|
402 |
+
"default": null
|
403 |
+
},
|
404 |
+
"color_edges_by": {
|
405 |
+
"name": "color_edges_by",
|
406 |
+
"type": {
|
407 |
+
"format": "edge attribute"
|
408 |
+
},
|
409 |
+
"default": null
|
410 |
+
}
|
411 |
+
},
|
412 |
"inputs": {
|
413 |
"graph": {
|
414 |
+
"type": {
|
415 |
+
"type": "<class 'lynxkite_graph_analytics.lynxkite_ops.Bundle'>"
|
416 |
+
},
|
417 |
"name": "graph",
|
418 |
+
"position": "left"
|
419 |
+
}
|
420 |
+
},
|
421 |
+
"outputs": {},
|
422 |
+
"position": {
|
423 |
+
"y": 167.0,
|
424 |
+
"x": 883.0
|
425 |
+
},
|
426 |
+
"type": "visualization",
|
427 |
+
"name": "Visualize graph"
|
428 |
+
}
|
429 |
+
},
|
430 |
+
"position": {
|
431 |
+
"x": 1254.2277640235457,
|
432 |
+
"y": 931.9705991370125
|
433 |
+
},
|
434 |
+
"height": 314.0,
|
435 |
+
"width": 407.0
|
436 |
+
},
|
437 |
+
{
|
438 |
+
"id": "Cypher 1",
|
439 |
+
"type": "basic",
|
440 |
+
"data": {
|
441 |
+
"title": "Cypher",
|
442 |
+
"params": {
|
443 |
+
"save_as": "result",
|
444 |
+
"query": "MATCH\n (a {ORGANISM: \"Homo sapiens\"})\n -[r]->\n (b {ORGANISM: \"Homo sapiens\"})\nWHERE\n r.similarity > 0.9\nRETURN a.DRUG_NAME, b.DRUG_NAME"
|
445 |
+
},
|
446 |
+
"display": null,
|
447 |
+
"error": null,
|
448 |
+
"meta": {
|
449 |
+
"outputs": {
|
450 |
+
"output": {
|
451 |
+
"type": {
|
452 |
+
"type": "None"
|
453 |
+
},
|
454 |
+
"name": "output",
|
455 |
+
"position": "right"
|
456 |
+
}
|
457 |
+
},
|
458 |
+
"inputs": {
|
459 |
+
"bundle": {
|
460 |
"position": "left",
|
461 |
+
"name": "bundle",
|
462 |
"type": {
|
463 |
"type": "<class 'lynxkite_graph_analytics.lynxkite_ops.Bundle'>"
|
464 |
}
|
465 |
}
|
466 |
},
|
467 |
+
"name": "Cypher",
|
|
|
468 |
"params": {
|
469 |
+
"query": {
|
|
|
470 |
"default": null,
|
471 |
+
"name": "query",
|
472 |
"type": {
|
473 |
+
"format": "textarea"
|
474 |
}
|
475 |
},
|
476 |
+
"save_as": {
|
|
|
477 |
"type": {
|
478 |
+
"type": "<class 'str'>"
|
479 |
},
|
480 |
+
"default": "result",
|
481 |
+
"name": "save_as"
|
482 |
+
}
|
483 |
+
},
|
484 |
+
"type": "basic",
|
485 |
+
"position": {
|
486 |
+
"x": 638.0,
|
487 |
+
"y": 577.0
|
488 |
+
}
|
489 |
+
},
|
490 |
+
"collapsed": null,
|
491 |
+
"__execution_delay": 0.0
|
492 |
+
},
|
493 |
+
"position": {
|
494 |
+
"x": 1209.2024653849007,
|
495 |
+
"y": 1567.9825632648467
|
496 |
+
},
|
497 |
+
"height": 267.0,
|
498 |
+
"width": 434.0
|
499 |
+
},
|
500 |
+
{
|
501 |
+
"id": "View tables 1",
|
502 |
+
"type": "table_view",
|
503 |
+
"data": {
|
504 |
+
"title": "View tables",
|
505 |
+
"params": {
|
506 |
+
"limit": 100.0
|
507 |
+
},
|
508 |
+
"display": {
|
509 |
+
"dataframes": {
|
510 |
+
"edges": {
|
511 |
+
"columns": [
|
512 |
+
"source",
|
513 |
+
"target",
|
514 |
+
"similarity"
|
515 |
+
],
|
516 |
+
"data": [
|
517 |
+
[
|
518 |
+
3.0,
|
519 |
+
4.0,
|
520 |
+
0.8481012658227848
|
521 |
+
],
|
522 |
+
[
|
523 |
+
0.0,
|
524 |
+
1.0,
|
525 |
+
0.8813559322033898
|
526 |
+
],
|
527 |
+
[
|
528 |
+
0.0,
|
529 |
+
4.0,
|
530 |
+
0.8813559322033898
|
531 |
+
],
|
532 |
+
[
|
533 |
+
0.0,
|
534 |
+
3.0,
|
535 |
+
0.9047619047619048
|
536 |
+
],
|
537 |
+
[
|
538 |
+
1.0,
|
539 |
+
2.0,
|
540 |
+
0.9090909090909091
|
541 |
+
],
|
542 |
+
[
|
543 |
+
1.0,
|
544 |
+
3.0,
|
545 |
+
0.921875
|
546 |
+
],
|
547 |
+
[
|
548 |
+
0.0,
|
549 |
+
2.0,
|
550 |
+
0.9375
|
551 |
+
],
|
552 |
+
[
|
553 |
+
1.0,
|
554 |
+
4.0,
|
555 |
+
0.9420289855072463
|
556 |
+
],
|
557 |
+
[
|
558 |
+
2.0,
|
559 |
+
4.0,
|
560 |
+
0.9589041095890412
|
561 |
+
],
|
562 |
+
[
|
563 |
+
2.0,
|
564 |
+
3.0,
|
565 |
+
0.9775280898876404
|
566 |
+
]
|
567 |
+
]
|
568 |
},
|
569 |
+
"nodes": {
|
570 |
+
"columns": [
|
571 |
+
"Unnamed: 0",
|
572 |
+
"DRUG_NAME",
|
573 |
+
"STRUCT_ID",
|
574 |
+
"TARGET_NAME",
|
575 |
+
"TARGET_CLASS",
|
576 |
+
"ACCESSION",
|
577 |
+
"GENE",
|
578 |
+
"SWISSPROT",
|
579 |
+
"ACT_VALUE",
|
580 |
+
"ACT_UNIT",
|
581 |
+
"ACT_TYPE",
|
582 |
+
"ACT_COMMENT",
|
583 |
+
"ACT_SOURCE",
|
584 |
+
"RELATION",
|
585 |
+
"MOA",
|
586 |
+
"MOA_SOURCE",
|
587 |
+
"ACT_SOURCE_URL",
|
588 |
+
"MOA_SOURCE_URL",
|
589 |
+
"ACTION_TYPE",
|
590 |
+
"TDL",
|
591 |
+
"ORGANISM",
|
592 |
+
"SMILES",
|
593 |
+
"InChI",
|
594 |
+
"InChIKey",
|
595 |
+
"INN",
|
596 |
+
"mols"
|
597 |
+
],
|
598 |
+
"data": [
|
599 |
+
[
|
600 |
+
9737,
|
601 |
+
"phencyclidine",
|
602 |
+
2121,
|
603 |
+
"Acetylcholine receptor subunit alpha",
|
604 |
+
"Ion channel",
|
605 |
+
"P02710",
|
606 |
+
"CHRNA1",
|
607 |
+
"ACHA_TORCA",
|
608 |
+
6.66,
|
609 |
+
null,
|
610 |
+
"IC50",
|
611 |
+
"Displacement of [3H]PCP from nAChR in Torpedo nobiliana electric organs membranes in presence of 100 uM carbachol by scintillation counting method",
|
612 |
+
"CHEMBL",
|
613 |
+
"=",
|
614 |
+
null,
|
615 |
+
"nan",
|
616 |
+
null,
|
617 |
+
"nan",
|
618 |
+
"nan",
|
619 |
+
"nan",
|
620 |
+
"Torpedo californica",
|
621 |
+
"C1CCN(CC1)C1(CCCCC1)C1=CC=CC=C1",
|
622 |
+
"InChI=1S/C17H25N/c1-4-10-16(11-5-1)17(12-6-2-7-13-17)18-14-8-3-9-15-18/h1,4-5,10-11H,2-3,6-9,12-15H2",
|
623 |
+
"JTJMJGYZQZDUJJ-UHFFFAOYSA-N",
|
624 |
+
"phencyclidine",
|
625 |
+
"<rdkit.Chem.rdchem.Mol object at 0x74d424169e70>"
|
626 |
+
],
|
627 |
+
[
|
628 |
+
12934,
|
629 |
+
"triazolam",
|
630 |
+
2729,
|
631 |
+
"GABA A receptor alpha-3/beta-2/gamma-2",
|
632 |
+
"Ion channel",
|
633 |
+
"P18507|P34903|P47870",
|
634 |
+
"GABRG2|GABRA3|GABRB2",
|
635 |
+
"GBRG2_HUMAN|GBRA3_HUMAN|GBRB2_HUMAN",
|
636 |
+
8.876,
|
637 |
+
null,
|
638 |
+
"Ki",
|
639 |
+
"nan",
|
640 |
+
"WOMBAT-PK",
|
641 |
+
"=",
|
642 |
+
1.0,
|
643 |
+
"CHEMBL",
|
644 |
+
null,
|
645 |
+
"https://www.ebi.ac.uk/chembl/compound/inspect/CHEMBL646",
|
646 |
+
"POSITIVE ALLOSTERIC MODULATOR",
|
647 |
+
"Tclin|Tclin|Tclin|Tclin|Tclin|Tclin|Tclin|Tclin|Tclin",
|
648 |
+
"Homo sapiens",
|
649 |
+
"CC1=NN=C2CN=C(C3=CC(Cl)=CC=C3N12)C1=C(Cl)C=CC=C1",
|
650 |
+
"InChI=1S/C17H12Cl2N4/c1-10-21-22-16-9-20-17(12-4-2-3-5-14(12)19)13-8-11(18)6-7-15(13)23(10)16/h2-8H,9H2,1H3",
|
651 |
+
"JOFWLTCLBGQGBO-UHFFFAOYSA-N",
|
652 |
+
"triazolam",
|
653 |
+
"<rdkit.Chem.rdchem.Mol object at 0x74d42416ab20>"
|
654 |
+
],
|
655 |
+
[
|
656 |
+
15266,
|
657 |
+
"gentian violet",
|
658 |
+
4138,
|
659 |
+
"D(2) dopamine receptor",
|
660 |
+
"GPCR",
|
661 |
+
"P14416",
|
662 |
+
"DRD2",
|
663 |
+
"DRD2_HUMAN",
|
664 |
+
5.975,
|
665 |
+
null,
|
666 |
+
"Ki",
|
667 |
+
"DRUGMATRIX: Dopamine D2L radioligand binding (ligand: [3H] Spiperone)",
|
668 |
+
"DRUG MATRIX",
|
669 |
+
"=",
|
670 |
+
null,
|
671 |
+
"nan",
|
672 |
+
null,
|
673 |
+
"nan",
|
674 |
+
"nan",
|
675 |
+
"Tclin",
|
676 |
+
"Homo sapiens",
|
677 |
+
"CN(C)C1=CC=C(C=C1)C(C1=CC=C(C=C1)N(C)C)=C1C=CC(C=C1)=[N+](C)C",
|
678 |
+
"InChI=1S/C25H30N3/c1-26(2)22-13-7-19(8-14-22)25(20-9-15-23(16-10-20)27(3)4)21-11-17-24(18-12-21)28(5)6/h7-18H,1-6H3/q+1",
|
679 |
+
"LGLFFNDHMLKUMI-UHFFFAOYSA-N",
|
680 |
+
"gentian violet",
|
681 |
+
"<rdkit.Chem.rdchem.Mol object at 0x74d424169070>"
|
682 |
+
],
|
683 |
+
[
|
684 |
+
6488,
|
685 |
+
"ipratropium",
|
686 |
+
1475,
|
687 |
+
"Muscarinic acetylcholine receptor M1",
|
688 |
+
"GPCR",
|
689 |
+
"P11229",
|
690 |
+
"CHRM1",
|
691 |
+
"ACM1_HUMAN",
|
692 |
+
9.31,
|
693 |
+
null,
|
694 |
+
"Ki",
|
695 |
+
"nan",
|
696 |
+
"WOMBAT-PK",
|
697 |
+
"=",
|
698 |
+
null,
|
699 |
+
"nan",
|
700 |
+
null,
|
701 |
+
"nan",
|
702 |
+
"nan",
|
703 |
+
"Tclin",
|
704 |
+
"Homo sapiens",
|
705 |
+
"CC(C)[N+]1(C)[C@H]2CC[C@@H]1C[C@@H](C2)OC(=O)C(CO)C1=CC=CC=C1",
|
706 |
+
"InChI=1S/C20H30NO3/c1-14(2)21(3)16-9-10-17(21)12-18(11-16)24-20(23)19(13-22)15-7-5-4-6-8-15/h4-8,14,16-19,22H,9-13H2,1-3H3/q+1/t16-,17+,18+,19?,21?",
|
707 |
+
"OEXHQOGQTVQTAT-BHIXFJMTSA-N",
|
708 |
+
"ipratropium",
|
709 |
+
"<rdkit.Chem.rdchem.Mol object at 0x74d42416a7a0>"
|
710 |
+
],
|
711 |
+
[
|
712 |
+
17453,
|
713 |
+
"deoxycholic acid",
|
714 |
+
4988,
|
715 |
+
"G-protein coupled bile acid receptor 1",
|
716 |
+
"GPCR",
|
717 |
+
"Q8TDU6",
|
718 |
+
"GPBAR1",
|
719 |
+
"GPBAR_HUMAN",
|
720 |
+
6.2,
|
721 |
+
null,
|
722 |
+
"EC50",
|
723 |
+
"nan",
|
724 |
+
"IUPHAR",
|
725 |
+
"=",
|
726 |
+
null,
|
727 |
+
"nan",
|
728 |
+
null,
|
729 |
+
"nan",
|
730 |
+
"AGONIST",
|
731 |
+
"Tchem",
|
732 |
+
"Homo sapiens",
|
733 |
+
"C[C@H](CCC(O)=O)[C@H]1CC[C@H]2[C@@H]3CC[C@@H]4C[C@H](O)CC[C@]4(C)[C@H]3C[C@H](O)[C@]12C",
|
734 |
+
"InChI=1S/C24H40O4/c1-14(4-9-22(27)28)18-7-8-19-17-6-5-15-12-16(25)10-11-23(15,2)20(17)13-21(26)24(18,19)3/h14-21,25-26H,4-13H2,1-3H3,(H,27,28)/t14-,15-,16-,17+,18-,19+,20+,21+,23+,24-/m1/s1",
|
735 |
+
"KXGVEGMKQFWNSR-LLQZFEROSA-N",
|
736 |
+
"deoxycholic acid",
|
737 |
+
"<rdkit.Chem.rdchem.Mol object at 0x74d424168890>"
|
738 |
+
]
|
739 |
+
]
|
740 |
+
},
|
741 |
+
"result": {
|
742 |
+
"columns": [
|
743 |
+
"a.DRUG_NAME",
|
744 |
+
"b.DRUG_NAME"
|
745 |
+
],
|
746 |
+
"data": [
|
747 |
+
[
|
748 |
+
"triazolam",
|
749 |
+
"gentian violet"
|
750 |
+
],
|
751 |
+
[
|
752 |
+
"triazolam",
|
753 |
+
"ipratropium"
|
754 |
+
],
|
755 |
+
[
|
756 |
+
"triazolam",
|
757 |
+
"deoxycholic acid"
|
758 |
+
],
|
759 |
+
[
|
760 |
+
"gentian violet",
|
761 |
+
"deoxycholic acid"
|
762 |
+
],
|
763 |
+
[
|
764 |
+
"gentian violet",
|
765 |
+
"ipratropium"
|
766 |
+
]
|
767 |
+
]
|
768 |
+
}
|
769 |
+
},
|
770 |
+
"relations": [
|
771 |
+
{
|
772 |
+
"df": "edges",
|
773 |
+
"source_column": "source",
|
774 |
+
"target_column": "target",
|
775 |
+
"source_table": "nodes",
|
776 |
+
"target_table": "nodes",
|
777 |
+
"source_key": "id",
|
778 |
+
"target_key": "id"
|
779 |
+
}
|
780 |
+
],
|
781 |
+
"other": null
|
782 |
+
},
|
783 |
+
"error": null,
|
784 |
+
"meta": {
|
785 |
+
"params": {
|
786 |
+
"limit": {
|
787 |
+
"default": 100.0,
|
788 |
+
"name": "limit",
|
789 |
"type": {
|
790 |
+
"type": "<class 'int'>"
|
791 |
+
}
|
792 |
+
}
|
793 |
+
},
|
794 |
+
"inputs": {
|
795 |
+
"bundle": {
|
796 |
+
"name": "bundle",
|
797 |
+
"position": "left",
|
798 |
+
"type": {
|
799 |
+
"type": "<class 'lynxkite_graph_analytics.lynxkite_ops.Bundle'>"
|
800 |
}
|
801 |
}
|
802 |
},
|
803 |
"position": {
|
804 |
+
"x": 1183.0,
|
805 |
+
"y": 534.0
|
806 |
},
|
807 |
+
"name": "View tables",
|
808 |
+
"outputs": {},
|
809 |
+
"type": "table_view"
|
810 |
+
}
|
811 |
},
|
812 |
"position": {
|
813 |
+
"x": 1817.1767094971015,
|
814 |
+
"y": 1459.025582190881
|
815 |
},
|
816 |
+
"width": 322.0,
|
817 |
+
"height": 295.0
|
818 |
}
|
819 |
],
|
820 |
"edges": [
|
|
|
838 |
"target": "Visualize graph 1",
|
839 |
"sourceHandle": "output",
|
840 |
"targetHandle": "graph"
|
841 |
+
},
|
842 |
+
{
|
843 |
+
"id": "Graph from molecule similarity 1 Cypher 1",
|
844 |
+
"source": "Graph from molecule similarity 1",
|
845 |
+
"target": "Cypher 1",
|
846 |
+
"sourceHandle": "output",
|
847 |
+
"targetHandle": "bundle"
|
848 |
+
},
|
849 |
+
{
|
850 |
+
"id": "Cypher 1 View tables 1",
|
851 |
+
"source": "Cypher 1",
|
852 |
+
"target": "View tables 1",
|
853 |
+
"sourceHandle": "output",
|
854 |
+
"targetHandle": "bundle"
|
855 |
}
|
856 |
]
|
857 |
}
|