Mercurial > repos > shellac > sam_consensus_v3
comparison env/lib/python3.9/site-packages/cwltool/tests/wf/directory.cwl @ 0:4f3585e2f14b draft default tip
"planemo upload commit 60cee0fc7c0cda8592644e1aad72851dec82c959"
| author | shellac |
|---|---|
| date | Mon, 22 Mar 2021 18:12:50 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:4f3585e2f14b |
|---|---|
| 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 |
