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,238 @@
1
+ """
2
+ Taxonomic Classifications
3
+
4
+ Value sets for taxonomic classifications and model organisms
5
+
6
+ Generated from: bio/taxonomy.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 CommonOrganismTaxaEnum(RichEnum):
15
+ """
16
+ Common model organisms used in biological research, mapped to NCBI Taxonomy IDs
17
+ """
18
+ # Enum members
19
+ BACTERIA = "BACTERIA"
20
+ ARCHAEA = "ARCHAEA"
21
+ EUKARYOTA = "EUKARYOTA"
22
+ VIRUSES = "VIRUSES"
23
+ VERTEBRATA = "VERTEBRATA"
24
+ MAMMALIA = "MAMMALIA"
25
+ PRIMATES = "PRIMATES"
26
+ RODENTIA = "RODENTIA"
27
+ CARNIVORA = "CARNIVORA"
28
+ ARTIODACTYLA = "ARTIODACTYLA"
29
+ AVES = "AVES"
30
+ ACTINOPTERYGII = "ACTINOPTERYGII"
31
+ AMPHIBIA = "AMPHIBIA"
32
+ ARTHROPODA = "ARTHROPODA"
33
+ INSECTA = "INSECTA"
34
+ NEMATODA = "NEMATODA"
35
+ FUNGI = "FUNGI"
36
+ ASCOMYCOTA = "ASCOMYCOTA"
37
+ VIRIDIPLANTAE = "VIRIDIPLANTAE"
38
+ MAGNOLIOPHYTA = "MAGNOLIOPHYTA"
39
+ PROTEOBACTERIA = "PROTEOBACTERIA"
40
+ GAMMAPROTEOBACTERIA = "GAMMAPROTEOBACTERIA"
41
+ FIRMICUTES = "FIRMICUTES"
42
+ ACTINOBACTERIA = "ACTINOBACTERIA"
43
+ EURYARCHAEOTA = "EURYARCHAEOTA"
44
+ APICOMPLEXA = "APICOMPLEXA"
45
+ HUMAN = "HUMAN"
46
+ MOUSE = "MOUSE"
47
+ RAT = "RAT"
48
+ RHESUS = "RHESUS"
49
+ CHIMP = "CHIMP"
50
+ DOG = "DOG"
51
+ COW = "COW"
52
+ PIG = "PIG"
53
+ CHICKEN = "CHICKEN"
54
+ ZEBRAFISH = "ZEBRAFISH"
55
+ MEDAKA = "MEDAKA"
56
+ PUFFERFISH = "PUFFERFISH"
57
+ XENOPUS_TROPICALIS = "XENOPUS_TROPICALIS"
58
+ XENOPUS_LAEVIS = "XENOPUS_LAEVIS"
59
+ DROSOPHILA = "DROSOPHILA"
60
+ C_ELEGANS = "C_ELEGANS"
61
+ S_CEREVISIAE = "S_CEREVISIAE"
62
+ S_CEREVISIAE_S288C = "S_CEREVISIAE_S288C"
63
+ S_POMBE = "S_POMBE"
64
+ C_ALBICANS = "C_ALBICANS"
65
+ A_NIDULANS = "A_NIDULANS"
66
+ N_CRASSA = "N_CRASSA"
67
+ ARABIDOPSIS = "ARABIDOPSIS"
68
+ RICE = "RICE"
69
+ MAIZE = "MAIZE"
70
+ TOMATO = "TOMATO"
71
+ TOBACCO = "TOBACCO"
72
+ E_COLI = "E_COLI"
73
+ E_COLI_K12 = "E_COLI_K12"
74
+ B_SUBTILIS = "B_SUBTILIS"
75
+ M_TUBERCULOSIS = "M_TUBERCULOSIS"
76
+ P_AERUGINOSA = "P_AERUGINOSA"
77
+ S_AUREUS = "S_AUREUS"
78
+ S_PNEUMONIAE = "S_PNEUMONIAE"
79
+ H_PYLORI = "H_PYLORI"
80
+ M_JANNASCHII = "M_JANNASCHII"
81
+ H_SALINARUM = "H_SALINARUM"
82
+ P_FALCIPARUM = "P_FALCIPARUM"
83
+ T_GONDII = "T_GONDII"
84
+ T_BRUCEI = "T_BRUCEI"
85
+ DICTYOSTELIUM = "DICTYOSTELIUM"
86
+ TETRAHYMENA = "TETRAHYMENA"
87
+ PARAMECIUM = "PARAMECIUM"
88
+ CHLAMYDOMONAS = "CHLAMYDOMONAS"
89
+ PHAGE_LAMBDA = "PHAGE_LAMBDA"
90
+ HIV1 = "HIV1"
91
+ INFLUENZA_A = "INFLUENZA_A"
92
+ SARS_COV_2 = "SARS_COV_2"
93
+
94
+ # Set metadata after class creation
95
+ CommonOrganismTaxaEnum._metadata = {
96
+ "BACTERIA": {'description': 'Bacteria domain', 'meaning': 'NCBITaxon:2'},
97
+ "ARCHAEA": {'description': 'Archaea domain', 'meaning': 'NCBITaxon:2157'},
98
+ "EUKARYOTA": {'description': 'Eukaryota domain', 'meaning': 'NCBITaxon:2759'},
99
+ "VIRUSES": {'description': 'Viruses (not a true domain)', 'meaning': 'NCBITaxon:10239'},
100
+ "VERTEBRATA": {'description': 'Vertebrates', 'meaning': 'NCBITaxon:7742'},
101
+ "MAMMALIA": {'description': 'Mammals', 'meaning': 'NCBITaxon:40674'},
102
+ "PRIMATES": {'description': 'Primates', 'meaning': 'NCBITaxon:9443'},
103
+ "RODENTIA": {'description': 'Rodents', 'meaning': 'NCBITaxon:9989'},
104
+ "CARNIVORA": {'description': 'Carnivores', 'meaning': 'NCBITaxon:33554'},
105
+ "ARTIODACTYLA": {'description': 'Even-toed ungulates', 'meaning': 'NCBITaxon:91561'},
106
+ "AVES": {'description': 'Birds', 'meaning': 'NCBITaxon:8782'},
107
+ "ACTINOPTERYGII": {'description': 'Ray-finned fishes', 'meaning': 'NCBITaxon:7898'},
108
+ "AMPHIBIA": {'description': 'Amphibians', 'meaning': 'NCBITaxon:8292'},
109
+ "ARTHROPODA": {'description': 'Arthropods', 'meaning': 'NCBITaxon:6656'},
110
+ "INSECTA": {'description': 'Insects', 'meaning': 'NCBITaxon:50557'},
111
+ "NEMATODA": {'description': 'Roundworms', 'meaning': 'NCBITaxon:6231'},
112
+ "FUNGI": {'description': 'Fungal kingdom', 'meaning': 'NCBITaxon:4751'},
113
+ "ASCOMYCOTA": {'description': 'Sac fungi', 'meaning': 'NCBITaxon:4890'},
114
+ "VIRIDIPLANTAE": {'description': 'Green plants', 'meaning': 'NCBITaxon:33090'},
115
+ "MAGNOLIOPHYTA": {'description': 'Flowering plants', 'meaning': 'NCBITaxon:3398'},
116
+ "PROTEOBACTERIA": {'description': 'Proteobacteria', 'meaning': 'NCBITaxon:1224'},
117
+ "GAMMAPROTEOBACTERIA": {'description': 'Gamma proteobacteria', 'meaning': 'NCBITaxon:1236'},
118
+ "FIRMICUTES": {'description': 'Firmicutes (Gram-positive bacteria)', 'meaning': 'NCBITaxon:1239'},
119
+ "ACTINOBACTERIA": {'description': 'Actinobacteria', 'meaning': 'NCBITaxon:201174'},
120
+ "EURYARCHAEOTA": {'description': 'Euryarchaeota', 'meaning': 'NCBITaxon:28890'},
121
+ "APICOMPLEXA": {'description': 'Apicomplexan parasites', 'meaning': 'NCBITaxon:5794'},
122
+ "HUMAN": {'description': 'Homo sapiens (human)', 'meaning': 'NCBITaxon:9606'},
123
+ "MOUSE": {'description': 'Mus musculus (house mouse)', 'meaning': 'NCBITaxon:10090'},
124
+ "RAT": {'description': 'Rattus norvegicus (Norway rat)', 'meaning': 'NCBITaxon:10116'},
125
+ "RHESUS": {'description': 'Macaca mulatta (rhesus macaque)', 'meaning': 'NCBITaxon:9544'},
126
+ "CHIMP": {'description': 'Pan troglodytes (chimpanzee)', 'meaning': 'NCBITaxon:9598'},
127
+ "DOG": {'description': 'Canis lupus familiaris (dog)', 'meaning': 'NCBITaxon:9615'},
128
+ "COW": {'description': 'Bos taurus (cattle)', 'meaning': 'NCBITaxon:9913'},
129
+ "PIG": {'description': 'Sus scrofa (pig)', 'meaning': 'NCBITaxon:9823'},
130
+ "CHICKEN": {'description': 'Gallus gallus (chicken)', 'meaning': 'NCBITaxon:9031'},
131
+ "ZEBRAFISH": {'description': 'Danio rerio (zebrafish)', 'meaning': 'NCBITaxon:7955'},
132
+ "MEDAKA": {'description': 'Oryzias latipes (Japanese medaka)', 'meaning': 'NCBITaxon:8090'},
133
+ "PUFFERFISH": {'description': 'Takifugu rubripes (torafugu)', 'meaning': 'NCBITaxon:31033'},
134
+ "XENOPUS_TROPICALIS": {'description': 'Xenopus tropicalis (western clawed frog)', 'meaning': 'NCBITaxon:8364'},
135
+ "XENOPUS_LAEVIS": {'description': 'Xenopus laevis (African clawed frog)', 'meaning': 'NCBITaxon:8355'},
136
+ "DROSOPHILA": {'description': 'Drosophila melanogaster (fruit fly)', 'meaning': 'NCBITaxon:7227'},
137
+ "C_ELEGANS": {'description': 'Caenorhabditis elegans (roundworm)', 'meaning': 'NCBITaxon:6239'},
138
+ "S_CEREVISIAE": {'description': "Saccharomyces cerevisiae (baker's yeast)", 'meaning': 'NCBITaxon:4932'},
139
+ "S_CEREVISIAE_S288C": {'description': 'Saccharomyces cerevisiae S288C (reference strain)', 'meaning': 'NCBITaxon:559292'},
140
+ "S_POMBE": {'description': 'Schizosaccharomyces pombe (fission yeast)', 'meaning': 'NCBITaxon:4896'},
141
+ "C_ALBICANS": {'description': 'Candida albicans (pathogenic yeast)', 'meaning': 'NCBITaxon:5476'},
142
+ "A_NIDULANS": {'description': 'Aspergillus nidulans (filamentous fungus)', 'meaning': 'NCBITaxon:162425'},
143
+ "N_CRASSA": {'description': 'Neurospora crassa (red bread mold)', 'meaning': 'NCBITaxon:5141'},
144
+ "ARABIDOPSIS": {'description': 'Arabidopsis thaliana (thale cress)', 'meaning': 'NCBITaxon:3702'},
145
+ "RICE": {'description': 'Oryza sativa (rice)', 'meaning': 'NCBITaxon:4530'},
146
+ "MAIZE": {'description': 'Zea mays (corn)', 'meaning': 'NCBITaxon:4577'},
147
+ "TOMATO": {'description': 'Solanum lycopersicum (tomato)', 'meaning': 'NCBITaxon:4081'},
148
+ "TOBACCO": {'description': 'Nicotiana tabacum (tobacco)', 'meaning': 'NCBITaxon:4097'},
149
+ "E_COLI": {'description': 'Escherichia coli', 'meaning': 'NCBITaxon:562'},
150
+ "E_COLI_K12": {'description': 'Escherichia coli str. K-12', 'meaning': 'NCBITaxon:83333'},
151
+ "B_SUBTILIS": {'description': 'Bacillus subtilis', 'meaning': 'NCBITaxon:1423'},
152
+ "M_TUBERCULOSIS": {'description': 'Mycobacterium tuberculosis', 'meaning': 'NCBITaxon:1773'},
153
+ "P_AERUGINOSA": {'description': 'Pseudomonas aeruginosa', 'meaning': 'NCBITaxon:287'},
154
+ "S_AUREUS": {'description': 'Staphylococcus aureus', 'meaning': 'NCBITaxon:1280'},
155
+ "S_PNEUMONIAE": {'description': 'Streptococcus pneumoniae', 'meaning': 'NCBITaxon:1313'},
156
+ "H_PYLORI": {'description': 'Helicobacter pylori', 'meaning': 'NCBITaxon:210'},
157
+ "M_JANNASCHII": {'description': 'Methanocaldococcus jannaschii', 'meaning': 'NCBITaxon:2190'},
158
+ "H_SALINARUM": {'description': 'Halobacterium salinarum', 'meaning': 'NCBITaxon:2242'},
159
+ "P_FALCIPARUM": {'description': 'Plasmodium falciparum (malaria parasite)', 'meaning': 'NCBITaxon:5833'},
160
+ "T_GONDII": {'description': 'Toxoplasma gondii', 'meaning': 'NCBITaxon:5811'},
161
+ "T_BRUCEI": {'description': 'Trypanosoma brucei', 'meaning': 'NCBITaxon:5691'},
162
+ "DICTYOSTELIUM": {'description': 'Dictyostelium discoideum (slime mold)', 'meaning': 'NCBITaxon:44689'},
163
+ "TETRAHYMENA": {'description': 'Tetrahymena thermophila', 'meaning': 'NCBITaxon:5911'},
164
+ "PARAMECIUM": {'description': 'Paramecium tetraurelia', 'meaning': 'NCBITaxon:5888'},
165
+ "CHLAMYDOMONAS": {'description': 'Chlamydomonas reinhardtii (green alga)', 'meaning': 'NCBITaxon:3055'},
166
+ "PHAGE_LAMBDA": {'description': 'Escherichia phage lambda', 'meaning': 'NCBITaxon:10710'},
167
+ "HIV1": {'description': 'Human immunodeficiency virus 1', 'meaning': 'NCBITaxon:11676'},
168
+ "INFLUENZA_A": {'description': 'Influenza A virus', 'meaning': 'NCBITaxon:11320'},
169
+ "SARS_COV_2": {'description': 'Severe acute respiratory syndrome coronavirus 2', 'meaning': 'NCBITaxon:2697049'},
170
+ }
171
+
172
+ class TaxonomicRank(RichEnum):
173
+ """
174
+ Standard taxonomic ranks used in biological classification
175
+ """
176
+ # Enum members
177
+ DOMAIN = "DOMAIN"
178
+ KINGDOM = "KINGDOM"
179
+ PHYLUM = "PHYLUM"
180
+ CLASS = "CLASS"
181
+ ORDER = "ORDER"
182
+ FAMILY = "FAMILY"
183
+ GENUS = "GENUS"
184
+ SPECIES = "SPECIES"
185
+ SUBSPECIES = "SUBSPECIES"
186
+ STRAIN = "STRAIN"
187
+ VARIETY = "VARIETY"
188
+ FORM = "FORM"
189
+ CULTIVAR = "CULTIVAR"
190
+
191
+ # Set metadata after class creation
192
+ TaxonomicRank._metadata = {
193
+ "DOMAIN": {'description': 'Domain (highest rank)', 'meaning': 'TAXRANK:0000037'},
194
+ "KINGDOM": {'description': 'Kingdom', 'meaning': 'TAXRANK:0000017'},
195
+ "PHYLUM": {'description': 'Phylum (animals, plants, fungi) or Division (plants)', 'meaning': 'TAXRANK:0000001'},
196
+ "CLASS": {'description': 'Class', 'meaning': 'TAXRANK:0000002'},
197
+ "ORDER": {'description': 'Order', 'meaning': 'TAXRANK:0000003'},
198
+ "FAMILY": {'description': 'Family', 'meaning': 'TAXRANK:0000004'},
199
+ "GENUS": {'description': 'Genus', 'meaning': 'TAXRANK:0000005'},
200
+ "SPECIES": {'description': 'Species', 'meaning': 'TAXRANK:0000006'},
201
+ "SUBSPECIES": {'description': 'Subspecies', 'meaning': 'TAXRANK:0000023'},
202
+ "STRAIN": {'description': 'Strain (especially for microorganisms)', 'meaning': 'TAXRANK:0001001'},
203
+ "VARIETY": {'description': 'Variety (mainly plants)', 'meaning': 'TAXRANK:0000016'},
204
+ "FORM": {'description': 'Form (mainly plants)', 'meaning': 'TAXRANK:0000026'},
205
+ "CULTIVAR": {'description': 'Cultivar (cultivated variety)', 'meaning': 'TAXRANK:0000034'},
206
+ }
207
+
208
+ class BiologicalKingdom(RichEnum):
209
+ """
210
+ Major kingdoms/domains of life
211
+ """
212
+ # Enum members
213
+ BACTERIA = "BACTERIA"
214
+ ARCHAEA = "ARCHAEA"
215
+ EUKARYOTA = "EUKARYOTA"
216
+ ANIMALIA = "ANIMALIA"
217
+ PLANTAE = "PLANTAE"
218
+ FUNGI = "FUNGI"
219
+ PROTISTA = "PROTISTA"
220
+ VIRUSES = "VIRUSES"
221
+
222
+ # Set metadata after class creation
223
+ BiologicalKingdom._metadata = {
224
+ "BACTERIA": {'description': 'Bacteria domain', 'meaning': 'NCBITaxon:2'},
225
+ "ARCHAEA": {'description': 'Archaea domain', 'meaning': 'NCBITaxon:2157'},
226
+ "EUKARYOTA": {'description': 'Eukaryota domain', 'meaning': 'NCBITaxon:2759'},
227
+ "ANIMALIA": {'description': 'Animal kingdom', 'meaning': 'NCBITaxon:33208'},
228
+ "PLANTAE": {'description': 'Plant kingdom (Viridiplantae)', 'meaning': 'NCBITaxon:33090'},
229
+ "FUNGI": {'description': 'Fungal kingdom', 'meaning': 'NCBITaxon:4751'},
230
+ "PROTISTA": {'description': 'Protist kingdom (polyphyletic group)'},
231
+ "VIRUSES": {'description': 'Viruses (not a true kingdom)', 'meaning': 'NCBITaxon:10239'},
232
+ }
233
+
234
+ __all__ = [
235
+ "CommonOrganismTaxaEnum",
236
+ "TaxonomicRank",
237
+ "BiologicalKingdom",
238
+ ]
@@ -0,0 +1,85 @@
1
+ """
2
+
3
+ Generated from: bio/trophic_levels.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 TrophicLevelEnum(RichEnum):
12
+ """
13
+ Trophic levels are the feeding position in a food chain
14
+ """
15
+ # Enum members
16
+ AUTOTROPH = "AUTOTROPH"
17
+ CARBOXYDOTROPH = "CARBOXYDOTROPH"
18
+ CHEMOAUTOLITHOTROPH = "CHEMOAUTOLITHOTROPH"
19
+ CHEMOAUTOTROPH = "CHEMOAUTOTROPH"
20
+ CHEMOHETEROTROPH = "CHEMOHETEROTROPH"
21
+ CHEMOLITHOAUTOTROPH = "CHEMOLITHOAUTOTROPH"
22
+ CHEMOLITHOTROPH = "CHEMOLITHOTROPH"
23
+ CHEMOORGANOHETEROTROPH = "CHEMOORGANOHETEROTROPH"
24
+ CHEMOORGANOTROPH = "CHEMOORGANOTROPH"
25
+ CHEMOSYNTHETIC = "CHEMOSYNTHETIC"
26
+ CHEMOTROPH = "CHEMOTROPH"
27
+ COPIOTROPH = "COPIOTROPH"
28
+ DIAZOTROPH = "DIAZOTROPH"
29
+ FACULTATIVE = "FACULTATIVE"
30
+ HETEROTROPH = "HETEROTROPH"
31
+ LITHOAUTOTROPH = "LITHOAUTOTROPH"
32
+ LITHOHETEROTROPH = "LITHOHETEROTROPH"
33
+ LITHOTROPH = "LITHOTROPH"
34
+ METHANOTROPH = "METHANOTROPH"
35
+ METHYLOTROPH = "METHYLOTROPH"
36
+ MIXOTROPH = "MIXOTROPH"
37
+ OBLIGATE = "OBLIGATE"
38
+ OLIGOTROPH = "OLIGOTROPH"
39
+ ORGANOHETEROTROPH = "ORGANOHETEROTROPH"
40
+ ORGANOTROPH = "ORGANOTROPH"
41
+ PHOTOAUTOTROPH = "PHOTOAUTOTROPH"
42
+ PHOTOHETEROTROPH = "PHOTOHETEROTROPH"
43
+ PHOTOLITHOAUTOTROPH = "PHOTOLITHOAUTOTROPH"
44
+ PHOTOLITHOTROPH = "PHOTOLITHOTROPH"
45
+ PHOTOSYNTHETIC = "PHOTOSYNTHETIC"
46
+ PHOTOTROPH = "PHOTOTROPH"
47
+
48
+ # Set metadata after class creation
49
+ TrophicLevelEnum._metadata = {
50
+ "AUTOTROPH": {'description': 'Organism capable of synthesizing its own food from inorganic substances', 'meaning': 'ECOCORE:00000023'},
51
+ "CARBOXYDOTROPH": {'description': 'Organism that uses carbon monoxide as a source of carbon and energy'},
52
+ "CHEMOAUTOLITHOTROPH": {'description': 'Autotroph that obtains energy from inorganic compounds'},
53
+ "CHEMOAUTOTROPH": {'description': 'Organism that obtains energy by oxidizing inorganic compounds', 'meaning': 'ECOCORE:00000129'},
54
+ "CHEMOHETEROTROPH": {'description': 'Organism that obtains energy from organic compounds', 'meaning': 'ECOCORE:00000132'},
55
+ "CHEMOLITHOAUTOTROPH": {'description': 'Organism that uses inorganic compounds as electron donors'},
56
+ "CHEMOLITHOTROPH": {'description': 'Organism that obtains energy from oxidation of inorganic compounds'},
57
+ "CHEMOORGANOHETEROTROPH": {'description': 'Organism that uses organic compounds as both carbon and energy source'},
58
+ "CHEMOORGANOTROPH": {'description': 'Organism that obtains energy from organic compounds', 'meaning': 'ECOCORE:00000133'},
59
+ "CHEMOSYNTHETIC": {'description': 'Relating to organisms that produce organic matter through chemosynthesis'},
60
+ "CHEMOTROPH": {'description': 'Organism that obtains energy from chemical compounds'},
61
+ "COPIOTROPH": {'description': 'Organism that thrives in nutrient-rich environments'},
62
+ "DIAZOTROPH": {'description': 'Organism capable of fixing atmospheric nitrogen'},
63
+ "FACULTATIVE": {'description': 'Organism that can switch between different metabolic modes'},
64
+ "HETEROTROPH": {'description': 'Organism that obtains carbon from organic compounds', 'meaning': 'ECOCORE:00000010'},
65
+ "LITHOAUTOTROPH": {'description': 'Autotroph that uses inorganic compounds as electron donors'},
66
+ "LITHOHETEROTROPH": {'description': 'Heterotroph that uses inorganic compounds as electron donors'},
67
+ "LITHOTROPH": {'description': 'Organism that uses inorganic substrates as electron donors'},
68
+ "METHANOTROPH": {'description': 'Organism that uses methane as carbon and energy source'},
69
+ "METHYLOTROPH": {'description': 'Organism that uses single-carbon compounds'},
70
+ "MIXOTROPH": {'description': 'Organism that can use both autotrophic and heterotrophic methods'},
71
+ "OBLIGATE": {'description': 'Organism restricted to a particular metabolic mode'},
72
+ "OLIGOTROPH": {'description': 'Organism that thrives in nutrient-poor environments', 'meaning': 'ECOCORE:00000138'},
73
+ "ORGANOHETEROTROPH": {'description': 'Organism that uses organic compounds as carbon source'},
74
+ "ORGANOTROPH": {'description': 'Organism that uses organic compounds as electron donors'},
75
+ "PHOTOAUTOTROPH": {'description': 'Organism that uses light energy to synthesize organic compounds', 'meaning': 'ECOCORE:00000130'},
76
+ "PHOTOHETEROTROPH": {'description': 'Organism that uses light for energy but organic compounds for carbon', 'meaning': 'ECOCORE:00000131'},
77
+ "PHOTOLITHOAUTOTROPH": {'description': 'Photoautotroph that uses inorganic electron donors'},
78
+ "PHOTOLITHOTROPH": {'description': 'Organism that uses light energy and inorganic electron donors'},
79
+ "PHOTOSYNTHETIC": {'description': 'Relating to organisms that produce organic matter through photosynthesis'},
80
+ "PHOTOTROPH": {'description': 'Organism that obtains energy from light'},
81
+ }
82
+
83
+ __all__ = [
84
+ "TrophicLevelEnum",
85
+ ]