-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathbbbcdownload.cwl
61 lines (51 loc) · 1.82 KB
/
bbbcdownload.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
53
54
55
56
57
58
59
60
61
class: CommandLineTool
cwlVersion: v1.1
label: BBBC Download
doc: |-
Downloads the datasets on the Broad Bioimage Benchmark Collection website
https://github.com/saketprem/polus-plugins/tree/bbbc_download/utils/bbbc-download-plugin
# See https://github.com/PolusAI/workflow-inference-compiler/blob/master/docker_remove_entrypoints.py
baseCommand: python3
arguments: ["-m", "polus.plugins.utils.bbbc_download"]
requirements:
DockerRequirement:
dockerPull: polusai/bbbc-download-plugin:0.1.0-dev1
# See https://www.commonwl.org/v1.0/CommandLineTool.html#InitialWorkDirRequirement
InitialWorkDirRequirement:
listing:
- entry: $(inputs.outDir)
writable: true # Output directories must be writable
InlineJavascriptRequirement: {}
# NOTE: By default, "tools must not assume network access, except for localhost"
# See https://www.commonwl.org/v1.1/CommandLineTool.html#NetworkAccess
NetworkAccess:
networkAccess: true
inputs:
name:
label: The name of the dataset(s) to be downloaded (separate the datasets with a comma. eg BBBC001,BBBC002,BBBC003)
doc: |-
The name of the dataset(s) to be downloaded (separate the datasets with a comma. eg BBBC001,BBBC002,BBBC003)
inputBinding:
prefix: --name
type: string
# default: BBBC001
outDir:
label: Output collection
doc: |-
Output collection
inputBinding:
prefix: --outDir
type: Directory
outputs:
outDir:
label: Output collection
doc: |-
Output collection
type: Directory
outputBinding:
glob: $(inputs.outDir.basename)
$namespaces:
edam: https://edamontology.org/
$schemas:
- https://raw.githubusercontent.com/edamontology/edamontology/master/EDAM_dev.owl
# manifest: "https://raw.githubusercontent.com/saketprem/polus-plugins/bbbc_download/utils/bbbc-download-plugin/plugin.json"