-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathschema_input.json
More file actions
executable file
·185 lines (185 loc) · 5.93 KB
/
schema_input.json
File metadata and controls
executable file
·185 lines (185 loc) · 5.93 KB
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/sanger-tol/treeval/master/assets/schema_input.json",
"title": "sanger-tol/treeval pipeline - params.input schema",
"description": "Schema for the file provided with params.input",
"type": "object",
"properties": {
"assembly": {
"type": "object",
"properties": {
"assem_level": {
"type": "string",
"errorMessage": "Assembly level must be provided"
},
"assem_version": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
}
],
"errorMessage": "Assembly version must be provided"
},
"sample_id": {
"type": "string",
"errorMessage": "Sample name must be provided and cannot contain spaces"
},
"latin_name": {
"type": "string",
"errorMessage": "The scientific name for the assembly"
},
"defined_class": {
"type": "string",
"errorMessage": "The Clade of the assembly. Used as the syntenic group and to complete the gene_alignment data dir."
},
"project_id": {
"type": "string",
"errorMessage": "Project name must be provided "
}
}
},
"reference_file": {
"type": "string",
"pattern": "^\\S+\\.fn?a(sta)?(\\.gz)?$",
"errorMessage": "Assembly input file"
},
"map_order": {
"type": "string",
"errorMessage": "Map order",
"enum": [
"length",
"unsorted"
]
},
"assem_reads": {
"type": "object",
"properties": {
"read_type": {
"type": "string",
"errorMessage": "Long read data type",
"enum": [
"hifi",
"clr",
"ont",
"illumina"
]
},
"read_data": {
"type": "array",
"errorMessage": "Paths to fasta.gz files and/or FOFN of fasta.gz files",
"pattern": "(^\\S+\\.(fa|fasta|fna).gz)$|(^\\S+\\.fofn)$",
"format": "file-path",
"exists": true
},
"supplementary_data": {
"type": "string",
"errorMessage": "Not currently in use. Placeholder for future use"
}
}
},
"hic_data": {
"type": "object",
"properties": {
"hic_cram": {
"type": "array",
"errorMessage": "Paths to an array of cram files and/or FOFN of cram files",
"pattern": "(^\\S+\\.cram)$|(^\\S+\\.fofn)$",
"format": "file-path",
"exists": true
},
"hic_aligner": {
"type": "string",
"errorMessage": "HiC Aligner - minimap2 (default), bwamem2",
"enum": [
"minimap2",
"bwamem2"
]
}
}
},
"kmer_profile": {
"type": "object",
"properties": {
"kmer_length": {
"type": "integer",
"errorMessage": "K-mer length"
},
"profile": {
"type": "string",
"errorMessage": "Path to *.hist file"
}
}
},
"alignment": {
"type": "object",
"properties": {
"genesets": {
"type": "array",
"errorMessage": "Path for gene alignment file.",
"pattern": "^\\S+\\.csv$"
}
}
},
"self_comp": {
"type": "object",
"properties": {
"motif_len": {
"type": "integer",
"errorMessage": "Length of motif to be used in self comp search"
}
}
},
"intron": {
"type": "object",
"properties": {
"size": {
"type": "string",
"errorMessage": "Base pair size of introns, defaults to 50k"
}
}
},
"telomere": {
"type": "object",
"properties": {
"teloseq": {
"type": "string",
"errorMessage": "Expected telomeric motif"
}
}
},
"synteny": {
"type": "array",
"pattern": "^\\S+\\.(fa|fasta|fna)$"
},
"busco": {
"type": "object",
"properties": {
"lineage_path": {
"type": "string",
"errorMessage": "Path to directory containing lineages folder"
},
"lineage": {
"type": "string",
"errorMessage": "busco lineage to run"
}
}
}
},
"required": [
"busco",
"synteny",
"telomere",
"intron",
"self_comp",
"alignment",
"kmer_profile",
"hic_data",
"assem_reads",
"map_order",
"reference_file",
"assembly"
]
}