-
Notifications
You must be signed in to change notification settings - Fork 0
/
umap-jsonl.cwl
46 lines (44 loc) · 911 Bytes
/
umap-jsonl.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
cwlVersion: v1.2
class: CommandLineTool
hints:
DockerRequirement:
dockerPull: "david4096/umap-jsonl:0.1.0"
inputs:
jsonl_file:
type: File
inputBinding:
position: 1
n_neighbors:
type: int
default: 15
inputBinding:
prefix: --n_neighbors
min_dist:
type: float
default: 0.1
inputBinding:
prefix: --min_dist
n_clusters:
type: int
default: 3
inputBinding:
prefix: --n_clusters
plot_size:
type: string
default: "8,6"
inputBinding:
prefix: --plot_size
outputs:
output_plot:
type: File
outputBinding:
glob: "output.png"
baseCommand: ["/bin/sh", "-c"]
arguments:
- >
umap-jsonl $(inputs.jsonl_file.path) \
--n_neighbors $(inputs.n_neighbors) \
--min_dist $(inputs.min_dist) \
--n_clusters $(inputs.n_clusters) \
--output_file output.png \
--plot_size $(inputs.plot_size)