Skip to content

Commit a4a92bf

Browse files
authored
Merge pull request #40 from uc-cdis/test
test
2 parents 6b218bb + 1dc2506 commit a4a92bf

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+2295
-1525
lines changed

gdcdictionary/schemas/acknowledgement.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@ $schema: "http://json-schema.org/draft-04/schema#"
33
id: "acknowledgement"
44
title: Acknowledgement
55
type: object
6+
nodeTerms: null
67
namespace: https://nci-crdc-demo.datacommons.io/
78
category: administrative
89
program: '*'
910
project: '*'
10-
description: "Acknowledgement of an individual involved in a project."
11+
description: Acknowledgement of an individual involved in a project.
1112
additionalProperties: false
1213
submittable: true
1314
validators: null
@@ -33,14 +34,15 @@ required:
3334
- projects
3435

3536
uniqueKeys:
36-
- [ id ]
37-
- [ project_id, submitter_id ]
37+
- [id]
38+
- [project_id, submitter_id]
3839

3940
properties:
41+
4042
$ref: "_definitions.yaml#/ubiquitous_properties"
4143

4244
acknowledgee:
43-
description: "The indvidiual or group being acknowledged by the project."
45+
description: The indvidiual or group being acknowledged by the project.
4446
type: string
4547

4648
projects:

gdcdictionary/schemas/aggregated_genotyping_array.yaml

Lines changed: 23 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,23 @@ $schema: "http://json-schema.org/draft-04/schema#"
33
id: "aggregated_genotyping_array"
44
title: Aggregated Genotyping array
55
type: object
6+
nodeTerms: null
67
namespace: https://nci-crdc-demo.datacommons.io/
78
category: data_file
89
program: '*'
910
project: '*'
10-
description: "DNA array data files aggregating genome-wide SNP information from several subjects (cohort)."
11+
description: DNA array data files aggregating genome-wide SNP information from several
12+
subjects (cohort).
1113
additionalProperties: false
1214
submittable: true
1315
validators: null
1416

1517
systemProperties:
1618
- id
1719
- project_id
20+
- state
1821
- created_datetime
1922
- updated_datetime
20-
- state
2123
- file_state
2224
- error_type
2325

@@ -51,12 +53,15 @@ required:
5153
- data_category
5254
- data_type
5355
- data_format
56+
- file_size
57+
- md5sum
5458

5559
uniqueKeys:
56-
- [ id ]
57-
- [ project_id, submitter_id ]
60+
- [id]
61+
- [project_id, submitter_id]
5862

5963
properties:
64+
6065
$ref: "_definitions.yaml#/data_file_properties"
6166

6267
data_category:
@@ -65,20 +70,20 @@ properties:
6570
enum:
6671
- SNP Array Data
6772

68-
data_type:
69-
term:
70-
$ref: "_terms.yaml#/data_type"
71-
enum:
72-
- Aggregated SNP Alleles
73-
- Individual SNP Alleles
74-
7573
data_format:
7674
term:
7775
$ref: "_terms.yaml#/data_format"
7876
enum:
77+
- IND
7978
- PED
8079
- VCF
81-
- IND
80+
81+
data_type:
82+
term:
83+
$ref: "_terms.yaml#/data_type"
84+
enum:
85+
- Aggregated SNP Alleles
86+
- Individual SNP Alleles
8287

8388
experimental_strategy:
8489
term:
@@ -90,14 +95,16 @@ properties:
9095
term:
9196
$ref: "_terms.yaml#/platform"
9297
enum:
98+
- Affymetrix Genome-Wide Human SNP Array 6.0
9399
- Illumina Infinium HumanExome BeadChip
94-
- Illumina OMNI 5M SNP Array
95100
- Illumina OMNI 2.5M SNP Array
96-
- Affymetrix Genome-Wide Human SNP Array 6.0
101+
- Illumina OMNI 5M SNP Array
102+
103+
core_metadata_collections:
104+
$ref: "_definitions.yaml#/to_one"
97105

98106
genotyping_arrays:
99107
$ref: "_definitions.yaml#/to_many"
108+
100109
aliquots:
101110
$ref: "_definitions.yaml#/to_many"
102-
core_metadata_collections:
103-
$ref: "_definitions.yaml#/to_many"

gdcdictionary/schemas/aligned_reads.yaml

Lines changed: 31 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1-
chema: "http://json-schema.org/draft-04/schema#"
1+
$schema: "http://json-schema.org/draft-04/schema#"
22

33
id: "aligned_reads"
44
title: Aligned Reads
55
type: object
6+
nodeTerms: null
67
namespace: https://nci-crdc-demo.datacommons.io/
78
category: data_file
89
program: '*'
910
project: '*'
10-
description: >
11-
Data file containing aligned reads that are generated internally.
11+
description: Data file containing aligned reads that are generated internally.
1212
additionalProperties: false
1313
submittable: true
1414
validators: null
1515

1616
systemProperties:
1717
- id
1818
- project_id
19+
- state
1920
- created_datetime
2021
- updated_datetime
21-
- state
2222
- file_state
2323
- error_type
2424

@@ -70,24 +70,20 @@ required:
7070
- platform
7171

7272
uniqueKeys:
73-
- [ id ]
74-
- [ project_id, submitter_id ]
73+
- [id]
74+
- [project_id, submitter_id]
7575

7676
properties:
77+
7778
$ref: "_definitions.yaml#/data_file_properties"
7879

7980
data_category:
8081
term:
8182
$ref: "_terms.yaml#/data_category"
8283
enum:
84+
- Raw Sequencing Data
8385
- Sequencing Data
8486
- Sequencing Reads
85-
- Raw Sequencing Data
86-
87-
data_type:
88-
term:
89-
$ref: "_terms.yaml#/data_type"
90-
enum: [ "Aligned Reads" ]
9187

9288
data_format:
9389
term:
@@ -96,37 +92,47 @@ properties:
9692
- BAM
9793
- CRAM
9894

95+
data_type:
96+
term:
97+
$ref: "_terms.yaml#/data_type"
98+
enum:
99+
- Aligned Reads
100+
99101
experimental_strategy:
100102
term:
101103
$ref: "_terms.yaml#/experimental_strategy"
102104
enum:
103-
- WGS
104-
- WXS
105105
- Low Pass WGS
106-
- Validation
107106
- RNA-Seq
108-
- miRNA-Seq
109107
- Total RNA-Seq
108+
- Validation
109+
- WGS
110+
- WXS
111+
- miRNA-Seq
110112

111113
platform:
112114
term:
113115
$ref: "_terms.yaml#/platform"
114116
enum:
115-
- "Illumina"
116-
- "SOLiD"
117-
- "LS454"
118-
- "Ion Torrent"
119-
- "Complete Genomics"
120-
- "PacBio"
121-
- "Other"
117+
- Complete Genomics
118+
- Illumina
119+
- Ion Torrent
120+
- LS454
121+
- Other
122+
- PacBio
123+
- SOLiD
124+
125+
core_metadata_collections:
126+
$ref: "_definitions.yaml#/to_one"
122127

123128
alignment_cocleaning_workflows:
124129
$ref: "_definitions.yaml#/to_one"
130+
125131
alignment_workflows:
126132
$ref: "_definitions.yaml#/to_one"
133+
127134
submitted_unaligned_reads_files:
128135
$ref: "_definitions.yaml#/to_many"
136+
129137
submitted_aligned_reads_files:
130138
$ref: "_definitions.yaml#/to_one"
131-
core_metadata_collections:
132-
$ref: "_definitions.yaml#/to_many"

gdcdictionary/schemas/aligned_reads_index.yaml

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,22 @@ $schema: "http://json-schema.org/draft-04/schema#"
33
id: "aligned_reads_index"
44
title: Aligned Reads Index
55
type: object
6+
nodeTerms: null
67
namespace: https://nci-crdc-demo.datacommons.io/
78
category: index_file
89
program: '*'
910
project: '*'
10-
description: "Data file containing the index for a set of aligned reads."
11+
description: Data file containing the index for a set of aligned reads.
1112
additionalProperties: false
1213
submittable: true
1314
validators: null
1415

1516
systemProperties:
1617
- id
1718
- project_id
19+
- state
1820
- created_datetime
1921
- updated_datetime
20-
- state
2122
- file_state
2223
- error_type
2324

@@ -49,29 +50,32 @@ required:
4950
- data_format
5051

5152
uniqueKeys:
52-
- [ id ]
53-
- [ project_id, submitter_id ]
53+
- [id]
54+
- [project_id, submitter_id]
5455

5556
properties:
57+
5658
$ref: "_definitions.yaml#/data_file_properties"
5759

5860
data_category:
5961
term:
6062
$ref: "_terms.yaml#/data_category"
6163
enum:
64+
- Raw Sequencing Data
6265
- Sequencing Data
6366
- Sequencing Reads
64-
- Raw Sequencing Data
65-
66-
data_type:
67-
term:
68-
$ref: "_terms.yaml#/data_type"
69-
enum: [ "Aligned Reads Index" ]
7067

7168
data_format:
7269
term:
7370
$ref: "_terms.yaml#/data_format"
74-
enum: [ "BAI" ]
71+
enum:
72+
- BAI
73+
74+
data_type:
75+
term:
76+
$ref: "_terms.yaml#/data_type"
77+
enum:
78+
- Aligned Reads Index
7579

7680
submitted_aligned_reads_files:
7781
$ref: "_definitions.yaml#/to_one"

gdcdictionary/schemas/alignment_cocleaning_workflow.yaml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,23 @@ $schema: "http://json-schema.org/draft-04/schema#"
33
id: "alignment_cocleaning_workflow"
44
title: Alignment Cocleaning Workflow
55
type: object
6+
nodeTerms: null
67
namespace: https://nci-crdc-demo.datacommons.io/
78
category: analysis
89
program: '*'
910
project: '*'
10-
description: >
11-
Metadata for the alignment and cocleaning pipeline used to align reads in the GDC harmonization
12-
pipelines.
11+
description: Metadata for the alignment and cocleaning pipeline used to align reads
12+
in the GDC harmonization pipelines.
1313
additionalProperties: false
1414
submittable: true
1515
validators: null
1616

1717
systemProperties:
1818
- id
1919
- project_id
20+
- state
2021
- created_datetime
2122
- updated_datetime
22-
- state
2323

2424
links:
2525
- exclusive: true
@@ -45,16 +45,18 @@ required:
4545
- workflow_type
4646

4747
uniqueKeys:
48-
- [ id ]
49-
- [ project_id, submitter_id ]
48+
- [id]
49+
- [project_id, submitter_id]
5050

5151
properties:
52+
5253
$ref: "_definitions.yaml#/workflow_properties"
5354

5455
workflow_type:
5556
term:
5657
$ref: "_terms.yaml#/workflow_type"
57-
enum: [ "BWA with Mark Duplicates and Cocleaning" ]
58+
enum:
59+
- BWA with Mark Duplicates and Cocleaning
5860

5961
submitted_aligned_reads_files:
6062
$ref: "_definitions.yaml#/to_many"

0 commit comments

Comments
 (0)