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

Created Class ChemicalConversionProcess #5

Merged
merged 17 commits into from
Dec 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
id: nmdc:chcpr-19-789
has_input:
- "nmdc:fasp-37"
has_output:
- "nmdc:ome-39"
has_reagents:
- "nmdc:fasp-37"
- chemical_formula: CH3OH
inchi_key: OKKJLVBELUTLKV-UHFFFAOYSA-N
sample_state_information: liquid
volume:
has_numeric_value: 120
has_unit: mL
concentration:
has_unit: mM
has_numeric_value: 10
temperature:
has_numeric_value: 25
has_unit: Cel
duration:
has_numeric_value: 1
has_unit: h
21 changes: 21 additions & 0 deletions src/data/valid/ChemicalConversionProcess-minimal.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
id: nmdc:chcpr-19-789
has_input:
- "nmdc:fasp-37"
has_output:
- "nmdc:ome-39"
has_reagents:
- chemical_formula: CH3OH
inchi_key: OKKJLVBELUTLKV-UHFFFAOYSA-N
sample_state_information: liquid
volume:
has_numeric_value: 120
has_unit: mL
concentration:
has_unit: mM
has_numeric_value: 10
temperature:
has_numeric_value: 25
has_unit: Cel
duration:
has_numeric_value: 1
has_unit: h
60 changes: 59 additions & 1 deletion src/schema/nmdc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,26 @@ classes:
- has_solution_components
- volume

LaboratoryReagent:
aliases:
- chemical substance
- chemical compound
- chemical
- reagent
- reactant
description: >-
A substance used in a chemical reaction to detect, measure, examine, or produce other substances.
slots:
- chemical_formula
- inchi_key
- sample_state_information
- mass
- volume
- concentration
see_also:
- CHEBI:33893


Protocol:
slots:
- url
Expand Down Expand Up @@ -1716,6 +1736,28 @@ classes:
syntax: "{id_nmdc_prefix}:cspro-{id_shoulder}-{id_blade}{id_version}{id_locus}"
interpolated: true

ChemicalConversionProcess:
description: >
A process that results in the interconversion of chemical species by a reaction to transform the reagents into products.
see_also:
- C01033
contributors:
- ORCID:0009-0001-1555-1601 #Anastasiya Prymolenna
- ORCID:0000-0002-1368-8217 #Yuri Corilo
is_a: MaterialProcessing
slots:
- has_reagents
- temperature
- duration
comments:
- The values of both has_reagents slot and has_input slot are considered the reagents of a chemical process.
slot_usage:
id:
required: true
structured_pattern:
syntax: "{id_nmdc_prefix}:chcpr-{id_shoulder}-{id_blade}{id_version}{id_locus}"
interpolated: true

DataGeneration:
aliases:
- OmicsProcessing
Expand Down Expand Up @@ -2479,6 +2521,12 @@ enums:
ZIC-pHILIC:
ZIC-cHILIC:

SampleStateEnum:
permissible_values:
solid:
liquid:
gas:

ProtocolCategoryEnum:
description: The possible protocols that may be followed for an assay.
permissible_values:
Expand Down Expand Up @@ -3348,4 +3396,14 @@ slots:
range: ChromatographicCategoryEnum
description: The type of chromatography used in a process.


has_reagents:
domain: ChemicalConversionProcess
range: LaboratoryReagent
description: The reagents used in a chemical reaction.
multivalued: true
inlined_as_list: true
sample_state_information:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add Domain

domain: ChemicalConversionProcess
description: >-
The chemical phase of a pure sample, or the state of a mixed sample
range: SampleStateEnum
Loading