Skip to content

Commit d796daa

Browse files
committed
Improvements to workflow presentation.
1 parent 15ae843 commit d796daa

3 files changed

Lines changed: 132 additions & 21 deletions

File tree

docs/presentations/2016_workflows.html

Lines changed: 63 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -159,15 +159,13 @@
159159
background: #FFFFFF
160160
background-repeat: no-repeat
161161

162-
### So Planemo?
163-
164162
.photo-credit[Photo Credit:
165163

166164
*Peter Smith (@skwiot)*]
167165

168166
---
169167

170-
class: large
168+
class: larger
171169

172170
### Workflows are Programs
173171

@@ -341,11 +339,12 @@
341339
state:
342340
infile:
343341
$link: input1
344-
code: "s/ World//g"
342+
code: "s/ World//g"
345343
- id: sort
346344
tool_id: tp_sort_header_tool
347345
state:
348-
infile: sed#output
346+
infile:
347+
$link: sed#output
349348
style: h #Human readable
350349
```
351350

@@ -461,17 +460,34 @@
461460

462461
### Generalized Test Format
463462

464-
Test any aritfact (Galaxy Tool, Galaxy Workflow, CWL Tool, CWL
463+
Test any artifact (Galaxy Tool, Galaxy Workflow, CWL Tool, CWL
465464
Workflow) - using the same YAML-based scheme and format.
466465

467-
If workflow is `my_workflow.ga`, place an aritfact named
466+
If workflow is `my_workflow.ga`, place an artifact named
468467
`my_workflow-test.yml` in the same directory.
469468

470469
```
471470
planemo test my_workflow.ga
472471
```
473472

474-
Will detect this aritfact and run the tests in this YAML file.
473+
Will detect this artifact and run the tests in this YAML file.
474+
475+
---
476+
477+
```yaml
478+
- doc: Simple test over text tools.
479+
job:
480+
input1:
481+
class: File
482+
path: hello.txt
483+
outputs:
484+
wf_output_1:
485+
checksum: sha1$2ef7bde608ce5404e97d5f042f95f89f1c232871
486+
wf_output_2:
487+
file: output1.txt
488+
compare: diff
489+
lines_diff: 2
490+
```
475491

476492
---
477493

@@ -518,6 +534,8 @@
518534

519535
```
520536
$ planemo serve --cwl <tool.cwl>
537+
$ planemo test <tool.cwl>
538+
$ planemo run <tool.cwl> <job.json>
521539
```
522540

523541
When `serve`, `test`, `run` encounter CWL tools they will use a Galaxy fork.
@@ -597,8 +615,6 @@
597615
]]
598616

599617
---
600-
class: large
601-
602618

603619
### CWL and `lint`
604620

@@ -629,6 +645,43 @@
629645

630646
Tool test output HTML is produced in the file `tool_test_output.html`.
631647

648+
---
649+
650+
class: inverse
651+
background-color: black
652+
653+
### Thanks
654+
655+
.pull-left[
656+
- *Planemo contributors*
657+
- Galaxy team & IUC
658+
- Common Workflow Language group
659+
- Everyone that has ever built something cool with Planemo or Galaxy workflows
660+
]
661+
.smaller.pull-right[- *Eric Rasche*
662+
- *Martin Cech*
663+
- *Peter Cock*
664+
- *Daniel Blankenberg*
665+
- *Björn Grüning*
666+
- *Dave Bouvier*
667+
- *Kyle Ellrott*
668+
- *Nate Coraor*
669+
- *Dannon Baker*
670+
- *Marius van den Beek*
671+
- *Lance Parsons*
672+
- *Nicola Soranzo*
673+
- *Dannon Baker*
674+
- *James Taylor*
675+
- *Mark Einon*
676+
- *Michael R. Crusoe*
677+
- *Peter van Heusden*
678+
- *Rémi Marenco*
679+
- *Matt Chambers*
680+
- *Gildas Le Corguillé*
681+
- *Nitesh Turaga*
682+
]
683+
684+
--- **
632685

633686
</textarea>
634687
<script src="https://gnab.github.io/remark/downloads/remark-latest.min.js">

docs/presentations/2016_workflows.md

Lines changed: 65 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -145,15 +145,13 @@ background-image: url(images/organic_mower_wat.jpg)
145145
background: #FFFFFF
146146
background-repeat: no-repeat
147147

148-
### So Planemo?
149-
150148
.photo-credit[Photo Credit:
151149

152150
*Peter Smith (@skwiot)*]
153151

154152
---
155153

156-
class: large
154+
class: larger
157155

158156
### Workflows are Programs
159157

@@ -327,18 +325,19 @@ steps:
327325
state:
328326
infile:
329327
$link: input1
330-
code: "s/ World//g"
328+
code: "s/ World//g"
331329
- id: sort
332330
tool_id: tp_sort_header_tool
333331
state:
334-
infile: sed#output
332+
infile:
333+
$link: sed#output
335334
style: h #Human readable
336335
```
337336

338337
---
339338
class: large
340339

341-
### Another Aside - gxformat2
340+
### Aside - gxformat2
342341

343342
```
344343
pip install gxformat2
@@ -447,17 +446,34 @@ class: large
447446

448447
### Generalized Test Format
449448

450-
Test any aritfact (Galaxy Tool, Galaxy Workflow, CWL Tool, CWL
449+
Test any artifact (Galaxy Tool, Galaxy Workflow, CWL Tool, CWL
451450
Workflow) - using the same YAML-based scheme and format.
452451

453-
If workflow is `my_workflow.ga`, place an aritfact named
452+
If workflow is `my_workflow.ga`, place an artifact named
454453
`my_workflow-test.yml` in the same directory.
455454

456455
```
457456
planemo test my_workflow.ga
458457
```
459458

460-
Will detect this aritfact and run the tests in this YAML file.
459+
Will detect this artifact and run the tests in this YAML file.
460+
461+
---
462+
463+
```yaml
464+
- doc: Simple test over text tools.
465+
job:
466+
input1:
467+
class: File
468+
path: hello.txt
469+
outputs:
470+
wf_output_1:
471+
checksum: sha1$2ef7bde608ce5404e97d5f042f95f89f1c232871
472+
wf_output_2:
473+
file: output1.txt
474+
compare: diff
475+
lines_diff: 2
476+
```
461477
462478
---
463479
@@ -504,6 +520,8 @@ class: large
504520

505521
```
506522
$ planemo serve --cwl <tool.cwl>
523+
$ planemo test <tool.cwl>
524+
$ planemo run <tool.cwl> <job.json>
507525
```
508526

509527
When `serve`, `test`, `run` encounter CWL tools they will use a Galaxy fork.
@@ -583,8 +601,6 @@ Generates:
583601
]]
584602

585603
---
586-
class: large
587-
588604

589605
### CWL and `lint`
590606

@@ -614,3 +630,41 @@ $ planemo t --engine_type=cwltool \
614630
```
615631
616632
Tool test output HTML is produced in the file `tool_test_output.html`.
633+
634+
---
635+
636+
class: inverse
637+
background-color: black
638+
639+
### Thanks
640+
641+
.pull-left[
642+
- *Planemo contributors*
643+
- Galaxy team & IUC
644+
- Common Workflow Language group
645+
- Everyone that has ever built something cool with Planemo or Galaxy workflows
646+
]
647+
.smaller.pull-right[- *Eric Rasche*
648+
- *Martin Cech*
649+
- *Peter Cock*
650+
- *Daniel Blankenberg*
651+
- *Björn Grüning*
652+
- *Dave Bouvier*
653+
- *Kyle Ellrott*
654+
- *Nate Coraor*
655+
- *Dannon Baker*
656+
- *Marius van den Beek*
657+
- *Lance Parsons*
658+
- *Nicola Soranzo*
659+
- *Dannon Baker*
660+
- *James Taylor*
661+
- *Mark Einon*
662+
- *Michael R. Crusoe*
663+
- *Peter van Heusden*
664+
- *Rémi Marenco*
665+
- *Matt Chambers*
666+
- *Gildas Le Corguillé*
667+
- *Nitesh Turaga*
668+
]
669+
670+
--- **

docs/presentations/style.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ a, a > code {
9999
color: #ffffff;
100100
}
101101

102+
hr {
103+
display: none;
104+
}
105+
102106
.white {
103107
background-color: #fff;
104108
background-repeat: no-repeat;

0 commit comments

Comments
 (0)