File tree Expand file tree Collapse file tree 21 files changed +35
-28
lines changed Expand file tree Collapse file tree 21 files changed +35
-28
lines changed Original file line number Diff line number Diff line change @@ -379,6 +379,13 @@ $graph:
379
379
indicate whether it is valid to stream file contents using a named
380
380
pipe. Default: `false`.
381
381
382
+ - name : doc
383
+ type :
384
+ - string?
385
+ - string[]?
386
+ doc : " A documentation string for this type, or an array of strings which should be concatenated."
387
+ jsonldPredicate : " rdfs:comment"
388
+
382
389
383
390
- type : enum
384
391
name : Expression
Original file line number Diff line number Diff line change 2
2
{
3
3
"class" : "CommandLineTool" ,
4
4
"cwlVersion" : "v1. 0. dev4" ,
5
- "description " : "Print the contents of a file to stdout using 'cat' running in a docker container. " ,
5
+ "doc " : "Print the contents of a file to stdout using 'cat' running in a docker container. " ,
6
6
"inputs" : [
7
7
{
8
8
"id" : "file1" ,
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env cwl-runner
2
2
cwlVersion: v1.0.dev4
3
3
class: CommandLineTool
4
- description : "Print the contents of a file to stdout using 'cat' running in a docker container. "
4
+ doc : "Print the contents of a file to stdout using 'cat' running in a docker container. "
5
5
hints :
6
6
DockerRequirement:
7
7
dockerPull: debian:wheezy
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env cwl-runner
2
2
class: CommandLineTool
3
3
cwlVersion: v1.0.dev4
4
- description : "Print the contents of a file to stdout using 'cat' running in a docker container. "
4
+ doc : "Print the contents of a file to stdout using 'cat' running in a docker container. "
5
5
hints :
6
6
DockerRequirement:
7
7
dockerPull: debian:wheezy
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env cwl-runner
2
2
class: CommandLineTool
3
3
cwlVersion: v1.0.dev4
4
- description : "Print the contents of a file to stdout using 'cat' running in a docker container. "
4
+ doc : "Print the contents of a file to stdout using 'cat' running in a docker container. "
5
5
hints :
6
6
DockerRequirement:
7
7
dockerPull: debian:wheezy
8
8
inputs :
9
9
file1:
10
10
type : File
11
11
label : Input File
12
- description : "The file that will be copied using 'cat'"
12
+ doc : "The file that will be copied using 'cat'"
13
13
inputBinding : {position : 1}
14
14
outputs :
15
15
output_file:
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env cwl-runner
2
2
class: CommandLineTool
3
3
cwlVersion: v1.0.dev4
4
- description : "Print the contents of a file to stdout using 'cat' running in a docker container. "
4
+ doc : "Print the contents of a file to stdout using 'cat' running in a docker container. "
5
5
hints :
6
6
DockerRequirement:
7
7
dockerPull: debian:wheezy
8
8
inputs :
9
9
file1:
10
10
type : File
11
11
label : Input File
12
- description : "The file that will be copied using 'cat'"
12
+ doc : "The file that will be copied using 'cat'"
13
13
inputBinding : {position : 1}
14
14
outputs :
15
15
output_file:
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env cwl-runner
2
2
class: CommandLineTool
3
3
cwlVersion: v1.0.dev4
4
- description : "Print the contents of a file to stdout using 'cat' running in a docker container. "
4
+ doc : "Print the contents of a file to stdout using 'cat' running in a docker container. "
5
5
hints :
6
6
DockerRequirement:
7
7
dockerPull: debian:wheezy
8
8
inputs :
9
9
file1:
10
10
type : File
11
11
label : Input File
12
- description : "The file that will be copied using 'cat'"
12
+ doc : "The file that will be copied using 'cat'"
13
13
inputBinding : {position : 1}
14
14
outputs :
15
15
output_file:
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env cwl-runner
2
2
class: CommandLineTool
3
3
cwlVersion: v1.0.dev4
4
- description : "Print the contents of a file to stdout using 'cat' running in a docker container. "
4
+ doc : "Print the contents of a file to stdout using 'cat' running in a docker container. "
5
5
hints :
6
6
DockerRequirement:
7
7
dockerPull: debian:wheezy
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env cwl-runner
2
2
cwlVersion: v1.0.dev4
3
3
class: CommandLineTool
4
- description : "Print the contents of a file to stdout using 'cat' running in a docker container. "
4
+ doc : "Print the contents of a file to stdout using 'cat' running in a docker container. "
5
5
hints :
6
6
DockerRequirement:
7
7
dockerPull: "debian:wheezy"
@@ -11,7 +11,7 @@ inputs:
11
11
file1:
12
12
type : File
13
13
label : "Input File"
14
- description : "The file that will be copied using 'cat'"
14
+ doc : "The file that will be copied using 'cat'"
15
15
inputBinding : {position : 1}
16
16
outputs :
17
17
output_file:
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env cwl-runner
2
2
class: CommandLineTool
3
3
cwlVersion: v1.0.dev4
4
- description : "Test of capturing stderr output in a docker container. "
4
+ doc : "Test of capturing stderr output in a docker container. "
5
5
hints :
6
6
DockerRequirement:
7
7
dockerPull: debian:wheezy
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env cwl-runner
2
2
class: CommandLineTool
3
3
cwlVersion: v1.0.dev4
4
- description : "Test of capturing stderr output in a docker container. "
4
+ doc : "Test of capturing stderr output in a docker container. "
5
5
hints :
6
6
DockerRequirement:
7
7
dockerPull: debian:wheezy
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env cwl-runner
2
2
class: CommandLineTool
3
3
cwlVersion: v1.0.dev4
4
- description : "Test of capturing stderr output in a docker container. "
4
+ doc : "Test of capturing stderr output in a docker container. "
5
5
hints :
6
6
DockerRequirement:
7
7
dockerPull: debian:wheezy
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ $namespaces:
2
2
edam: "http://edamontology. org/"
3
3
cwlVersion: v1.0.dev4
4
4
class: CommandLineTool
5
- description : "Reverse each line using the `rev` command"
5
+ doc : "Reverse each line using the `rev` command"
6
6
inputs :
7
7
input:
8
8
type : File
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ $schemas:
4
4
- EDAM.owl
5
5
class: CommandLineTool
6
6
cwlVersion: v1.0.dev4
7
- description : "Reverse each line using the `rev` command"
7
+ doc : "Reverse each line using the `rev` command"
8
8
9
9
inputs :
10
10
input:
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ $schemas:
6
6
- gx_edam.ttl
7
7
class: CommandLineTool
8
8
cwlVersion: v1.0.dev4
9
- description : "Reverse each line using the `rev` command"
9
+ doc : "Reverse each line using the `rev` command"
10
10
11
11
inputs :
12
12
input:
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ $schemas:
8
8
9
9
cwlVersion: v1.0.dev4
10
10
class: CommandLineTool
11
- description : "Print the contents of a file to stdout using 'cat' running in a docker container. "
11
+ doc : "Print the contents of a file to stdout using 'cat' running in a docker container. "
12
12
13
13
dct:creator:
14
14
id : "http://orcid. org/0000-0003-3566-7705"
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env cwl-runner
2
2
class: CommandLineTool
3
3
cwlVersion: "v1.0.dev4 "
4
- description : "Print the contents of a file to stdout using 'cat' running in a docker container. "
4
+ doc : "Print the contents of a file to stdout using 'cat' running in a docker container. "
5
5
hints :
6
6
DockerRequirement:
7
7
dockerPull: debian:wheezy
8
8
inputs :
9
9
file1:
10
10
type : File
11
11
label : Input File
12
- description : "The file that will be copied using 'cat'"
12
+ doc : "The file that will be copied using 'cat'"
13
13
inputBinding : {position : 1}
14
14
outputs :
15
15
output_file:
Original file line number Diff line number Diff line change 2
2
# This is a two-step workflow which uses "revtool" and "sorttool" defined above.
3
3
#
4
4
class: Workflow
5
- description : "Reverse the lines in a document, then sort those lines. "
5
+ doc : "Reverse the lines in a document, then sort those lines. "
6
6
cwlVersion: v1.0.dev4
7
7
8
8
# Requirements & hints specify prerequisites and extensions to the workflow.
@@ -22,11 +22,11 @@ hints:
22
22
inputs :
23
23
input:
24
24
type : File
25
- description : "The input file to be processed. "
25
+ doc : "The input file to be processed. "
26
26
reverse_sort:
27
27
type : boolean
28
28
default : true
29
- description : "If true, reverse (decending) sort"
29
+ doc : "If true, reverse (decending) sort"
30
30
31
31
# The "outputs" array defines the structure of the output object that describes
32
32
# the outputs of the workflow.
@@ -38,7 +38,7 @@ outputs:
38
38
output:
39
39
type : File
40
40
outputSource : sorted/output
41
- description : "The output with the lines reversed and sorted. "
41
+ doc : "The output with the lines reversed and sorted. "
42
42
43
43
# The "steps" array lists the executable steps that make up the workflow.
44
44
# The tool to execute each step is listed in the "run" field.
Original file line number Diff line number Diff line change 3
3
#
4
4
class: CommandLineTool
5
5
cwlVersion: v1.0.dev4
6
- description : "Reverse each line using the `rev` command"
6
+ doc : "Reverse each line using the `rev` command"
7
7
8
8
# The "inputs" array defines the structure of the input object that describes
9
9
# the inputs to the underlying program. Here, there is one input field
Original file line number Diff line number Diff line change 1
1
class: CommandLineTool
2
2
cwlVersion: v1.0.dev4
3
- description : "Reverse each line using the `rev` command then sort. "
3
+ doc : "Reverse each line using the `rev` command then sort. "
4
4
requirements :
5
5
- class: ShellCommandRequirement
6
6
inputs :
Original file line number Diff line number Diff line change 1
1
# Example command line program wrapper for the Unix tool "sort"
2
2
# demonstrating command line flags.
3
3
class: CommandLineTool
4
- description : "Sort lines using the `sort` command"
4
+ doc : "Sort lines using the `sort` command"
5
5
cwlVersion: v1.0.dev4
6
6
7
7
# This example is similar to the previous one, with an additional input
You can’t perform that action at this time.
0 commit comments