valuesets 0.3.1__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.

Potentially problematic release.


This version of valuesets might be problematic. Click here for more details.

Files changed (248) hide show
  1. valuesets/__init__.py +7 -0
  2. valuesets/_version.py +8 -0
  3. valuesets/datamodel/valuesets.py +13796 -0
  4. valuesets/datamodel/valuesets_dataclass.py +24503 -0
  5. valuesets/datamodel/valuesets_pydantic.py +13796 -0
  6. valuesets/enums/__init__.py +590 -0
  7. valuesets/enums/academic/__init__.py +1 -0
  8. valuesets/enums/academic/research.py +559 -0
  9. valuesets/enums/analytical_chemistry/__init__.py +1 -0
  10. valuesets/enums/analytical_chemistry/mass_spectrometry.py +198 -0
  11. valuesets/enums/bio/__init__.py +1 -0
  12. valuesets/enums/bio/biological_colors.py +238 -0
  13. valuesets/enums/bio/cell_cycle.py +180 -0
  14. valuesets/enums/bio/currency_chemicals.py +52 -0
  15. valuesets/enums/bio/developmental_stages.py +103 -0
  16. valuesets/enums/bio/genome_features.py +182 -0
  17. valuesets/enums/bio/genomics.py +91 -0
  18. valuesets/enums/bio/go_aspect.py +32 -0
  19. valuesets/enums/bio/go_causality.py +58 -0
  20. valuesets/enums/bio/go_evidence.py +129 -0
  21. valuesets/enums/bio/human_developmental_stages.py +62 -0
  22. valuesets/enums/bio/insdc_geographic_locations.py +591 -0
  23. valuesets/enums/bio/insdc_missing_values.py +49 -0
  24. valuesets/enums/bio/lipid_categories.py +67 -0
  25. valuesets/enums/bio/mouse_developmental_stages.py +62 -0
  26. valuesets/enums/bio/plant_biology.py +86 -0
  27. valuesets/enums/bio/plant_developmental_stages.py +54 -0
  28. valuesets/enums/bio/plant_sex.py +81 -0
  29. valuesets/enums/bio/protein_evidence.py +61 -0
  30. valuesets/enums/bio/proteomics_standards.py +123 -0
  31. valuesets/enums/bio/psi_mi.py +306 -0
  32. valuesets/enums/bio/relationship_to_oxygen.py +37 -0
  33. valuesets/enums/bio/sequence_alphabets.py +449 -0
  34. valuesets/enums/bio/sequence_chemistry.py +357 -0
  35. valuesets/enums/bio/sequencing_platforms.py +302 -0
  36. valuesets/enums/bio/structural_biology.py +320 -0
  37. valuesets/enums/bio/taxonomy.py +238 -0
  38. valuesets/enums/bio/trophic_levels.py +85 -0
  39. valuesets/enums/bio/uniprot_species.py +344 -0
  40. valuesets/enums/bio/viral_genome_types.py +47 -0
  41. valuesets/enums/bioprocessing/__init__.py +1 -0
  42. valuesets/enums/bioprocessing/scale_up.py +249 -0
  43. valuesets/enums/business/__init__.py +1 -0
  44. valuesets/enums/business/human_resources.py +275 -0
  45. valuesets/enums/business/industry_classifications.py +181 -0
  46. valuesets/enums/business/management_operations.py +228 -0
  47. valuesets/enums/business/organizational_structures.py +236 -0
  48. valuesets/enums/business/quality_management.py +181 -0
  49. valuesets/enums/business/supply_chain.py +232 -0
  50. valuesets/enums/chemistry/__init__.py +1 -0
  51. valuesets/enums/chemistry/chemical_entities.py +315 -0
  52. valuesets/enums/chemistry/reaction_directionality.py +65 -0
  53. valuesets/enums/chemistry/reactions.py +256 -0
  54. valuesets/enums/clinical/__init__.py +1 -0
  55. valuesets/enums/clinical/nih_demographics.py +177 -0
  56. valuesets/enums/clinical/phenopackets.py +254 -0
  57. valuesets/enums/common_value_sets.py +8791 -0
  58. valuesets/enums/computing/__init__.py +1 -0
  59. valuesets/enums/computing/file_formats.py +294 -0
  60. valuesets/enums/computing/maturity_levels.py +196 -0
  61. valuesets/enums/computing/mime_types.py +227 -0
  62. valuesets/enums/confidence_levels.py +168 -0
  63. valuesets/enums/contributor.py +30 -0
  64. valuesets/enums/core.py +42 -0
  65. valuesets/enums/data/__init__.py +1 -0
  66. valuesets/enums/data/data_absent_reason.py +53 -0
  67. valuesets/enums/data_science/__init__.py +1 -0
  68. valuesets/enums/data_science/binary_classification.py +87 -0
  69. valuesets/enums/data_science/emotion_classification.py +66 -0
  70. valuesets/enums/data_science/priority_severity.py +73 -0
  71. valuesets/enums/data_science/quality_control.py +46 -0
  72. valuesets/enums/data_science/sentiment_analysis.py +50 -0
  73. valuesets/enums/data_science/text_classification.py +97 -0
  74. valuesets/enums/demographics.py +206 -0
  75. valuesets/enums/ecological_interactions.py +151 -0
  76. valuesets/enums/energy/__init__.py +1 -0
  77. valuesets/enums/energy/energy.py +343 -0
  78. valuesets/enums/energy/fossil_fuels.py +29 -0
  79. valuesets/enums/energy/nuclear/__init__.py +1 -0
  80. valuesets/enums/energy/nuclear/nuclear_facilities.py +195 -0
  81. valuesets/enums/energy/nuclear/nuclear_fuel_cycle.py +96 -0
  82. valuesets/enums/energy/nuclear/nuclear_fuels.py +175 -0
  83. valuesets/enums/energy/nuclear/nuclear_operations.py +191 -0
  84. valuesets/enums/energy/nuclear/nuclear_regulatory.py +188 -0
  85. valuesets/enums/energy/nuclear/nuclear_safety.py +164 -0
  86. valuesets/enums/energy/nuclear/nuclear_waste.py +158 -0
  87. valuesets/enums/energy/nuclear/reactor_types.py +163 -0
  88. valuesets/enums/environmental_health/__init__.py +1 -0
  89. valuesets/enums/environmental_health/exposures.py +265 -0
  90. valuesets/enums/geography/__init__.py +1 -0
  91. valuesets/enums/geography/geographic_codes.py +741 -0
  92. valuesets/enums/health/__init__.py +12 -0
  93. valuesets/enums/health/vaccination.py +98 -0
  94. valuesets/enums/health.py +36 -0
  95. valuesets/enums/health_base.py +36 -0
  96. valuesets/enums/healthcare.py +45 -0
  97. valuesets/enums/industry/__init__.py +1 -0
  98. valuesets/enums/industry/extractive_industry.py +94 -0
  99. valuesets/enums/industry/mining.py +388 -0
  100. valuesets/enums/industry/safety_colors.py +201 -0
  101. valuesets/enums/investigation.py +27 -0
  102. valuesets/enums/materials_science/__init__.py +1 -0
  103. valuesets/enums/materials_science/characterization_methods.py +112 -0
  104. valuesets/enums/materials_science/crystal_structures.py +76 -0
  105. valuesets/enums/materials_science/material_properties.py +119 -0
  106. valuesets/enums/materials_science/material_types.py +104 -0
  107. valuesets/enums/materials_science/pigments_dyes.py +198 -0
  108. valuesets/enums/materials_science/synthesis_methods.py +109 -0
  109. valuesets/enums/medical/__init__.py +1 -0
  110. valuesets/enums/medical/clinical.py +277 -0
  111. valuesets/enums/medical/neuroimaging.py +119 -0
  112. valuesets/enums/mining_processing.py +302 -0
  113. valuesets/enums/physics/__init__.py +1 -0
  114. valuesets/enums/physics/states_of_matter.py +46 -0
  115. valuesets/enums/social/__init__.py +1 -0
  116. valuesets/enums/social/person_status.py +29 -0
  117. valuesets/enums/spatial/__init__.py +1 -0
  118. valuesets/enums/spatial/spatial_qualifiers.py +246 -0
  119. valuesets/enums/statistics/__init__.py +5 -0
  120. valuesets/enums/statistics/prediction_outcomes.py +31 -0
  121. valuesets/enums/statistics.py +31 -0
  122. valuesets/enums/time/__init__.py +1 -0
  123. valuesets/enums/time/temporal.py +254 -0
  124. valuesets/enums/units/__init__.py +1 -0
  125. valuesets/enums/units/measurements.py +310 -0
  126. valuesets/enums/visual/__init__.py +1 -0
  127. valuesets/enums/visual/colors.py +376 -0
  128. valuesets/generators/__init__.py +19 -0
  129. valuesets/generators/auto_slot_injector.py +280 -0
  130. valuesets/generators/enhanced_pydantic_generator.py +100 -0
  131. valuesets/generators/enum_slot_generator.py +201 -0
  132. valuesets/generators/modular_rich_generator.py +353 -0
  133. valuesets/generators/prefix_standardizer.py +198 -0
  134. valuesets/generators/rich_enum.py +127 -0
  135. valuesets/generators/rich_pydantic_generator.py +310 -0
  136. valuesets/generators/smart_slot_syncer.py +428 -0
  137. valuesets/generators/sssom_generator.py +394 -0
  138. valuesets/merged/merged_hierarchy.yaml +21649 -0
  139. valuesets/schema/README.md +3 -0
  140. valuesets/schema/academic/research.yaml +911 -0
  141. valuesets/schema/analytical_chemistry/mass_spectrometry.yaml +206 -0
  142. valuesets/schema/bio/bio_entities.yaml +364 -0
  143. valuesets/schema/bio/biological_colors.yaml +434 -0
  144. valuesets/schema/bio/cell_cycle.yaml +309 -0
  145. valuesets/schema/bio/currency_chemicals.yaml +70 -0
  146. valuesets/schema/bio/developmental_stages.yaml +226 -0
  147. valuesets/schema/bio/genome_features.yaml +342 -0
  148. valuesets/schema/bio/genomics.yaml +101 -0
  149. valuesets/schema/bio/go_aspect.yaml +39 -0
  150. valuesets/schema/bio/go_causality.yaml +119 -0
  151. valuesets/schema/bio/go_evidence.yaml +215 -0
  152. valuesets/schema/bio/insdc_geographic_locations.yaml +911 -0
  153. valuesets/schema/bio/insdc_missing_values.yaml +85 -0
  154. valuesets/schema/bio/lipid_categories.yaml +72 -0
  155. valuesets/schema/bio/plant_biology.yaml +125 -0
  156. valuesets/schema/bio/plant_developmental_stages.yaml +77 -0
  157. valuesets/schema/bio/plant_sex.yaml +108 -0
  158. valuesets/schema/bio/protein_evidence.yaml +63 -0
  159. valuesets/schema/bio/proteomics_standards.yaml +116 -0
  160. valuesets/schema/bio/psi_mi.yaml +400 -0
  161. valuesets/schema/bio/relationship_to_oxygen.yaml +46 -0
  162. valuesets/schema/bio/sequence_alphabets.yaml +1168 -0
  163. valuesets/schema/bio/sequence_chemistry.yaml +477 -0
  164. valuesets/schema/bio/sequencing_platforms.yaml +515 -0
  165. valuesets/schema/bio/structural_biology.yaml +428 -0
  166. valuesets/schema/bio/taxonomy.yaml +453 -0
  167. valuesets/schema/bio/trophic_levels.yaml +118 -0
  168. valuesets/schema/bio/uniprot_species.yaml +1209 -0
  169. valuesets/schema/bio/viral_genome_types.yaml +99 -0
  170. valuesets/schema/bioprocessing/scale_up.yaml +458 -0
  171. valuesets/schema/business/human_resources.yaml +752 -0
  172. valuesets/schema/business/industry_classifications.yaml +448 -0
  173. valuesets/schema/business/management_operations.yaml +602 -0
  174. valuesets/schema/business/organizational_structures.yaml +645 -0
  175. valuesets/schema/business/quality_management.yaml +502 -0
  176. valuesets/schema/business/supply_chain.yaml +688 -0
  177. valuesets/schema/chemistry/chemical_entities.yaml +639 -0
  178. valuesets/schema/chemistry/reaction_directionality.yaml +60 -0
  179. valuesets/schema/chemistry/reactions.yaml +442 -0
  180. valuesets/schema/clinical/nih_demographics.yaml +285 -0
  181. valuesets/schema/clinical/phenopackets.yaml +429 -0
  182. valuesets/schema/computing/file_formats.yaml +631 -0
  183. valuesets/schema/computing/maturity_levels.yaml +229 -0
  184. valuesets/schema/computing/mime_types.yaml +266 -0
  185. valuesets/schema/confidence_levels.yaml +206 -0
  186. valuesets/schema/contributor.yaml +30 -0
  187. valuesets/schema/core.yaml +55 -0
  188. valuesets/schema/data/data_absent_reason.yaml +82 -0
  189. valuesets/schema/data_science/binary_classification.yaml +125 -0
  190. valuesets/schema/data_science/emotion_classification.yaml +109 -0
  191. valuesets/schema/data_science/priority_severity.yaml +122 -0
  192. valuesets/schema/data_science/quality_control.yaml +68 -0
  193. valuesets/schema/data_science/sentiment_analysis.yaml +81 -0
  194. valuesets/schema/data_science/text_classification.yaml +135 -0
  195. valuesets/schema/demographics.yaml +238 -0
  196. valuesets/schema/ecological_interactions.yaml +298 -0
  197. valuesets/schema/energy/energy.yaml +595 -0
  198. valuesets/schema/energy/fossil_fuels.yaml +28 -0
  199. valuesets/schema/energy/nuclear/nuclear_facilities.yaml +463 -0
  200. valuesets/schema/energy/nuclear/nuclear_fuel_cycle.yaml +82 -0
  201. valuesets/schema/energy/nuclear/nuclear_fuels.yaml +421 -0
  202. valuesets/schema/energy/nuclear/nuclear_operations.yaml +480 -0
  203. valuesets/schema/energy/nuclear/nuclear_regulatory.yaml +200 -0
  204. valuesets/schema/energy/nuclear/nuclear_safety.yaml +352 -0
  205. valuesets/schema/energy/nuclear/nuclear_waste.yaml +332 -0
  206. valuesets/schema/energy/nuclear/reactor_types.yaml +394 -0
  207. valuesets/schema/environmental_health/exposures.yaml +355 -0
  208. valuesets/schema/generated_slots.yaml +1828 -0
  209. valuesets/schema/geography/geographic_codes.yaml +1018 -0
  210. valuesets/schema/health/vaccination.yaml +102 -0
  211. valuesets/schema/health.yaml +38 -0
  212. valuesets/schema/healthcare.yaml +53 -0
  213. valuesets/schema/industry/extractive_industry.yaml +89 -0
  214. valuesets/schema/industry/mining.yaml +888 -0
  215. valuesets/schema/industry/safety_colors.yaml +375 -0
  216. valuesets/schema/investigation.yaml +64 -0
  217. valuesets/schema/materials_science/characterization_methods.yaml +193 -0
  218. valuesets/schema/materials_science/crystal_structures.yaml +138 -0
  219. valuesets/schema/materials_science/material_properties.yaml +135 -0
  220. valuesets/schema/materials_science/material_types.yaml +151 -0
  221. valuesets/schema/materials_science/pigments_dyes.yaml +465 -0
  222. valuesets/schema/materials_science/synthesis_methods.yaml +186 -0
  223. valuesets/schema/medical/clinical.yaml +610 -0
  224. valuesets/schema/medical/neuroimaging.yaml +325 -0
  225. valuesets/schema/mining_processing.yaml +295 -0
  226. valuesets/schema/physics/states_of_matter.yaml +46 -0
  227. valuesets/schema/slot_mixins.yaml +143 -0
  228. valuesets/schema/social/person_status.yaml +28 -0
  229. valuesets/schema/spatial/spatial_qualifiers.yaml +466 -0
  230. valuesets/schema/statistics/prediction_outcomes.yaml +26 -0
  231. valuesets/schema/statistics.yaml +34 -0
  232. valuesets/schema/time/temporal.yaml +435 -0
  233. valuesets/schema/types.yaml +15 -0
  234. valuesets/schema/units/measurements.yaml +675 -0
  235. valuesets/schema/valuesets.yaml +100 -0
  236. valuesets/schema/visual/colors.yaml +778 -0
  237. valuesets/utils/__init__.py +6 -0
  238. valuesets/utils/comparison.py +102 -0
  239. valuesets/utils/expand_dynamic_enums.py +414 -0
  240. valuesets/utils/mapping_utils.py +236 -0
  241. valuesets/validators/__init__.py +11 -0
  242. valuesets/validators/enum_evaluator.py +669 -0
  243. valuesets/validators/oak_config.yaml +70 -0
  244. valuesets/validators/validate_with_ols.py +241 -0
  245. valuesets-0.3.1.dist-info/METADATA +395 -0
  246. valuesets-0.3.1.dist-info/RECORD +248 -0
  247. valuesets-0.3.1.dist-info/WHEEL +4 -0
  248. valuesets-0.3.1.dist-info/licenses/LICENSE +201 -0
@@ -0,0 +1,49 @@
1
+ """
2
+
3
+ Generated from: bio/insdc_missing_values.yaml
4
+ """
5
+
6
+ from __future__ import annotations
7
+
8
+ from typing import Dict, Any, Optional
9
+ from valuesets.generators.rich_enum import RichEnum
10
+
11
+ class InsdcMissingValueEnum(RichEnum):
12
+ """
13
+ INSDC (International Nucleotide Sequence Database Collaboration) controlled vocabulary for missing values in sequence records
14
+ """
15
+ # Enum members
16
+ NOT_APPLICABLE = "NOT_APPLICABLE"
17
+ MISSING = "MISSING"
18
+ NOT_COLLECTED = "NOT_COLLECTED"
19
+ NOT_PROVIDED = "NOT_PROVIDED"
20
+ RESTRICTED_ACCESS = "RESTRICTED_ACCESS"
21
+ MISSING_CONTROL_SAMPLE = "MISSING_CONTROL_SAMPLE"
22
+ MISSING_SAMPLE_GROUP = "MISSING_SAMPLE_GROUP"
23
+ MISSING_SYNTHETIC_CONSTRUCT = "MISSING_SYNTHETIC_CONSTRUCT"
24
+ MISSING_LAB_STOCK = "MISSING_LAB_STOCK"
25
+ MISSING_THIRD_PARTY_DATA = "MISSING_THIRD_PARTY_DATA"
26
+ MISSING_DATA_AGREEMENT_ESTABLISHED_PRE_2023 = "MISSING_DATA_AGREEMENT_ESTABLISHED_PRE_2023"
27
+ MISSING_ENDANGERED_SPECIES = "MISSING_ENDANGERED_SPECIES"
28
+ MISSING_HUMAN_IDENTIFIABLE = "MISSING_HUMAN_IDENTIFIABLE"
29
+
30
+ # Set metadata after class creation
31
+ InsdcMissingValueEnum._metadata = {
32
+ "NOT_APPLICABLE": {'description': 'Information is inappropriate to report, can indicate that the standard itself fails to model or represent the information appropriately', 'meaning': 'NCIT:C48660'},
33
+ "MISSING": {'description': 'Not stated explicitly or implied by any other means', 'meaning': 'NCIT:C54031'},
34
+ "NOT_COLLECTED": {'description': 'Information of an expected format was not given because it has never been collected', 'meaning': 'NCIT:C142610', 'annotations': {'note': 'NCIT:C142610 represents Missing Data which encompasses data not collected'}},
35
+ "NOT_PROVIDED": {'description': 'Information of an expected format was not given, a value may be given at the later stage', 'meaning': 'NCIT:C126101', 'annotations': {'note': 'Using NCIT:C126101 (Not Available) as a general term for data not provided'}},
36
+ "RESTRICTED_ACCESS": {'description': 'Information exists but cannot be released openly because of privacy concerns', 'meaning': 'NCIT:C67110', 'annotations': {'note': 'NCIT:C67110 represents Data Not Releasable due to confidentiality'}},
37
+ "MISSING_CONTROL_SAMPLE": {'description': 'Information is not applicable to control samples, negative control samples (e.g. blank sample or clear sample)', 'annotations': {'note': 'No specific ontology term found for missing control sample data'}},
38
+ "MISSING_SAMPLE_GROUP": {'description': 'Information can not be provided for a sample group where a selection of samples is used to represent a species, location or some other attribute/metric', 'annotations': {'note': 'No specific ontology term found for missing sample group data'}},
39
+ "MISSING_SYNTHETIC_CONSTRUCT": {'description': 'Information does not exist for a synthetic construct', 'annotations': {'note': 'No specific ontology term found for missing synthetic construct data'}},
40
+ "MISSING_LAB_STOCK": {'description': 'Information is not collected for a lab stock and its cultivation, e.g. stock centers, culture collections, seed banks', 'annotations': {'note': 'No specific ontology term found for missing lab stock data'}},
41
+ "MISSING_THIRD_PARTY_DATA": {'description': 'Information has not been revealed by another party', 'meaning': 'NCIT:C67329', 'annotations': {'note': 'NCIT:C67329 represents Source Data Not Available'}},
42
+ "MISSING_DATA_AGREEMENT_ESTABLISHED_PRE_2023": {'description': 'Information can not be reported due to a data agreement established before metadata standards were introduced in 2023', 'annotations': {'note': 'No specific ontology term for data missing due to pre-2023 agreements'}},
43
+ "MISSING_ENDANGERED_SPECIES": {'description': 'Information can not be reported due to endangered species concerns', 'annotations': {'note': 'No specific ontology term for data withheld due to endangered species'}},
44
+ "MISSING_HUMAN_IDENTIFIABLE": {'description': 'Information can not be reported due to identifiable human data concerns', 'annotations': {'note': 'No specific ontology term for data withheld due to human identifiability'}},
45
+ }
46
+
47
+ __all__ = [
48
+ "InsdcMissingValueEnum",
49
+ ]
@@ -0,0 +1,67 @@
1
+ """
2
+ Lipid Categories
3
+
4
+ Major lipid categories from SwissLipids classification
5
+
6
+ Generated from: bio/lipid_categories.yaml
7
+ """
8
+
9
+ from __future__ import annotations
10
+
11
+ from typing import Dict, Any, Optional
12
+ from valuesets.generators.rich_enum import RichEnum
13
+
14
+ class RelativeTimeEnum(RichEnum):
15
+ # Enum members
16
+ BEFORE = "BEFORE"
17
+ AFTER = "AFTER"
18
+ AT_SAME_TIME_AS = "AT_SAME_TIME_AS"
19
+
20
+ # Set metadata after class creation
21
+ RelativeTimeEnum._metadata = {
22
+ }
23
+
24
+ class PresenceEnum(RichEnum):
25
+ # Enum members
26
+ PRESENT = "PRESENT"
27
+ ABSENT = "ABSENT"
28
+ BELOW_DETECTION_LIMIT = "BELOW_DETECTION_LIMIT"
29
+ ABOVE_DETECTION_LIMIT = "ABOVE_DETECTION_LIMIT"
30
+
31
+ # Set metadata after class creation
32
+ PresenceEnum._metadata = {
33
+ "PRESENT": {'description': 'The entity is present'},
34
+ "ABSENT": {'description': 'The entity is absent'},
35
+ "BELOW_DETECTION_LIMIT": {'description': 'The entity is below the detection limit'},
36
+ "ABOVE_DETECTION_LIMIT": {'description': 'The entity is above the detection limit'},
37
+ }
38
+
39
+ class LipidCategory(RichEnum):
40
+ """
41
+ Major categories of lipids based on SwissLipids classification
42
+ """
43
+ # Enum members
44
+ LIPID = "LIPID"
45
+ FATTY_ACYLS_AND_DERIVATIVES = "FATTY_ACYLS_AND_DERIVATIVES"
46
+ GLYCEROLIPIDS = "GLYCEROLIPIDS"
47
+ GLYCEROPHOSPHOLIPIDS = "GLYCEROPHOSPHOLIPIDS"
48
+ SPHINGOLIPIDS = "SPHINGOLIPIDS"
49
+ STEROIDS_AND_DERIVATIVES = "STEROIDS_AND_DERIVATIVES"
50
+ PRENOL_LIPIDS = "PRENOL_LIPIDS"
51
+
52
+ # Set metadata after class creation
53
+ LipidCategory._metadata = {
54
+ "LIPID": {'description': 'Lipid', 'meaning': 'CHEBI:18059'},
55
+ "FATTY_ACYLS_AND_DERIVATIVES": {'description': 'Fatty acyls and derivatives', 'meaning': 'CHEBI:24027', 'aliases': ['fatty-acyl group']},
56
+ "GLYCEROLIPIDS": {'description': 'Glycerolipids', 'meaning': 'CHEBI:35741', 'aliases': ['glycerolipid']},
57
+ "GLYCEROPHOSPHOLIPIDS": {'description': 'Glycerophospholipids', 'meaning': 'CHEBI:37739', 'aliases': ['glycerophospholipid']},
58
+ "SPHINGOLIPIDS": {'description': 'Sphingolipids', 'meaning': 'CHEBI:26739', 'aliases': ['sphingolipid']},
59
+ "STEROIDS_AND_DERIVATIVES": {'description': 'Steroids and derivatives', 'meaning': 'CHEBI:35341', 'aliases': ['steroid']},
60
+ "PRENOL_LIPIDS": {'description': 'Prenol Lipids', 'meaning': 'CHEBI:24913', 'aliases': ['isoprenoid']},
61
+ }
62
+
63
+ __all__ = [
64
+ "RelativeTimeEnum",
65
+ "PresenceEnum",
66
+ "LipidCategory",
67
+ ]
@@ -0,0 +1,62 @@
1
+ """
2
+ Mouse Developmental Stages Value Sets
3
+
4
+ Value sets for mouse developmental stages from fertilization through aging
5
+
6
+ Generated from: bio/mouse_developmental_stages.yaml
7
+ """
8
+
9
+ from __future__ import annotations
10
+
11
+ from typing import Dict, Any, Optional
12
+ from valuesets.generators.rich_enum import RichEnum
13
+
14
+ class MouseDevelopmentalStage(RichEnum):
15
+ """
16
+ Mouse developmental stages from fertilization through aging, based on the MmusDv (Mouse Developmental Stages) ontology and Theiler staging system.
17
+ """
18
+ # Enum members
19
+ ZYGOTE_STAGE = "ZYGOTE_STAGE"
20
+ TWO_CELL_STAGE = "TWO_CELL_STAGE"
21
+ FOUR_CELL_STAGE = "FOUR_CELL_STAGE"
22
+ EIGHT_CELL_STAGE = "EIGHT_CELL_STAGE"
23
+ MORULA_STAGE = "MORULA_STAGE"
24
+ BLASTOCYST_STAGE = "BLASTOCYST_STAGE"
25
+ GASTRULA_STAGE = "GASTRULA_STAGE"
26
+ NEURULA_STAGE = "NEURULA_STAGE"
27
+ ORGANOGENESIS_STAGE = "ORGANOGENESIS_STAGE"
28
+ E0_5 = "E0_5"
29
+ E9_5 = "E9_5"
30
+ E14_5 = "E14_5"
31
+ P0_NEWBORN = "P0_NEWBORN"
32
+ P21_WEANING = "P21_WEANING"
33
+ P42_JUVENILE = "P42_JUVENILE"
34
+ P56_ADULT = "P56_ADULT"
35
+ AGED_12_MONTHS = "AGED_12_MONTHS"
36
+ THEILER_STAGE = "THEILER_STAGE"
37
+
38
+ # Set metadata after class creation
39
+ MouseDevelopmentalStage._metadata = {
40
+ "ZYGOTE_STAGE": {'description': 'Single cell after fertilization (Theiler stage 01, E0.5)', 'meaning': 'MmusDv:0000003'},
41
+ "TWO_CELL_STAGE": {'description': 'Two-cell embryo (Theiler stage 02, E1.5)', 'meaning': 'MmusDv:0000005'},
42
+ "FOUR_CELL_STAGE": {'description': 'Four-cell embryo (Theiler stage 02, E2)', 'meaning': 'MmusDv:0000005'},
43
+ "EIGHT_CELL_STAGE": {'description': 'Eight-cell embryo (Theiler stage 03, E2.5)', 'meaning': 'MmusDv:0000006'},
44
+ "MORULA_STAGE": {'description': 'Compact morula (Theiler stage 03, E2.5-3)', 'meaning': 'MmusDv:0000006'},
45
+ "BLASTOCYST_STAGE": {'description': 'Blastocyst with inner cell mass (Theiler stage 05, E3.5-4.5)', 'meaning': 'MmusDv:0000009'},
46
+ "GASTRULA_STAGE": {'description': 'Formation of three germ layers (E6.5-7.5)', 'meaning': 'MmusDv:0000013'},
47
+ "NEURULA_STAGE": {'description': 'Neural tube formation (Theiler stage 11, E8)', 'meaning': 'MmusDv:0000017'},
48
+ "ORGANOGENESIS_STAGE": {'description': 'Major organ development (E8.5-14.5)', 'meaning': 'MmusDv:0000018'},
49
+ "E0_5": {'description': 'Embryonic day 0.5 - fertilization', 'meaning': 'MmusDv:0000003'},
50
+ "E9_5": {'description': 'Embryonic day 9.5 - early organogenesis', 'meaning': 'MmusDv:0000023'},
51
+ "E14_5": {'description': 'Embryonic day 14.5 - late organogenesis', 'meaning': 'MmusDv:0000029'},
52
+ "P0_NEWBORN": {'description': 'Birth/postnatal day 0', 'meaning': 'MmusDv:0000036'},
53
+ "P21_WEANING": {'description': 'Postnatal day 21 - weaning age', 'meaning': 'MmusDv:0000141'},
54
+ "P42_JUVENILE": {'description': 'Postnatal day 42 - juvenile/sexually mature', 'meaning': 'MmusDv:0000151'},
55
+ "P56_ADULT": {'description': 'Postnatal day 56 - young adult', 'meaning': 'MmusDv:0000154'},
56
+ "AGED_12_MONTHS": {'description': '12+ months - aged mouse', 'meaning': 'MmusDv:0000135'},
57
+ "THEILER_STAGE": {'description': 'Reference to Theiler staging system for mouse development'},
58
+ }
59
+
60
+ __all__ = [
61
+ "MouseDevelopmentalStage",
62
+ ]
@@ -0,0 +1,86 @@
1
+ """
2
+ Plant Biology Value Sets
3
+
4
+ Value sets related to plant biology, including reproductive systems,
5
+ breeding systems, and other plant-specific characteristics.
6
+
7
+ Generated from: bio/plant_biology.yaml
8
+ """
9
+
10
+ from __future__ import annotations
11
+
12
+ from typing import Dict, Any, Optional
13
+ from valuesets.generators.rich_enum import RichEnum
14
+
15
+ class PlantSexualSystem(RichEnum):
16
+ """
17
+ Sexual systems in plants, describing the distribution and types of
18
+ reproductive organs (flowers) within and among individual plants.
19
+ """
20
+ # Enum members
21
+ ANDRODIOECIOUS = "ANDRODIOECIOUS"
22
+ ANDROECIOUS = "ANDROECIOUS"
23
+ ANDROGYNOMONOECIOUS = "ANDROGYNOMONOECIOUS"
24
+ ANDROGYNOUS = "ANDROGYNOUS"
25
+ ANDROMONOECIOUS = "ANDROMONOECIOUS"
26
+ BISEXUAL = "BISEXUAL"
27
+ DICHOGAMOUS = "DICHOGAMOUS"
28
+ DICLINOUS = "DICLINOUS"
29
+ DIOECIOUS = "DIOECIOUS"
30
+ GYNODIOECIOUS = "GYNODIOECIOUS"
31
+ GYNOECIOUS = "GYNOECIOUS"
32
+ GYNOMONOECIOUS = "GYNOMONOECIOUS"
33
+ HERMAPHRODITIC = "HERMAPHRODITIC"
34
+ IMPERFECT = "IMPERFECT"
35
+ MONOCLINOUS = "MONOCLINOUS"
36
+ MONOECIOUS = "MONOECIOUS"
37
+ PERFECT = "PERFECT"
38
+ POLYGAMODIOECIOUS = "POLYGAMODIOECIOUS"
39
+ POLYGAMOMONOECIOUS = "POLYGAMOMONOECIOUS"
40
+ POLYGAMOUS = "POLYGAMOUS"
41
+ PROTANDROUS = "PROTANDROUS"
42
+ PROTOGYNOUS = "PROTOGYNOUS"
43
+ SUBANDROECIOUS = "SUBANDROECIOUS"
44
+ SUBDIOECIOUS = "SUBDIOECIOUS"
45
+ SUBGYNOECIOUS = "SUBGYNOECIOUS"
46
+ SYNOECIOUS = "SYNOECIOUS"
47
+ TRIMONOECIOUS = "TRIMONOECIOUS"
48
+ TRIOECIOUS = "TRIOECIOUS"
49
+ UNISEXUAL = "UNISEXUAL"
50
+
51
+ # Set metadata after class creation
52
+ PlantSexualSystem._metadata = {
53
+ "ANDRODIOECIOUS": {'description': 'A sexual system in which males and hermaphrodites coexist in a population', 'meaning': 'GSSO:011874'},
54
+ "ANDROECIOUS": {'description': 'Having only male flowers (staminate flowers)'},
55
+ "ANDROGYNOMONOECIOUS": {'description': 'Having male, female, and bisexual flowers on the same plant'},
56
+ "ANDROGYNOUS": {'description': 'Having both male and female reproductive organs; hermaphroditic'},
57
+ "ANDROMONOECIOUS": {'description': 'Having both male and hermaphroditic flowers on the same plant', 'meaning': 'GSSO:011870'},
58
+ "BISEXUAL": {'description': 'Having both male and female reproductive organs in the same flower'},
59
+ "DICHOGAMOUS": {'description': 'Having male and female organs that mature at different times'},
60
+ "DICLINOUS": {'description': 'Having unisexual flowers (either male or female, not both)'},
61
+ "DIOECIOUS": {'description': 'Having male and female flowers on separate plants', 'meaning': 'GSSO:011872'},
62
+ "GYNODIOECIOUS": {'description': 'Having female and hermaphroditic plants in the same population', 'meaning': 'GSSO:011873'},
63
+ "GYNOECIOUS": {'description': 'Having only female flowers (pistillate flowers)'},
64
+ "GYNOMONOECIOUS": {'description': 'Having both female and hermaphroditic flowers on the same plant', 'meaning': 'GSSO:011869'},
65
+ "HERMAPHRODITIC": {'description': 'Having both male and female reproductive organs', 'meaning': 'PATO:0001340'},
66
+ "IMPERFECT": {'description': 'Flowers lacking either stamens or pistils (unisexual)'},
67
+ "MONOCLINOUS": {'description': 'Having bisexual flowers (both male and female organs)'},
68
+ "MONOECIOUS": {'description': 'Having separate male and female flowers on the same plant', 'meaning': 'GSSO:011868'},
69
+ "PERFECT": {'description': 'Flowers having both stamens and pistils (bisexual)'},
70
+ "POLYGAMODIOECIOUS": {'description': 'Having male, female, and bisexual flowers on separate plants'},
71
+ "POLYGAMOMONOECIOUS": {'description': 'Having male, female, and bisexual flowers on the same plant'},
72
+ "POLYGAMOUS": {'description': 'Having male, female, and bisexual flowers'},
73
+ "PROTANDROUS": {'description': 'Starting as male and changing to female at a later stage', 'meaning': 'PATO:0040053'},
74
+ "PROTOGYNOUS": {'description': 'Starting as female and changing to male at a later stage', 'meaning': 'PATO:0040052'},
75
+ "SUBANDROECIOUS": {'description': 'Predominantly male plants with occasional hermaphroditic flowers'},
76
+ "SUBDIOECIOUS": {'description': 'Predominantly dioecious with occasional hermaphroditic individuals'},
77
+ "SUBGYNOECIOUS": {'description': 'Predominantly female plants with occasional hermaphroditic flowers'},
78
+ "SYNOECIOUS": {'description': 'Having male and female organs in the same structure'},
79
+ "TRIMONOECIOUS": {'description': 'Having male, female, and bisexual flowers on the same plant'},
80
+ "TRIOECIOUS": {'description': 'Having males, females, and hermaphrodites in the same population', 'meaning': 'GSSO:011875'},
81
+ "UNISEXUAL": {'description': 'Having only one sex (either male or female reproductive organs)'},
82
+ }
83
+
84
+ __all__ = [
85
+ "PlantSexualSystem",
86
+ ]
@@ -0,0 +1,54 @@
1
+ """
2
+ Plant Developmental Stages Value Sets
3
+
4
+ Value sets for plant developmental stages from germination through senescence
5
+
6
+ Generated from: bio/plant_developmental_stages.yaml
7
+ """
8
+
9
+ from __future__ import annotations
10
+
11
+ from typing import Dict, Any, Optional
12
+ from valuesets.generators.rich_enum import RichEnum
13
+
14
+ class PlantDevelopmentalStage(RichEnum):
15
+ """
16
+ Major developmental stages in the plant life cycle, from seed germination through senescence. Based on the Plant Ontology (PO) standardized stages.
17
+ """
18
+ # Enum members
19
+ SEED_GERMINATION_STAGE = "SEED_GERMINATION_STAGE"
20
+ SEEDLING_STAGE = "SEEDLING_STAGE"
21
+ VEGETATIVE_GROWTH_STAGE = "VEGETATIVE_GROWTH_STAGE"
22
+ FLOWERING_STAGE = "FLOWERING_STAGE"
23
+ FRUIT_DEVELOPMENT_STAGE = "FRUIT_DEVELOPMENT_STAGE"
24
+ SEED_DEVELOPMENT_STAGE = "SEED_DEVELOPMENT_STAGE"
25
+ SENESCENCE_STAGE = "SENESCENCE_STAGE"
26
+ DORMANCY_STAGE = "DORMANCY_STAGE"
27
+ EMBRYO_DEVELOPMENT_STAGE = "EMBRYO_DEVELOPMENT_STAGE"
28
+ ROOT_DEVELOPMENT_STAGE = "ROOT_DEVELOPMENT_STAGE"
29
+ LEAF_DEVELOPMENT_STAGE = "LEAF_DEVELOPMENT_STAGE"
30
+ REPRODUCTIVE_STAGE = "REPRODUCTIVE_STAGE"
31
+ MATURITY_STAGE = "MATURITY_STAGE"
32
+ POST_HARVEST_STAGE = "POST_HARVEST_STAGE"
33
+
34
+ # Set metadata after class creation
35
+ PlantDevelopmentalStage._metadata = {
36
+ "SEED_GERMINATION_STAGE": {'description': 'Stage beginning with seed imbibition and ending with radicle emergence', 'meaning': 'PO:0007057'},
37
+ "SEEDLING_STAGE": {'description': 'Stage from germination until development of first adult vascular leaf', 'meaning': 'PO:0007131', 'aliases': ['seedling development stage']},
38
+ "VEGETATIVE_GROWTH_STAGE": {'description': 'Stage of growth before reproductive structure formation', 'meaning': 'PO:0007134', 'aliases': ['sporophyte vegetative stage']},
39
+ "FLOWERING_STAGE": {'description': 'Stage when flowers open with pollen release and/or receptive stigma', 'meaning': 'PO:0007616'},
40
+ "FRUIT_DEVELOPMENT_STAGE": {'description': 'Stage of fruit formation through ripening', 'meaning': 'PO:0001002'},
41
+ "SEED_DEVELOPMENT_STAGE": {'description': 'Stage from fertilization to mature seed', 'meaning': 'PO:0001170'},
42
+ "SENESCENCE_STAGE": {'description': 'Stage of aging with loss of function and organ deterioration', 'meaning': 'PO:0007017', 'aliases': ['sporophyte senescent stage']},
43
+ "DORMANCY_STAGE": {'description': 'Stage of suspended physiological activity and growth', 'meaning': 'PO:0007132', 'aliases': ['sporophyte dormant stage']},
44
+ "EMBRYO_DEVELOPMENT_STAGE": {'description': 'Stage from zygote first division to seed germination initiation', 'meaning': 'PO:0007631', 'aliases': ['plant embryo development stage']},
45
+ "ROOT_DEVELOPMENT_STAGE": {'description': 'Stages in root growth and development', 'meaning': 'PO:0007520'},
46
+ "LEAF_DEVELOPMENT_STAGE": {'description': 'Stages in leaf formation and expansion', 'meaning': 'PO:0001050'},
47
+ "REPRODUCTIVE_STAGE": {'description': 'Stage from reproductive structure initiation to senescence onset', 'meaning': 'PO:0007130', 'aliases': ['sporophyte reproductive stage']},
48
+ "MATURITY_STAGE": {'description': 'Stage when plant or plant embryo reaches full development', 'meaning': 'PO:0001081', 'aliases': ['mature plant embryo stage']},
49
+ "POST_HARVEST_STAGE": {'description': 'Stage after harvest when plant parts are detached from parent plant'},
50
+ }
51
+
52
+ __all__ = [
53
+ "PlantDevelopmentalStage",
54
+ ]
@@ -0,0 +1,81 @@
1
+ """
2
+
3
+ Generated from: bio/plant_sex.yaml
4
+ """
5
+
6
+ from __future__ import annotations
7
+
8
+ from typing import Dict, Any, Optional
9
+ from valuesets.generators.rich_enum import RichEnum
10
+
11
+ class PlantSexEnum(RichEnum):
12
+ """
13
+ Plant reproductive and sexual system types
14
+ """
15
+ # Enum members
16
+ ANDRODIOECIOUS = "ANDRODIOECIOUS"
17
+ ANDROECIOUS = "ANDROECIOUS"
18
+ ANDROGYNOMONOECIOUS = "ANDROGYNOMONOECIOUS"
19
+ ANDROGYNOUS = "ANDROGYNOUS"
20
+ ANDROMONOECIOUS = "ANDROMONOECIOUS"
21
+ BISEXUAL = "BISEXUAL"
22
+ DICHOGAMOUS = "DICHOGAMOUS"
23
+ DICLINOUS = "DICLINOUS"
24
+ DIOECIOUS = "DIOECIOUS"
25
+ GYNODIOECIOUS = "GYNODIOECIOUS"
26
+ GYNOECIOUS = "GYNOECIOUS"
27
+ GYNOMONOECIOUS = "GYNOMONOECIOUS"
28
+ HERMAPHRODITIC = "HERMAPHRODITIC"
29
+ IMPERFECT = "IMPERFECT"
30
+ MONOCLINOUS = "MONOCLINOUS"
31
+ MONOECIOUS = "MONOECIOUS"
32
+ PERFECT = "PERFECT"
33
+ POLYGAMODIOECIOUS = "POLYGAMODIOECIOUS"
34
+ POLYGAMOMONOECIOUS = "POLYGAMOMONOECIOUS"
35
+ POLYGAMOUS = "POLYGAMOUS"
36
+ PROTANDROUS = "PROTANDROUS"
37
+ PROTOGYNOUS = "PROTOGYNOUS"
38
+ SUBANDROECIOUS = "SUBANDROECIOUS"
39
+ SUBDIOECIOUS = "SUBDIOECIOUS"
40
+ SUBGYNOECIOUS = "SUBGYNOECIOUS"
41
+ SYNOECIOUS = "SYNOECIOUS"
42
+ TRIMONOECIOUS = "TRIMONOECIOUS"
43
+ TRIOECIOUS = "TRIOECIOUS"
44
+ UNISEXUAL = "UNISEXUAL"
45
+
46
+ # Set metadata after class creation
47
+ PlantSexEnum._metadata = {
48
+ "ANDRODIOECIOUS": {'description': 'Having male and hermaphrodite flowers on separate plants'},
49
+ "ANDROECIOUS": {'description': 'Having only male flowers'},
50
+ "ANDROGYNOMONOECIOUS": {'description': 'Having male, female, and hermaphrodite flowers on the same plant'},
51
+ "ANDROGYNOUS": {'description': 'Having both male and female reproductive organs in the same flower'},
52
+ "ANDROMONOECIOUS": {'description': 'Having male and hermaphrodite flowers on the same plant'},
53
+ "BISEXUAL": {'description': 'Having both male and female reproductive organs'},
54
+ "DICHOGAMOUS": {'description': 'Male and female organs mature at different times'},
55
+ "DICLINOUS": {'description': 'Having male and female reproductive organs in separate flowers'},
56
+ "DIOECIOUS": {'description': 'Having male and female flowers on separate plants', 'meaning': 'GSSO:011872'},
57
+ "GYNODIOECIOUS": {'description': 'Having female and hermaphrodite flowers on separate plants'},
58
+ "GYNOECIOUS": {'description': 'Having only female flowers'},
59
+ "GYNOMONOECIOUS": {'description': 'Having female and hermaphrodite flowers on the same plant'},
60
+ "HERMAPHRODITIC": {'description': 'Having both male and female reproductive organs', 'meaning': 'UBERON:0007197'},
61
+ "IMPERFECT": {'description': 'Flower lacking either male or female reproductive organs'},
62
+ "MONOCLINOUS": {'description': 'Having both male and female reproductive organs in the same flower'},
63
+ "MONOECIOUS": {'description': 'Having male and female flowers on the same plant', 'meaning': 'GSSO:011868'},
64
+ "PERFECT": {'description': 'Flower having both male and female reproductive organs'},
65
+ "POLYGAMODIOECIOUS": {'description': 'Having male, female, and hermaphrodite flowers on separate plants'},
66
+ "POLYGAMOMONOECIOUS": {'description': 'Having male, female, and hermaphrodite flowers on the same plant'},
67
+ "POLYGAMOUS": {'description': 'Having male, female, and hermaphrodite flowers'},
68
+ "PROTANDROUS": {'description': 'Male organs mature before female organs'},
69
+ "PROTOGYNOUS": {'description': 'Female organs mature before male organs'},
70
+ "SUBANDROECIOUS": {'description': 'Mostly male flowers with occasional hermaphrodite flowers'},
71
+ "SUBDIOECIOUS": {'description': 'Mostly dioecious with occasional hermaphrodite flowers'},
72
+ "SUBGYNOECIOUS": {'description': 'Mostly female flowers with occasional hermaphrodite flowers'},
73
+ "SYNOECIOUS": {'description': 'Having male and female organs fused together'},
74
+ "TRIMONOECIOUS": {'description': 'Having male, female, and hermaphrodite flowers on the same plant'},
75
+ "TRIOECIOUS": {'description': 'Having male, female, and hermaphrodite flowers on separate plants'},
76
+ "UNISEXUAL": {'description': 'Having only one sex of reproductive organs'},
77
+ }
78
+
79
+ __all__ = [
80
+ "PlantSexEnum",
81
+ ]
@@ -0,0 +1,61 @@
1
+ """
2
+ Protein Evidence Value Sets
3
+
4
+ Value sets related to protein evidence and annotation status
5
+
6
+ Generated from: bio/protein_evidence.yaml
7
+ """
8
+
9
+ from __future__ import annotations
10
+
11
+ from typing import Dict, Any, Optional
12
+ from valuesets.generators.rich_enum import RichEnum
13
+
14
+ class ProteinEvidenceForExistence(RichEnum):
15
+ """
16
+ The evidence for the existence of a biological entity. See https://www.uniprot.org/help/protein_existence and https://www.ncbi.nlm.nih.gov/genbank/evidence/.
17
+ """
18
+ # Enum members
19
+ EXPERIMENTAL_EVIDENCE_AT_PROTEIN_LEVEL = "EXPERIMENTAL_EVIDENCE_AT_PROTEIN_LEVEL"
20
+ EXPERIMENTAL_EVIDENCE_AT_TRANSCRIPT_LEVEL = "EXPERIMENTAL_EVIDENCE_AT_TRANSCRIPT_LEVEL"
21
+ PROTEIN_INFERRED_BY_HOMOLOGY = "PROTEIN_INFERRED_BY_HOMOLOGY"
22
+ PROTEIN_PREDICTED = "PROTEIN_PREDICTED"
23
+ PROTEIN_UNCERTAIN = "PROTEIN_UNCERTAIN"
24
+
25
+ # Set metadata after class creation
26
+ ProteinEvidenceForExistence._metadata = {
27
+ "EXPERIMENTAL_EVIDENCE_AT_PROTEIN_LEVEL": {'description': 'Indicates that there is clear experimental evidence for the existence of the protein. The criteria include partial or complete Edman sequencing, clear identification by mass spectrometry, X-ray or NMR structure, good quality protein-protein interaction or detection of the protein by antibodies.'},
28
+ "EXPERIMENTAL_EVIDENCE_AT_TRANSCRIPT_LEVEL": {'description': 'Indicates that the existence of a protein has not been strictly proven but that expression data (such as existence of cDNA(s), RT-PCR or Northern blots) indicate the existence of a transcript.'},
29
+ "PROTEIN_INFERRED_BY_HOMOLOGY": {'description': 'Indicates that the existence of a protein is probable because clear orthologs exist in closely related species.'},
30
+ "PROTEIN_PREDICTED": {'description': 'Used for entries without evidence at protein, transcript, or homology levels.'},
31
+ "PROTEIN_UNCERTAIN": {'description': 'Indicates that the existence of the protein is unsure.'},
32
+ }
33
+
34
+ class RefSeqStatusType(RichEnum):
35
+ """
36
+ RefSeq status codes, taken from https://www.ncbi.nlm.nih.gov/genbank/evidence/.
37
+ """
38
+ # Enum members
39
+ MODEL = "MODEL"
40
+ INFERRED = "INFERRED"
41
+ PREDICTED = "PREDICTED"
42
+ PROVISIONAL = "PROVISIONAL"
43
+ REVIEWED = "REVIEWED"
44
+ VALIDATED = "VALIDATED"
45
+ WGS = "WGS"
46
+
47
+ # Set metadata after class creation
48
+ RefSeqStatusType._metadata = {
49
+ "MODEL": {'description': 'The RefSeq record is provided by the NCBI Genome Annotation pipeline and is not subject to individual review or revision between annotation runs.'},
50
+ "INFERRED": {'description': 'The RefSeq record has been predicted by genome sequence analysis, but it is not yet supported by experimental evidence. The record may be partially supported by homology data.'},
51
+ "PREDICTED": {'description': 'The RefSeq record has not yet been subject to individual review, and some aspect of the RefSeq record is predicted.'},
52
+ "PROVISIONAL": {'description': 'The RefSeq record has not yet been subject to individual review. The initial sequence-to-gene association has been established by outside collaborators or NCBI staff.'},
53
+ "REVIEWED": {'description': 'The RefSeq record has been reviewed by NCBI staff or by a collaborator. The NCBI review process includes assessing available sequence data and the literature. Some RefSeq records may incorporate expanded sequence and annotation information.'},
54
+ "VALIDATED": {'description': 'The RefSeq record has undergone an initial review to provide the preferred sequence standard. The record has not yet been subject to final review at which time additional functional information may be provided.'},
55
+ "WGS": {'description': 'The RefSeq record is provided to represent a collection of whole genome shotgun sequences. These records are not subject to individual review or revisions between genome updates.'},
56
+ }
57
+
58
+ __all__ = [
59
+ "ProteinEvidenceForExistence",
60
+ "RefSeqStatusType",
61
+ ]
@@ -0,0 +1,123 @@
1
+ """
2
+ Proteomics Standards
3
+
4
+ Controlled vocabularies for mass spectrometry and proteomics data annotation from HUPO-PSI standards
5
+
6
+ Generated from: bio/proteomics_standards.yaml
7
+ """
8
+
9
+ from __future__ import annotations
10
+
11
+ from typing import Dict, Any, Optional
12
+ from valuesets.generators.rich_enum import RichEnum
13
+
14
+ class RelativeTimeEnum(RichEnum):
15
+ # Enum members
16
+ BEFORE = "BEFORE"
17
+ AFTER = "AFTER"
18
+ AT_SAME_TIME_AS = "AT_SAME_TIME_AS"
19
+
20
+ # Set metadata after class creation
21
+ RelativeTimeEnum._metadata = {
22
+ }
23
+
24
+ class PresenceEnum(RichEnum):
25
+ # Enum members
26
+ PRESENT = "PRESENT"
27
+ ABSENT = "ABSENT"
28
+ BELOW_DETECTION_LIMIT = "BELOW_DETECTION_LIMIT"
29
+ ABOVE_DETECTION_LIMIT = "ABOVE_DETECTION_LIMIT"
30
+
31
+ # Set metadata after class creation
32
+ PresenceEnum._metadata = {
33
+ "PRESENT": {'description': 'The entity is present'},
34
+ "ABSENT": {'description': 'The entity is absent'},
35
+ "BELOW_DETECTION_LIMIT": {'description': 'The entity is below the detection limit'},
36
+ "ABOVE_DETECTION_LIMIT": {'description': 'The entity is above the detection limit'},
37
+ }
38
+
39
+ class PeakAnnotationSeriesLabel(RichEnum):
40
+ """
41
+ Types of peak annotations in mass spectrometry data
42
+ """
43
+ # Enum members
44
+ PEPTIDE = "PEPTIDE"
45
+ INTERNAL = "INTERNAL"
46
+ PRECURSOR = "PRECURSOR"
47
+ IMMONIUM = "IMMONIUM"
48
+ REFERENCE = "REFERENCE"
49
+ NAMED_COMPOUND = "NAMED_COMPOUND"
50
+ FORMULA = "FORMULA"
51
+ SMILES = "SMILES"
52
+ UNANNOTATED = "UNANNOTATED"
53
+
54
+ # Set metadata after class creation
55
+ PeakAnnotationSeriesLabel._metadata = {
56
+ "PEPTIDE": {'description': 'Peptide fragment ion'},
57
+ "INTERNAL": {'description': 'Internal fragment ion'},
58
+ "PRECURSOR": {'description': 'Precursor ion'},
59
+ "IMMONIUM": {'description': 'Immonium ion'},
60
+ "REFERENCE": {'description': 'Reference peak or calibrant'},
61
+ "NAMED_COMPOUND": {'description': 'Named chemical compound'},
62
+ "FORMULA": {'description': 'Chemical formula'},
63
+ "SMILES": {'description': 'SMILES structure notation'},
64
+ "UNANNOTATED": {'description': 'Unannotated peak'},
65
+ }
66
+
67
+ class PeptideIonSeries(RichEnum):
68
+ """
69
+ Types of peptide fragment ion series in mass spectrometry
70
+ """
71
+ # Enum members
72
+ B = "B"
73
+ Y = "Y"
74
+ A = "A"
75
+ X = "X"
76
+ C = "C"
77
+ Z = "Z"
78
+ D = "D"
79
+ V = "V"
80
+ W = "W"
81
+ DA = "DA"
82
+ DB = "DB"
83
+ WA = "WA"
84
+ WB = "WB"
85
+
86
+ # Set metadata after class creation
87
+ PeptideIonSeries._metadata = {
88
+ "B": {'description': 'B ion series - N-terminal fragment with CO'},
89
+ "Y": {'description': 'Y ion series - C-terminal fragment with H'},
90
+ "A": {'description': 'A ion series - N-terminal fragment minus CO'},
91
+ "X": {'description': 'X ion series - C-terminal fragment plus CO'},
92
+ "C": {'description': 'C ion series - N-terminal fragment with NH3'},
93
+ "Z": {'description': 'Z ion series - C-terminal fragment minus NH'},
94
+ "D": {'description': 'D ion series - partial side chain cleavage'},
95
+ "V": {'description': 'V ion series - side chain loss from y ion'},
96
+ "W": {'description': 'W ion series - side chain loss from z ion'},
97
+ "DA": {'description': 'DA ion series - a ion with side chain loss'},
98
+ "DB": {'description': 'DB ion series - b ion with side chain loss'},
99
+ "WA": {'description': 'WA ion series - a ion with tryptophan side chain loss'},
100
+ "WB": {'description': 'WB ion series - b ion with tryptophan side chain loss'},
101
+ }
102
+
103
+ class MassErrorUnit(RichEnum):
104
+ """
105
+ Units for expressing mass error in mass spectrometry
106
+ """
107
+ # Enum members
108
+ PPM = "PPM"
109
+ DA = "DA"
110
+
111
+ # Set metadata after class creation
112
+ MassErrorUnit._metadata = {
113
+ "PPM": {'description': 'Parts per million - relative mass error'},
114
+ "DA": {'description': 'Dalton - absolute mass error', 'aliases': ['Dalton', 'u', 'amu']},
115
+ }
116
+
117
+ __all__ = [
118
+ "RelativeTimeEnum",
119
+ "PresenceEnum",
120
+ "PeakAnnotationSeriesLabel",
121
+ "PeptideIonSeries",
122
+ "MassErrorUnit",
123
+ ]