@@ -51,11 +51,13 @@ new tool form presented last year.
5151---
5252
5353class: center
54+ background-image: url(images/gx_new_run_workflow.png)
55+ background-repeat: no-repeat
56+ background-size: contain
57+ background-position: center
5458
5559### GUI Enhancements - Workflow Run Form
5660
57- ![ Workflow Run Form] ( images/gx_new_run_workflow.png )
58-
5961???
6062
6163The run workflow form has likewise been overhauled and will be merged soon. This
@@ -201,7 +203,7 @@ $ planemo s --extra_tools <tool_dir>
201203Supply as many tools as you want.
202204
203205---
204- class: large
206+ class: larger
205207
206208### Workflows are harder to serve than tools
207209
@@ -292,11 +294,11 @@ class: large
292294
293295Doesn't Galaxy have a JSON workflow format?
294296
295- ```json
297+ .code[ ```json
296298"tool_state": "{\"__page__\": 0, \"__rerun_remap_job_id__\": null,
297299\"input1\": \"null\", \"chromInfo\": \"\\\"/home/john/workspace/galaxy-central/tool-data/shared/ucsc/chrom/?.len\\\"\",
298300\"queries\": \"[{\\\"input2\\\": null, \\\"__index__\\\": 0}]\"}",
299- ```
301+ ```]
300302
301303- Neither human writable, nor human readable.
302304- JSON doesn't allow comments.
@@ -365,17 +367,67 @@ pip install emphemeris
365367- Github @ https://github.com/galaxyproject/emphemeris
366368
367369---
368- class: large
370+ class: smaller
369371
370372### Format 2 Workflows - Composition Example
371373
372- TODO: Show a subworkflow example.
374+ ``` yaml
375+ class : GalaxyWorkflow
376+ inputs :
377+ - id : outer_input
378+ steps :
379+ - tool_id : cat1
380+ label : first_cat
381+ state :
382+ input1 : {$link: outer_input}
383+ - run :
384+ class : GalaxyWorkflow
385+ inputs :
386+ - id : inner_input
387+ outputs :
388+ - id : workflow_output
389+ source : random_lines#out_file1
390+ steps :
391+ - tool_id : random_lines1
392+ label : random_lines
393+ state :
394+ num_lines : 1
395+ input : {$link: inner_input}
396+ seed_source :
397+ seed_source_selector : set_seed
398+ seed : asdf
399+ label : nested_workflow
400+ connect :
401+ inner_input : first_cat#out_file1
402+ ...
403+ ```
373404
374405---
375406
407+ class: smaller
408+
376409### Format 2 Workflows - Implicit Connections Example
377410
378- TODO: Show a data manager example.
411+ ``` yaml
412+ class : GalaxyWorkflow
413+ name : " Indexing Workflow"
414+ inputs :
415+ - id : fasta
416+ - id : reads
417+ steps :
418+ - label : create_index
419+ tool_id : example_data_manager
420+ state :
421+ sequences :
422+ $link : fasta
423+ - label : run_mapper
424+ tool_id : example_mapper
425+ connect :
426+ $step : create_index
427+ state :
428+ input1 :
429+ $link : reads
430+ ` ` `
379431
380432---
381433class: large
@@ -411,16 +463,17 @@ Will detect this aritfact and run the tests in this YAML file.
411463
412464### Run Workflows
413465
466+ ```
467+ $ planemo run <workflow> <job.json>
468+ ```
469+
414470---
415471
416- class: large, bottom
417- layout: false
472+ class: large, bottom, white
418473background-image: url(images/CWL-Logo-HD.png)
419474background-repeat: no-repeat
420475background-size: contain
421476
422- ### .
423-
424477---
425478
426479layout: true
0 commit comments