-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathreference_file_index.yaml
77 lines (67 loc) · 1.49 KB
/
reference_file_index.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
69
70
71
72
73
74
75
76
77
$schema: "http://json-schema.org/draft-04/schema#"
id: "reference_file_index"
title: Reference File Index
type: object
namespace: https://dcp.bionimbus.org
category: index_file
program: '*'
project: '*'
description: "Data file containing the index for a set of reference file."
additionalProperties: false
submittable: true
validators: null
systemProperties:
- id
- project_id
- created_datetime
- updated_datetime
- state
- file_state
- error_type
links:
- exclusive: false
required: true
subgroup:
- name: core_metadata_collections
backref: reference_file_indexes
label: data_from
target_type: core_metadata_collection
multiplicity: many_to_many
required: false
required:
- type
- submitter_id
- file_name
- file_size
- md5sum
- data_category
- data_type
- data_format
uniqueKeys:
- [ id ]
- [ project_id, submitter_id ]
properties:
$ref: "_definitions.yaml#/data_file_properties"
type:
enum: [ "aligned_reads_index" ]
data_category:
term:
$ref: "_terms.yaml#/data_category"
enum:
- Simple Nucleotide Variation
data_type:
term:
$ref: "_terms.yaml#/data_type"
enum: [ "Germline Variation Index" ]
enum: [ "Sequencing Reference Index"]
enum: [ "Variant Reference Index"]
data_format:
term:
$ref: "_terms.yaml#/data_format"
enum:
- TBI
- CSI
- BCF.CSI
- VCF.CSI
core_metadata_collections:
$ref: "_definitions.yaml#/to_many"