Mercurial > repos > guerler > springsuite
comparison planemo/lib/python3.7/site-packages/cwltool/tests/wf/directory.cwl @ 0:d30785e31577 draft
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
author | guerler |
---|---|
date | Fri, 31 Jul 2020 00:18:57 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:d30785e31577 |
---|---|
1 #!/usr/bin/env cwl-runner | |
2 cwlVersion: v1.0 | |
3 class: Workflow | |
4 | |
5 doc: > | |
6 Inspect provided directory and return filenames. | |
7 Generate a new directory and return it (including content). | |
8 | |
9 hints: | |
10 - class: DockerRequirement | |
11 dockerPull: debian:8 | |
12 | |
13 inputs: | |
14 dir: | |
15 type: Directory | |
16 | |
17 steps: | |
18 ls: | |
19 in: | |
20 dir: dir | |
21 out: | |
22 [listing] | |
23 run: | |
24 class: CommandLineTool | |
25 baseCommand: ls | |
26 inputs: | |
27 dir: | |
28 type: Directory | |
29 inputBinding: | |
30 position: 1 | |
31 outputs: | |
32 listing: | |
33 type: stdout | |
34 | |
35 generate: | |
36 in: [] | |
37 out: | |
38 [dir1] | |
39 run: | |
40 class: CommandLineTool | |
41 requirements: | |
42 - class: ShellCommandRequirement | |
43 arguments: | |
44 - shellQuote: false | |
45 valueFrom: > | |
46 pwd; | |
47 mkdir -p dir1/a/b; | |
48 echo -n a > dir1/a.txt; | |
49 echo -n b > dir1/a/b.txt; | |
50 echo -n c > dir1/a/b/c.txt; | |
51 inputs: [] | |
52 outputs: | |
53 dir1: | |
54 type: Directory | |
55 outputBinding: | |
56 glob: "dir1" | |
57 | |
58 outputs: | |
59 listing: | |
60 type: File | |
61 outputSource: ls/listing | |
62 dir1: | |
63 type: Directory | |
64 outputSource: generate/dir1 | |
65 |