Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make subclasses for DataGeneration #3

Merged
merged 16 commits into from
Dec 13, 2023
9 changes: 9 additions & 0 deletions src/schema/basic_slots.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,15 @@ types:
pattern: '^[a-zA-Z0-9][a-zA-Z0-9_\.]+:[a-zA-Z0-9_][a-zA-Z0-9_\-\/\.,]*$'

slots:
acquisition_category:
domain: MassSpectrometry
range: AcquisitionCategoryEnum
description: Captures which type of acquisition category was on a mass spectrometry run.
comments: MS vs MSn
resolution_category:
domain: MassSpectrometry
range: ResolutionCategoryEnum
description: Captures the resolution of the mass spectrometry run.
processing_institution:
domain: PlannedProcess
range: processing_institution_enum
Expand Down
40 changes: 39 additions & 1 deletion src/schema/nmdc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,33 @@ subsets:

classes:

NucleotideSequencing:
description: A DataGeneration in which the sequence of DNA or RNA molecules is generated.
is_a: DataGeneration
comments: For example data generated from an Illumina or Pacific Biosciences instrument.
slots:
- gold_sequencing_project_identifiers
- seq_meth
- ncbi_project_name
- insdc_bioproject_identifiers
slot_usage:
id:
structured_pattern:
syntax: "{id_nmdc_prefix}:dgns-{id_shoulder}-{id_blade}{id_version}{id_locus}"
interpolated: true
MassSpectrometry:
description: Spectrometry where the sample is converted into gaseous ions which are characterised by their mass-to-charge ratio and relative abundance.
is_a: DataGeneration
exact_mappings: CHMO:0000470
slots:
- acquisition_category
- resolution_category
slot_usage:
id:
structured_pattern:
syntax: "{id_nmdc_prefix}:dgms-{id_shoulder}-{id_blade}{id_version}{id_locus}"
interpolated: true

FunctionalAnnotationAggMember:
slots:
- metagenome_annotation_id
Expand Down Expand Up @@ -1733,7 +1760,18 @@ classes:
- https://casrai.org/credit/

enums:

AcquisitionCategoryEnum:
permissible_values:
full_scan:
aliases:
- MS
tandem_mass_spectrum:
aliases:
-MSn
ResolutionCategoryEnum:
permissible_values:
high: { }
low: { }
AnalyteCategoryEnum:
permissible_values:
metagenome:
Expand Down
Loading