-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockstore.cwl
67 lines (52 loc) · 1.46 KB
/
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#!/usr/bin/env cwl-runner
class: CommandLineTool
id: "cnvToGenes"
label: "cnvToGenes workflow"
cwlVersion: v1.0
description: |
A Docker container for the cnvToGenes workflow. See the [github repo](https://github.com/Jeltje/cnvtogenes) for more information.
```
Usage:
# fetch CWL
$> dockstore cwl --entry quay.io/jeltje/cnvtogenes:v1.0.0 > Dockstore.cwl
# make a runtime JSON template and edit it (or use the content of sample_configs.json in this git repo)
$> dockstore convert cwl2json --cwl Dockstore.cwl > Dockstore.json
# run it locally with the Dockstore CLI
$> dockstore launch --entry quay.io/jeltje/cnvtogenes:v1.0.0 \
--json Dockstore.json
```
dct:creator:
"@id": "jeltje"
foaf:name: Jeltje van Baren
foaf:mbox: "mailto:[email protected]"
requirements:
- class: DockerRequirement
dockerPull: "quay.io/jeltje/cnvtogenes:v1.0.0"
hints:
- class: ResourceRequirement
coresMin: 1
inputs:
- id: "#inputdir"
type: Directory
doc: "Directory with input cnv files"
inputBinding:
prefix: -c
- id: "#annotation"
type: File
doc: "Genome annotation in BED format"
format: "http://edamontology.org/format_3003"
inputBinding:
prefix: -g
- id: "#chromflag"
type: boolean
inputBinding:
prefix: -d
- id: "#roundflag"
type: boolean
inputBinding:
prefix: -r
stdout: genomefile
outputs:
- id: output
type: stdout
baseCommand: []