forked from nf-core/chipseq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschema_input.json
64 lines (64 loc) · 2.41 KB
/
schema_input.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
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://raw.githubusercontent.com/nf-core/chipseq/master/assets/schema_input.json",
"title": "nf-core/chipseq pipeline - params.input schema",
"description": "Schema for the file provided with params.input",
"type": "array",
"items": {
"type": "object",
"properties": {
"sample": {
"type": "string",
"pattern": "^\\S+$",
"errorMessage": "Sample name must be provided and cannot contain spaces",
"meta": ["id"]
},
"fastq_1": {
"type": "string",
"format": "file-path",
"exists": true,
"pattern": "^\\S+\\.f(ast)?q\\.gz$",
"errorMessage": "FastQ file for reads 1 must be provided, cannot contain spaces and must have extension '.fq.gz' or '.fastq.gz'"
},
"fastq_2": {
"errorMessage": "FastQ file for reads 2 cannot contain spaces and must have extension '.fq.gz' or '.fastq.gz'",
"anyOf": [
{
"type": "string",
"pattern": "^\\S+\\.f(ast)?q\\.gz$"
},
{
"type": "string",
"maxLength": 0
}
]
},
"replicate": {
"type": "integer",
"errorMessage": "Replicate id not an integer!",
"meta": ["replicate"]
},
"antibody": {
"type": "string",
"pattern": "^\\S+$",
"errorMessage": "Antibody entry cannot contain spaces",
"dependentRequired": ["control"],
"meta": ["antibody"]
},
"control": {
"type": "string",
"pattern": "^\\S+$",
"errorMessage": "Control entry cannot contain spaces",
"dependentRequired": ["antibody", "control_replicate"],
"meta": ["control"]
},
"control_replicate": {
"type": "string",
"pattern": "^\\S+$",
"errorMessage": "Control entry cannot contain spaces",
"meta": ["control_replicate"]
}
},
"required": ["sample", "fastq_1"]
}
}