Skip to content

Commit 862c0f2

Browse files
author
Toby Hodges
committed
propagated @mr-c's stylistic changes to metadata_example.cwl
1 parent 99efc30 commit 862c0f2

File tree

2 files changed

+18
-32
lines changed

2 files changed

+18
-32
lines changed

_includes/cwl/metadata_example2.cwl

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,27 @@
11
#!/usr/bin/env cwl-runner
2-
3-
class: CommandLineTool
4-
id: Example tool
5-
label: Example tool
62
cwlVersion: v1.0
7-
doc: |
8-
An example tool demonstrating metadata. Note that this is an example and the metadata is not necessarily consistent.
3+
class: CommandLineTool
4+
5+
label: An example tool demonstrating metadata. Note that this is an example and the metadata is not necessarily consistent.
96

10-
requirements:
11-
- class: ShellCommandRequirement
127

138
inputs:
14-
bam_input:
9+
aligned_sequences:
1510
type: File
16-
doc: The BAM file used as input
11+
label: Aligned sequences in BAM format
1712
format: edam:format_2572
1813
inputBinding:
1914
position: 1
2015

16+
baseCommand: [ wc, -l ]
17+
2118
stdout: output.txt
2219

2320
outputs:
2421
report:
25-
type: File
22+
type: stdout
2623
format: edam:format_1964
27-
outputBinding:
28-
glob: "*.txt"
29-
doc: A text file that contains a line count
30-
31-
baseCommand: ["wc", "-l"]
24+
label: A text file that contains a line count
3225

3326
$namespaces:
3427
s: https://schema.org/

_includes/cwl/metadata_example3.cwl

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,31 @@
11
#!/usr/bin/env cwl-runner
2-
3-
class: CommandLineTool
4-
id: Example tool
5-
label: Example tool
62
cwlVersion: v1.0
7-
doc: |
8-
An example tool demonstrating metadata. Note that this is an example and the metadata is not necessarily consistent.
3+
class: CommandLineTool
4+
5+
label: An example tool demonstrating metadata. Note that this is an example and the metadata is not necessarily consistent.
96

10-
requirements:
11-
- class: ShellCommandRequirement
127

138
hints:
149
- class: ResourceRequirement
1510
coresMin: 4
1611

1712
inputs:
18-
bam_input:
13+
aligned_sequences:
1914
type: File
20-
doc: The BAM file used as input
15+
label: Aligned sequences in BAM format
2116
format: edam:format_2572
2217
inputBinding:
2318
position: 1
2419

20+
baseCommand: [ wc, -l ]
21+
2522
stdout: output.txt
2623

2724
outputs:
2825
report:
29-
type: File
26+
type: stdout
3027
format: edam:format_1964
31-
outputBinding:
32-
glob: "*.txt"
33-
doc: A text file that contains a line count
34-
35-
baseCommand: ["wc", "-l"]
28+
label: A text file that contains a line count
3629

3730
$namespaces:
3831
- s: https://schema.org/

0 commit comments

Comments
 (0)