Skip to content

Commit 9ac0486

Browse files
Update GTN workflows (#7)
Co-authored-by: bedroesb <[email protected]>
1 parent aeec71a commit 9ac0486

File tree

137 files changed

+90191
-46880
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

137 files changed

+90191
-46880
lines changed

GTN/CNN_Intro_To_CNN.ga

Lines changed: 368 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,368 @@
1+
{
2+
"a_galaxy_workflow": "true",
3+
"annotation": "Introduction to CNN",
4+
"format-version": "0.1",
5+
"name": "Intro To CNN",
6+
"steps": {
7+
"0": {
8+
"annotation": "",
9+
"content_id": null,
10+
"errors": null,
11+
"id": 0,
12+
"input_connections": {},
13+
"inputs": [
14+
{
15+
"description": "",
16+
"name": "X_train"
17+
}
18+
],
19+
"label": "X_train",
20+
"name": "Input dataset",
21+
"outputs": [],
22+
"position": {
23+
"left": 10,
24+
"top": 10
25+
},
26+
"tool_id": null,
27+
"tool_state": "{\"optional\": false}",
28+
"tool_version": null,
29+
"type": "data_input",
30+
"uuid": "986e5a5a-39f1-4ffe-91e2-b7b789450cde",
31+
"workflow_outputs": []
32+
},
33+
"1": {
34+
"annotation": "",
35+
"content_id": null,
36+
"errors": null,
37+
"id": 1,
38+
"input_connections": {},
39+
"inputs": [
40+
{
41+
"description": "",
42+
"name": "y_train"
43+
}
44+
],
45+
"label": "y_train",
46+
"name": "Input dataset",
47+
"outputs": [],
48+
"position": {
49+
"left": 10,
50+
"top": 130
51+
},
52+
"tool_id": null,
53+
"tool_state": "{\"optional\": false}",
54+
"tool_version": null,
55+
"type": "data_input",
56+
"uuid": "3eb2384b-9c80-4671-9c12-8085a10c9b89",
57+
"workflow_outputs": []
58+
},
59+
"2": {
60+
"annotation": "",
61+
"content_id": null,
62+
"errors": null,
63+
"id": 2,
64+
"input_connections": {},
65+
"inputs": [
66+
{
67+
"description": "",
68+
"name": "X_test"
69+
}
70+
],
71+
"label": "X_test",
72+
"name": "Input dataset",
73+
"outputs": [],
74+
"position": {
75+
"left": 10,
76+
"top": 250
77+
},
78+
"tool_id": null,
79+
"tool_state": "{\"optional\": false}",
80+
"tool_version": null,
81+
"type": "data_input",
82+
"uuid": "1af66795-2568-40e9-be01-4b5e8d70bbe3",
83+
"workflow_outputs": []
84+
},
85+
"3": {
86+
"annotation": "",
87+
"content_id": null,
88+
"errors": null,
89+
"id": 3,
90+
"input_connections": {},
91+
"inputs": [
92+
{
93+
"description": "",
94+
"name": "y_test"
95+
}
96+
],
97+
"label": "y_test",
98+
"name": "Input dataset",
99+
"outputs": [],
100+
"position": {
101+
"left": 10,
102+
"top": 370
103+
},
104+
"tool_id": null,
105+
"tool_state": "{\"optional\": false}",
106+
"tool_version": null,
107+
"type": "data_input",
108+
"uuid": "a31af6be-59e7-468f-9309-001ea659fad5",
109+
"workflow_outputs": []
110+
},
111+
"4": {
112+
"annotation": "",
113+
"content_id": "toolshed.g2.bx.psu.edu/repos/bgruening/keras_model_config/keras_model_config/0.5.0",
114+
"errors": null,
115+
"id": 4,
116+
"input_connections": {},
117+
"inputs": [],
118+
"label": null,
119+
"name": "Create a deep learning model architecture",
120+
"outputs": [
121+
{
122+
"name": "outfile",
123+
"type": "json"
124+
}
125+
],
126+
"position": {
127+
"left": 10,
128+
"top": 490
129+
},
130+
"post_job_actions": {},
131+
"tool_id": "toolshed.g2.bx.psu.edu/repos/bgruening/keras_model_config/keras_model_config/0.5.0",
132+
"tool_shed_repository": {
133+
"changeset_revision": "64bbfa592868",
134+
"name": "keras_model_config",
135+
"owner": "bgruening",
136+
"tool_shed": "toolshed.g2.bx.psu.edu"
137+
},
138+
"tool_state": "{\"__input_ext\": \"input\", \"chromInfo\": \"/opt/galaxy/tool-data/shared/ucsc/chrom/?.len\", \"model_selection\": {\"model_type\": \"sequential\", \"__current_case__\": 0, \"input_shape\": \"(784, )\", \"layers\": [{\"__index__\": 0, \"layer_selection\": {\"layer_type\": \"Reshape\", \"__current_case__\": 4, \"target_shape\": \"(28,28,1)\"}}, {\"__index__\": 1, \"layer_selection\": {\"layer_type\": \"Conv2D\", \"__current_case__\": 13, \"filters\": \"64\", \"kernel_size\": \"3\", \"activation\": \"relu\", \"kwargs\": \"\"}}, {\"__index__\": 2, \"layer_selection\": {\"layer_type\": \"MaxPooling2D\", \"__current_case__\": 30, \"pool_size\": \"(2, 2)\", \"strides\": \"\", \"kwargs\": \"\"}}, {\"__index__\": 3, \"layer_selection\": {\"layer_type\": \"Conv2D\", \"__current_case__\": 13, \"filters\": \"32\", \"kernel_size\": \"3\", \"activation\": \"relu\", \"kwargs\": \"\"}}, {\"__index__\": 4, \"layer_selection\": {\"layer_type\": \"MaxPooling2D\", \"__current_case__\": 30, \"pool_size\": \"(2, 2)\", \"strides\": \"\", \"kwargs\": \"\"}}, {\"__index__\": 5, \"layer_selection\": {\"layer_type\": \"Flatten\", \"__current_case__\": 3, \"data_format\": \"channels_last\"}}, {\"__index__\": 6, \"layer_selection\": {\"layer_type\": \"Dense\", \"__current_case__\": 0, \"units\": \"10\", \"activation\": \"softmax\", \"kwargs\": \"\"}}]}, \"__page__\": null, \"__rerun_remap_job_id__\": null}",
139+
"tool_version": "0.5.0",
140+
"type": "tool",
141+
"uuid": "eca0c4b0-39ec-4c40-85bb-1ff33a1d274d",
142+
"workflow_outputs": []
143+
},
144+
"5": {
145+
"annotation": "",
146+
"content_id": "toolshed.g2.bx.psu.edu/repos/bgruening/sklearn_to_categorical/sklearn_to_categorical/1.0.8.3",
147+
"errors": null,
148+
"id": 5,
149+
"input_connections": {
150+
"infile": {
151+
"id": 1,
152+
"output_name": "output"
153+
}
154+
},
155+
"inputs": [],
156+
"label": null,
157+
"name": "To categorical",
158+
"outputs": [
159+
{
160+
"name": "outfile",
161+
"type": "tabular"
162+
}
163+
],
164+
"position": {
165+
"left": 230,
166+
"top": 10
167+
},
168+
"post_job_actions": {},
169+
"tool_id": "toolshed.g2.bx.psu.edu/repos/bgruening/sklearn_to_categorical/sklearn_to_categorical/1.0.8.3",
170+
"tool_shed_repository": {
171+
"changeset_revision": "59e8b4328c82",
172+
"name": "sklearn_to_categorical",
173+
"owner": "bgruening",
174+
"tool_shed": "toolshed.g2.bx.psu.edu"
175+
},
176+
"tool_state": "{\"__input_ext\": \"input\", \"chromInfo\": \"/opt/galaxy/tool-data/shared/ucsc/chrom/?.len\", \"header0\": \"false\", \"infile\": null, \"num_classes\": \"10\", \"__page__\": null, \"__rerun_remap_job_id__\": null}",
177+
"tool_version": "1.0.8.3",
178+
"type": "tool",
179+
"uuid": "3aac83d4-57b8-4c08-bf23-70b667d54a10",
180+
"workflow_outputs": []
181+
},
182+
"6": {
183+
"annotation": "",
184+
"content_id": "toolshed.g2.bx.psu.edu/repos/bgruening/keras_model_builder/keras_model_builder/0.5.0",
185+
"errors": null,
186+
"id": 6,
187+
"input_connections": {
188+
"mode_selection|infile_json": {
189+
"id": 4,
190+
"output_name": "outfile"
191+
}
192+
},
193+
"inputs": [],
194+
"label": null,
195+
"name": "Create deep learning model",
196+
"outputs": [
197+
{
198+
"name": "outfile",
199+
"type": "zip"
200+
}
201+
],
202+
"position": {
203+
"left": 230,
204+
"top": 130
205+
},
206+
"post_job_actions": {},
207+
"tool_id": "toolshed.g2.bx.psu.edu/repos/bgruening/keras_model_builder/keras_model_builder/0.5.0",
208+
"tool_shed_repository": {
209+
"changeset_revision": "e3b420d0b71a",
210+
"name": "keras_model_builder",
211+
"owner": "bgruening",
212+
"tool_shed": "toolshed.g2.bx.psu.edu"
213+
},
214+
"tool_state": "{\"__input_ext\": \"input\", \"chromInfo\": \"/opt/galaxy/tool-data/shared/ucsc/chrom/?.len\", \"mode_selection\": {\"mode_type\": \"train_model\", \"__current_case__\": 0, \"infile_json\": null, \"learning_type\": \"KerasGClassifier\", \"compile_params\": {\"loss\": \"categorical_crossentropy\", \"optimizer_selection\": {\"optimizer_type\": \"Adam\", \"__current_case__\": 4, \"optimizer_options\": {\"lr\": \"0.001\", \"decay\": \"0.0\", \"beta_1\": \"0.9\", \"beta_2\": \"0.999\", \"amsgrad\": \"false\"}}, \"metrics\": [\"acc\"]}, \"fit_params\": {\"epochs\": \"10\", \"batch_size\": \"500\", \"steps_per_epoch\": null, \"validation_steps\": null, \"callbacks\": [{\"__index__\": 0, \"callback_selection\": {\"callback_type\": \"None\", \"__current_case__\": 0}}]}, \"random_seed\": null, \"get_params\": \"false\"}, \"__page__\": null, \"__rerun_remap_job_id__\": null}",
215+
"tool_version": "0.5.0",
216+
"type": "tool",
217+
"uuid": "471d5906-3c94-4a41-b0a7-938bac5f2580",
218+
"workflow_outputs": []
219+
},
220+
"7": {
221+
"annotation": "",
222+
"content_id": "toolshed.g2.bx.psu.edu/repos/bgruening/keras_train_and_eval/keras_train_and_eval/1.0.8.3",
223+
"errors": null,
224+
"id": 7,
225+
"input_connections": {
226+
"experiment_schemes|infile_estimator": {
227+
"id": 6,
228+
"output_name": "outfile"
229+
},
230+
"input_options|infile1": {
231+
"id": 0,
232+
"output_name": "output"
233+
},
234+
"input_options|infile2": {
235+
"id": 5,
236+
"output_name": "outfile"
237+
}
238+
},
239+
"inputs": [],
240+
"label": null,
241+
"name": "Deep learning training and evaluation",
242+
"outputs": [
243+
{
244+
"name": "outfile_result",
245+
"type": "tabular"
246+
},
247+
{
248+
"name": "outfile_object",
249+
"type": "zip"
250+
},
251+
{
252+
"name": "outfile_weights",
253+
"type": "h5"
254+
}
255+
],
256+
"position": {
257+
"left": 450,
258+
"top": 10
259+
},
260+
"post_job_actions": {},
261+
"tool_id": "toolshed.g2.bx.psu.edu/repos/bgruening/keras_train_and_eval/keras_train_and_eval/1.0.8.3",
262+
"tool_shed_repository": {
263+
"changeset_revision": "785dd890e27d",
264+
"name": "keras_train_and_eval",
265+
"owner": "bgruening",
266+
"tool_shed": "toolshed.g2.bx.psu.edu"
267+
},
268+
"tool_state": "{\"__input_ext\": \"input\", \"chromInfo\": \"/opt/galaxy/tool-data/shared/ucsc/chrom/?.len\", \"experiment_schemes\": {\"selected_exp_scheme\": \"train_val\", \"__current_case__\": 0, \"infile_estimator\": null, \"hyperparams_swapping\": {\"infile_params\": null, \"param_set\": []}, \"test_split\": {\"split_algos\": {\"shuffle\": \"simple\", \"__current_case__\": 1, \"test_size\": \"0.2\", \"random_state\": null}}, \"metrics\": {\"scoring\": {\"primary_scoring\": \"default\", \"__current_case__\": 0}}}, \"input_options\": {\"selected_input\": \"tabular\", \"__current_case__\": 0, \"infile1\": null, \"header1\": \"false\", \"column_selector_options_1\": {\"selected_column_selector_option\": \"all_columns\", \"__current_case__\": 4}, \"infile2\": null, \"header2\": \"false\", \"column_selector_options_2\": {\"selected_column_selector_option2\": \"all_columns\", \"__current_case__\": 4}}, \"save\": [\"save_estimator\"], \"__page__\": null, \"__rerun_remap_job_id__\": null}",
269+
"tool_version": "1.0.8.3",
270+
"type": "tool",
271+
"uuid": "bb92ab0c-7b0c-4f3d-a53c-b1227265ec85",
272+
"workflow_outputs": []
273+
},
274+
"8": {
275+
"annotation": "",
276+
"content_id": "toolshed.g2.bx.psu.edu/repos/bgruening/model_prediction/model_prediction/1.0.8.3",
277+
"errors": null,
278+
"id": 8,
279+
"input_connections": {
280+
"infile_estimator": {
281+
"id": 7,
282+
"output_name": "outfile_object"
283+
},
284+
"infile_weights": {
285+
"id": 7,
286+
"output_name": "outfile_weights"
287+
},
288+
"input_options|infile1": {
289+
"id": 2,
290+
"output_name": "output"
291+
}
292+
},
293+
"inputs": [],
294+
"label": null,
295+
"name": "Model Prediction",
296+
"outputs": [
297+
{
298+
"name": "outfile_predict",
299+
"type": "tabular"
300+
}
301+
],
302+
"position": {
303+
"left": 670,
304+
"top": 10
305+
},
306+
"post_job_actions": {},
307+
"tool_id": "toolshed.g2.bx.psu.edu/repos/bgruening/model_prediction/model_prediction/1.0.8.3",
308+
"tool_shed_repository": {
309+
"changeset_revision": "22f9cbcf1582",
310+
"name": "model_prediction",
311+
"owner": "bgruening",
312+
"tool_shed": "toolshed.g2.bx.psu.edu"
313+
},
314+
"tool_state": "{\"__input_ext\": \"input\", \"chromInfo\": \"/opt/galaxy/tool-data/shared/ucsc/chrom/?.len\", \"infile_estimator\": null, \"infile_weights\": null, \"input_options\": {\"selected_input\": \"tabular\", \"__current_case__\": 0, \"infile1\": null, \"header1\": \"false\", \"column_selector_options_1\": {\"selected_column_selector_option\": \"all_columns\", \"__current_case__\": 4}}, \"method\": \"predict\", \"__page__\": null, \"__rerun_remap_job_id__\": null}",
315+
"tool_version": "1.0.8.3",
316+
"type": "tool",
317+
"uuid": "0ee70cec-d22c-41d3-abf4-541d8f81df6d",
318+
"workflow_outputs": []
319+
},
320+
"9": {
321+
"annotation": "",
322+
"content_id": "toolshed.g2.bx.psu.edu/repos/bgruening/ml_visualization_ex/ml_visualization_ex/1.0.8.3",
323+
"errors": null,
324+
"id": 9,
325+
"input_connections": {
326+
"plotting_selection|infile_predicted": {
327+
"id": 8,
328+
"output_name": "outfile_predict"
329+
},
330+
"plotting_selection|infile_true": {
331+
"id": 3,
332+
"output_name": "output"
333+
}
334+
},
335+
"inputs": [],
336+
"label": null,
337+
"name": "Machine Learning Visualization Extension",
338+
"outputs": [
339+
{
340+
"name": "output",
341+
"type": "html"
342+
}
343+
],
344+
"position": {
345+
"left": 890,
346+
"top": 10
347+
},
348+
"post_job_actions": {},
349+
"tool_id": "toolshed.g2.bx.psu.edu/repos/bgruening/ml_visualization_ex/ml_visualization_ex/1.0.8.3",
350+
"tool_shed_repository": {
351+
"changeset_revision": "14bd6d59650d",
352+
"name": "ml_visualization_ex",
353+
"owner": "bgruening",
354+
"tool_shed": "toolshed.g2.bx.psu.edu"
355+
},
356+
"tool_state": "{\"__input_ext\": \"input\", \"chromInfo\": \"/opt/galaxy/tool-data/shared/ucsc/chrom/?.len\", \"plotting_selection\": {\"plot_type\": \"classification_confusion_matrix\", \"__current_case__\": 6, \"infile_true\": null, \"header_true\": \"false\", \"column_selector_options_true\": {\"selected_column_selector_option\": \"all_columns\", \"__current_case__\": 4}, \"infile_predicted\": null, \"header_predicted\": \"true\", \"title\": \"Confusion matrix between true and predicted labels\", \"plot_format\": \"png\", \"plot_color\": \"Greens\"}, \"__page__\": null, \"__rerun_remap_job_id__\": null}",
357+
"tool_version": "1.0.8.3",
358+
"type": "tool",
359+
"uuid": "d52fba8b-9eca-4fa8-af85-3a17ddd9530c",
360+
"workflow_outputs": []
361+
}
362+
},
363+
"tags": [
364+
"statistics"
365+
],
366+
"uuid": "dd391259-c91b-43a0-af66-25d1df37d832",
367+
"version": 0
368+
}

0 commit comments

Comments
 (0)