-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathvcf2neo.cwl
84 lines (74 loc) · 1.85 KB
/
vcf2neo.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
#!/usr/bin/env cwl-runner
$namespaces:
dct: http://purl.org/dc/terms/
foaf: http://xmlns.com/foaf/0.1/
$schemas:
- http://dublincore.org/2012/06/14/dcterms.rdf
- http://xmlns.com/foaf/spec/20140114.rdf
class: "CommandLineTool"
id: "vcf2neo"
label: "Import collection of VCF files to Neo4J DB"
cwlVersion: v1.0
doc: |
![build_status](https://quay.io/repository/sanbi-sa/vcf2neo/status)
The vcf2neo tool imports VCF files into a Neo4J database following the
COMBAT TB (GA4GH based) Variant schema.
dct:creator:
foaf:name: Thoba Lose
foaf:mbox: "mailto:[email protected]"
requirements:
- class: EnvVarRequirement
envDef:
- envName: DB
envValue: $(inputs.database_host)
- envName: NEO4J_PASSWORD
envValue: $(inputs.database_password)
hints:
- class: DockerRequirement
dockerPull: "quay.io/sanbi-sa/vcf2neo:0.0.3"
- class: ResourceRequirement
coresMin: 1
ramMin: 128
inputs:
database_host:
label: "IP or hostname of Neo4J database host"
type: string?
default: 192.168.2.211
database_password:
label: "Neo4J database password"
type: string?
default: ""
no_docker:
label: "Skip use of Docker container"
type: boolean?
inputBinding:
prefix: -D
position: 1
vcf_dir:
label: "VCF file location"
type: Directory
inputBinding:
position: 2
owner:
label: "Username of owner"
type: string
inputBinding:
position: 3
history_id:
label: "ID of Galaxy history VCF came from"
type: string?
inputBinding:
position: 4
refdb_dir:
label: "Directory containing Neo4J database of reference data"
type: Directory?
inputBinding:
position: 5
stdout: vcf2neo_report.out.txt
stderr: vcf2neo_report.err.txt
outputs:
output_report:
type: stdout
error_report:
type: stderr
baseCommand: ["vcf2neo", "init"]