From 4664636bc17d05ef4e3e65ea800ab27077db6f89 Mon Sep 17 00:00:00 2001 From: Deepak Date: Fri, 29 Apr 2022 15:41:59 +0200 Subject: [PATCH] Hot fix (#62) * Fix range for slots in Dataset * Bump version to 0.7.0 * Add case control status slot to Sample * Add enum for capturing paired end or single end status --- src/schema/ghga.yaml | 41 ++++++++++++++++++++++++++++++++++++----- 1 file changed, 36 insertions(+), 5 deletions(-) diff --git a/src/schema/ghga.yaml b/src/schema/ghga.yaml index adc15fab..61df4b0d 100644 --- a/src/schema/ghga.yaml +++ b/src/schema/ghga.yaml @@ -2,7 +2,7 @@ id: https://w3id.org/GHGA-Metadata-Schema name: GHGA-Metadata-Schema description: >- The metadata schema for the German Human Genome-Phenome Archive (GHGA). -version: 0.6.0 +version: 0.7.0 imports: - linkml:types @@ -713,6 +713,7 @@ classes: - name - type - description + - case control status - vital status at sampling - isolation - storage @@ -1086,15 +1087,15 @@ classes: inlined_as_list: true has experiment: description: >- - One or more Analysis entities that are referenced by this Dataset. - range: analysis + One or more Experiment entities that are referenced by this Dataset. + range: experiment multivalued: true inlined: true inlined_as_list: true has sample: description: >- One or more Sample entities that are referenced by this Dataset. - range: study + range: sample multivalued: true required: true inlined: true @@ -1102,13 +1103,14 @@ classes: has analysis: description: >- One or more Analysis entities that are referenced by this Dataset. - range: study + range: analysis multivalued: true inlined: true inlined_as_list: true has file: description: >- One or more File entities that collectively are part of this Dataset. + range: file required: true multivalued: true inlined: true @@ -2172,6 +2174,10 @@ slots: description: >- Denotes whether a submitted FASTQ file contains forward (R1) or reverse (R2) reads for paired-end sequencing. The number that identifies each read direction in a paired-end nucleotide sequencing replications. + range: paired or single end enum + in_subset: + - recommended + - public reference chromosome: description: >- @@ -2267,6 +2273,14 @@ slots: - recommended - public + case control status: + description: >- + Whether the sample is to be treated as Case or Control in a Study. + range: case control status enum + in_subset: + - recommended + - public + vital status at sampling: description: >- Vital Status of an Individual at the point of sampling (eg:'Alive', 'Deceased'). @@ -2441,6 +2455,23 @@ enums: description: >- Other format. + case control status enum: + description: >- + Enum to capture whether a Sample in a Study is to be considered as Case or Control. + permissible_values: + control: + description: The Sample is to be treated as Control + case: + description: The Sample is to be treated as Case + + paired or single end enum: + description: >- + Enum to capture whether a sequencing experiment generates reads that are Paired-end or Single-end. + permissible_values: + paired: + description: The reads are Paired-end + single: + description: The reads are Single-end submission status enum: description: >-