forked from CancerCollaboratory/dockstore-tool-bamstats
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockstore2.cwl
52 lines (43 loc) · 1.04 KB
/
Dockstore2.cwl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#!/usr/bin/env cwl-runner
class: CommandLineTool
id: "BAMStats - Sort demo"
label: "BAMStats tool - Sort demo"
cwlVersion: v1.0
doc: |
This demonstrates an alternate descriptor to Dockstore.cwl
A Docker container for the sort command using a container shared with bamstats.
dct:creator:
"@id": "http://orcid.org/0000-0002-7681-6415"
foaf:name: Brian O'Connor
foaf:mbox: "mailto:briandoconnor@gmail.com"
requirements:
- class: DockerRequirement
dockerPull: "quay.io/collaboratory/dockstore-tool-bamstats:1.25-7"
inputs:
input:
type:
type: array
items: File
inputBinding:
position: 4
output:
type: string
key:
type:
type: array
items: string
inputBinding:
prefix: "-k"
inputBinding:
position: 1
description: |
-k, --key=POS1[,POS2]
start a key at POS1, end it at POS2 (origin 1)
stdout: $(inputs.output)
outputs:
sorted:
type: File
description: "The sorted file"
outputBinding:
glob: $(inputs.output)
baseCommand: ["sort"]