Skip to content

Commit

Permalink
Merge pull request #7 from microbiomedata/1525-add-slots-to-MaterialP…
Browse files Browse the repository at this point in the history
…rocessing-classes-that-were-on-OmicsProcessing

1525 add slots to material processing classes that were on omics processing
  • Loading branch information
mslarae13 committed Dec 13, 2023
2 parents e75c8e3 + 971eb2e commit df30da1
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ extraction_set:
has_unit: gram
quality_control_report:
status: pass
extraction_method: phenol/chloroform extraction
# extraction_method: phenol/chloroform extraction # instantiate in ProtocolExtraction class
extraction_target: DNA

2 changes: 1 addition & 1 deletion src/data/valid/Database-extraction_set-exhaustive.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ extraction_set:
#status range should be new status_enum with possible values of 'Pass' or Failed'
status: pass
#leaving as extraction_method to make the model generic, other option considered was 'Nucleic Acid Extraction Method' http://purl.obolibrary.org/obo/NCIT_C177560
extraction_method: phenol/chloroform extraction
# extraction_method: phenol/chloroform extraction # instantiate in ProtocolExtraction class
#extraction_type should have range of dna_extraction_enum with possible values of 'DNA extraction', 'RNA extraction', 'protein extraction'
#http://purl.obolibrary.org/obo/OBI_0000257
extraction_target: DNA
Expand Down
2 changes: 1 addition & 1 deletion src/data/valid/Database-nucleic-extraction.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ extraction_set:
# status: Pass

#leaving as extraction_method to make the model generic, other option considered was 'Nucleic Acid Extraction Method' http://purl.obolibrary.org/obo/NCIT_C177560
extraction_method: phenol/chloroform extraction
# extraction_method: phenol/chloroform extraction #instantiate in ProtocolExtraction class

#extraction_type should have range of dna_extraction_enum with possible values of 'DNA extraction', 'RNA extraction', 'protein extraction'
#http://purl.obolibrary.org/obo/OBI_0000257
Expand Down
8 changes: 8 additions & 0 deletions src/schema/basic_slots.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,19 @@ slots:
recommended: true
minimum_value: 0
maximum_value: 2000

extraction_target:
description: Provides the target biomolecule that has been separated from a sample during an extraction process.
rank: 1000
domain_of:
- Extraction
range: ExtractionTargetEnum
notes:
- todos, remove nucl_acid_ext from OmicsProcessing (DataGeneration)
narrow_mappings:
- NCIT:C177560
- MIXS:0000037

id:
required: true
identifier: true
Expand Down
6 changes: 2 additions & 4 deletions src/schema/nmdc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,6 @@ classes:
- OBI:0302884
slots:
- extractant
- extraction_method
- extraction_target
- input_mass
- quality_control_report
Expand Down Expand Up @@ -2460,6 +2459,8 @@ slots:

library_preparation_kit:
range: string

## WHY ARE THESE COMMENTED OUT?
# exact_mappings:
# - GENEPIO:0001450
# processed_date: # can we move this or infer this from the date of some other process?
Expand All @@ -2468,9 +2469,6 @@ slots:
# extraction_date: # replacing with start_ and end_date
# # range: date
# range: string
extraction_method:
domain: Extraction
range: ExtractionTargetEnum

quality_control_report:
domain: PlannedProcess
Expand Down

0 comments on commit df30da1

Please sign in to comment.