-
Notifications
You must be signed in to change notification settings - Fork 15
/
PEP_schema.yaml
68 lines (68 loc) · 1.73 KB
/
PEP_schema.yaml
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
description: "Schema for a minimal PEP"
version: "2.0.0"
properties:
name:
type: string
pattern: "^\\S*$"
description: "Project name with no whitespace"
config:
pep_version:
description: "Version of the PEP Schema this PEP follows"
type: string
sample_table:
type: string
description: "Path to the sample annotation table with one row per sample"
subsample_table:
type: string
description: "Path to the subsample annotation table with one row per subsample and sample_name attribute matching an entry in the sample table"
sample_modifiers:
type: object
properties:
append:
type: object
duplicate:
type: object
imply:
type: array
items:
type: object
properties:
if:
type: object
then:
type: object
derive:
type: object
properties:
attributes:
type: array
items:
type: string
sources:
type: object
project_modifiers:
type: object
properties:
amend:
description: "Object overwriting original project attributes"
type: object
import:
description: "List of external PEP project config files to import"
type: array
items:
type: string
required:
- pep_version
samples:
type: array
items:
type: object
properties:
sample_name:
type: string
pattern: "^\\S*$"
description: "Unique name of the sample with no whitespace"
required:
- sample_name
required:
- samples