nmdc-schema 11.13.0__py3-none-any.whl → 11.14.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- nmdc_schema/migrators/migrator_from_11_13_0_to_11_14_0.py +35 -0
- nmdc_schema/migrators/partials/migrator_from_11_13_0_to_11_14_0/__init__.py +28 -0
- nmdc_schema/migrators/partials/migrator_from_11_13_0_to_11_14_0/migrator_from_11_13_0_to_11_14_0_part_1.py +113 -0
- nmdc_schema/migrators/partials/migrator_from_11_13_0_to_11_14_0/migrator_from_11_13_0_to_11_14_0_part_2.py +40 -0
- nmdc_schema/nmdc-pydantic.py +10148 -11316
- nmdc_schema/nmdc.py +181 -27
- nmdc_schema/nmdc.schema.json +83 -17
- nmdc_schema/nmdc_materialized_patterns.json +10826 -10717
- nmdc_schema/nmdc_materialized_patterns.schema.json +83 -16
- nmdc_schema/nmdc_materialized_patterns.yaml +7882 -7804
- {nmdc_schema-11.13.0.dist-info → nmdc_schema-11.14.0.dist-info}/METADATA +4 -3
- {nmdc_schema-11.13.0.dist-info → nmdc_schema-11.14.0.dist-info}/RECORD +15 -11
- {nmdc_schema-11.13.0.dist-info → nmdc_schema-11.14.0.dist-info}/entry_points.txt +0 -8
- {nmdc_schema-11.13.0.dist-info → nmdc_schema-11.14.0.dist-info}/WHEEL +0 -0
- {nmdc_schema-11.13.0.dist-info → nmdc_schema-11.14.0.dist-info}/licenses/LICENSE +0 -0
nmdc_schema/nmdc.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Auto generated from nmdc.yaml by pythongen.py version: 0.0.1
|
|
2
|
-
# Generation date: 2025-
|
|
2
|
+
# Generation date: 2025-12-08T16:54:05
|
|
3
3
|
# Schema: NMDC
|
|
4
4
|
#
|
|
5
5
|
# id: https://w3id.org/nmdc/nmdc
|
|
@@ -60,7 +60,7 @@ from linkml_runtime.linkml_model.types import Boolean, Decimal, Double, Float, I
|
|
|
60
60
|
from linkml_runtime.utils.metamodelcore import Bool, Decimal, URIorCURIE
|
|
61
61
|
|
|
62
62
|
metamodel_version = "1.7.0"
|
|
63
|
-
version = "11.
|
|
63
|
+
version = "11.14.0"
|
|
64
64
|
|
|
65
65
|
# Namespaces
|
|
66
66
|
BFO = CurieNamespace('BFO', 'http://purl.obolibrary.org/obo/BFO_')
|
|
@@ -1642,6 +1642,7 @@ class Biosample(Sample):
|
|
|
1642
1642
|
img_identifiers: Optional[Union[Union[str, ExternalIdentifier], list[Union[str, ExternalIdentifier]]]] = empty_list()
|
|
1643
1643
|
neon_biosample_identifiers: Optional[Union[Union[str, ExternalIdentifier], list[Union[str, ExternalIdentifier]]]] = empty_list()
|
|
1644
1644
|
alternative_names: Optional[Union[str, list[str]]] = empty_list()
|
|
1645
|
+
provenance_metadata: Optional[Union[dict, "ProvenanceMetadata"]] = None
|
|
1645
1646
|
gold_biosample_identifiers: Optional[Union[Union[str, URIorCURIE], list[Union[str, URIorCURIE]]]] = empty_list()
|
|
1646
1647
|
insdc_biosample_identifiers: Optional[Union[Union[str, ExternalIdentifier], list[Union[str, ExternalIdentifier]]]] = empty_list()
|
|
1647
1648
|
emsl_biosample_identifiers: Optional[Union[Union[str, ExternalIdentifier], list[Union[str, ExternalIdentifier]]]] = empty_list()
|
|
@@ -2126,6 +2127,7 @@ class Biosample(Sample):
|
|
|
2126
2127
|
ecosystem_type: Optional[str] = None
|
|
2127
2128
|
ecosystem_subtype: Optional[str] = None
|
|
2128
2129
|
specific_ecosystem: Optional[str] = None
|
|
2130
|
+
ecosystem_path_id: Optional[int] = None
|
|
2129
2131
|
add_date: Optional[str] = None
|
|
2130
2132
|
community: Optional[str] = None
|
|
2131
2133
|
habitat: Optional[str] = None
|
|
@@ -2230,6 +2232,9 @@ class Biosample(Sample):
|
|
|
2230
2232
|
self.alternative_names = [self.alternative_names] if self.alternative_names is not None else []
|
|
2231
2233
|
self.alternative_names = [v if isinstance(v, str) else str(v) for v in self.alternative_names]
|
|
2232
2234
|
|
|
2235
|
+
if self.provenance_metadata is not None and not isinstance(self.provenance_metadata, ProvenanceMetadata):
|
|
2236
|
+
self.provenance_metadata = ProvenanceMetadata(**as_dict(self.provenance_metadata))
|
|
2237
|
+
|
|
2233
2238
|
if not isinstance(self.gold_biosample_identifiers, list):
|
|
2234
2239
|
self.gold_biosample_identifiers = [self.gold_biosample_identifiers] if self.gold_biosample_identifiers is not None else []
|
|
2235
2240
|
self.gold_biosample_identifiers = [v if isinstance(v, URIorCURIE) else URIorCURIE(v) for v in self.gold_biosample_identifiers]
|
|
@@ -3747,6 +3752,9 @@ class Biosample(Sample):
|
|
|
3747
3752
|
if self.specific_ecosystem is not None and not isinstance(self.specific_ecosystem, str):
|
|
3748
3753
|
self.specific_ecosystem = str(self.specific_ecosystem)
|
|
3749
3754
|
|
|
3755
|
+
if self.ecosystem_path_id is not None and not isinstance(self.ecosystem_path_id, int):
|
|
3756
|
+
self.ecosystem_path_id = int(self.ecosystem_path_id)
|
|
3757
|
+
|
|
3750
3758
|
if self.add_date is not None and not isinstance(self.add_date, str):
|
|
3751
3759
|
self.add_date = str(self.add_date)
|
|
3752
3760
|
|
|
@@ -6472,10 +6480,46 @@ class MetagenomeAnnotation(AnnotatingWorkflow):
|
|
|
6472
6480
|
self.type = str(self.class_class_curie)
|
|
6473
6481
|
|
|
6474
6482
|
|
|
6483
|
+
@dataclass(repr=False)
|
|
6484
|
+
class ProvenanceMetadata(YAMLRoot):
|
|
6485
|
+
"""
|
|
6486
|
+
Metadata pertaining to how a record was created.
|
|
6487
|
+
"""
|
|
6488
|
+
_inherited_slots: ClassVar[list[str]] = []
|
|
6489
|
+
|
|
6490
|
+
class_class_uri: ClassVar[URIRef] = NMDC["ProvenanceMetadata"]
|
|
6491
|
+
class_class_curie: ClassVar[str] = "nmdc:ProvenanceMetadata"
|
|
6492
|
+
class_name: ClassVar[str] = "ProvenanceMetadata"
|
|
6493
|
+
class_model_uri: ClassVar[URIRef] = NMDC.ProvenanceMetadata
|
|
6494
|
+
|
|
6495
|
+
type: Union[str, URIorCURIE] = None
|
|
6496
|
+
git_url: Optional[str] = None
|
|
6497
|
+
version: Optional[str] = None
|
|
6498
|
+
source_system_of_record: Optional[Union[str, "SourceSystemEnum"]] = None
|
|
6499
|
+
|
|
6500
|
+
def __post_init__(self, *_: str, **kwargs: Any):
|
|
6501
|
+
if self._is_empty(self.type):
|
|
6502
|
+
self.MissingRequiredField("type")
|
|
6503
|
+
self.type = str(self.class_class_curie)
|
|
6504
|
+
|
|
6505
|
+
if self.git_url is not None and not isinstance(self.git_url, str):
|
|
6506
|
+
self.git_url = str(self.git_url)
|
|
6507
|
+
|
|
6508
|
+
if self.version is not None and not isinstance(self.version, str):
|
|
6509
|
+
self.version = str(self.version)
|
|
6510
|
+
|
|
6511
|
+
if self.source_system_of_record is not None and not isinstance(self.source_system_of_record, SourceSystemEnum):
|
|
6512
|
+
self.source_system_of_record = SourceSystemEnum(self.source_system_of_record)
|
|
6513
|
+
|
|
6514
|
+
super().__post_init__(**kwargs)
|
|
6515
|
+
|
|
6516
|
+
|
|
6475
6517
|
# Enumerations
|
|
6476
6518
|
class CalibrationTargetEnum(EnumDefinitionImpl):
|
|
6477
6519
|
|
|
6478
|
-
mass_charge_ratio = PermissibleValue(
|
|
6520
|
+
mass_charge_ratio = PermissibleValue(
|
|
6521
|
+
text="mass_charge_ratio",
|
|
6522
|
+
title="m/z")
|
|
6479
6523
|
retention_time = PermissibleValue(text="retention_time")
|
|
6480
6524
|
retention_index = PermissibleValue(text="retention_index")
|
|
6481
6525
|
|
|
@@ -6516,7 +6560,7 @@ class MassSpectrometryAcquisitionStrategyEnum(EnumDefinitionImpl):
|
|
|
6516
6560
|
|
|
6517
6561
|
data_independent_acquisition = PermissibleValue(
|
|
6518
6562
|
text="data_independent_acquisition",
|
|
6519
|
-
description="""
|
|
6563
|
+
description="""Data independent mass spectrometer acquisition method wherein the full mass range is fragmented. Examples of such an approach include MS^E, AIF, and bbCID.""")
|
|
6520
6564
|
data_dependent_acquisition = PermissibleValue(
|
|
6521
6565
|
text="data_dependent_acquisition",
|
|
6522
6566
|
description="""Mass spectrometer data acquisition method wherein MSn spectra are triggered based on the m/z of precursor ions detected in the same run.""")
|
|
@@ -6598,15 +6642,19 @@ class EluentIntroductionCategoryEnum(EnumDefinitionImpl):
|
|
|
6598
6642
|
|
|
6599
6643
|
liquid_chromatography = PermissibleValue(
|
|
6600
6644
|
text="liquid_chromatography",
|
|
6645
|
+
title="liquid chromatography",
|
|
6601
6646
|
description="""The processed sample is introduced into the mass spectrometer through a liquid chromatography process.""")
|
|
6602
6647
|
gas_chromatography = PermissibleValue(
|
|
6603
6648
|
text="gas_chromatography",
|
|
6649
|
+
title="gas chromatography",
|
|
6604
6650
|
description="""The processed sample is introduced into the mass spectrometer through a gas chromatography process.""")
|
|
6605
6651
|
direct_infusion_syringe = PermissibleValue(
|
|
6606
6652
|
text="direct_infusion_syringe",
|
|
6653
|
+
title="direct infusion syringe",
|
|
6607
6654
|
description="""The processed sample is introduced into the mass spectrometer through a direct infusion process using a syringe.""")
|
|
6608
6655
|
direct_infusion_autosampler = PermissibleValue(
|
|
6609
6656
|
text="direct_infusion_autosampler",
|
|
6657
|
+
title="direct infusion autosampler",
|
|
6610
6658
|
description="""The processed sample is introduced into the mass spectrometer through a direct infusion process using an autosampler.""")
|
|
6611
6659
|
|
|
6612
6660
|
_defn = EnumDefinition(
|
|
@@ -6780,18 +6828,23 @@ class SamplePortionEnum(EnumDefinitionImpl):
|
|
|
6780
6828
|
pellet = PermissibleValue(text="pellet")
|
|
6781
6829
|
organic_layer = PermissibleValue(
|
|
6782
6830
|
text="organic_layer",
|
|
6831
|
+
title="Organic layer",
|
|
6783
6832
|
description="The portion of a mixture containing dissolved organic material")
|
|
6784
6833
|
aqueous_layer = PermissibleValue(
|
|
6785
6834
|
text="aqueous_layer",
|
|
6835
|
+
title="Aqueous layer",
|
|
6786
6836
|
description="The portion of a mixture containing molecules dissolved in water")
|
|
6787
6837
|
interlayer = PermissibleValue(
|
|
6788
6838
|
text="interlayer",
|
|
6839
|
+
title="Interlayer",
|
|
6789
6840
|
description="The layer of material between liquid layers of a separated mixture")
|
|
6790
6841
|
chloroform_layer = PermissibleValue(
|
|
6791
6842
|
text="chloroform_layer",
|
|
6843
|
+
title="Chloroform layer",
|
|
6792
6844
|
description="The portion of a mixture containing molecules dissolved in chloroform")
|
|
6793
6845
|
methanol_layer = PermissibleValue(
|
|
6794
6846
|
text="methanol_layer",
|
|
6847
|
+
title="Methanol layer",
|
|
6795
6848
|
description="The portion of a mixture containing molecules dissolved in methanol")
|
|
6796
6849
|
|
|
6797
6850
|
_defn = EnumDefinition(
|
|
@@ -6872,20 +6925,25 @@ class BiosampleCategoryEnum(EnumDefinitionImpl):
|
|
|
6872
6925
|
"""
|
|
6873
6926
|
LTER = PermissibleValue(
|
|
6874
6927
|
text="LTER",
|
|
6928
|
+
title="National Science Foundation's Long Term Ecological Research Network",
|
|
6875
6929
|
meaning=None)
|
|
6876
6930
|
SIP = PermissibleValue(text="SIP")
|
|
6877
6931
|
SFA = PermissibleValue(
|
|
6878
6932
|
text="SFA",
|
|
6933
|
+
title="Department of Energy Office of Science Biological and Environmental Research Program Laboratory Science Focus Areas",
|
|
6879
6934
|
description="""Science Focus Area projects funded through the Department of Energy Office of Science Biological and Environmental Research Program""",
|
|
6880
6935
|
meaning=None)
|
|
6881
6936
|
FICUS = PermissibleValue(
|
|
6882
6937
|
text="FICUS",
|
|
6938
|
+
title="Facilities Integrating Collaborations for User Science",
|
|
6883
6939
|
meaning=None)
|
|
6884
6940
|
NEON = PermissibleValue(
|
|
6885
6941
|
text="NEON",
|
|
6942
|
+
title="National Science Foundation's National Ecological Observatory Network",
|
|
6886
6943
|
meaning=None)
|
|
6887
6944
|
BRC = PermissibleValue(
|
|
6888
6945
|
text="BRC",
|
|
6946
|
+
title="Bioenergy Research Centers",
|
|
6889
6947
|
description="""Bioenergy Research Centers funded by the Biological Systems Science Division of the U.S. Department of Energy's Biological and Environmental Research Program.""",
|
|
6890
6948
|
meaning=None)
|
|
6891
6949
|
|
|
@@ -7037,6 +7095,7 @@ class UnitEnum(EnumDefinitionImpl):
|
|
|
7037
7095
|
|
|
7038
7096
|
Cel = PermissibleValue(
|
|
7039
7097
|
text="Cel",
|
|
7098
|
+
title="degrees Celsius",
|
|
7040
7099
|
description="""The Unified Code for Units of Measure (UCUM) representation of degrees Celsius; a SI unit of temperature equal to one unit Kelvin.""")
|
|
7041
7100
|
cm = PermissibleValue(
|
|
7042
7101
|
text="cm",
|
|
@@ -7070,6 +7129,7 @@ class UnitEnum(EnumDefinitionImpl):
|
|
|
7070
7129
|
description="The Unified Code for Units of Measure (UCUM) representation of millimeter.")
|
|
7071
7130
|
a = PermissibleValue(
|
|
7072
7131
|
text="a",
|
|
7132
|
+
title="years",
|
|
7073
7133
|
description="The Unified Code for Units of Measure (UCUM) representation of year.")
|
|
7074
7134
|
uL = PermissibleValue(
|
|
7075
7135
|
text="uL",
|
|
@@ -7097,6 +7157,7 @@ class UnitEnum(EnumDefinitionImpl):
|
|
|
7097
7157
|
description="The Unified Code for Units of Measure (UCUM) representation of kilogram.")
|
|
7098
7158
|
lx = PermissibleValue(
|
|
7099
7159
|
text="lx",
|
|
7160
|
+
title="lux",
|
|
7100
7161
|
description="The Unified Code for Units of Measure (UCUM) representation of lux.")
|
|
7101
7162
|
deg = PermissibleValue(
|
|
7102
7163
|
text="deg",
|
|
@@ -7208,6 +7269,7 @@ class UnitEnum(EnumDefinitionImpl):
|
|
|
7208
7269
|
description="The Unified Code for Units of Measure (UCUM) representation of gray (absorbed dose).")
|
|
7209
7270
|
RAD = PermissibleValue(
|
|
7210
7271
|
text="RAD",
|
|
7272
|
+
title="rad (radiation absorbed dose)",
|
|
7211
7273
|
description="The Unified Code for Units of Measure (UCUM) representation of rad (radiation absorbed dose).")
|
|
7212
7274
|
m3 = PermissibleValue(
|
|
7213
7275
|
text="m3",
|
|
@@ -7232,6 +7294,7 @@ class UnitEnum(EnumDefinitionImpl):
|
|
|
7232
7294
|
setattr(cls, "J/K",
|
|
7233
7295
|
PermissibleValue(
|
|
7234
7296
|
text="J/K",
|
|
7297
|
+
title="J/degree Celsius",
|
|
7235
7298
|
description="The Unified Code for Units of Measure (UCUM) representation of joule per kelvin."))
|
|
7236
7299
|
setattr(cls, "m/s",
|
|
7237
7300
|
PermissibleValue(
|
|
@@ -7300,6 +7363,7 @@ class UnitEnum(EnumDefinitionImpl):
|
|
|
7300
7363
|
setattr(cls, "umol/m2/s",
|
|
7301
7364
|
PermissibleValue(
|
|
7302
7365
|
text="umol/m2/s",
|
|
7366
|
+
title="micromoles per square meter per second",
|
|
7303
7367
|
description="""The Unified Code for Units of Measure (UCUM) representation of micromoles per square meter per second."""))
|
|
7304
7368
|
setattr(cls, "mg/m3",
|
|
7305
7369
|
PermissibleValue(
|
|
@@ -7320,6 +7384,7 @@ class UnitEnum(EnumDefinitionImpl):
|
|
|
7320
7384
|
setattr(cls, "1",
|
|
7321
7385
|
PermissibleValue(
|
|
7322
7386
|
text="1",
|
|
7387
|
+
title="ratio/unitless",
|
|
7323
7388
|
description="The Unified Code for Units of Measure (UCUM) representation of dimensionless quantity."))
|
|
7324
7389
|
setattr(cls, "uL/kg",
|
|
7325
7390
|
PermissibleValue(
|
|
@@ -7393,6 +7458,11 @@ class UnitEnum(EnumDefinitionImpl):
|
|
|
7393
7458
|
PermissibleValue(
|
|
7394
7459
|
text="1/d",
|
|
7395
7460
|
description="The Unified Code for Units of Measure (UCUM) representation of per day (frequency)."))
|
|
7461
|
+
setattr(cls, "1/[sft_i]",
|
|
7462
|
+
PermissibleValue(
|
|
7463
|
+
text="1/[sft_i]",
|
|
7464
|
+
title="per square foot",
|
|
7465
|
+
description="The Unified Code for Units of Measure (UCUM) representation of per square foot."))
|
|
7396
7466
|
setattr(cls, "kW/m2",
|
|
7397
7467
|
PermissibleValue(
|
|
7398
7468
|
text="kW/m2",
|
|
@@ -7420,10 +7490,12 @@ class UnitEnum(EnumDefinitionImpl):
|
|
|
7420
7490
|
setattr(cls, "[NTU]",
|
|
7421
7491
|
PermissibleValue(
|
|
7422
7492
|
text="[NTU]",
|
|
7493
|
+
title="Nephelometric Turbidity Units",
|
|
7423
7494
|
description="""The Unified Code for Units of Measure (UCUM) representation of Nephelometric Turbidity Units."""))
|
|
7424
7495
|
setattr(cls, "[FNU]",
|
|
7425
7496
|
PermissibleValue(
|
|
7426
7497
|
text="[FNU]",
|
|
7498
|
+
title="Formazin Nephelometric Units",
|
|
7427
7499
|
description="""The Unified Code for Units of Measure (UCUM) representation of Formazin Nephelometric Units."""))
|
|
7428
7500
|
setattr(cls, "m3/min",
|
|
7429
7501
|
PermissibleValue(
|
|
@@ -7436,6 +7508,7 @@ class UnitEnum(EnumDefinitionImpl):
|
|
|
7436
7508
|
setattr(cls, "[lb_av]",
|
|
7437
7509
|
PermissibleValue(
|
|
7438
7510
|
text="[lb_av]",
|
|
7511
|
+
title="pounds (avoirdupois)",
|
|
7439
7512
|
description="The Unified Code for Units of Measure (UCUM) representation of pound (avoirdupois)."))
|
|
7440
7513
|
setattr(cls, "kg/kg",
|
|
7441
7514
|
PermissibleValue(
|
|
@@ -7468,6 +7541,7 @@ class UnitEnum(EnumDefinitionImpl):
|
|
|
7468
7541
|
setattr(cls, "[g]",
|
|
7469
7542
|
PermissibleValue(
|
|
7470
7543
|
text="[g]",
|
|
7544
|
+
title="standard gravity",
|
|
7471
7545
|
description="The Unified Code for Units of Measure (UCUM) representation of standard gravity."))
|
|
7472
7546
|
setattr(cls, "m/s2",
|
|
7473
7547
|
PermissibleValue(
|
|
@@ -7484,14 +7558,17 @@ class UnitEnum(EnumDefinitionImpl):
|
|
|
7484
7558
|
setattr(cls, "[sft_i]",
|
|
7485
7559
|
PermissibleValue(
|
|
7486
7560
|
text="[sft_i]",
|
|
7561
|
+
title="square feet",
|
|
7487
7562
|
description="The Unified Code for Units of Measure (UCUM) representation of square feet."))
|
|
7488
7563
|
setattr(cls, "[cft_i]",
|
|
7489
7564
|
PermissibleValue(
|
|
7490
7565
|
text="[cft_i]",
|
|
7566
|
+
title="cubic feet",
|
|
7491
7567
|
description="The Unified Code for Units of Measure (UCUM) representation of cubic feet."))
|
|
7492
7568
|
setattr(cls, "mm/a",
|
|
7493
7569
|
PermissibleValue(
|
|
7494
7570
|
text="mm/a",
|
|
7571
|
+
title="millimeters per year",
|
|
7495
7572
|
description="The Unified Code for Units of Measure (UCUM) representation of millimeters per year."))
|
|
7496
7573
|
setattr(cls, "erg/cm2/s",
|
|
7497
7574
|
PermissibleValue(
|
|
@@ -7512,6 +7589,7 @@ class UnitEnum(EnumDefinitionImpl):
|
|
|
7512
7589
|
setattr(cls, "[kn_i]",
|
|
7513
7590
|
PermissibleValue(
|
|
7514
7591
|
text="[kn_i]",
|
|
7592
|
+
title="knots",
|
|
7515
7593
|
description="""The Unified Code for Units of Measure (UCUM) representation of knot (nautical miles per hour)."""))
|
|
7516
7594
|
setattr(cls, "m3/s",
|
|
7517
7595
|
PermissibleValue(
|
|
@@ -7520,6 +7598,7 @@ class UnitEnum(EnumDefinitionImpl):
|
|
|
7520
7598
|
setattr(cls, "[in_i]",
|
|
7521
7599
|
PermissibleValue(
|
|
7522
7600
|
text="[in_i]",
|
|
7601
|
+
title="inches",
|
|
7523
7602
|
description="The Unified Code for Units of Measure (UCUM) representation of inch."))
|
|
7524
7603
|
|
|
7525
7604
|
class ExecutionResourceEnum(EnumDefinitionImpl):
|
|
@@ -7960,27 +8039,40 @@ class DoiProviderEnum(EnumDefinitionImpl):
|
|
|
7960
8039
|
|
|
7961
8040
|
emsl = PermissibleValue(
|
|
7962
8041
|
text="emsl",
|
|
8042
|
+
title="EMSL",
|
|
7963
8043
|
meaning=ROR["04rc0xn13"])
|
|
7964
8044
|
jgi = PermissibleValue(
|
|
7965
8045
|
text="jgi",
|
|
8046
|
+
title="JGI",
|
|
7966
8047
|
meaning=ROR["04xm1d337"])
|
|
7967
8048
|
kbase = PermissibleValue(
|
|
7968
8049
|
text="kbase",
|
|
8050
|
+
title="KBase",
|
|
7969
8051
|
meaning=ROR["01znn6x10"])
|
|
7970
8052
|
osti = PermissibleValue(
|
|
7971
8053
|
text="osti",
|
|
8054
|
+
title="OSTI",
|
|
7972
8055
|
meaning=ROR["031478740"])
|
|
7973
8056
|
ess_dive = PermissibleValue(
|
|
7974
8057
|
text="ess_dive",
|
|
8058
|
+
title="ESS-DIVE",
|
|
7975
8059
|
meaning=ROR["01t14bp54"])
|
|
7976
|
-
massive = PermissibleValue(
|
|
7977
|
-
|
|
7978
|
-
|
|
8060
|
+
massive = PermissibleValue(
|
|
8061
|
+
text="massive",
|
|
8062
|
+
title="MassIVE")
|
|
8063
|
+
gsc = PermissibleValue(
|
|
8064
|
+
text="gsc",
|
|
8065
|
+
title="GSC")
|
|
8066
|
+
zenodo = PermissibleValue(
|
|
8067
|
+
text="zenodo",
|
|
8068
|
+
title="Zenodo")
|
|
7979
8069
|
edi = PermissibleValue(
|
|
7980
8070
|
text="edi",
|
|
8071
|
+
title="EDI",
|
|
7981
8072
|
meaning=ROR["0330j0z60"])
|
|
7982
8073
|
figshare = PermissibleValue(
|
|
7983
8074
|
text="figshare",
|
|
8075
|
+
title="Figshare",
|
|
7984
8076
|
meaning=ROR["041mxqs23"])
|
|
7985
8077
|
|
|
7986
8078
|
_defn = EnumDefinition(
|
|
@@ -8021,10 +8113,15 @@ class StatusEnum(EnumDefinitionImpl):
|
|
|
8021
8113
|
|
|
8022
8114
|
class NucleotideSequencingEnum(EnumDefinitionImpl):
|
|
8023
8115
|
|
|
8024
|
-
metagenome = PermissibleValue(
|
|
8025
|
-
|
|
8116
|
+
metagenome = PermissibleValue(
|
|
8117
|
+
text="metagenome",
|
|
8118
|
+
title="Metagenome")
|
|
8119
|
+
metatranscriptome = PermissibleValue(
|
|
8120
|
+
text="metatranscriptome",
|
|
8121
|
+
title="Metatranscriptome")
|
|
8026
8122
|
amplicon_sequencing_assay = PermissibleValue(
|
|
8027
8123
|
text="amplicon_sequencing_assay",
|
|
8124
|
+
title="Amplicon",
|
|
8028
8125
|
meaning=OBI["0002767"])
|
|
8029
8126
|
|
|
8030
8127
|
_defn = EnumDefinition(
|
|
@@ -8033,10 +8130,18 @@ class NucleotideSequencingEnum(EnumDefinitionImpl):
|
|
|
8033
8130
|
|
|
8034
8131
|
class MassSpectrometryEnum(EnumDefinitionImpl):
|
|
8035
8132
|
|
|
8036
|
-
metaproteome = PermissibleValue(
|
|
8037
|
-
|
|
8038
|
-
|
|
8039
|
-
|
|
8133
|
+
metaproteome = PermissibleValue(
|
|
8134
|
+
text="metaproteome",
|
|
8135
|
+
title="Metaproteome")
|
|
8136
|
+
metabolome = PermissibleValue(
|
|
8137
|
+
text="metabolome",
|
|
8138
|
+
title="Metabolome")
|
|
8139
|
+
lipidome = PermissibleValue(
|
|
8140
|
+
text="lipidome",
|
|
8141
|
+
title="Lipidome")
|
|
8142
|
+
nom = PermissibleValue(
|
|
8143
|
+
text="nom",
|
|
8144
|
+
title="Natural Organic Matter")
|
|
8040
8145
|
|
|
8041
8146
|
_defn = EnumDefinition(
|
|
8042
8147
|
name="MassSpectrometryEnum",
|
|
@@ -8063,27 +8168,35 @@ class ProcessingInstitutionEnum(EnumDefinitionImpl):
|
|
|
8063
8168
|
|
|
8064
8169
|
NMDC = PermissibleValue(
|
|
8065
8170
|
text="NMDC",
|
|
8171
|
+
title="National Microbiome Data Collaborative",
|
|
8066
8172
|
meaning=ROR["05cwx3318"])
|
|
8067
8173
|
UCSD = PermissibleValue(
|
|
8068
8174
|
text="UCSD",
|
|
8175
|
+
title="University of California, San Diego",
|
|
8069
8176
|
meaning=ROR["0168r3w48"])
|
|
8070
8177
|
JGI = PermissibleValue(
|
|
8071
8178
|
text="JGI",
|
|
8179
|
+
title="Joint Genome Institute",
|
|
8072
8180
|
meaning=ROR["04xm1d337"])
|
|
8073
8181
|
EMSL = PermissibleValue(
|
|
8074
8182
|
text="EMSL",
|
|
8183
|
+
title="Environmental Molecular Sciences Laboratory",
|
|
8075
8184
|
meaning=ROR["04rc0xn13"])
|
|
8076
8185
|
Battelle = PermissibleValue(
|
|
8077
8186
|
text="Battelle",
|
|
8187
|
+
title="Battelle Memorial Institute",
|
|
8078
8188
|
meaning=ROR["01h5tnr73"])
|
|
8079
8189
|
ANL = PermissibleValue(
|
|
8080
8190
|
text="ANL",
|
|
8191
|
+
title="Argonne National Laboratory",
|
|
8081
8192
|
meaning=ROR["05gvnxz63"])
|
|
8082
8193
|
UCD_Genome_Center = PermissibleValue(
|
|
8083
8194
|
text="UCD_Genome_Center",
|
|
8195
|
+
title="University of California, Davis Genome Center",
|
|
8084
8196
|
meaning=None)
|
|
8085
8197
|
Azenta = PermissibleValue(
|
|
8086
8198
|
text="Azenta",
|
|
8199
|
+
title="Azenta Life Sciences",
|
|
8087
8200
|
meaning=None)
|
|
8088
8201
|
|
|
8089
8202
|
_defn = EnumDefinition(
|
|
@@ -8106,6 +8219,28 @@ class DataCategoryEnum(EnumDefinitionImpl):
|
|
|
8106
8219
|
name="DataCategoryEnum",
|
|
8107
8220
|
)
|
|
8108
8221
|
|
|
8222
|
+
class SourceSystemEnum(EnumDefinitionImpl):
|
|
8223
|
+
|
|
8224
|
+
NMDC_Submission_Portal = PermissibleValue(
|
|
8225
|
+
text="NMDC_Submission_Portal",
|
|
8226
|
+
description="The National Microbiome Data Collaborative's Submission Portal")
|
|
8227
|
+
GOLD = PermissibleValue(
|
|
8228
|
+
text="GOLD",
|
|
8229
|
+
description="JGI's GOLD system")
|
|
8230
|
+
NEON_Data_Portal = PermissibleValue(
|
|
8231
|
+
text="NEON_Data_Portal",
|
|
8232
|
+
description="National Science Foundation National Ecologial Observatory Network's Data Portal")
|
|
8233
|
+
NCBI = PermissibleValue(
|
|
8234
|
+
text="NCBI",
|
|
8235
|
+
description="National Center for Biotechnology Information database")
|
|
8236
|
+
custom = PermissibleValue(
|
|
8237
|
+
text="custom",
|
|
8238
|
+
description="""Metadata was generated by custom methods such as an offline spreadsheet provided by a user or staff member.""")
|
|
8239
|
+
|
|
8240
|
+
_defn = EnumDefinition(
|
|
8241
|
+
name="SourceSystemEnum",
|
|
8242
|
+
)
|
|
8243
|
+
|
|
8109
8244
|
class CreditEnum(EnumDefinitionImpl):
|
|
8110
8245
|
|
|
8111
8246
|
Conceptualization = PermissibleValue(
|
|
@@ -10443,9 +10578,11 @@ class AnalysisTypeEnum(EnumDefinitionImpl):
|
|
|
10443
10578
|
lipidomics = PermissibleValue(text="lipidomics")
|
|
10444
10579
|
metagenomics = PermissibleValue(
|
|
10445
10580
|
text="metagenomics",
|
|
10581
|
+
title="Metagenomics",
|
|
10446
10582
|
description="Standard short-read metagenomic sequencing")
|
|
10447
10583
|
metagenomics_long_read = PermissibleValue(
|
|
10448
10584
|
text="metagenomics_long_read",
|
|
10585
|
+
title="Metagenomics (long read)",
|
|
10449
10586
|
description="Long-read metagenomic sequencing")
|
|
10450
10587
|
metaproteomics = PermissibleValue(text="metaproteomics")
|
|
10451
10588
|
metatranscriptomics = PermissibleValue(text="metatranscriptomics")
|
|
@@ -10463,36 +10600,38 @@ class AnalysisTypeEnum(EnumDefinitionImpl):
|
|
|
10463
10600
|
setattr(cls, "amplicon sequencing assay",
|
|
10464
10601
|
PermissibleValue(
|
|
10465
10602
|
text="amplicon sequencing assay",
|
|
10603
|
+
title="Amplicon sequencing assay",
|
|
10466
10604
|
meaning=OBI["0002767"]))
|
|
10467
10605
|
|
|
10468
10606
|
class SubmissionStatusEnum(EnumDefinitionImpl):
|
|
10469
10607
|
|
|
10470
10608
|
InProgress = PermissibleValue(
|
|
10471
10609
|
text="InProgress",
|
|
10610
|
+
title="In Progress",
|
|
10472
10611
|
description="The submitter is currently working on the submission.")
|
|
10473
10612
|
SubmittedPendingReview = PermissibleValue(
|
|
10474
10613
|
text="SubmittedPendingReview",
|
|
10614
|
+
title="Submitted - Pending Review",
|
|
10475
10615
|
description="Submission is ready for NMDC review, the submitter cannot edit.")
|
|
10476
|
-
ResubmittedPendingReview = PermissibleValue(
|
|
10477
|
-
text="ResubmittedPendingReview",
|
|
10478
|
-
description="""Submission has been resubmitted after updates. It is now ready for NMDC review. The submitter cannot edit.""")
|
|
10479
10616
|
ApprovedHeld = PermissibleValue(
|
|
10480
10617
|
text="ApprovedHeld",
|
|
10618
|
+
title="Approved - Held",
|
|
10481
10619
|
description="""Submission has been reviewed and approved. Information is complete, but not yet shared on the data portal. The submitter cannot edit.""")
|
|
10482
|
-
|
|
10483
|
-
text="
|
|
10484
|
-
|
|
10620
|
+
ApprovedPendingUserFacility = PermissibleValue(
|
|
10621
|
+
text="ApprovedPendingUserFacility",
|
|
10622
|
+
title="Approved - Sent to User Facility",
|
|
10623
|
+
description="""Submission has been reviewed and approved by NMDC. Sample information has been shared with designated user facility and is ready for their review. The submitter cannot edit.""")
|
|
10485
10624
|
UpdatesRequired = PermissibleValue(
|
|
10486
10625
|
text="UpdatesRequired",
|
|
10487
|
-
|
|
10488
|
-
|
|
10489
|
-
text="InProgressUpdate",
|
|
10490
|
-
description="""NMDC reviewer has reopened submission on behalf of submitter. The submitter is currently editing the submission.""")
|
|
10626
|
+
title="Updates Required",
|
|
10627
|
+
description="""Submission has been reviewed and submitter edits are required for approval. The submitter can edit the submission.""")
|
|
10491
10628
|
Denied = PermissibleValue(
|
|
10492
10629
|
text="Denied",
|
|
10630
|
+
title="Denied",
|
|
10493
10631
|
description="Submission has been reviewed and denied. The submitter cannot edit.")
|
|
10494
10632
|
Released = PermissibleValue(
|
|
10495
10633
|
text="Released",
|
|
10634
|
+
title="Released",
|
|
10496
10635
|
description="""Submission has been reviewed and approved and data is released on the data portal. The submitter cannot edit.""")
|
|
10497
10636
|
|
|
10498
10637
|
_defn = EnumDefinition(
|
|
@@ -10573,9 +10712,6 @@ slots.count = Slot(uri=NMDC.count, name="count", curie=NMDC.curie('count'),
|
|
|
10573
10712
|
slots.functional_annotation_agg = Slot(uri=NMDC.functional_annotation_agg, name="functional_annotation_agg", curie=NMDC.curie('functional_annotation_agg'),
|
|
10574
10713
|
model_uri=NMDC.functional_annotation_agg, domain=None, range=Optional[Union[Union[dict, FunctionalAnnotationAggMember], list[Union[dict, FunctionalAnnotationAggMember]]]])
|
|
10575
10714
|
|
|
10576
|
-
slots.ecosystem_path_id = Slot(uri=NMDC.ecosystem_path_id, name="ecosystem_path_id", curie=NMDC.curie('ecosystem_path_id'),
|
|
10577
|
-
model_uri=NMDC.ecosystem_path_id, domain=None, range=Optional[str])
|
|
10578
|
-
|
|
10579
10715
|
slots.sample_collection_year = Slot(uri=NMDC.sample_collection_year, name="sample_collection_year", curie=NMDC.curie('sample_collection_year'),
|
|
10580
10716
|
model_uri=NMDC.sample_collection_year, domain=None, range=Optional[int])
|
|
10581
10717
|
|
|
@@ -11216,6 +11352,9 @@ slots.notes = Slot(uri=NMDC.notes, name="notes", curie=NMDC.curie('notes'),
|
|
|
11216
11352
|
slots.funding_sources = Slot(uri=NMDC.funding_sources, name="funding_sources", curie=NMDC.curie('funding_sources'),
|
|
11217
11353
|
model_uri=NMDC.funding_sources, domain=None, range=Optional[Union[str, list[str]]])
|
|
11218
11354
|
|
|
11355
|
+
slots.ecosystem_path_id = Slot(uri=NMDC.ecosystem_path_id, name="ecosystem_path_id", curie=NMDC.curie('ecosystem_path_id'),
|
|
11356
|
+
model_uri=NMDC.ecosystem_path_id, domain=None, range=Optional[int])
|
|
11357
|
+
|
|
11219
11358
|
slots.gold_path_field = Slot(uri=NMDC.gold_path_field, name="gold_path_field", curie=NMDC.curie('gold_path_field'),
|
|
11220
11359
|
model_uri=NMDC.gold_path_field, domain=None, range=Optional[str])
|
|
11221
11360
|
|
|
@@ -11294,6 +11433,9 @@ slots.start_date = Slot(uri=NMDC.start_date, name="start_date", curie=NMDC.curie
|
|
|
11294
11433
|
slots.end_date = Slot(uri=NMDC.end_date, name="end_date", curie=NMDC.curie('end_date'),
|
|
11295
11434
|
model_uri=NMDC.end_date, domain=None, range=Optional[str])
|
|
11296
11435
|
|
|
11436
|
+
slots.source_system_of_record = Slot(uri=NMDC['basic_classes/source_system_of_record'], name="source_system_of_record", curie=NMDC.curie('basic_classes/source_system_of_record'),
|
|
11437
|
+
model_uri=NMDC.source_system_of_record, domain=None, range=Optional[Union[str, "SourceSystemEnum"]])
|
|
11438
|
+
|
|
11297
11439
|
slots.associated_studies = Slot(uri=NMDC['basic_classes/associated_studies'], name="associated_studies", curie=NMDC.curie('basic_classes/associated_studies'),
|
|
11298
11440
|
model_uri=NMDC.associated_studies, domain=None, range=Union[Union[str, StudyId], list[Union[str, StudyId]]])
|
|
11299
11441
|
|
|
@@ -11378,6 +11520,9 @@ slots.protocol_for = Slot(uri=NMDC['basic_classes/protocol_for'], name="protocol
|
|
|
11378
11520
|
slots.superseded_by = Slot(uri=NMDC['basic_classes/superseded_by'], name="superseded_by", curie=NMDC.curie('basic_classes/superseded_by'),
|
|
11379
11521
|
model_uri=NMDC.superseded_by, domain=None, range=Optional[Union[str, WorkflowExecutionId]])
|
|
11380
11522
|
|
|
11523
|
+
slots.provenance_metadata = Slot(uri=NMDC['basic_classes/provenance_metadata'], name="provenance_metadata", curie=NMDC.curie('basic_classes/provenance_metadata'),
|
|
11524
|
+
model_uri=NMDC.provenance_metadata, domain=None, range=Optional[Union[dict, ProvenanceMetadata]])
|
|
11525
|
+
|
|
11381
11526
|
slots.rna_collect_site = Slot(uri=NMDC.rna_collect_site, name="rna_collect_site", curie=NMDC.curie('rna_collect_site'),
|
|
11382
11527
|
model_uri=NMDC.rna_collect_site, domain=None, range=Optional[str])
|
|
11383
11528
|
|
|
@@ -13724,4 +13869,13 @@ slots.WorkflowExecution_processing_institution = Slot(uri=NMDC.processing_instit
|
|
|
13724
13869
|
model_uri=NMDC.WorkflowExecution_processing_institution, domain=WorkflowExecution, range=Union[str, "ProcessingInstitutionEnum"])
|
|
13725
13870
|
|
|
13726
13871
|
slots.WorkflowExecution_was_informed_by = Slot(uri=NMDC['basic_classes/was_informed_by'], name="WorkflowExecution_was_informed_by", curie=NMDC.curie('basic_classes/was_informed_by'),
|
|
13727
|
-
model_uri=NMDC.WorkflowExecution_was_informed_by, domain=WorkflowExecution, range=Union[Union[str, DataGenerationId], list[Union[str, DataGenerationId]]])
|
|
13872
|
+
model_uri=NMDC.WorkflowExecution_was_informed_by, domain=WorkflowExecution, range=Union[Union[str, DataGenerationId], list[Union[str, DataGenerationId]]])
|
|
13873
|
+
|
|
13874
|
+
slots.WorkflowExecution_version = Slot(uri=NMDC.version, name="WorkflowExecution_version", curie=NMDC.curie('version'),
|
|
13875
|
+
model_uri=NMDC.WorkflowExecution_version, domain=WorkflowExecution, range=Optional[str])
|
|
13876
|
+
|
|
13877
|
+
slots.ProvenanceMetadata_version = Slot(uri=NMDC.version, name="ProvenanceMetadata_version", curie=NMDC.curie('version'),
|
|
13878
|
+
model_uri=NMDC.ProvenanceMetadata_version, domain=ProvenanceMetadata, range=Optional[str])
|
|
13879
|
+
|
|
13880
|
+
slots.ProvenanceMetadata_git_url = Slot(uri=NMDC.git_url, name="ProvenanceMetadata_git_url", curie=NMDC.curie('git_url'),
|
|
13881
|
+
model_uri=NMDC.ProvenanceMetadata_git_url, domain=ProvenanceMetadata, range=Optional[str])
|