You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: nmdc_schema/nmdc-pydantic.py
+40-20Lines changed: 40 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -766,6 +766,26 @@ class SampleStateEnum(str, Enum):
766
766
gas = "gas"
767
767
768
768
769
+
class ChemicalEntityEnum(str, Enum):
770
+
acetonitrile = "acetonitrile"
771
+
alphaLP = "alphaLP"
772
+
ammonium_acetate = "ammonium_acetate"
773
+
ammonium_bicarbonate = "ammonium_bicarbonate"
774
+
Arg_C = "Arg-C"
775
+
Asp_N = "Asp-N"
776
+
chloroform = "chloroform"
777
+
chymotrypsin = "chymotrypsin"
778
+
formic_acid = "formic_acid"
779
+
glucose = "glucose"
780
+
Glu_C = "Glu-C"
781
+
isopropyl_alcohol = "isopropyl_alcohol"
782
+
Lys_C = "Lys-C"
783
+
Lys_N = "Lys-N"
784
+
methanol = "methanol"
785
+
trypsin = "trypsin"
786
+
water = "water"
787
+
788
+
769
789
class ArchStrucEnum(str, Enum):
770
790
building = "building"
771
791
shed = "shed"
@@ -2347,6 +2367,18 @@ class MetaproteomicsAnalysisCategoryEnum(str, Enum):
2347
2367
in_silico_metagenome = "in_silico_metagenome"
2348
2368
2349
2369
2370
+
class MetabolomicsAnalysisCategoryEnum(str, Enum):
2371
+
"""
2372
+
The category of metabolomics analysis being performed.
2373
+
"""
2374
+
# A metabolomics analysis that is performed on gas chromatography mass spectrometry data.
2375
+
gc_ms_metabolomics = "gc_ms_metabolomics"
2376
+
# A metabolomics analysis that is performed on liquid chromatography mass spectrometry data for lipidomics annotation.
2377
+
lc_ms_lipidomics = "lc_ms_lipidomics"
2378
+
# A metabolomics analysis that is performed on liquid chromatography mass spectrometry data.
2379
+
lc_ms_metabolomics = "lc_ms_metabolomics"
2380
+
2381
+
2350
2382
2351
2383
class EukEval(ConfiguredBaseModel):
2352
2384
"""
@@ -2490,9 +2522,6 @@ class Database(ConfiguredBaseModel):
2490
2522
calibration_set: Optional[List[CalibrationInformation]] = Field(None, description="""This property links a database object to the set of calibrations within it.""", json_schema_extra = { "linkml_meta": {'alias': 'calibration_set',
2491
2523
'domain_of': ['Database'],
2492
2524
'mixins': ['object_set']} })
2493
-
chemical_entity_set: Optional[List[ChemicalEntity]] = Field(None, description="""This property links a database object to the set of chemical entities within it.""", json_schema_extra = { "linkml_meta": {'alias': 'chemical_entity_set',
@@ -2611,14 +2640,14 @@ class PortionOfSubstance(ConfiguredBaseModel):
2611
2640
final_concentration: Optional[QuantityValue] = Field(None, description="""When solutions A (containing substance X) and B are combined together, this slot captures the concentration of X in the combination""", json_schema_extra = { "linkml_meta": {'alias': 'final_concentration',
mass: Optional[QuantityValue] = Field(None, title="mass", description="""A physical quality that inheres in a bearer by virtue of the proportion of the bearer's amount of matter.""", json_schema_extra = { "linkml_meta": {'alias': 'mass',
sample_state_information: Optional[SampleStateEnum] = Field(None, description="""The chemical phase of a pure sample, or the state of a mixed sample""", json_schema_extra = { "linkml_meta": {'alias': 'sample_state_information', 'domain_of': ['PortionOfSubstance']} })
2619
2647
source_concentration: Optional[QuantityValue] = Field(None, description="""When solutions A (containing substance X) and B are combined together, this slot captures the concentration of X in solution A""", json_schema_extra = { "linkml_meta": {'alias': 'source_concentration',
2620
2648
'domain_of': ['PortionOfSubstance'],
2621
2649
'is_a': 'concentration'} })
2650
+
known_as: Optional[ChemicalEntityEnum] = Field(None, description="""The substance from which a portion was taken.""", json_schema_extra = { "linkml_meta": {'alias': 'known_as', 'domain_of': ['PortionOfSubstance']} })
2622
2651
substance_role: Optional[SubstanceRoleEnum] = Field(None, description="""The role of a substance in a process""", json_schema_extra = { "linkml_meta": {'alias': 'substance_role', 'domain_of': ['PortionOfSubstance']} })
2623
2652
type: Literal["https://w3id.org/nmdc/PortionOfSubstance","nmdc:PortionOfSubstance"] = Field("nmdc:PortionOfSubstance", description="""the class_uri of the class that has been instantiated""", json_schema_extra = { "linkml_meta": {'alias': 'type',
An atom or molecule that can be represented with a chemical formula. Include lipids, glycans, natural products, drugs. There may be different terms for distinct acid-base forms, protonation states
3825
+
An atom or molecule that can be represented with a chemical formula. Include lipids, glycans, natural products, drugs. There may be different terms for distinct acid-base forms, protonation states. A chemical entity is a physical entity that pertains to chemistry or biochemistry.
'notes': ['key set to false due to rare collisions: Pletnev I, Erin A, '
3822
-
'McNaught A, Blinov K, Tchekhovskoi D, Heller S (2012) InChIKey '
3823
-
'collision resistance: an experimental testing. J Cheminform. 4:12']} })
3824
-
smiles: Optional[List[str]] = Field(None, description="""A string encoding of a molecular graph, no chiral or isotopic information. There are usually a large number of valid SMILES which represent a given structure. For example, CCO, OCC and C(O)C all specify the structure of ethanol.""", json_schema_extra = { "linkml_meta": {'alias': 'smiles', 'domain_of': ['ChemicalEntity']} })
3825
3843
alternative_names: Optional[List[str]] = Field(None, description="""A list of alternative names used to refer to the entity. The distinction between name and alternative names is application-specific.""", json_schema_extra = { "linkml_meta": {'alias': 'alternative_names',
0 commit comments