-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockstore.cwl
42 lines (35 loc) · 906 Bytes
/
Dockstore.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
#!/usr/bin/env cwl-runner
dct:creator:
foaf:name: "Dockstore Test User"
foaf:mbox: "[email protected]"
class: CommandLineTool
id: Md5sum
label: Simple md5sum tool
cwlVersion: v1.0
$namespaces:
dct: http://purl.org/dc/terms/
foaf: http://xmlns.com/foaf/0.1/
requirements:
- class: DockerRequirement
dockerPull: quay.io/agduncan94/my-md5sum
- class: InlineJavascriptRequirement
hints:
- class: ResourceRequirement
# The command really requires very little resources.
coresMin: 1
ramMin: 1024
outdirMin: 512
inputs:
input_file:
type: File
inputBinding:
position: 1
doc: The file that will have its md5sum calculated.
outputs:
output_file:
type: File
format: http://edamontology.org/data_3671
outputBinding:
glob: md5sum.txt
doc: A text file that contains a single line that is the md5sum of the input file.
baseCommand: [/bin/my_md5sum]