nmdc-schema 11.14.0__py3-none-any.whl → 11.14.0rc1__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 +104 -26
- nmdc_schema/nmdc-pydantic.py +8244 -7091
- nmdc_schema/nmdc.py +17 -177
- nmdc_schema/nmdc.schema.json +14 -82
- nmdc_schema/nmdc_materialized_patterns.json +13982 -14101
- nmdc_schema/nmdc_materialized_patterns.schema.json +13 -82
- nmdc_schema/nmdc_materialized_patterns.yaml +10496 -10584
- {nmdc_schema-11.14.0.dist-info → nmdc_schema-11.14.0rc1.dist-info}/METADATA +3 -4
- {nmdc_schema-11.14.0.dist-info → nmdc_schema-11.14.0rc1.dist-info}/RECORD +12 -15
- {nmdc_schema-11.14.0.dist-info → nmdc_schema-11.14.0rc1.dist-info}/entry_points.txt +8 -0
- nmdc_schema/migrators/partials/migrator_from_11_13_0_to_11_14_0/__init__.py +0 -28
- 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 +0 -113
- 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 +0 -40
- {nmdc_schema-11.14.0.dist-info → nmdc_schema-11.14.0rc1.dist-info}/WHEEL +0 -0
- {nmdc_schema-11.14.0.dist-info → nmdc_schema-11.14.0rc1.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-11-19T00:25:31
|
|
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.14.
|
|
63
|
+
version = "11.14.0rc1"
|
|
64
64
|
|
|
65
65
|
# Namespaces
|
|
66
66
|
BFO = CurieNamespace('BFO', 'http://purl.obolibrary.org/obo/BFO_')
|
|
@@ -1642,7 +1642,6 @@ 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
|
|
1646
1645
|
gold_biosample_identifiers: Optional[Union[Union[str, URIorCURIE], list[Union[str, URIorCURIE]]]] = empty_list()
|
|
1647
1646
|
insdc_biosample_identifiers: Optional[Union[Union[str, ExternalIdentifier], list[Union[str, ExternalIdentifier]]]] = empty_list()
|
|
1648
1647
|
emsl_biosample_identifiers: Optional[Union[Union[str, ExternalIdentifier], list[Union[str, ExternalIdentifier]]]] = empty_list()
|
|
@@ -2127,7 +2126,6 @@ class Biosample(Sample):
|
|
|
2127
2126
|
ecosystem_type: Optional[str] = None
|
|
2128
2127
|
ecosystem_subtype: Optional[str] = None
|
|
2129
2128
|
specific_ecosystem: Optional[str] = None
|
|
2130
|
-
ecosystem_path_id: Optional[int] = None
|
|
2131
2129
|
add_date: Optional[str] = None
|
|
2132
2130
|
community: Optional[str] = None
|
|
2133
2131
|
habitat: Optional[str] = None
|
|
@@ -2232,9 +2230,6 @@ class Biosample(Sample):
|
|
|
2232
2230
|
self.alternative_names = [self.alternative_names] if self.alternative_names is not None else []
|
|
2233
2231
|
self.alternative_names = [v if isinstance(v, str) else str(v) for v in self.alternative_names]
|
|
2234
2232
|
|
|
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
|
-
|
|
2238
2233
|
if not isinstance(self.gold_biosample_identifiers, list):
|
|
2239
2234
|
self.gold_biosample_identifiers = [self.gold_biosample_identifiers] if self.gold_biosample_identifiers is not None else []
|
|
2240
2235
|
self.gold_biosample_identifiers = [v if isinstance(v, URIorCURIE) else URIorCURIE(v) for v in self.gold_biosample_identifiers]
|
|
@@ -3752,9 +3747,6 @@ class Biosample(Sample):
|
|
|
3752
3747
|
if self.specific_ecosystem is not None and not isinstance(self.specific_ecosystem, str):
|
|
3753
3748
|
self.specific_ecosystem = str(self.specific_ecosystem)
|
|
3754
3749
|
|
|
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
|
-
|
|
3758
3750
|
if self.add_date is not None and not isinstance(self.add_date, str):
|
|
3759
3751
|
self.add_date = str(self.add_date)
|
|
3760
3752
|
|
|
@@ -6480,46 +6472,10 @@ class MetagenomeAnnotation(AnnotatingWorkflow):
|
|
|
6480
6472
|
self.type = str(self.class_class_curie)
|
|
6481
6473
|
|
|
6482
6474
|
|
|
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
|
-
|
|
6517
6475
|
# Enumerations
|
|
6518
6476
|
class CalibrationTargetEnum(EnumDefinitionImpl):
|
|
6519
6477
|
|
|
6520
|
-
mass_charge_ratio = PermissibleValue(
|
|
6521
|
-
text="mass_charge_ratio",
|
|
6522
|
-
title="m/z")
|
|
6478
|
+
mass_charge_ratio = PermissibleValue(text="mass_charge_ratio")
|
|
6523
6479
|
retention_time = PermissibleValue(text="retention_time")
|
|
6524
6480
|
retention_index = PermissibleValue(text="retention_index")
|
|
6525
6481
|
|
|
@@ -6560,7 +6516,7 @@ class MassSpectrometryAcquisitionStrategyEnum(EnumDefinitionImpl):
|
|
|
6560
6516
|
|
|
6561
6517
|
data_independent_acquisition = PermissibleValue(
|
|
6562
6518
|
text="data_independent_acquisition",
|
|
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.""")
|
|
6519
|
+
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.']""")
|
|
6564
6520
|
data_dependent_acquisition = PermissibleValue(
|
|
6565
6521
|
text="data_dependent_acquisition",
|
|
6566
6522
|
description="""Mass spectrometer data acquisition method wherein MSn spectra are triggered based on the m/z of precursor ions detected in the same run.""")
|
|
@@ -6642,19 +6598,15 @@ class EluentIntroductionCategoryEnum(EnumDefinitionImpl):
|
|
|
6642
6598
|
|
|
6643
6599
|
liquid_chromatography = PermissibleValue(
|
|
6644
6600
|
text="liquid_chromatography",
|
|
6645
|
-
title="liquid chromatography",
|
|
6646
6601
|
description="""The processed sample is introduced into the mass spectrometer through a liquid chromatography process.""")
|
|
6647
6602
|
gas_chromatography = PermissibleValue(
|
|
6648
6603
|
text="gas_chromatography",
|
|
6649
|
-
title="gas chromatography",
|
|
6650
6604
|
description="""The processed sample is introduced into the mass spectrometer through a gas chromatography process.""")
|
|
6651
6605
|
direct_infusion_syringe = PermissibleValue(
|
|
6652
6606
|
text="direct_infusion_syringe",
|
|
6653
|
-
title="direct infusion syringe",
|
|
6654
6607
|
description="""The processed sample is introduced into the mass spectrometer through a direct infusion process using a syringe.""")
|
|
6655
6608
|
direct_infusion_autosampler = PermissibleValue(
|
|
6656
6609
|
text="direct_infusion_autosampler",
|
|
6657
|
-
title="direct infusion autosampler",
|
|
6658
6610
|
description="""The processed sample is introduced into the mass spectrometer through a direct infusion process using an autosampler.""")
|
|
6659
6611
|
|
|
6660
6612
|
_defn = EnumDefinition(
|
|
@@ -6828,23 +6780,18 @@ class SamplePortionEnum(EnumDefinitionImpl):
|
|
|
6828
6780
|
pellet = PermissibleValue(text="pellet")
|
|
6829
6781
|
organic_layer = PermissibleValue(
|
|
6830
6782
|
text="organic_layer",
|
|
6831
|
-
title="Organic layer",
|
|
6832
6783
|
description="The portion of a mixture containing dissolved organic material")
|
|
6833
6784
|
aqueous_layer = PermissibleValue(
|
|
6834
6785
|
text="aqueous_layer",
|
|
6835
|
-
title="Aqueous layer",
|
|
6836
6786
|
description="The portion of a mixture containing molecules dissolved in water")
|
|
6837
6787
|
interlayer = PermissibleValue(
|
|
6838
6788
|
text="interlayer",
|
|
6839
|
-
title="Interlayer",
|
|
6840
6789
|
description="The layer of material between liquid layers of a separated mixture")
|
|
6841
6790
|
chloroform_layer = PermissibleValue(
|
|
6842
6791
|
text="chloroform_layer",
|
|
6843
|
-
title="Chloroform layer",
|
|
6844
6792
|
description="The portion of a mixture containing molecules dissolved in chloroform")
|
|
6845
6793
|
methanol_layer = PermissibleValue(
|
|
6846
6794
|
text="methanol_layer",
|
|
6847
|
-
title="Methanol layer",
|
|
6848
6795
|
description="The portion of a mixture containing molecules dissolved in methanol")
|
|
6849
6796
|
|
|
6850
6797
|
_defn = EnumDefinition(
|
|
@@ -6925,25 +6872,20 @@ class BiosampleCategoryEnum(EnumDefinitionImpl):
|
|
|
6925
6872
|
"""
|
|
6926
6873
|
LTER = PermissibleValue(
|
|
6927
6874
|
text="LTER",
|
|
6928
|
-
title="National Science Foundation's Long Term Ecological Research Network",
|
|
6929
6875
|
meaning=None)
|
|
6930
6876
|
SIP = PermissibleValue(text="SIP")
|
|
6931
6877
|
SFA = PermissibleValue(
|
|
6932
6878
|
text="SFA",
|
|
6933
|
-
title="Department of Energy Office of Science Biological and Environmental Research Program Laboratory Science Focus Areas",
|
|
6934
6879
|
description="""Science Focus Area projects funded through the Department of Energy Office of Science Biological and Environmental Research Program""",
|
|
6935
6880
|
meaning=None)
|
|
6936
6881
|
FICUS = PermissibleValue(
|
|
6937
6882
|
text="FICUS",
|
|
6938
|
-
title="Facilities Integrating Collaborations for User Science",
|
|
6939
6883
|
meaning=None)
|
|
6940
6884
|
NEON = PermissibleValue(
|
|
6941
6885
|
text="NEON",
|
|
6942
|
-
title="National Science Foundation's National Ecological Observatory Network",
|
|
6943
6886
|
meaning=None)
|
|
6944
6887
|
BRC = PermissibleValue(
|
|
6945
6888
|
text="BRC",
|
|
6946
|
-
title="Bioenergy Research Centers",
|
|
6947
6889
|
description="""Bioenergy Research Centers funded by the Biological Systems Science Division of the U.S. Department of Energy's Biological and Environmental Research Program.""",
|
|
6948
6890
|
meaning=None)
|
|
6949
6891
|
|
|
@@ -7095,7 +7037,6 @@ class UnitEnum(EnumDefinitionImpl):
|
|
|
7095
7037
|
|
|
7096
7038
|
Cel = PermissibleValue(
|
|
7097
7039
|
text="Cel",
|
|
7098
|
-
title="degrees Celsius",
|
|
7099
7040
|
description="""The Unified Code for Units of Measure (UCUM) representation of degrees Celsius; a SI unit of temperature equal to one unit Kelvin.""")
|
|
7100
7041
|
cm = PermissibleValue(
|
|
7101
7042
|
text="cm",
|
|
@@ -7129,7 +7070,6 @@ class UnitEnum(EnumDefinitionImpl):
|
|
|
7129
7070
|
description="The Unified Code for Units of Measure (UCUM) representation of millimeter.")
|
|
7130
7071
|
a = PermissibleValue(
|
|
7131
7072
|
text="a",
|
|
7132
|
-
title="years",
|
|
7133
7073
|
description="The Unified Code for Units of Measure (UCUM) representation of year.")
|
|
7134
7074
|
uL = PermissibleValue(
|
|
7135
7075
|
text="uL",
|
|
@@ -7157,7 +7097,6 @@ class UnitEnum(EnumDefinitionImpl):
|
|
|
7157
7097
|
description="The Unified Code for Units of Measure (UCUM) representation of kilogram.")
|
|
7158
7098
|
lx = PermissibleValue(
|
|
7159
7099
|
text="lx",
|
|
7160
|
-
title="lux",
|
|
7161
7100
|
description="The Unified Code for Units of Measure (UCUM) representation of lux.")
|
|
7162
7101
|
deg = PermissibleValue(
|
|
7163
7102
|
text="deg",
|
|
@@ -7269,7 +7208,6 @@ class UnitEnum(EnumDefinitionImpl):
|
|
|
7269
7208
|
description="The Unified Code for Units of Measure (UCUM) representation of gray (absorbed dose).")
|
|
7270
7209
|
RAD = PermissibleValue(
|
|
7271
7210
|
text="RAD",
|
|
7272
|
-
title="rad (radiation absorbed dose)",
|
|
7273
7211
|
description="The Unified Code for Units of Measure (UCUM) representation of rad (radiation absorbed dose).")
|
|
7274
7212
|
m3 = PermissibleValue(
|
|
7275
7213
|
text="m3",
|
|
@@ -7294,7 +7232,6 @@ class UnitEnum(EnumDefinitionImpl):
|
|
|
7294
7232
|
setattr(cls, "J/K",
|
|
7295
7233
|
PermissibleValue(
|
|
7296
7234
|
text="J/K",
|
|
7297
|
-
title="J/degree Celsius",
|
|
7298
7235
|
description="The Unified Code for Units of Measure (UCUM) representation of joule per kelvin."))
|
|
7299
7236
|
setattr(cls, "m/s",
|
|
7300
7237
|
PermissibleValue(
|
|
@@ -7363,7 +7300,6 @@ class UnitEnum(EnumDefinitionImpl):
|
|
|
7363
7300
|
setattr(cls, "umol/m2/s",
|
|
7364
7301
|
PermissibleValue(
|
|
7365
7302
|
text="umol/m2/s",
|
|
7366
|
-
title="micromoles per square meter per second",
|
|
7367
7303
|
description="""The Unified Code for Units of Measure (UCUM) representation of micromoles per square meter per second."""))
|
|
7368
7304
|
setattr(cls, "mg/m3",
|
|
7369
7305
|
PermissibleValue(
|
|
@@ -7384,7 +7320,6 @@ class UnitEnum(EnumDefinitionImpl):
|
|
|
7384
7320
|
setattr(cls, "1",
|
|
7385
7321
|
PermissibleValue(
|
|
7386
7322
|
text="1",
|
|
7387
|
-
title="ratio/unitless",
|
|
7388
7323
|
description="The Unified Code for Units of Measure (UCUM) representation of dimensionless quantity."))
|
|
7389
7324
|
setattr(cls, "uL/kg",
|
|
7390
7325
|
PermissibleValue(
|
|
@@ -7458,11 +7393,6 @@ class UnitEnum(EnumDefinitionImpl):
|
|
|
7458
7393
|
PermissibleValue(
|
|
7459
7394
|
text="1/d",
|
|
7460
7395
|
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."))
|
|
7466
7396
|
setattr(cls, "kW/m2",
|
|
7467
7397
|
PermissibleValue(
|
|
7468
7398
|
text="kW/m2",
|
|
@@ -7490,12 +7420,10 @@ class UnitEnum(EnumDefinitionImpl):
|
|
|
7490
7420
|
setattr(cls, "[NTU]",
|
|
7491
7421
|
PermissibleValue(
|
|
7492
7422
|
text="[NTU]",
|
|
7493
|
-
title="Nephelometric Turbidity Units",
|
|
7494
7423
|
description="""The Unified Code for Units of Measure (UCUM) representation of Nephelometric Turbidity Units."""))
|
|
7495
7424
|
setattr(cls, "[FNU]",
|
|
7496
7425
|
PermissibleValue(
|
|
7497
7426
|
text="[FNU]",
|
|
7498
|
-
title="Formazin Nephelometric Units",
|
|
7499
7427
|
description="""The Unified Code for Units of Measure (UCUM) representation of Formazin Nephelometric Units."""))
|
|
7500
7428
|
setattr(cls, "m3/min",
|
|
7501
7429
|
PermissibleValue(
|
|
@@ -7508,7 +7436,6 @@ class UnitEnum(EnumDefinitionImpl):
|
|
|
7508
7436
|
setattr(cls, "[lb_av]",
|
|
7509
7437
|
PermissibleValue(
|
|
7510
7438
|
text="[lb_av]",
|
|
7511
|
-
title="pounds (avoirdupois)",
|
|
7512
7439
|
description="The Unified Code for Units of Measure (UCUM) representation of pound (avoirdupois)."))
|
|
7513
7440
|
setattr(cls, "kg/kg",
|
|
7514
7441
|
PermissibleValue(
|
|
@@ -7541,7 +7468,6 @@ class UnitEnum(EnumDefinitionImpl):
|
|
|
7541
7468
|
setattr(cls, "[g]",
|
|
7542
7469
|
PermissibleValue(
|
|
7543
7470
|
text="[g]",
|
|
7544
|
-
title="standard gravity",
|
|
7545
7471
|
description="The Unified Code for Units of Measure (UCUM) representation of standard gravity."))
|
|
7546
7472
|
setattr(cls, "m/s2",
|
|
7547
7473
|
PermissibleValue(
|
|
@@ -7558,17 +7484,14 @@ class UnitEnum(EnumDefinitionImpl):
|
|
|
7558
7484
|
setattr(cls, "[sft_i]",
|
|
7559
7485
|
PermissibleValue(
|
|
7560
7486
|
text="[sft_i]",
|
|
7561
|
-
title="square feet",
|
|
7562
7487
|
description="The Unified Code for Units of Measure (UCUM) representation of square feet."))
|
|
7563
7488
|
setattr(cls, "[cft_i]",
|
|
7564
7489
|
PermissibleValue(
|
|
7565
7490
|
text="[cft_i]",
|
|
7566
|
-
title="cubic feet",
|
|
7567
7491
|
description="The Unified Code for Units of Measure (UCUM) representation of cubic feet."))
|
|
7568
7492
|
setattr(cls, "mm/a",
|
|
7569
7493
|
PermissibleValue(
|
|
7570
7494
|
text="mm/a",
|
|
7571
|
-
title="millimeters per year",
|
|
7572
7495
|
description="The Unified Code for Units of Measure (UCUM) representation of millimeters per year."))
|
|
7573
7496
|
setattr(cls, "erg/cm2/s",
|
|
7574
7497
|
PermissibleValue(
|
|
@@ -7589,7 +7512,6 @@ class UnitEnum(EnumDefinitionImpl):
|
|
|
7589
7512
|
setattr(cls, "[kn_i]",
|
|
7590
7513
|
PermissibleValue(
|
|
7591
7514
|
text="[kn_i]",
|
|
7592
|
-
title="knots",
|
|
7593
7515
|
description="""The Unified Code for Units of Measure (UCUM) representation of knot (nautical miles per hour)."""))
|
|
7594
7516
|
setattr(cls, "m3/s",
|
|
7595
7517
|
PermissibleValue(
|
|
@@ -7598,7 +7520,6 @@ class UnitEnum(EnumDefinitionImpl):
|
|
|
7598
7520
|
setattr(cls, "[in_i]",
|
|
7599
7521
|
PermissibleValue(
|
|
7600
7522
|
text="[in_i]",
|
|
7601
|
-
title="inches",
|
|
7602
7523
|
description="The Unified Code for Units of Measure (UCUM) representation of inch."))
|
|
7603
7524
|
|
|
7604
7525
|
class ExecutionResourceEnum(EnumDefinitionImpl):
|
|
@@ -8039,40 +7960,27 @@ class DoiProviderEnum(EnumDefinitionImpl):
|
|
|
8039
7960
|
|
|
8040
7961
|
emsl = PermissibleValue(
|
|
8041
7962
|
text="emsl",
|
|
8042
|
-
title="EMSL",
|
|
8043
7963
|
meaning=ROR["04rc0xn13"])
|
|
8044
7964
|
jgi = PermissibleValue(
|
|
8045
7965
|
text="jgi",
|
|
8046
|
-
title="JGI",
|
|
8047
7966
|
meaning=ROR["04xm1d337"])
|
|
8048
7967
|
kbase = PermissibleValue(
|
|
8049
7968
|
text="kbase",
|
|
8050
|
-
title="KBase",
|
|
8051
7969
|
meaning=ROR["01znn6x10"])
|
|
8052
7970
|
osti = PermissibleValue(
|
|
8053
7971
|
text="osti",
|
|
8054
|
-
title="OSTI",
|
|
8055
7972
|
meaning=ROR["031478740"])
|
|
8056
7973
|
ess_dive = PermissibleValue(
|
|
8057
7974
|
text="ess_dive",
|
|
8058
|
-
title="ESS-DIVE",
|
|
8059
7975
|
meaning=ROR["01t14bp54"])
|
|
8060
|
-
massive = PermissibleValue(
|
|
8061
|
-
|
|
8062
|
-
|
|
8063
|
-
gsc = PermissibleValue(
|
|
8064
|
-
text="gsc",
|
|
8065
|
-
title="GSC")
|
|
8066
|
-
zenodo = PermissibleValue(
|
|
8067
|
-
text="zenodo",
|
|
8068
|
-
title="Zenodo")
|
|
7976
|
+
massive = PermissibleValue(text="massive")
|
|
7977
|
+
gsc = PermissibleValue(text="gsc")
|
|
7978
|
+
zenodo = PermissibleValue(text="zenodo")
|
|
8069
7979
|
edi = PermissibleValue(
|
|
8070
7980
|
text="edi",
|
|
8071
|
-
title="EDI",
|
|
8072
7981
|
meaning=ROR["0330j0z60"])
|
|
8073
7982
|
figshare = PermissibleValue(
|
|
8074
7983
|
text="figshare",
|
|
8075
|
-
title="Figshare",
|
|
8076
7984
|
meaning=ROR["041mxqs23"])
|
|
8077
7985
|
|
|
8078
7986
|
_defn = EnumDefinition(
|
|
@@ -8113,15 +8021,10 @@ class StatusEnum(EnumDefinitionImpl):
|
|
|
8113
8021
|
|
|
8114
8022
|
class NucleotideSequencingEnum(EnumDefinitionImpl):
|
|
8115
8023
|
|
|
8116
|
-
metagenome = PermissibleValue(
|
|
8117
|
-
|
|
8118
|
-
title="Metagenome")
|
|
8119
|
-
metatranscriptome = PermissibleValue(
|
|
8120
|
-
text="metatranscriptome",
|
|
8121
|
-
title="Metatranscriptome")
|
|
8024
|
+
metagenome = PermissibleValue(text="metagenome")
|
|
8025
|
+
metatranscriptome = PermissibleValue(text="metatranscriptome")
|
|
8122
8026
|
amplicon_sequencing_assay = PermissibleValue(
|
|
8123
8027
|
text="amplicon_sequencing_assay",
|
|
8124
|
-
title="Amplicon",
|
|
8125
8028
|
meaning=OBI["0002767"])
|
|
8126
8029
|
|
|
8127
8030
|
_defn = EnumDefinition(
|
|
@@ -8130,18 +8033,10 @@ class NucleotideSequencingEnum(EnumDefinitionImpl):
|
|
|
8130
8033
|
|
|
8131
8034
|
class MassSpectrometryEnum(EnumDefinitionImpl):
|
|
8132
8035
|
|
|
8133
|
-
metaproteome = PermissibleValue(
|
|
8134
|
-
|
|
8135
|
-
|
|
8136
|
-
|
|
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")
|
|
8036
|
+
metaproteome = PermissibleValue(text="metaproteome")
|
|
8037
|
+
metabolome = PermissibleValue(text="metabolome")
|
|
8038
|
+
lipidome = PermissibleValue(text="lipidome")
|
|
8039
|
+
nom = PermissibleValue(text="nom")
|
|
8145
8040
|
|
|
8146
8041
|
_defn = EnumDefinition(
|
|
8147
8042
|
name="MassSpectrometryEnum",
|
|
@@ -8168,35 +8063,27 @@ class ProcessingInstitutionEnum(EnumDefinitionImpl):
|
|
|
8168
8063
|
|
|
8169
8064
|
NMDC = PermissibleValue(
|
|
8170
8065
|
text="NMDC",
|
|
8171
|
-
title="National Microbiome Data Collaborative",
|
|
8172
8066
|
meaning=ROR["05cwx3318"])
|
|
8173
8067
|
UCSD = PermissibleValue(
|
|
8174
8068
|
text="UCSD",
|
|
8175
|
-
title="University of California, San Diego",
|
|
8176
8069
|
meaning=ROR["0168r3w48"])
|
|
8177
8070
|
JGI = PermissibleValue(
|
|
8178
8071
|
text="JGI",
|
|
8179
|
-
title="Joint Genome Institute",
|
|
8180
8072
|
meaning=ROR["04xm1d337"])
|
|
8181
8073
|
EMSL = PermissibleValue(
|
|
8182
8074
|
text="EMSL",
|
|
8183
|
-
title="Environmental Molecular Sciences Laboratory",
|
|
8184
8075
|
meaning=ROR["04rc0xn13"])
|
|
8185
8076
|
Battelle = PermissibleValue(
|
|
8186
8077
|
text="Battelle",
|
|
8187
|
-
title="Battelle Memorial Institute",
|
|
8188
8078
|
meaning=ROR["01h5tnr73"])
|
|
8189
8079
|
ANL = PermissibleValue(
|
|
8190
8080
|
text="ANL",
|
|
8191
|
-
title="Argonne National Laboratory",
|
|
8192
8081
|
meaning=ROR["05gvnxz63"])
|
|
8193
8082
|
UCD_Genome_Center = PermissibleValue(
|
|
8194
8083
|
text="UCD_Genome_Center",
|
|
8195
|
-
title="University of California, Davis Genome Center",
|
|
8196
8084
|
meaning=None)
|
|
8197
8085
|
Azenta = PermissibleValue(
|
|
8198
8086
|
text="Azenta",
|
|
8199
|
-
title="Azenta Life Sciences",
|
|
8200
8087
|
meaning=None)
|
|
8201
8088
|
|
|
8202
8089
|
_defn = EnumDefinition(
|
|
@@ -8219,28 +8106,6 @@ class DataCategoryEnum(EnumDefinitionImpl):
|
|
|
8219
8106
|
name="DataCategoryEnum",
|
|
8220
8107
|
)
|
|
8221
8108
|
|
|
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
|
-
|
|
8244
8109
|
class CreditEnum(EnumDefinitionImpl):
|
|
8245
8110
|
|
|
8246
8111
|
Conceptualization = PermissibleValue(
|
|
@@ -10578,11 +10443,9 @@ class AnalysisTypeEnum(EnumDefinitionImpl):
|
|
|
10578
10443
|
lipidomics = PermissibleValue(text="lipidomics")
|
|
10579
10444
|
metagenomics = PermissibleValue(
|
|
10580
10445
|
text="metagenomics",
|
|
10581
|
-
title="Metagenomics",
|
|
10582
10446
|
description="Standard short-read metagenomic sequencing")
|
|
10583
10447
|
metagenomics_long_read = PermissibleValue(
|
|
10584
10448
|
text="metagenomics_long_read",
|
|
10585
|
-
title="Metagenomics (long read)",
|
|
10586
10449
|
description="Long-read metagenomic sequencing")
|
|
10587
10450
|
metaproteomics = PermissibleValue(text="metaproteomics")
|
|
10588
10451
|
metatranscriptomics = PermissibleValue(text="metatranscriptomics")
|
|
@@ -10600,38 +10463,30 @@ class AnalysisTypeEnum(EnumDefinitionImpl):
|
|
|
10600
10463
|
setattr(cls, "amplicon sequencing assay",
|
|
10601
10464
|
PermissibleValue(
|
|
10602
10465
|
text="amplicon sequencing assay",
|
|
10603
|
-
title="Amplicon sequencing assay",
|
|
10604
10466
|
meaning=OBI["0002767"]))
|
|
10605
10467
|
|
|
10606
10468
|
class SubmissionStatusEnum(EnumDefinitionImpl):
|
|
10607
10469
|
|
|
10608
10470
|
InProgress = PermissibleValue(
|
|
10609
10471
|
text="InProgress",
|
|
10610
|
-
title="In Progress",
|
|
10611
10472
|
description="The submitter is currently working on the submission.")
|
|
10612
10473
|
SubmittedPendingReview = PermissibleValue(
|
|
10613
10474
|
text="SubmittedPendingReview",
|
|
10614
|
-
title="Submitted - Pending Review",
|
|
10615
10475
|
description="Submission is ready for NMDC review, the submitter cannot edit.")
|
|
10616
10476
|
ApprovedHeld = PermissibleValue(
|
|
10617
10477
|
text="ApprovedHeld",
|
|
10618
|
-
title="Approved - Held",
|
|
10619
10478
|
description="""Submission has been reviewed and approved. Information is complete, but not yet shared on the data portal. The submitter cannot edit.""")
|
|
10620
10479
|
ApprovedPendingUserFacility = PermissibleValue(
|
|
10621
10480
|
text="ApprovedPendingUserFacility",
|
|
10622
|
-
title="Approved - Sent to User Facility",
|
|
10623
10481
|
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.""")
|
|
10624
10482
|
UpdatesRequired = PermissibleValue(
|
|
10625
10483
|
text="UpdatesRequired",
|
|
10626
|
-
title="Updates Required",
|
|
10627
10484
|
description="""Submission has been reviewed and submitter edits are required for approval. The submitter can edit the submission.""")
|
|
10628
10485
|
Denied = PermissibleValue(
|
|
10629
10486
|
text="Denied",
|
|
10630
|
-
title="Denied",
|
|
10631
10487
|
description="Submission has been reviewed and denied. The submitter cannot edit.")
|
|
10632
10488
|
Released = PermissibleValue(
|
|
10633
10489
|
text="Released",
|
|
10634
|
-
title="Released",
|
|
10635
10490
|
description="""Submission has been reviewed and approved and data is released on the data portal. The submitter cannot edit.""")
|
|
10636
10491
|
|
|
10637
10492
|
_defn = EnumDefinition(
|
|
@@ -10712,6 +10567,9 @@ slots.count = Slot(uri=NMDC.count, name="count", curie=NMDC.curie('count'),
|
|
|
10712
10567
|
slots.functional_annotation_agg = Slot(uri=NMDC.functional_annotation_agg, name="functional_annotation_agg", curie=NMDC.curie('functional_annotation_agg'),
|
|
10713
10568
|
model_uri=NMDC.functional_annotation_agg, domain=None, range=Optional[Union[Union[dict, FunctionalAnnotationAggMember], list[Union[dict, FunctionalAnnotationAggMember]]]])
|
|
10714
10569
|
|
|
10570
|
+
slots.ecosystem_path_id = Slot(uri=NMDC.ecosystem_path_id, name="ecosystem_path_id", curie=NMDC.curie('ecosystem_path_id'),
|
|
10571
|
+
model_uri=NMDC.ecosystem_path_id, domain=None, range=Optional[str])
|
|
10572
|
+
|
|
10715
10573
|
slots.sample_collection_year = Slot(uri=NMDC.sample_collection_year, name="sample_collection_year", curie=NMDC.curie('sample_collection_year'),
|
|
10716
10574
|
model_uri=NMDC.sample_collection_year, domain=None, range=Optional[int])
|
|
10717
10575
|
|
|
@@ -11352,9 +11210,6 @@ slots.notes = Slot(uri=NMDC.notes, name="notes", curie=NMDC.curie('notes'),
|
|
|
11352
11210
|
slots.funding_sources = Slot(uri=NMDC.funding_sources, name="funding_sources", curie=NMDC.curie('funding_sources'),
|
|
11353
11211
|
model_uri=NMDC.funding_sources, domain=None, range=Optional[Union[str, list[str]]])
|
|
11354
11212
|
|
|
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
|
-
|
|
11358
11213
|
slots.gold_path_field = Slot(uri=NMDC.gold_path_field, name="gold_path_field", curie=NMDC.curie('gold_path_field'),
|
|
11359
11214
|
model_uri=NMDC.gold_path_field, domain=None, range=Optional[str])
|
|
11360
11215
|
|
|
@@ -11433,9 +11288,6 @@ slots.start_date = Slot(uri=NMDC.start_date, name="start_date", curie=NMDC.curie
|
|
|
11433
11288
|
slots.end_date = Slot(uri=NMDC.end_date, name="end_date", curie=NMDC.curie('end_date'),
|
|
11434
11289
|
model_uri=NMDC.end_date, domain=None, range=Optional[str])
|
|
11435
11290
|
|
|
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
|
-
|
|
11439
11291
|
slots.associated_studies = Slot(uri=NMDC['basic_classes/associated_studies'], name="associated_studies", curie=NMDC.curie('basic_classes/associated_studies'),
|
|
11440
11292
|
model_uri=NMDC.associated_studies, domain=None, range=Union[Union[str, StudyId], list[Union[str, StudyId]]])
|
|
11441
11293
|
|
|
@@ -11520,9 +11372,6 @@ slots.protocol_for = Slot(uri=NMDC['basic_classes/protocol_for'], name="protocol
|
|
|
11520
11372
|
slots.superseded_by = Slot(uri=NMDC['basic_classes/superseded_by'], name="superseded_by", curie=NMDC.curie('basic_classes/superseded_by'),
|
|
11521
11373
|
model_uri=NMDC.superseded_by, domain=None, range=Optional[Union[str, WorkflowExecutionId]])
|
|
11522
11374
|
|
|
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
|
-
|
|
11526
11375
|
slots.rna_collect_site = Slot(uri=NMDC.rna_collect_site, name="rna_collect_site", curie=NMDC.curie('rna_collect_site'),
|
|
11527
11376
|
model_uri=NMDC.rna_collect_site, domain=None, range=Optional[str])
|
|
11528
11377
|
|
|
@@ -13869,13 +13718,4 @@ slots.WorkflowExecution_processing_institution = Slot(uri=NMDC.processing_instit
|
|
|
13869
13718
|
model_uri=NMDC.WorkflowExecution_processing_institution, domain=WorkflowExecution, range=Union[str, "ProcessingInstitutionEnum"])
|
|
13870
13719
|
|
|
13871
13720
|
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'),
|
|
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])
|
|
13721
|
+
model_uri=NMDC.WorkflowExecution_was_informed_by, domain=WorkflowExecution, range=Union[Union[str, DataGenerationId], list[Union[str, DataGenerationId]]])
|