-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnextflow_schema.json
88 lines (88 loc) · 2.59 KB
/
nextflow_schema.json
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
85
86
87
88
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://raw.githubusercontent.com/jvfe/ukb_ppp_gsmr/master/nextflow_schema.json",
"title": "jvfe/ukb_ppp_gsmr pipeline parameters",
"description": "A pipeline for mendelian randomization",
"type": "object",
"definitions": {
"sumstats": {
"title": "Sumstats",
"type": "object",
"description": "",
"default": "",
"properties": {
"exposures": {
"type": "string",
"format": "file-path",
"mimetype": "text/csv",
"schema": "/assets/schema_exposures.json",
"description": "Samplesheet of exposure sumstats"
},
"outcomes": {
"type": "string",
"format": "file-path",
"mimetype": "text/csv",
"schema": "/assets/schema_outcomes.json",
"description": "Samplesheet of outcome sumstats"
}
}
},
"gwas_references": {
"type": "object",
"title": "GWAS References",
"properties": {
"references": {
"type": "string"
},
"twosmr_ref": {
"type": "string"
}
}
},
"skip_steps": {
"title": "Skip steps",
"type": "object",
"description": "",
"default": "",
"properties": {
"skip_gsmr": {
"type": "boolean",
"description": "Skip GSMR"
},
"skip_2smr": {
"type": "boolean"
}
}
},
"nf_validation": {
"title": "nf-validation",
"type": "object",
"description": "",
"default": "",
"properties": {
"validationSkipDuplicateCheck": {
"type": "boolean",
"hidden": true
},
"validationS3PathCheck": {
"type": "string",
"hidden": true
}
}
}
},
"allOf": [
{
"$ref": "#/definitions/sumstats"
},
{
"$ref": "#/definitions/gwas_references"
},
{
"$ref": "#/definitions/skip_steps"
},
{
"$ref": "#/definitions/nf_validation"
}
]
}