comparison env/lib/python3.9/site-packages/cwltool/tests/wf/expect_packed.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 {
3 "$graph": [
4 {
5 "class": "Workflow",
6 "doc": "Reverse the lines in a document, then sort those lines.",
7 "hints": [
8 {
9 "class": "DockerRequirement",
10 "dockerPull": "debian:8"
11 }
12 ],
13 "inputs": [
14 {
15 "type": "boolean",
16 "default": true,
17 "doc": "If true, reverse (decending) sort",
18 "id": "#main/reverse_sort"
19 },
20 {
21 "type": "File",
22 "doc": "The input file to be processed.",
23 "format": "https://www.iana.org/assignments/media-types/text/plain",
24 "default": {
25 "class": "File",
26 "location": "hello.txt"
27 },
28 "id": "#main/workflow_input"
29 }
30 ],
31 "outputs": [
32 {
33 "type": "File",
34 "outputSource": "#main/sorted/sorted_output",
35 "doc": "The output with the lines reversed and sorted.",
36 "id": "#main/sorted_output"
37 }
38 ],
39 "steps": [
40 {
41 "in": [
42 {
43 "source": "#main/workflow_input",
44 "id": "#main/rev/revtool_input"
45 }
46 ],
47 "out": [
48 "#main/rev/revtool_output"
49 ],
50 "run": "#revtool.cwl",
51 "id": "#main/rev"
52 },
53 {
54 "in": [
55 {
56 "source": "#main/reverse_sort",
57 "id": "#main/sorted/reverse"
58 },
59 {
60 "source": "#main/rev/revtool_output",
61 "id": "#main/sorted/sorted_input"
62 }
63 ],
64 "out": [
65 "#main/sorted/sorted_output"
66 ],
67 "run": "#sorttool.cwl",
68 "id": "#main/sorted"
69 }
70 ],
71 "id": "#main",
72 "$namespaces": {
73 "iana": "https://www.iana.org/assignments/media-types/"
74 }
75 },
76 {
77 "class": "CommandLineTool",
78 "doc": "Reverse each line using the `rev` command",
79 "inputs": [
80 {
81 "type": "File",
82 "inputBinding": {},
83 "id": "#revtool.cwl/revtool_input"
84 }
85 ],
86 "outputs": [
87 {
88 "type": "File",
89 "outputBinding": {
90 "glob": "output.txt"
91 },
92 "id": "#revtool.cwl/revtool_output"
93 }
94 ],
95 "baseCommand": "rev",
96 "stdout": "output.txt",
97 "id": "#revtool.cwl"
98 },
99 {
100 "class": "CommandLineTool",
101 "doc": "Sort lines using the `sort` command",
102 "inputs": [
103 {
104 "id": "#sorttool.cwl/reverse",
105 "type": "boolean",
106 "inputBinding": {
107 "position": 1,
108 "prefix": "--reverse"
109 }
110 },
111 {
112 "id": "#sorttool.cwl/sorted_input",
113 "type": "File",
114 "inputBinding": {
115 "position": 2
116 }
117 }
118 ],
119 "outputs": [
120 {
121 "id": "#sorttool.cwl/sorted_output",
122 "type": "File",
123 "outputBinding": {
124 "glob": "output.txt"
125 }
126 }
127 ],
128 "baseCommand": "sort",
129 "stdout": "output.txt",
130 "id": "#sorttool.cwl"
131 }
132 ],
133 "cwlVersion": "v1.0",
134 "$schemas": [
135 "empty.ttl",
136 "empty2.ttl"
137 ]
138 }