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,198 @@
1
+ """
2
+ Mass Spectrometry Value Sets
3
+
4
+ Value sets for mass spectrometry and analytical chemistry, derived from MS and MSIO ontologies.
5
+
6
+ Generated from: analytical_chemistry/mass_spectrometry.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 MassSpectrometerFileFormat(RichEnum):
40
+ """
41
+ Standard file formats used in mass spectrometry
42
+ """
43
+ # Enum members
44
+ MZML = "MZML"
45
+ MZXML = "MZXML"
46
+ MGF = "MGF"
47
+ THERMO_RAW = "THERMO_RAW"
48
+ WATERS_RAW = "WATERS_RAW"
49
+ WIFF = "WIFF"
50
+ MZDATA = "MZDATA"
51
+ PKL = "PKL"
52
+ DTA = "DTA"
53
+ MS2 = "MS2"
54
+ BRUKER_BAF = "BRUKER_BAF"
55
+ BRUKER_TDF = "BRUKER_TDF"
56
+ BRUKER_TSF = "BRUKER_TSF"
57
+ MZ5 = "MZ5"
58
+ MZMLB = "MZMLB"
59
+ UIMF = "UIMF"
60
+
61
+ # Set metadata after class creation
62
+ MassSpectrometerFileFormat._metadata = {
63
+ "MZML": {'description': 'mzML format - PSI standard for mass spectrometry data', 'meaning': 'MS:1000584'},
64
+ "MZXML": {'description': 'ISB mzXML format', 'meaning': 'MS:1000566'},
65
+ "MGF": {'description': 'Mascot Generic Format', 'meaning': 'MS:1001062'},
66
+ "THERMO_RAW": {'description': 'Thermo RAW format', 'meaning': 'MS:1000563'},
67
+ "WATERS_RAW": {'description': 'Waters raw format', 'meaning': 'MS:1000526'},
68
+ "WIFF": {'description': 'ABI WIFF format', 'meaning': 'MS:1000562'},
69
+ "MZDATA": {'description': 'PSI mzData format', 'meaning': 'MS:1000564'},
70
+ "PKL": {'description': 'Micromass PKL format', 'meaning': 'MS:1000565'},
71
+ "DTA": {'description': 'DTA format', 'meaning': 'MS:1000613'},
72
+ "MS2": {'description': 'MS2 format', 'meaning': 'MS:1001466'},
73
+ "BRUKER_BAF": {'description': 'Bruker BAF format', 'meaning': 'MS:1000815'},
74
+ "BRUKER_TDF": {'description': 'Bruker TDF format', 'meaning': 'MS:1002817'},
75
+ "BRUKER_TSF": {'description': 'Bruker TSF format', 'meaning': 'MS:1003282'},
76
+ "MZ5": {'description': 'mz5 format', 'meaning': 'MS:1001881'},
77
+ "MZMLB": {'description': 'mzMLb format', 'meaning': 'MS:1002838'},
78
+ "UIMF": {'description': 'UIMF format', 'meaning': 'MS:1002531'},
79
+ }
80
+
81
+ class MassSpectrometerVendor(RichEnum):
82
+ """
83
+ Major mass spectrometer manufacturers
84
+ """
85
+ # Enum members
86
+ THERMO_FISHER_SCIENTIFIC = "THERMO_FISHER_SCIENTIFIC"
87
+ WATERS = "WATERS"
88
+ BRUKER_DALTONICS = "BRUKER_DALTONICS"
89
+ SCIEX = "SCIEX"
90
+ AGILENT = "AGILENT"
91
+ SHIMADZU = "SHIMADZU"
92
+ LECO = "LECO"
93
+
94
+ # Set metadata after class creation
95
+ MassSpectrometerVendor._metadata = {
96
+ "THERMO_FISHER_SCIENTIFIC": {'description': 'Thermo Fisher Scientific', 'meaning': 'MS:1000483'},
97
+ "WATERS": {'description': 'Waters Corporation', 'meaning': 'MS:1000126'},
98
+ "BRUKER_DALTONICS": {'description': 'Bruker Daltonics', 'meaning': 'MS:1000122'},
99
+ "SCIEX": {'description': 'SCIEX (formerly Applied Biosystems)', 'meaning': 'MS:1000121'},
100
+ "AGILENT": {'description': 'Agilent Technologies', 'meaning': 'MS:1000490'},
101
+ "SHIMADZU": {'description': 'Shimadzu Corporation', 'meaning': 'MS:1000124'},
102
+ "LECO": {'description': 'LECO Corporation', 'meaning': 'MS:1001800'},
103
+ }
104
+
105
+ class ChromatographyType(RichEnum):
106
+ """
107
+ Types of chromatographic separation methods
108
+ """
109
+ # Enum members
110
+ GAS_CHROMATOGRAPHY = "GAS_CHROMATOGRAPHY"
111
+ HIGH_PERFORMANCE_LIQUID_CHROMATOGRAPHY = "HIGH_PERFORMANCE_LIQUID_CHROMATOGRAPHY"
112
+ LIQUID_CHROMATOGRAPHY_MASS_SPECTROMETRY = "LIQUID_CHROMATOGRAPHY_MASS_SPECTROMETRY"
113
+ GAS_CHROMATOGRAPHY_MASS_SPECTROMETRY = "GAS_CHROMATOGRAPHY_MASS_SPECTROMETRY"
114
+ TANDEM_MASS_SPECTROMETRY = "TANDEM_MASS_SPECTROMETRY"
115
+ ISOTOPE_RATIO_MASS_SPECTROMETRY = "ISOTOPE_RATIO_MASS_SPECTROMETRY"
116
+
117
+ # Set metadata after class creation
118
+ ChromatographyType._metadata = {
119
+ "GAS_CHROMATOGRAPHY": {'description': 'Gas chromatography', 'meaning': 'MSIO:0000147'},
120
+ "HIGH_PERFORMANCE_LIQUID_CHROMATOGRAPHY": {'description': 'High performance liquid chromatography', 'meaning': 'MSIO:0000148'},
121
+ "LIQUID_CHROMATOGRAPHY_MASS_SPECTROMETRY": {'description': 'Liquid chromatography-mass spectrometry', 'meaning': 'CHMO:0000524'},
122
+ "GAS_CHROMATOGRAPHY_MASS_SPECTROMETRY": {'description': 'Gas chromatography-mass spectrometry', 'meaning': 'CHMO:0000497'},
123
+ "TANDEM_MASS_SPECTROMETRY": {'description': 'Tandem mass spectrometry', 'meaning': 'CHMO:0000575'},
124
+ "ISOTOPE_RATIO_MASS_SPECTROMETRY": {'description': 'Isotope ratio mass spectrometry', 'meaning': 'CHMO:0000506'},
125
+ }
126
+
127
+ class DerivatizationMethod(RichEnum):
128
+ """
129
+ Chemical derivatization methods for sample preparation
130
+ """
131
+ # Enum members
132
+ SILYLATION = "SILYLATION"
133
+ METHYLATION = "METHYLATION"
134
+ ACETYLATION = "ACETYLATION"
135
+ TRIFLUOROACETYLATION = "TRIFLUOROACETYLATION"
136
+ ALKYLATION = "ALKYLATION"
137
+ OXIMATION = "OXIMATION"
138
+
139
+ # Set metadata after class creation
140
+ DerivatizationMethod._metadata = {
141
+ "SILYLATION": {'description': 'Addition of silyl groups for improved volatility', 'meaning': 'MSIO:0000117'},
142
+ "METHYLATION": {'description': 'Addition of methyl groups', 'meaning': 'MSIO:0000115'},
143
+ "ACETYLATION": {'description': 'Addition of acetyl groups', 'meaning': 'MSIO:0000112'},
144
+ "TRIFLUOROACETYLATION": {'description': 'Addition of trifluoroacetyl groups', 'meaning': 'MSIO:0000113'},
145
+ "ALKYLATION": {'description': 'Addition of alkyl groups', 'meaning': 'MSIO:0000114'},
146
+ "OXIMATION": {'description': 'Addition of oxime groups', 'meaning': 'MSIO:0000116'},
147
+ }
148
+
149
+ class MetabolomicsAssayType(RichEnum):
150
+ """
151
+ Types of metabolomics assays and profiling approaches
152
+ """
153
+ # Enum members
154
+ TARGETED_METABOLITE_PROFILING = "TARGETED_METABOLITE_PROFILING"
155
+ UNTARGETED_METABOLITE_PROFILING = "UNTARGETED_METABOLITE_PROFILING"
156
+ METABOLITE_QUANTITATION_HPLC = "METABOLITE_QUANTITATION_HPLC"
157
+
158
+ # Set metadata after class creation
159
+ MetabolomicsAssayType._metadata = {
160
+ "TARGETED_METABOLITE_PROFILING": {'description': 'Assay targeting specific known metabolites', 'meaning': 'MSIO:0000100'},
161
+ "UNTARGETED_METABOLITE_PROFILING": {'description': 'Assay profiling all detectable metabolites', 'meaning': 'MSIO:0000101'},
162
+ "METABOLITE_QUANTITATION_HPLC": {'description': 'Metabolite quantitation using HPLC', 'meaning': 'MSIO:0000099'},
163
+ }
164
+
165
+ class AnalyticalControlType(RichEnum):
166
+ """
167
+ Types of control samples used in analytical chemistry
168
+ """
169
+ # Enum members
170
+ INTERNAL_STANDARD = "INTERNAL_STANDARD"
171
+ EXTERNAL_STANDARD = "EXTERNAL_STANDARD"
172
+ POSITIVE_CONTROL = "POSITIVE_CONTROL"
173
+ NEGATIVE_CONTROL = "NEGATIVE_CONTROL"
174
+ LONG_TERM_REFERENCE = "LONG_TERM_REFERENCE"
175
+ BLANK = "BLANK"
176
+ QUALITY_CONTROL = "QUALITY_CONTROL"
177
+
178
+ # Set metadata after class creation
179
+ AnalyticalControlType._metadata = {
180
+ "INTERNAL_STANDARD": {'description': 'Known amount of standard added to analytical sample', 'meaning': 'MSIO:0000005'},
181
+ "EXTERNAL_STANDARD": {'description': 'Reference standard used as external reference point', 'meaning': 'MSIO:0000004'},
182
+ "POSITIVE_CONTROL": {'description': 'Control providing known positive signal', 'meaning': 'MSIO:0000008'},
183
+ "NEGATIVE_CONTROL": {'description': 'Control providing baseline/no signal reference', 'meaning': 'MSIO:0000007'},
184
+ "LONG_TERM_REFERENCE": {'description': 'Stable reference for cross-batch comparisons', 'meaning': 'MSIO:0000006'},
185
+ "BLANK": {'description': 'Sample containing only solvent/matrix without analyte'},
186
+ "QUALITY_CONTROL": {'description': 'Sample with known composition for system performance monitoring'},
187
+ }
188
+
189
+ __all__ = [
190
+ "RelativeTimeEnum",
191
+ "PresenceEnum",
192
+ "MassSpectrometerFileFormat",
193
+ "MassSpectrometerVendor",
194
+ "ChromatographyType",
195
+ "DerivatizationMethod",
196
+ "MetabolomicsAssayType",
197
+ "AnalyticalControlType",
198
+ ]
@@ -0,0 +1 @@
1
+ """Auto-generated package."""
@@ -0,0 +1,238 @@
1
+ """
2
+ Biological Color Value Sets
3
+
4
+ Color value sets for biological traits including eye colors, hair colors, flower colors, and other phenotypic color characteristics.
5
+
6
+
7
+ Generated from: bio/biological_colors.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 EyeColorEnum(RichEnum):
16
+ """
17
+ Human eye color phenotypes
18
+ """
19
+ # Enum members
20
+ BROWN = "BROWN"
21
+ BLUE = "BLUE"
22
+ GREEN = "GREEN"
23
+ HAZEL = "HAZEL"
24
+ AMBER = "AMBER"
25
+ GRAY = "GRAY"
26
+ HETEROCHROMIA = "HETEROCHROMIA"
27
+ RED_PINK = "RED_PINK"
28
+ VIOLET = "VIOLET"
29
+
30
+ # Set metadata after class creation
31
+ EyeColorEnum._metadata = {
32
+ "BROWN": {'description': 'Brown eyes', 'annotations': {'hex_range': '663300-8B4513', 'prevalence': '79% worldwide'}},
33
+ "BLUE": {'description': 'Blue eyes', 'meaning': 'HP:0000635', 'annotations': {'hex_range': '4169E1-87CEEB', 'prevalence': '8-10% worldwide'}},
34
+ "GREEN": {'description': 'Green eyes', 'annotations': {'hex_range': '2E8B57-90EE90', 'prevalence': '2% worldwide'}},
35
+ "HAZEL": {'description': 'Hazel eyes (brown-green mix)', 'annotations': {'hex_range': '8B7355-C9A878', 'prevalence': '5% worldwide'}},
36
+ "AMBER": {'description': 'Amber/golden eyes', 'annotations': {'hex_range': 'FFBF00-FFB300', 'prevalence': 'rare'}},
37
+ "GRAY": {'description': 'Gray eyes', 'meaning': 'HP:0007730', 'annotations': {'hex_range': '778899-C0C0C0', 'prevalence': '<1% worldwide'}},
38
+ "HETEROCHROMIA": {'description': 'Different colored eyes', 'meaning': 'HP:0001100', 'annotations': {'note': 'complete or sectoral heterochromia'}},
39
+ "RED_PINK": {'description': 'Red/pink eyes (albinism)', 'annotations': {'condition': 'associated with albinism'}},
40
+ "VIOLET": {'description': 'Violet eyes (extremely rare)', 'annotations': {'hex_range': '8B7AB8-9370DB', 'prevalence': 'extremely rare'}},
41
+ }
42
+
43
+ class HairColorEnum(RichEnum):
44
+ """
45
+ Human hair color phenotypes
46
+ """
47
+ # Enum members
48
+ BLACK = "BLACK"
49
+ BROWN = "BROWN"
50
+ DARK_BROWN = "DARK_BROWN"
51
+ LIGHT_BROWN = "LIGHT_BROWN"
52
+ BLONDE = "BLONDE"
53
+ DARK_BLONDE = "DARK_BLONDE"
54
+ LIGHT_BLONDE = "LIGHT_BLONDE"
55
+ PLATINUM_BLONDE = "PLATINUM_BLONDE"
56
+ STRAWBERRY_BLONDE = "STRAWBERRY_BLONDE"
57
+ RED = "RED"
58
+ AUBURN = "AUBURN"
59
+ GINGER = "GINGER"
60
+ GRAY = "GRAY"
61
+ WHITE = "WHITE"
62
+ SILVER = "SILVER"
63
+
64
+ # Set metadata after class creation
65
+ HairColorEnum._metadata = {
66
+ "BLACK": {'description': 'Black hair', 'annotations': {'hex': '000000', 'prevalence': 'most common worldwide'}},
67
+ "BROWN": {'description': 'Brown hair', 'annotations': {'hex_range': '654321-8B4513'}},
68
+ "DARK_BROWN": {'description': 'Dark brown hair', 'annotations': {'hex': '3B2F2F'}},
69
+ "LIGHT_BROWN": {'description': 'Light brown hair', 'annotations': {'hex': '977961'}},
70
+ "BLONDE": {'description': 'Blonde/blond hair', 'meaning': 'HP:0002286', 'annotations': {'hex_range': 'FAF0BE-FFF8DC'}},
71
+ "DARK_BLONDE": {'description': 'Dark blonde hair', 'annotations': {'hex': '9F8F71'}},
72
+ "LIGHT_BLONDE": {'description': 'Light blonde hair', 'annotations': {'hex': 'FFF8DC'}},
73
+ "PLATINUM_BLONDE": {'description': 'Platinum blonde hair', 'annotations': {'hex': 'E5E5E5'}},
74
+ "STRAWBERRY_BLONDE": {'description': 'Strawberry blonde hair', 'annotations': {'hex': 'FF9966'}},
75
+ "RED": {'description': 'Red hair', 'meaning': 'HP:0002297', 'annotations': {'hex_range': '922724-FF4500', 'prevalence': '1-2% worldwide'}},
76
+ "AUBURN": {'description': 'Auburn hair (reddish-brown)', 'annotations': {'hex': 'A52A2A'}},
77
+ "GINGER": {'description': 'Ginger hair (orange-red)', 'annotations': {'hex': 'FF6600'}},
78
+ "GRAY": {'description': 'Gray hair', 'meaning': 'HP:0002216', 'annotations': {'hex_range': '808080-C0C0C0'}},
79
+ "WHITE": {'description': 'White hair', 'meaning': 'HP:0011364', 'annotations': {'hex': 'FFFFFF'}},
80
+ "SILVER": {'description': 'Silver hair', 'annotations': {'hex': 'C0C0C0'}},
81
+ }
82
+
83
+ class FlowerColorEnum(RichEnum):
84
+ """
85
+ Common flower colors
86
+ """
87
+ # Enum members
88
+ RED = "RED"
89
+ PINK = "PINK"
90
+ ORANGE = "ORANGE"
91
+ YELLOW = "YELLOW"
92
+ WHITE = "WHITE"
93
+ PURPLE = "PURPLE"
94
+ VIOLET = "VIOLET"
95
+ BLUE = "BLUE"
96
+ LAVENDER = "LAVENDER"
97
+ MAGENTA = "MAGENTA"
98
+ BURGUNDY = "BURGUNDY"
99
+ CORAL = "CORAL"
100
+ PEACH = "PEACH"
101
+ CREAM = "CREAM"
102
+ BICOLOR = "BICOLOR"
103
+ MULTICOLOR = "MULTICOLOR"
104
+
105
+ # Set metadata after class creation
106
+ FlowerColorEnum._metadata = {
107
+ "RED": {'description': 'Red flowers', 'annotations': {'hex': 'FF0000', 'examples': 'roses, tulips, poppies'}},
108
+ "PINK": {'description': 'Pink flowers', 'annotations': {'hex': 'FFC0CB', 'examples': 'peonies, cherry blossoms'}},
109
+ "ORANGE": {'description': 'Orange flowers', 'annotations': {'hex': 'FFA500', 'examples': 'marigolds, zinnias'}},
110
+ "YELLOW": {'description': 'Yellow flowers', 'annotations': {'hex': 'FFFF00', 'examples': 'sunflowers, daffodils'}},
111
+ "WHITE": {'description': 'White flowers', 'annotations': {'hex': 'FFFFFF', 'examples': 'lilies, daisies'}},
112
+ "PURPLE": {'description': 'Purple flowers', 'annotations': {'hex': '800080', 'examples': 'lavender, violets'}},
113
+ "VIOLET": {'description': 'Violet flowers', 'annotations': {'hex': '7F00FF', 'examples': 'violets, pansies'}},
114
+ "BLUE": {'description': 'Blue flowers', 'annotations': {'hex': '0000FF', 'examples': 'forget-me-nots, cornflowers'}},
115
+ "LAVENDER": {'description': 'Lavender flowers', 'annotations': {'hex': 'E6E6FA', 'examples': 'lavender, wisteria'}},
116
+ "MAGENTA": {'description': 'Magenta flowers', 'annotations': {'hex': 'FF00FF', 'examples': 'fuchsias, bougainvillea'}},
117
+ "BURGUNDY": {'description': 'Burgundy/deep red flowers', 'annotations': {'hex': '800020', 'examples': 'dahlias, chrysanthemums'}},
118
+ "CORAL": {'description': 'Coral flowers', 'annotations': {'hex': 'FF7F50', 'examples': 'coral bells, begonias'}},
119
+ "PEACH": {'description': 'Peach flowers', 'annotations': {'hex': 'FFDAB9', 'examples': 'roses, dahlias'}},
120
+ "CREAM": {'description': 'Cream flowers', 'annotations': {'hex': 'FFFDD0', 'examples': 'roses, tulips'}},
121
+ "BICOLOR": {'description': 'Two-colored flowers', 'annotations': {'note': 'flowers with two distinct colors'}},
122
+ "MULTICOLOR": {'description': 'Multi-colored flowers', 'annotations': {'note': 'flowers with more than two colors'}},
123
+ }
124
+
125
+ class AnimalCoatColorEnum(RichEnum):
126
+ """
127
+ Animal coat/fur colors
128
+ """
129
+ # Enum members
130
+ BLACK = "BLACK"
131
+ WHITE = "WHITE"
132
+ BROWN = "BROWN"
133
+ TAN = "TAN"
134
+ CREAM = "CREAM"
135
+ GRAY = "GRAY"
136
+ RED = "RED"
137
+ GOLDEN = "GOLDEN"
138
+ FAWN = "FAWN"
139
+ BRINDLE = "BRINDLE"
140
+ SPOTTED = "SPOTTED"
141
+ MERLE = "MERLE"
142
+ PIEBALD = "PIEBALD"
143
+ CALICO = "CALICO"
144
+ TABBY = "TABBY"
145
+ TORTOISESHELL = "TORTOISESHELL"
146
+ ROAN = "ROAN"
147
+ PALOMINO = "PALOMINO"
148
+ CHESTNUT = "CHESTNUT"
149
+ BAY = "BAY"
150
+
151
+ # Set metadata after class creation
152
+ AnimalCoatColorEnum._metadata = {
153
+ "BLACK": {'description': 'Black coat', 'annotations': {'hex': '000000'}},
154
+ "WHITE": {'description': 'White coat', 'annotations': {'hex': 'FFFFFF'}},
155
+ "BROWN": {'description': 'Brown coat', 'annotations': {'hex': '964B00'}},
156
+ "TAN": {'description': 'Tan coat', 'annotations': {'hex': 'D2B48C'}},
157
+ "CREAM": {'description': 'Cream coat', 'annotations': {'hex': 'FFFDD0'}},
158
+ "GRAY": {'description': 'Gray coat', 'annotations': {'hex': '808080'}},
159
+ "RED": {'description': 'Red/rust coat', 'annotations': {'hex': 'B22222'}},
160
+ "GOLDEN": {'description': 'Golden coat', 'annotations': {'hex': 'FFD700'}},
161
+ "FAWN": {'description': 'Fawn coat', 'annotations': {'hex': 'E5AA70'}},
162
+ "BRINDLE": {'description': 'Brindle pattern (striped)', 'annotations': {'pattern': 'striped mixture of colors'}},
163
+ "SPOTTED": {'description': 'Spotted pattern', 'annotations': {'pattern': 'spots on base color'}},
164
+ "MERLE": {'description': 'Merle pattern (mottled)', 'annotations': {'pattern': 'mottled patches'}},
165
+ "PIEBALD": {'description': 'Piebald pattern (patches)', 'annotations': {'pattern': 'irregular patches'}},
166
+ "CALICO": {'description': 'Calico pattern (tri-color)', 'annotations': {'pattern': 'tri-color patches', 'species': 'primarily cats'}},
167
+ "TABBY": {'description': 'Tabby pattern (striped)', 'annotations': {'pattern': 'striped or spotted', 'species': 'primarily cats'}},
168
+ "TORTOISESHELL": {'description': 'Tortoiseshell pattern', 'annotations': {'pattern': 'mottled orange and black', 'species': 'primarily cats'}},
169
+ "ROAN": {'description': 'Roan pattern (mixed white)', 'annotations': {'pattern': 'white mixed with base color', 'species': 'primarily horses'}},
170
+ "PALOMINO": {'description': 'Palomino (golden with white mane)', 'annotations': {'hex': 'DEC05F', 'species': 'horses'}},
171
+ "CHESTNUT": {'description': 'Chestnut/sorrel', 'annotations': {'hex': 'CD5C5C', 'species': 'horses'}},
172
+ "BAY": {'description': 'Bay (brown with black points)', 'annotations': {'species': 'horses'}},
173
+ }
174
+
175
+ class SkinToneEnum(RichEnum):
176
+ """
177
+ Human skin tone classifications (Fitzpatrick scale based)
178
+ """
179
+ # Enum members
180
+ TYPE_I = "TYPE_I"
181
+ TYPE_II = "TYPE_II"
182
+ TYPE_III = "TYPE_III"
183
+ TYPE_IV = "TYPE_IV"
184
+ TYPE_V = "TYPE_V"
185
+ TYPE_VI = "TYPE_VI"
186
+
187
+ # Set metadata after class creation
188
+ SkinToneEnum._metadata = {
189
+ "TYPE_I": {'description': 'Very pale white skin', 'annotations': {'fitzpatrick': 'Type I', 'hex_range': 'FFE0BD-FFDFC4', 'sun_reaction': 'always burns, never tans'}},
190
+ "TYPE_II": {'description': 'Fair white skin', 'annotations': {'fitzpatrick': 'Type II', 'hex_range': 'F0D5BE-E8C5A0', 'sun_reaction': 'burns easily, tans minimally'}},
191
+ "TYPE_III": {'description': 'Light brown skin', 'annotations': {'fitzpatrick': 'Type III', 'hex_range': 'DDA582-CD9766', 'sun_reaction': 'burns moderately, tans gradually'}},
192
+ "TYPE_IV": {'description': 'Moderate brown skin', 'annotations': {'fitzpatrick': 'Type IV', 'hex_range': 'B87659-A47148', 'sun_reaction': 'burns minimally, tans easily'}},
193
+ "TYPE_V": {'description': 'Dark brown skin', 'annotations': {'fitzpatrick': 'Type V', 'hex_range': '935D37-7C4E2A', 'sun_reaction': 'rarely burns, tans darkly'}},
194
+ "TYPE_VI": {'description': 'Very dark brown to black skin', 'annotations': {'fitzpatrick': 'Type VI', 'hex_range': '5C3A1E-3D2314', 'sun_reaction': 'never burns, always tans darkly'}},
195
+ }
196
+
197
+ class PlantLeafColorEnum(RichEnum):
198
+ """
199
+ Plant leaf colors (including seasonal changes)
200
+ """
201
+ # Enum members
202
+ GREEN = "GREEN"
203
+ DARK_GREEN = "DARK_GREEN"
204
+ LIGHT_GREEN = "LIGHT_GREEN"
205
+ YELLOW_GREEN = "YELLOW_GREEN"
206
+ YELLOW = "YELLOW"
207
+ ORANGE = "ORANGE"
208
+ RED = "RED"
209
+ PURPLE = "PURPLE"
210
+ BRONZE = "BRONZE"
211
+ SILVER = "SILVER"
212
+ VARIEGATED = "VARIEGATED"
213
+ BROWN = "BROWN"
214
+
215
+ # Set metadata after class creation
216
+ PlantLeafColorEnum._metadata = {
217
+ "GREEN": {'description': 'Green leaves (healthy/summer)', 'meaning': 'PATO:0000320', 'annotations': {'hex_range': '228B22-90EE90', 'season': 'spring/summer'}},
218
+ "DARK_GREEN": {'description': 'Dark green leaves', 'annotations': {'hex': '006400'}},
219
+ "LIGHT_GREEN": {'description': 'Light green leaves', 'annotations': {'hex': '90EE90'}},
220
+ "YELLOW_GREEN": {'description': 'Yellow-green leaves', 'annotations': {'hex': '9ACD32', 'condition': 'new growth or nutrient deficiency'}},
221
+ "YELLOW": {'description': 'Yellow leaves (autumn or chlorosis)', 'meaning': 'PATO:0000324', 'annotations': {'hex': 'FFD700', 'season': 'autumn'}},
222
+ "ORANGE": {'description': 'Orange leaves (autumn)', 'annotations': {'hex': 'FF8C00', 'season': 'autumn'}},
223
+ "RED": {'description': 'Red leaves (autumn or certain species)', 'meaning': 'PATO:0000322', 'annotations': {'hex': 'DC143C', 'season': 'autumn'}},
224
+ "PURPLE": {'description': 'Purple leaves (certain species)', 'annotations': {'hex': '800080', 'examples': 'purple basil, Japanese maple'}},
225
+ "BRONZE": {'description': 'Bronze leaves', 'annotations': {'hex': 'CD7F32'}},
226
+ "SILVER": {'description': 'Silver/gray leaves', 'annotations': {'hex': 'C0C0C0', 'examples': 'dusty miller, artemisia'}},
227
+ "VARIEGATED": {'description': 'Variegated leaves (multiple colors)', 'annotations': {'pattern': 'mixed colors/patterns'}},
228
+ "BROWN": {'description': 'Brown leaves (dead/dying)', 'annotations': {'hex': '964B00', 'condition': 'senescent or dead'}},
229
+ }
230
+
231
+ __all__ = [
232
+ "EyeColorEnum",
233
+ "HairColorEnum",
234
+ "FlowerColorEnum",
235
+ "AnimalCoatColorEnum",
236
+ "SkinToneEnum",
237
+ "PlantLeafColorEnum",
238
+ ]
@@ -0,0 +1,180 @@
1
+ """
2
+ Cell Cycle Value Sets
3
+
4
+ Value sets for cell cycle phases, checkpoints, and related concepts
5
+
6
+ Generated from: bio/cell_cycle.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 CellCyclePhase(RichEnum):
15
+ """
16
+ Major phases of the eukaryotic cell cycle
17
+ """
18
+ # Enum members
19
+ G0 = "G0"
20
+ G1 = "G1"
21
+ S = "S"
22
+ G2 = "G2"
23
+ M = "M"
24
+ INTERPHASE = "INTERPHASE"
25
+
26
+ # Set metadata after class creation
27
+ CellCyclePhase._metadata = {
28
+ "G0": {'description': 'G0 phase (quiescent/resting phase)', 'meaning': 'GO:0044838', 'annotations': {'aliases': 'quiescent phase, resting phase'}},
29
+ "G1": {'description': 'G1 phase (Gap 1)', 'meaning': 'GO:0051318', 'annotations': {'aliases': 'Gap 1, first gap phase', 'duration': 'variable (hours to years)'}},
30
+ "S": {'description': 'S phase (DNA synthesis)', 'meaning': 'GO:0051320', 'annotations': {'aliases': 'synthesis phase, DNA replication phase', 'duration': '6-8 hours'}},
31
+ "G2": {'description': 'G2 phase (Gap 2)', 'meaning': 'GO:0051319', 'annotations': {'aliases': 'Gap 2, second gap phase', 'duration': '3-4 hours'}},
32
+ "M": {'description': 'M phase (mitosis and cytokinesis)', 'meaning': 'GO:0000279', 'annotations': {'aliases': 'mitotic phase, division phase', 'duration': '~1 hour'}},
33
+ "INTERPHASE": {'description': 'Interphase (G1, S, and G2 phases combined)', 'meaning': 'GO:0051325', 'annotations': {'includes': 'G1, S, G2'}},
34
+ }
35
+
36
+ class MitoticPhase(RichEnum):
37
+ """
38
+ Stages of mitosis (M phase)
39
+ """
40
+ # Enum members
41
+ PROPHASE = "PROPHASE"
42
+ PROMETAPHASE = "PROMETAPHASE"
43
+ METAPHASE = "METAPHASE"
44
+ ANAPHASE = "ANAPHASE"
45
+ TELOPHASE = "TELOPHASE"
46
+ CYTOKINESIS = "CYTOKINESIS"
47
+
48
+ # Set metadata after class creation
49
+ MitoticPhase._metadata = {
50
+ "PROPHASE": {'description': 'Prophase', 'meaning': 'GO:0051324', 'annotations': {'order': 1, 'features': 'chromatin condensation, spindle formation begins'}},
51
+ "PROMETAPHASE": {'description': 'Prometaphase', 'meaning': 'GO:0007080', 'annotations': {'order': 2, 'features': 'nuclear envelope breakdown, kinetochore attachment'}},
52
+ "METAPHASE": {'description': 'Metaphase', 'meaning': 'GO:0051323', 'annotations': {'order': 3, 'features': 'chromosomes aligned at metaphase plate'}},
53
+ "ANAPHASE": {'description': 'Anaphase', 'meaning': 'GO:0051322', 'annotations': {'order': 4, 'features': 'sister chromatid separation'}},
54
+ "TELOPHASE": {'description': 'Telophase', 'meaning': 'GO:0051326', 'annotations': {'order': 5, 'features': 'nuclear envelope reformation'}},
55
+ "CYTOKINESIS": {'description': 'Cytokinesis', 'meaning': 'GO:0000910', 'annotations': {'order': 6, 'features': 'cytoplasmic division'}},
56
+ }
57
+
58
+ class CellCycleCheckpoint(RichEnum):
59
+ """
60
+ Cell cycle checkpoints that regulate progression
61
+ """
62
+ # Enum members
63
+ G1_S_CHECKPOINT = "G1_S_CHECKPOINT"
64
+ INTRA_S_CHECKPOINT = "INTRA_S_CHECKPOINT"
65
+ G2_M_CHECKPOINT = "G2_M_CHECKPOINT"
66
+ SPINDLE_CHECKPOINT = "SPINDLE_CHECKPOINT"
67
+
68
+ # Set metadata after class creation
69
+ CellCycleCheckpoint._metadata = {
70
+ "G1_S_CHECKPOINT": {'description': 'G1/S checkpoint (Restriction point)', 'meaning': 'GO:0000082', 'annotations': {'aliases': 'Start checkpoint, Restriction point, R point', 'regulator': 'p53, Rb'}},
71
+ "INTRA_S_CHECKPOINT": {'description': 'Intra-S checkpoint', 'meaning': 'GO:0031573', 'annotations': {'function': 'monitors DNA replication', 'regulator': 'ATR, CHK1'}},
72
+ "G2_M_CHECKPOINT": {'description': 'G2/M checkpoint', 'meaning': 'GO:0031571', 'annotations': {'function': 'ensures DNA properly replicated', 'regulator': 'p53, CHK1, CHK2'}},
73
+ "SPINDLE_CHECKPOINT": {'description': 'Spindle checkpoint (M checkpoint)', 'meaning': 'GO:0031577', 'annotations': {'aliases': 'SAC, spindle assembly checkpoint', 'function': 'ensures proper chromosome attachment', 'regulator': 'MAD2, BubR1'}},
74
+ }
75
+
76
+ class MeioticPhase(RichEnum):
77
+ """
78
+ Phases specific to meiotic cell division
79
+ """
80
+ # Enum members
81
+ MEIOSIS_I = "MEIOSIS_I"
82
+ PROPHASE_I = "PROPHASE_I"
83
+ METAPHASE_I = "METAPHASE_I"
84
+ ANAPHASE_I = "ANAPHASE_I"
85
+ TELOPHASE_I = "TELOPHASE_I"
86
+ MEIOSIS_II = "MEIOSIS_II"
87
+ PROPHASE_II = "PROPHASE_II"
88
+ METAPHASE_II = "METAPHASE_II"
89
+ ANAPHASE_II = "ANAPHASE_II"
90
+ TELOPHASE_II = "TELOPHASE_II"
91
+
92
+ # Set metadata after class creation
93
+ MeioticPhase._metadata = {
94
+ "MEIOSIS_I": {'description': 'Meiosis I (reductional division)', 'meaning': 'GO:0007127', 'annotations': {'result': 'reduction from diploid to haploid'}},
95
+ "PROPHASE_I": {'description': 'Prophase I', 'meaning': 'GO:0007128', 'annotations': {'substages': 'leptotene, zygotene, pachytene, diplotene, diakinesis'}},
96
+ "METAPHASE_I": {'description': 'Metaphase I', 'meaning': 'GO:0007132', 'annotations': {'feature': 'homologous pairs align'}},
97
+ "ANAPHASE_I": {'description': 'Anaphase I', 'meaning': 'GO:0007133', 'annotations': {'feature': 'homologous chromosomes separate'}},
98
+ "TELOPHASE_I": {'description': 'Telophase I', 'meaning': 'GO:0007134'},
99
+ "MEIOSIS_II": {'description': 'Meiosis II (equational division)', 'meaning': 'GO:0007135', 'annotations': {'similarity': 'similar to mitosis'}},
100
+ "PROPHASE_II": {'description': 'Prophase II', 'meaning': 'GO:0007136'},
101
+ "METAPHASE_II": {'description': 'Metaphase II', 'meaning': 'GO:0007137'},
102
+ "ANAPHASE_II": {'description': 'Anaphase II', 'meaning': 'GO:0007138', 'annotations': {'feature': 'sister chromatids separate'}},
103
+ "TELOPHASE_II": {'description': 'Telophase II', 'meaning': 'GO:0007139'},
104
+ }
105
+
106
+ class CellCycleRegulator(RichEnum):
107
+ """
108
+ Types of cell cycle regulatory molecules
109
+ """
110
+ # Enum members
111
+ CYCLIN = "CYCLIN"
112
+ CDK = "CDK"
113
+ CDK_INHIBITOR = "CDK_INHIBITOR"
114
+ CHECKPOINT_KINASE = "CHECKPOINT_KINASE"
115
+ TUMOR_SUPPRESSOR = "TUMOR_SUPPRESSOR"
116
+ E3_UBIQUITIN_LIGASE = "E3_UBIQUITIN_LIGASE"
117
+ PHOSPHATASE = "PHOSPHATASE"
118
+
119
+ # Set metadata after class creation
120
+ CellCycleRegulator._metadata = {
121
+ "CYCLIN": {'description': 'Cyclin proteins', 'meaning': 'GO:0016538', 'annotations': {'examples': 'Cyclin A, B, D, E'}},
122
+ "CDK": {'description': 'Cyclin-dependent kinase', 'meaning': 'GO:0004693', 'annotations': {'examples': 'CDK1, CDK2, CDK4, CDK6'}},
123
+ "CDK_INHIBITOR": {'description': 'CDK inhibitor', 'meaning': 'GO:0004861', 'annotations': {'examples': 'p21, p27, p57'}},
124
+ "CHECKPOINT_KINASE": {'description': 'Checkpoint kinase', 'meaning': 'GO:0000077', 'annotations': {'examples': 'CHK1, CHK2, ATR, ATM'}},
125
+ "TUMOR_SUPPRESSOR": {'description': 'Tumor suppressor involved in cell cycle', 'meaning': 'GO:0051726', 'annotations': {'examples': 'p53, Rb, BRCA1, BRCA2'}},
126
+ "E3_UBIQUITIN_LIGASE": {'description': 'E3 ubiquitin ligase (cell cycle)', 'meaning': 'GO:0051437', 'annotations': {'examples': 'APC/C, SCF'}},
127
+ "PHOSPHATASE": {'description': 'Cell cycle phosphatase', 'meaning': 'GO:0004721', 'annotations': {'examples': 'CDC25A, CDC25B, CDC25C'}},
128
+ }
129
+
130
+ class CellProliferationState(RichEnum):
131
+ """
132
+ Cell proliferation and growth states
133
+ """
134
+ # Enum members
135
+ PROLIFERATING = "PROLIFERATING"
136
+ QUIESCENT = "QUIESCENT"
137
+ SENESCENT = "SENESCENT"
138
+ DIFFERENTIATED = "DIFFERENTIATED"
139
+ APOPTOTIC = "APOPTOTIC"
140
+ NECROTIC = "NECROTIC"
141
+
142
+ # Set metadata after class creation
143
+ CellProliferationState._metadata = {
144
+ "PROLIFERATING": {'description': 'Actively proliferating cells', 'meaning': 'GO:0008283'},
145
+ "QUIESCENT": {'description': 'Quiescent cells (reversibly non-dividing)', 'meaning': 'GO:0044838', 'annotations': {'phase': 'G0', 'reversible': True}},
146
+ "SENESCENT": {'description': 'Senescent cells (permanently non-dividing)', 'meaning': 'GO:0090398', 'annotations': {'reversible': False, 'markers': 'SA-β-gal, p16'}},
147
+ "DIFFERENTIATED": {'description': 'Terminally differentiated cells', 'meaning': 'GO:0030154', 'annotations': {'examples': 'neurons, cardiomyocytes'}},
148
+ "APOPTOTIC": {'description': 'Cells undergoing apoptosis', 'meaning': 'GO:0006915', 'annotations': {'aliases': 'programmed cell death'}},
149
+ "NECROTIC": {'description': 'Cells undergoing necrosis', 'meaning': 'GO:0070265', 'annotations': {'type': 'uncontrolled cell death'}},
150
+ }
151
+
152
+ class DNADamageResponse(RichEnum):
153
+ """
154
+ DNA damage response pathways during cell cycle
155
+ """
156
+ # Enum members
157
+ CELL_CYCLE_ARREST = "CELL_CYCLE_ARREST"
158
+ DNA_REPAIR = "DNA_REPAIR"
159
+ APOPTOSIS_INDUCTION = "APOPTOSIS_INDUCTION"
160
+ SENESCENCE_INDUCTION = "SENESCENCE_INDUCTION"
161
+ CHECKPOINT_ADAPTATION = "CHECKPOINT_ADAPTATION"
162
+
163
+ # Set metadata after class creation
164
+ DNADamageResponse._metadata = {
165
+ "CELL_CYCLE_ARREST": {'description': 'Cell cycle arrest', 'meaning': 'GO:0051726', 'aliases': ['regulation of cell cycle']},
166
+ "DNA_REPAIR": {'description': 'DNA repair', 'meaning': 'GO:0006281'},
167
+ "APOPTOSIS_INDUCTION": {'description': 'Induction of apoptosis', 'meaning': 'GO:0043065', 'aliases': ['positive regulation of apoptotic process']},
168
+ "SENESCENCE_INDUCTION": {'description': 'Induction of senescence', 'meaning': 'GO:0090400'},
169
+ "CHECKPOINT_ADAPTATION": {'description': 'Checkpoint adaptation', 'annotations': {'description': 'override of checkpoint despite damage'}},
170
+ }
171
+
172
+ __all__ = [
173
+ "CellCyclePhase",
174
+ "MitoticPhase",
175
+ "CellCycleCheckpoint",
176
+ "MeioticPhase",
177
+ "CellCycleRegulator",
178
+ "CellProliferationState",
179
+ "DNADamageResponse",
180
+ ]