diff --git a/kb/communities/AMD_Acidophile_Heterotroph_Network.yaml b/kb/communities/AMD_Acidophile_Heterotroph_Network.yaml index 3481520e..ecd28d20 100644 --- a/kb/communities/AMD_Acidophile_Heterotroph_Network.yaml +++ b/kb/communities/AMD_Acidophile_Heterotroph_Network.yaml @@ -327,10 +327,6 @@ ecological_interactions: label: phosphate(3-) notes: Released from nucleic acid and phospholipid degradation biological_processes: - - preferred_term: organic substance catabolic process - term: - id: GO:0009056 - label: catabolic process - preferred_term: aerobic respiration term: id: GO:0009060 @@ -400,10 +396,6 @@ ecological_interactions: label: organic acid notes: Organic acids (malate, citrate, succinate) as electron donors biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity - preferred_term: iron ion transport term: id: GO:0006826 @@ -469,10 +461,6 @@ ecological_interactions: label: organic molecular entity notes: Organic carbon required for heterotrophic growth biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity - preferred_term: iron ion transport term: id: GO:0006826 @@ -600,10 +588,6 @@ ecological_interactions: term: id: GO:0015979 label: photosynthesis - - preferred_term: organic substance catabolic process - term: - id: GO:0009056 - label: catabolic process evidence: - reference: PMID:10939661 supports: SUPPORT @@ -654,10 +638,6 @@ ecological_interactions: term: id: GO:0000272 label: polysaccharide catabolic process - - preferred_term: organic substance catabolic process - term: - id: GO:0009056 - label: catabolic process evidence: - reference: doi:10.1007/BF02106205 supports: SUPPORT diff --git a/kb/communities/AMD_Nitrososphaerota_Archaeal.yaml b/kb/communities/AMD_Nitrososphaerota_Archaeal.yaml index 7fe7a92f..5e5771ff 100644 --- a/kb/communities/AMD_Nitrososphaerota_Archaeal.yaml +++ b/kb/communities/AMD_Nitrososphaerota_Archaeal.yaml @@ -411,15 +411,6 @@ ecological_interactions: id: CHEBI:29033 label: iron(2+) notes: Also oxidized by Ferroplasma for energy - biological_processes: - - preferred_term: organic substance catabolic process - term: - id: GO:0009056 - label: catabolic process - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity evidence: - reference: PMID:33388792 supports: SUPPORT diff --git a/kb/communities/Aalborg_East_Full_Scale_EBPR_Community.yaml b/kb/communities/Aalborg_East_Full_Scale_EBPR_Community.yaml index 997b0797..7b533729 100644 --- a/kb/communities/Aalborg_East_Full_Scale_EBPR_Community.yaml +++ b/kb/communities/Aalborg_East_Full_Scale_EBPR_Community.yaml @@ -220,11 +220,6 @@ ecological_interactions: term: id: CHEBI:30089 label: acetate - biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity evidence: - reference: PMID:22170425 supports: SUPPORT diff --git a/kb/communities/Alaska_Tundra_Permafrost_Iron_Redox_Community.yaml b/kb/communities/Alaska_Tundra_Permafrost_Iron_Redox_Community.yaml index a6d9766c..fd26e29f 100644 --- a/kb/communities/Alaska_Tundra_Permafrost_Iron_Redox_Community.yaml +++ b/kb/communities/Alaska_Tundra_Permafrost_Iron_Redox_Community.yaml @@ -150,10 +150,6 @@ ecological_interactions: term: id: GO:0006826 label: iron ion transport - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity evidence: - reference: PMID:37996661 supports: SUPPORT diff --git a/kb/communities/Angelarchaeales_Thermoplasmata_CuMMO_Soil_Sediment_Community.yaml b/kb/communities/Angelarchaeales_Thermoplasmata_CuMMO_Soil_Sediment_Community.yaml index 5b1d4f02..739b2012 100644 --- a/kb/communities/Angelarchaeales_Thermoplasmata_CuMMO_Soil_Sediment_Community.yaml +++ b/kb/communities/Angelarchaeales_Thermoplasmata_CuMMO_Soil_Sediment_Community.yaml @@ -65,11 +65,6 @@ ecological_interactions: abstract. interaction_type: COMMENSALISM scope: COMMUNITY_LEVEL - biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity evidence: - reference: PMID:34987183 supports: SUPPORT diff --git a/kb/communities/At_RSPHERE_SynCom.yaml b/kb/communities/At_RSPHERE_SynCom.yaml index b1abcd29..f2a13eef 100644 --- a/kb/communities/At_RSPHERE_SynCom.yaml +++ b/kb/communities/At_RSPHERE_SynCom.yaml @@ -271,10 +271,6 @@ ecological_interactions: id: NCBITaxon:3702 label: Arabidopsis thaliana biological_processes: - - preferred_term: organic substance metabolic process - term: - id: GO:0008152 - label: metabolic process - preferred_term: plant-bacterium mutualism term: id: GO:0044403 diff --git a/kb/communities/Australian_Lead_Zinc_Polymetallic.yaml b/kb/communities/Australian_Lead_Zinc_Polymetallic.yaml index 85b08eac..cbcff871 100644 --- a/kb/communities/Australian_Lead_Zinc_Polymetallic.yaml +++ b/kb/communities/Australian_Lead_Zinc_Polymetallic.yaml @@ -399,10 +399,6 @@ ecological_interactions: label: sulfuric acid notes: Maintains pH 1.5-3.0 for metal solubility biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity - preferred_term: iron ion transport term: id: GO:0006826 @@ -475,10 +471,6 @@ ecological_interactions: label: ferrihydrite notes: Fe(III) oxyhydroxide mineral phase biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity - preferred_term: iron ion transport term: id: GO:0006826 @@ -616,10 +608,6 @@ ecological_interactions: term: id: GO:0046688 label: response to copper ion - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity evidence: - reference: doi:10.3390/min14030255 supports: SUPPORT @@ -680,10 +668,6 @@ ecological_interactions: label: sulfuric acid notes: Produced from sulfur oxidation biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity - preferred_term: sulfur compound metabolic process term: id: GO:0006790 @@ -748,15 +732,6 @@ ecological_interactions: id: CHEBI:29033 label: iron(2+) notes: Product providing substrate for autotrophs - biological_processes: - - preferred_term: organic substance catabolic process - term: - id: GO:0009056 - label: catabolic process - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity evidence: - reference: doi:10.1128/aem.02883-07 supports: SUPPORT diff --git a/kb/communities/Bayan_Obo_REE_Tailings_Consortium.yaml b/kb/communities/Bayan_Obo_REE_Tailings_Consortium.yaml index f036a359..b683a620 100644 --- a/kb/communities/Bayan_Obo_REE_Tailings_Consortium.yaml +++ b/kb/communities/Bayan_Obo_REE_Tailings_Consortium.yaml @@ -212,10 +212,6 @@ ecological_interactions: label: iron(3+) notes: Product of iron oxidation biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity - preferred_term: sulfur compound metabolic process term: id: GO:0006790 diff --git a/kb/communities/Cable_Bacteria_Photosynthetic_Biofilm_Sediment.yaml b/kb/communities/Cable_Bacteria_Photosynthetic_Biofilm_Sediment.yaml index 54950576..25c0b894 100644 --- a/kb/communities/Cable_Bacteria_Photosynthetic_Biofilm_Sediment.yaml +++ b/kb/communities/Cable_Bacteria_Photosynthetic_Biofilm_Sediment.yaml @@ -96,10 +96,6 @@ ecological_interactions: term: id: GO:0015979 label: photosynthesis - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity evidence: - reference: PMID:25416774 supports: SUPPORT @@ -134,10 +130,6 @@ ecological_interactions: term: id: GO:0019420 label: dissimilatory sulfate reduction - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity evidence: - reference: PMID:25416774 supports: SUPPORT diff --git a/kb/communities/California_Grassland_Precipitation_Legacy_Soil_Community.yaml b/kb/communities/California_Grassland_Precipitation_Legacy_Soil_Community.yaml index fcf7bfed..f4b3ec88 100644 --- a/kb/communities/California_Grassland_Precipitation_Legacy_Soil_Community.yaml +++ b/kb/communities/California_Grassland_Precipitation_Legacy_Soil_Community.yaml @@ -68,10 +68,6 @@ ecological_interactions: id: CHEBI:8005 label: peptidoglycan biological_processes: - - preferred_term: aromatic compound catabolic process - term: - id: GO:0009056 - label: catabolic process - preferred_term: amino acid biosynthetic process term: id: GO:0008652 diff --git a/kb/communities/Chromium_Sulfur_Reduction_Enrichment.yaml b/kb/communities/Chromium_Sulfur_Reduction_Enrichment.yaml index 406a94c2..39dc6214 100644 --- a/kb/communities/Chromium_Sulfur_Reduction_Enrichment.yaml +++ b/kb/communities/Chromium_Sulfur_Reduction_Enrichment.yaml @@ -252,10 +252,6 @@ ecological_interactions: label: chromium(3+) notes: Precipitated Cr(III) product biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity - preferred_term: cellular detoxification term: id: GO:1990748 @@ -339,10 +335,6 @@ ecological_interactions: term: id: GO:0019417 label: sulfur oxidation - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity evidence: - reference: doi:10.1021/acs.est.8b05053 supports: SUPPORT diff --git a/kb/communities/Cinnamate_Degradation_Consortium.yaml b/kb/communities/Cinnamate_Degradation_Consortium.yaml index 0fd280ce..cd3ed008 100644 --- a/kb/communities/Cinnamate_Degradation_Consortium.yaml +++ b/kb/communities/Cinnamate_Degradation_Consortium.yaml @@ -110,10 +110,6 @@ ecological_interactions: term: id: GO:0006635 label: fatty acid beta-oxidation - - preferred_term: aromatic compound catabolic process - term: - id: GO:0009056 - label: catabolic process downstream: - target: Syntrophic Benzoate Degradation evidence: diff --git a/kb/communities/Copper_Biomining_Heap_Leach.yaml b/kb/communities/Copper_Biomining_Heap_Leach.yaml index 458af077..982e7591 100644 --- a/kb/communities/Copper_Biomining_Heap_Leach.yaml +++ b/kb/communities/Copper_Biomining_Heap_Leach.yaml @@ -275,10 +275,6 @@ ecological_interactions: label: iron(3+) concentration: Generated product; reaches 1.86-1.9 g/L in aged heaps biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity - preferred_term: iron ion transport term: id: GO:0006826 @@ -337,10 +333,6 @@ ecological_interactions: label: iron(3+) concentration: 1.86-1.9 g/L in aged heaps biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity - preferred_term: iron ion transport term: id: GO:0006826 @@ -389,10 +381,6 @@ ecological_interactions: label: sulfuric acid concentration: Maintains pH 1.5-2.5 biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity - preferred_term: sulfur compound metabolic process term: id: GO:0006790 @@ -453,11 +441,6 @@ ecological_interactions: id: CHEBI:29033 label: iron(2+) notes: Regenerated substrate - biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity downstream: - target: Ferrous Iron Oxidation in Early Heaps description: Released Fe²⁺ is re-oxidized to regenerate Fe³⁺ oxidant @@ -500,11 +483,6 @@ ecological_interactions: term: id: CHEBI:26833 label: sulfur atom - biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity evidence: - reference: doi:10.1111/j.1751-7915.2009.00112.x supports: SUPPORT diff --git a/kb/communities/East_River_Floodplain_Core_Microbiome.yaml b/kb/communities/East_River_Floodplain_Core_Microbiome.yaml index 2f8cc873..0e59b8c2 100644 --- a/kb/communities/East_River_Floodplain_Core_Microbiome.yaml +++ b/kb/communities/East_River_Floodplain_Core_Microbiome.yaml @@ -137,10 +137,6 @@ ecological_interactions: term: id: GO:0009060 label: aerobic respiration - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity - preferred_term: sulfur compound metabolic process term: id: GO:0006790 @@ -181,10 +177,6 @@ ecological_interactions: term: id: GO:0015977 label: carbon fixation - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity evidence: - reference: PMID:34022966 supports: SUPPORT diff --git a/kb/communities/East_River_Hillslope_Riparian_Transect_Community.yaml b/kb/communities/East_River_Hillslope_Riparian_Transect_Community.yaml index 8281a96d..5ab7b7d2 100644 --- a/kb/communities/East_River_Hillslope_Riparian_Transect_Community.yaml +++ b/kb/communities/East_River_Hillslope_Riparian_Transect_Community.yaml @@ -320,11 +320,6 @@ ecological_interactions: function associated with the deeper transect microbiome. interaction_type: NICHE_PARTITIONING scope: COMMUNITY_LEVEL - biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity evidence: - reference: PMID:31380022 supports: SUPPORT diff --git a/kb/communities/Ewaste_Bioleaching_Consortium.yaml b/kb/communities/Ewaste_Bioleaching_Consortium.yaml index ad5c5fde..d94a95bd 100644 --- a/kb/communities/Ewaste_Bioleaching_Consortium.yaml +++ b/kb/communities/Ewaste_Bioleaching_Consortium.yaml @@ -269,10 +269,6 @@ ecological_interactions: label: copper(2+) concentration: 2.6-4.2 g/L (100% dissolution yield) biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity - preferred_term: iron ion transport term: id: GO:0006826 @@ -345,11 +341,6 @@ ecological_interactions: id: CHEBI:30512 label: silver atom notes: Mobilized from traces and solder - biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity evidence: - reference: doi:10.3389/fmicb.2021.669738 supports: SUPPORT @@ -390,10 +381,6 @@ ecological_interactions: label: sulfuric acid concentration: Maintains pH 1.2 ± 0.1 biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity - preferred_term: sulfur compound metabolic process term: id: GO:0006790 @@ -492,10 +479,6 @@ ecological_interactions: label: sulfuric acid notes: Generated by A. thiooxidans for pH control biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity - preferred_term: nitrogen fixation term: id: GO:0009399 diff --git a/kb/communities/Ferroplasma_Leptospirillum_Syntrophy.yaml b/kb/communities/Ferroplasma_Leptospirillum_Syntrophy.yaml index 34282727..51ce89ed 100644 --- a/kb/communities/Ferroplasma_Leptospirillum_Syntrophy.yaml +++ b/kb/communities/Ferroplasma_Leptospirillum_Syntrophy.yaml @@ -162,10 +162,6 @@ ecological_interactions: label: organic molecular entity notes: Secreted organic matter consumed by Ferroplasma biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity - preferred_term: iron ion transport term: id: GO:0006826 @@ -229,15 +225,6 @@ ecological_interactions: id: CHEBI:29033 label: iron(2+) notes: Also oxidized by Ferroplasma for energy - biological_processes: - - preferred_term: organic substance catabolic process - term: - id: GO:0009056 - label: catabolic process - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity downstream: - target: Enhanced Chalcopyrite Bioleaching description: Detoxification and enhanced growth improve mineral dissolution @@ -283,10 +270,6 @@ ecological_interactions: id: CHEBI:29034 label: iron(3+) biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity - preferred_term: iron ion transport term: id: GO:0006826 @@ -351,11 +334,6 @@ ecological_interactions: id: CHEBI:86471 label: pyrite notes: FeS₂ mineral substrate - biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity evidence: - reference: PMID:27535541 supports: SUPPORT diff --git a/kb/communities/GOM_Oil_Degrading_Consortium.yaml b/kb/communities/GOM_Oil_Degrading_Consortium.yaml index ed32eaee..881b966d 100644 --- a/kb/communities/GOM_Oil_Degrading_Consortium.yaml +++ b/kb/communities/GOM_Oil_Degrading_Consortium.yaml @@ -154,11 +154,6 @@ ecological_interactions: term: id: CHEBI:39106 label: pyrene - biological_processes: - - preferred_term: aromatic compound catabolic process - term: - id: GO:0009056 - label: catabolic process evidence: - reference: doi:10.3389/fmars.2022.962071 supports: SUPPORT diff --git a/kb/communities/Groundwater_Elusimicrobia_Diverse_Metabolisms.yaml b/kb/communities/Groundwater_Elusimicrobia_Diverse_Metabolisms.yaml index a8a63629..80efe599 100644 --- a/kb/communities/Groundwater_Elusimicrobia_Diverse_Metabolisms.yaml +++ b/kb/communities/Groundwater_Elusimicrobia_Diverse_Metabolisms.yaml @@ -91,11 +91,6 @@ ecological_interactions: term: id: CHEBI:15379 label: dioxygen - biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity evidence: - reference: PMID:32681159 supports: SUPPORT diff --git a/kb/communities/Hanford_300_Area_Unconfined_Aquifer_Community.yaml b/kb/communities/Hanford_300_Area_Unconfined_Aquifer_Community.yaml index 6b1955b2..7a73d43e 100644 --- a/kb/communities/Hanford_300_Area_Unconfined_Aquifer_Community.yaml +++ b/kb/communities/Hanford_300_Area_Unconfined_Aquifer_Community.yaml @@ -134,11 +134,6 @@ ecological_interactions: term: id: CHEBI:17632 label: nitrate - biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity evidence: - reference: PMID:22456444 supports: SUPPORT @@ -183,10 +178,6 @@ ecological_interactions: term: id: GO:0019329 label: ammonia oxidation - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity evidence: - reference: PMID:22456444 supports: SUPPORT diff --git a/kb/communities/Iberian_Pit_Lake_Stratified_Community.yaml b/kb/communities/Iberian_Pit_Lake_Stratified_Community.yaml index 9b613e53..84e67312 100644 --- a/kb/communities/Iberian_Pit_Lake_Stratified_Community.yaml +++ b/kb/communities/Iberian_Pit_Lake_Stratified_Community.yaml @@ -384,10 +384,6 @@ ecological_interactions: id: CHEBI:29034 label: iron(3+) biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity - preferred_term: iron ion transport term: id: GO:0006826 @@ -559,10 +555,6 @@ ecological_interactions: id: NCBITaxon:2301 label: Thermoplasmatales biological_processes: - - preferred_term: organic substance catabolic process - term: - id: GO:0009056 - label: catabolic process - preferred_term: tricarboxylic acid cycle term: id: GO:0006099 diff --git a/kb/communities/Industrial_Bioreactor_Consortium.yaml b/kb/communities/Industrial_Bioreactor_Consortium.yaml index b216fb15..e20e25f3 100644 --- a/kb/communities/Industrial_Bioreactor_Consortium.yaml +++ b/kb/communities/Industrial_Bioreactor_Consortium.yaml @@ -405,10 +405,6 @@ ecological_interactions: label: iron(3+) concentration: Generated oxidant; increases to >15 g/L in late stages biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity - preferred_term: iron ion transport term: id: GO:0006826 @@ -467,10 +463,6 @@ ecological_interactions: label: sulfuric acid concentration: Maintains pH 1.5-2.0 biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity - preferred_term: sulfur compound metabolic process term: id: GO:0006790 @@ -518,15 +510,6 @@ ecological_interactions: id: CHEBI:50860 label: organic molecular entity notes: Yeast extract, molasses, cell lysate for mixotrophic growth - biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity - - preferred_term: organic substance metabolic process - term: - id: GO:0008152 - label: metabolic process evidence: - reference: PMID:24242252 supports: SUPPORT @@ -570,10 +553,6 @@ ecological_interactions: label: iron(3+) concentration: '>15 g/L in late stages' biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity - preferred_term: iron ion transport term: id: GO:0006826 @@ -635,11 +614,6 @@ ecological_interactions: id: CHEBI:29033 label: iron(2+) notes: Regenerated substrate for iron oxidizers - biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity downstream: - target: Thermophilic Ferrous Iron Oxidation in Early Reactor Stages description: Released Fe²⁺ is re-oxidized to regenerate Fe³⁺ oxidant @@ -689,10 +663,6 @@ ecological_interactions: label: peptide notes: From cell lysis; required due to amino acid auxotrophy biological_processes: - - preferred_term: organic substance metabolic process - term: - id: GO:0008152 - label: metabolic process - preferred_term: heterotrophic metabolism term: id: GO:0019319 @@ -735,11 +705,6 @@ ecological_interactions: id: CHEBI:29034 label: iron(3+) notes: Product for chalcopyrite oxidation - biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity evidence: - reference: PMID:24242252 supports: SUPPORT @@ -772,11 +737,6 @@ ecological_interactions: id: CHEBI:29033 label: iron(2+) notes: Shared substrate - biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity evidence: - reference: doi:10.3390/biology12111411 supports: PARTIAL @@ -800,11 +760,6 @@ ecological_interactions: term: id: NCBITaxon:1872114 label: Acidiplasma sp. - biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity evidence: - reference: doi:10.3390/biology12111411 supports: PARTIAL diff --git a/kb/communities/Ion_Adsorption_REE_Indigenous_Community.yaml b/kb/communities/Ion_Adsorption_REE_Indigenous_Community.yaml index 71e082ee..9ec49d58 100644 --- a/kb/communities/Ion_Adsorption_REE_Indigenous_Community.yaml +++ b/kb/communities/Ion_Adsorption_REE_Indigenous_Community.yaml @@ -412,11 +412,6 @@ ecological_interactions: id: CHEBI:50860 label: organic molecular entity notes: Diverse organic metabolites driving bioweathering - biological_processes: - - preferred_term: organic substance catabolic process - term: - id: GO:0009056 - label: catabolic process downstream: - target: Teichoic Acid-Mediated HREE Selective Biosorption description: Dissolved REE become available for selective bacterial biosorption @@ -524,11 +519,6 @@ ecological_interactions: id: CHEBI:16995 label: oxalic acid notes: Strong chelator for mineral dissolution - biological_processes: - - preferred_term: organic substance catabolic process - term: - id: GO:0009056 - label: catabolic process downstream: - target: Teichoic Acid-Mediated HREE Selective Biosorption description: Fungal dissolution releases REE for bacterial biosorption @@ -577,11 +567,6 @@ ecological_interactions: id: CHEBI:50860 label: organic molecular entity notes: Exopolysaccharides and organic ligands for REE binding - biological_processes: - - preferred_term: organic substance catabolic process - term: - id: GO:0009056 - label: catabolic process evidence: - reference: PMID:35708325 supports: PARTIAL diff --git a/kb/communities/Mixed_Gallium_LED_Recovery_Consortium.yaml b/kb/communities/Mixed_Gallium_LED_Recovery_Consortium.yaml index 5fc090ce..573c5f0e 100644 --- a/kb/communities/Mixed_Gallium_LED_Recovery_Consortium.yaml +++ b/kb/communities/Mixed_Gallium_LED_Recovery_Consortium.yaml @@ -228,10 +228,6 @@ ecological_interactions: label: gallium atom concentration: 99.5% leaching efficiency at 15 g/L pulp density in 3 days biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity - preferred_term: sulfur compound metabolic process term: id: GO:0006790 @@ -299,10 +295,6 @@ ecological_interactions: label: nickel(2+) notes: Recovered from LED nickel plating biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity - preferred_term: iron ion transport term: id: GO:0006826 @@ -362,10 +354,6 @@ ecological_interactions: label: gallium atom concentration: 99.5% recovery efficiency in 3 days biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity - preferred_term: sulfur compound metabolic process term: id: GO:0006790 @@ -419,11 +407,6 @@ ecological_interactions: id: CHEBI:29034 label: iron(3+) notes: Biogenic oxidant in lixiviant - biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity evidence: - reference: PMID:31203122 supports: SUPPORT diff --git a/kb/communities/Naica_Deep_Subsurface_Thermophilic.yaml b/kb/communities/Naica_Deep_Subsurface_Thermophilic.yaml index acd6c129..8dea2a5e 100644 --- a/kb/communities/Naica_Deep_Subsurface_Thermophilic.yaml +++ b/kb/communities/Naica_Deep_Subsurface_Thermophilic.yaml @@ -288,10 +288,6 @@ ecological_interactions: term: id: GO:0015977 label: carbon fixation - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity downstream: - target: Denitrification by Betaproteobacteria description: Nitrite from ammonia oxidation supports denitrification @@ -337,11 +333,6 @@ ecological_interactions: id: CHEBI:50860 label: organic molecular entity concentration: Trace (<1 mg/L DOC typical) - biological_processes: - - preferred_term: organic substance catabolic process - term: - id: GO:0009056 - label: catabolic process evidence: - reference: doi:10.3389/fmicb.2013.00037 supports: SUPPORT @@ -429,15 +420,6 @@ ecological_interactions: id: CHEBI:18276 label: dihydrogen notes: Potential electron donor - biological_processes: - - preferred_term: organic substance catabolic process - term: - id: GO:0009056 - label: catabolic process - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity evidence: - reference: doi:10.3389/fmicb.2013.00037 supports: SUPPORT diff --git a/kb/communities/ORNL_Clostridium_Desulfovibrio_Geobacter_Trophic_Model.yaml b/kb/communities/ORNL_Clostridium_Desulfovibrio_Geobacter_Trophic_Model.yaml index 343bb83f..793e07fe 100644 --- a/kb/communities/ORNL_Clostridium_Desulfovibrio_Geobacter_Trophic_Model.yaml +++ b/kb/communities/ORNL_Clostridium_Desulfovibrio_Geobacter_Trophic_Model.yaml @@ -231,11 +231,6 @@ ecological_interactions: term: id: CHEBI:18012 label: fumaric acid - biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity evidence: - reference: doi:10.1186/1471-2180-10-149 supports: SUPPORT @@ -262,11 +257,6 @@ ecological_interactions: term: id: NCBITaxon:2 label: Bacteria - biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity evidence: - reference: doi:10.1186/1471-2180-10-149 supports: SUPPORT diff --git a/kb/communities/Oak_Ridge_FRC_Uranium_Nitrate_Groundwater_Community.yaml b/kb/communities/Oak_Ridge_FRC_Uranium_Nitrate_Groundwater_Community.yaml index 10bbdc22..cbb3a88c 100644 --- a/kb/communities/Oak_Ridge_FRC_Uranium_Nitrate_Groundwater_Community.yaml +++ b/kb/communities/Oak_Ridge_FRC_Uranium_Nitrate_Groundwater_Community.yaml @@ -178,10 +178,6 @@ ecological_interactions: id: CHEBI:29034 label: iron(3+) biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity - preferred_term: denitrification term: id: GO:0019333 diff --git a/kb/communities/PET_Artificial_FourSpecies_Degradation_Consortium.yaml b/kb/communities/PET_Artificial_FourSpecies_Degradation_Consortium.yaml index b3716fc6..542133ca 100644 --- a/kb/communities/PET_Artificial_FourSpecies_Degradation_Consortium.yaml +++ b/kb/communities/PET_Artificial_FourSpecies_Degradation_Consortium.yaml @@ -170,11 +170,6 @@ ecological_interactions: term: id: CHEBI:53259 label: poly(ethylene terephthalate) macromolecule - biological_processes: - - preferred_term: organic substance catabolic process - term: - id: GO:0009056 - label: catabolic process evidence: - reference: PMID:35003008 supports: SUPPORT @@ -206,10 +201,6 @@ ecological_interactions: id: CHEBI:15702 label: terephthalic acid biological_processes: - - preferred_term: aromatic compound catabolic process - term: - id: GO:0009056 - label: catabolic process - preferred_term: biological process involved in interspecies interaction between organisms term: id: GO:0044419 @@ -245,10 +236,6 @@ ecological_interactions: id: CHEBI:30742 label: ethylene glycol biological_processes: - - preferred_term: organic substance catabolic process - term: - id: GO:0009056 - label: catabolic process - preferred_term: biological process involved in interspecies interaction between organisms term: id: GO:0044419 diff --git a/kb/communities/PGM_Spent_Catalyst_Bioleaching.yaml b/kb/communities/PGM_Spent_Catalyst_Bioleaching.yaml index 6bec98e3..bad438f6 100644 --- a/kb/communities/PGM_Spent_Catalyst_Bioleaching.yaml +++ b/kb/communities/PGM_Spent_Catalyst_Bioleaching.yaml @@ -294,10 +294,6 @@ ecological_interactions: label: sulfuric acid notes: Complementary acid generation biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity - preferred_term: sulfur compound metabolic process term: id: GO:0006790 @@ -427,10 +423,6 @@ ecological_interactions: label: aluminium oxide notes: γ-Al₂O₃ catalyst support (substrate) biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity - preferred_term: sulfur compound metabolic process term: id: GO:0006790 @@ -509,10 +501,6 @@ ecological_interactions: label: rhodium atom notes: Target PGM from automotive TWC catalysts biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity - preferred_term: sulfur compound metabolic process term: id: GO:0006790 @@ -587,11 +575,6 @@ ecological_interactions: id: CHEBI:33359 label: rhodium atom notes: Target from automotive catalysts - biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity evidence: - reference: doi:10.1016/j.jenvman.2019.04.081 supports: SUPPORT @@ -654,10 +637,6 @@ ecological_interactions: term: id: GO:0006790 label: sulfur compound metabolic process - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity evidence: - reference: PMID:31059950 supports: SUPPORT diff --git a/kb/communities/Panzhihua_Vanadium_Titanium_Tailings.yaml b/kb/communities/Panzhihua_Vanadium_Titanium_Tailings.yaml index 20d30204..e874091b 100644 --- a/kb/communities/Panzhihua_Vanadium_Titanium_Tailings.yaml +++ b/kb/communities/Panzhihua_Vanadium_Titanium_Tailings.yaml @@ -468,10 +468,6 @@ ecological_interactions: label: acetate notes: Electron donor from fermentation and root exudates biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity - preferred_term: dissimilatory reduction term: id: GO:0019645 @@ -542,10 +538,6 @@ ecological_interactions: term: id: GO:0015976 label: carbon utilization - - preferred_term: organic substance catabolic process - term: - id: GO:0009056 - label: catabolic process - preferred_term: cellular carbohydrate metabolic process term: id: GO:0005975 @@ -673,10 +665,6 @@ ecological_interactions: label: copper(2+) notes: Tolerated through efflux and sequestration biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity - preferred_term: cellular response to metal ion term: id: GO:0071248 diff --git a/kb/communities/Phenol_Carboxylation_Consortium.yaml b/kb/communities/Phenol_Carboxylation_Consortium.yaml index 2c01c210..807a8860 100644 --- a/kb/communities/Phenol_Carboxylation_Consortium.yaml +++ b/kb/communities/Phenol_Carboxylation_Consortium.yaml @@ -103,10 +103,6 @@ ecological_interactions: term: id: GO:0018958 label: phenol-containing compound metabolic process - - preferred_term: aromatic compound catabolic process - term: - id: GO:0009056 - label: catabolic process downstream: - target: Benzoate Degradation to Acetate and Methane evidence: @@ -183,11 +179,6 @@ ecological_interactions: id: CHEBI:18276 label: dihydrogen notes: Potential electron carrier - biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity evidence: - reference: PMID:18281436 supports: SUPPORT diff --git a/kb/communities/Phormidium_Alkaline_Consortium.yaml b/kb/communities/Phormidium_Alkaline_Consortium.yaml index 430ff2d1..867770e9 100644 --- a/kb/communities/Phormidium_Alkaline_Consortium.yaml +++ b/kb/communities/Phormidium_Alkaline_Consortium.yaml @@ -277,11 +277,6 @@ ecological_interactions: term: id: CHEBI:18276 label: dihydrogen - biological_processes: - - preferred_term: organic substance catabolic process - term: - id: GO:0009056 - label: catabolic process downstream: - target: Nutrient Remineralization description: Heterotrophs remineralize nutrients for cyanobacterial reuse diff --git a/kb/communities/Polaromonas_Vanadium_Reduction_Community.yaml b/kb/communities/Polaromonas_Vanadium_Reduction_Community.yaml index 24abcc39..25ac6653 100644 --- a/kb/communities/Polaromonas_Vanadium_Reduction_Community.yaml +++ b/kb/communities/Polaromonas_Vanadium_Reduction_Community.yaml @@ -263,10 +263,6 @@ ecological_interactions: label: acetate concentration: 2-10 mM supplied or produced from lactate biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity - preferred_term: dissimilatory reduction term: id: GO:0019645 @@ -326,10 +322,6 @@ ecological_interactions: label: vanadium dioxide notes: VO₂ and hydrated forms as precipitates biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity - preferred_term: metal ion sequestration term: id: GO:0140487 @@ -397,10 +389,6 @@ ecological_interactions: term: id: GO:0019420 label: dissimilatory sulfate reduction - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity evidence: - reference: PMID:33125214 supports: SUPPORT @@ -458,10 +446,6 @@ ecological_interactions: label: vanadate(3-) notes: Secondary electron acceptor after Fe(III) depletion biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity - preferred_term: iron ion transport term: id: GO:0006826 diff --git a/kb/communities/Propanotrophic_Chlorinated_Ethene_Cometabolism_Enrichment.yaml b/kb/communities/Propanotrophic_Chlorinated_Ethene_Cometabolism_Enrichment.yaml index 293ca985..57e269b8 100644 --- a/kb/communities/Propanotrophic_Chlorinated_Ethene_Cometabolism_Enrichment.yaml +++ b/kb/communities/Propanotrophic_Chlorinated_Ethene_Cometabolism_Enrichment.yaml @@ -298,10 +298,6 @@ ecological_interactions: term: id: GO:0071466 label: cellular response to xenobiotic stimulus - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity evidence: - reference: doi:10.1016/j.jenvman.2026.129957 supports: SUPPORT diff --git a/kb/communities/Pseudomonas_Rhodococcus_Chloronitrobenzene_Coculture.yaml b/kb/communities/Pseudomonas_Rhodococcus_Chloronitrobenzene_Coculture.yaml index f69d924f..36b1c06b 100644 --- a/kb/communities/Pseudomonas_Rhodococcus_Chloronitrobenzene_Coculture.yaml +++ b/kb/communities/Pseudomonas_Rhodococcus_Chloronitrobenzene_Coculture.yaml @@ -125,10 +125,6 @@ ecological_interactions: id: CHEBI:34399 label: 4-Chloronitrobenzene biological_processes: - - preferred_term: aromatic compound catabolic process - term: - id: GO:0009056 - label: catabolic process - preferred_term: interspecies interaction between organisms term: id: GO:0044419 @@ -159,10 +155,6 @@ ecological_interactions: id: NCBITaxon:303 label: Pseudomonas putida biological_processes: - - preferred_term: aromatic compound catabolic process - term: - id: GO:0009056 - label: catabolic process - preferred_term: interspecies interaction between organisms term: id: GO:0044419 @@ -196,11 +188,6 @@ ecological_interactions: term: id: CHEBI:34399 label: 4-Chloronitrobenzene - biological_processes: - - preferred_term: aromatic compound catabolic process - term: - id: GO:0009056 - label: catabolic process evidence: - reference: PMID:10049867 supports: SUPPORT diff --git a/kb/communities/Rammelsberg_Cobalt_Nickel_Tailings.yaml b/kb/communities/Rammelsberg_Cobalt_Nickel_Tailings.yaml index 0b3ff77e..e14b27da 100644 --- a/kb/communities/Rammelsberg_Cobalt_Nickel_Tailings.yaml +++ b/kb/communities/Rammelsberg_Cobalt_Nickel_Tailings.yaml @@ -176,10 +176,6 @@ ecological_interactions: term: id: GO:0006826 label: iron ion transport - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity downstream: - target: Cobalt and Copper Mobilization from Sulfide Minerals description: Ferric iron oxidizes sulfide minerals releasing cobalt and copper @@ -236,11 +232,6 @@ ecological_interactions: id: CHEBI:16189 label: sulfate notes: Product of sulfide mineral oxidation - biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity downstream: - target: Iron Oxidation and Ferric Iron Generation description: Fe²⁺ released from mineral oxidation is recycled to At. ferrooxidans @@ -299,10 +290,6 @@ ecological_interactions: label: sulfate notes: Final oxidation product biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity - preferred_term: sulfur compound metabolic process term: id: GO:0006790 diff --git a/kb/communities/Rhodopseudomonas_Geobacter_Magnetite_Redox_Coculture.yaml b/kb/communities/Rhodopseudomonas_Geobacter_Magnetite_Redox_Coculture.yaml index b9a11d9e..24cdbe9a 100644 --- a/kb/communities/Rhodopseudomonas_Geobacter_Magnetite_Redox_Coculture.yaml +++ b/kb/communities/Rhodopseudomonas_Geobacter_Magnetite_Redox_Coculture.yaml @@ -139,10 +139,6 @@ ecological_interactions: id: CHEBI:29034 label: iron(3+) biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity - preferred_term: iron ion transport term: id: GO:0006826 @@ -182,10 +178,6 @@ ecological_interactions: term: id: GO:0015979 label: photosynthesis - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity evidence: - reference: PMID:25814583 supports: SUPPORT @@ -217,10 +209,6 @@ ecological_interactions: id: CHEBI:29033 label: iron(2+) biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity - preferred_term: iron ion transport term: id: GO:0006826 @@ -242,11 +230,6 @@ ecological_interactions: term: id: CHEBI:50821 label: ferrosoferric oxide - biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity evidence: - reference: PMID:25814583 supports: SUPPORT diff --git a/kb/communities/Richmond_Mine_AMD_Biofilm.yaml b/kb/communities/Richmond_Mine_AMD_Biofilm.yaml index 5ed09414..53bb49fc 100644 --- a/kb/communities/Richmond_Mine_AMD_Biofilm.yaml +++ b/kb/communities/Richmond_Mine_AMD_Biofilm.yaml @@ -274,10 +274,6 @@ ecological_interactions: label: iron(3+) concentration: Generated continuously to oxidize pyrite biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity - preferred_term: iron ion transport term: id: GO:0006826 @@ -330,10 +326,6 @@ ecological_interactions: id: CHEBI:29034 label: iron(3+) biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity - preferred_term: carbon fixation term: id: GO:0015977 @@ -397,11 +389,6 @@ ecological_interactions: id: CHEBI:26836 label: sulfuric acid concentration: Generates pH 0.5-1.0 - biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity downstream: - target: Ferrous Iron Oxidation by Leptospirillum description: Released Fe(II) is re-oxidized by iron-oxidizing community @@ -496,10 +483,6 @@ ecological_interactions: label: organic molecular entity notes: Lysed cell components and fermentation products biological_processes: - - preferred_term: organic substance catabolic process - term: - id: GO:0009056 - label: catabolic process - preferred_term: tricarboxylic acid cycle term: id: GO:0006099 @@ -553,10 +536,6 @@ ecological_interactions: id: CHEBI:26833 label: sulfur atom biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity - preferred_term: iron ion transport term: id: GO:0006826 diff --git a/kb/communities/Rifle_Uranium_Reducing_Community.yaml b/kb/communities/Rifle_Uranium_Reducing_Community.yaml index 51a79ad1..a6203cac 100644 --- a/kb/communities/Rifle_Uranium_Reducing_Community.yaml +++ b/kb/communities/Rifle_Uranium_Reducing_Community.yaml @@ -256,10 +256,6 @@ ecological_interactions: label: iron(2+) notes: Product of Fe(III) reduction biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity - preferred_term: acetate catabolic process term: id: GO:0045733 @@ -310,11 +306,6 @@ ecological_interactions: id: CHEBI:32995 label: uranium(4+) notes: As uraninite (UO₂) nanoparticles - biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity evidence: - reference: PMID:14532040 supports: SUPPORT @@ -352,11 +343,6 @@ ecological_interactions: term: id: CHEBI:32995 label: uranium(4+) - biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity evidence: - reference: PMID:18843300 supports: SUPPORT @@ -410,10 +396,6 @@ ecological_interactions: term: id: GO:0019420 label: dissimilatory sulfate reduction - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity evidence: - reference: PMID:14532040 supports: SUPPORT @@ -454,11 +436,6 @@ ecological_interactions: id: CHEBI:16189 label: sulfate notes: Becomes dominant electron acceptor after Fe(III) depletion - biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity evidence: - reference: PMID:14532040 supports: SUPPORT @@ -516,10 +493,6 @@ ecological_interactions: term: id: GO:0019420 label: dissimilatory sulfate reduction - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity evidence: - reference: PMID:12788780 supports: SUPPORT diff --git a/kb/communities/Saanich_Inlet_OMZ_Redox_Gradient_Community.yaml b/kb/communities/Saanich_Inlet_OMZ_Redox_Gradient_Community.yaml index bad560a4..5899203e 100644 --- a/kb/communities/Saanich_Inlet_OMZ_Redox_Gradient_Community.yaml +++ b/kb/communities/Saanich_Inlet_OMZ_Redox_Gradient_Community.yaml @@ -189,10 +189,6 @@ ecological_interactions: term: id: GO:0019333 label: denitrification pathway - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity evidence: - reference: PMID:27655888 supports: SUPPORT @@ -235,10 +231,6 @@ ecological_interactions: term: id: GO:0019333 label: denitrification pathway - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity evidence: - reference: PMID:27655888 supports: SUPPORT @@ -280,10 +272,6 @@ ecological_interactions: term: id: GO:0019333 label: denitrification pathway - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity evidence: - reference: PMID:27655888 supports: SUPPORT diff --git a/kb/communities/Salar_Atacama_Lithium_Brine_Community.yaml b/kb/communities/Salar_Atacama_Lithium_Brine_Community.yaml index e5d638ea..a8d04ecf 100644 --- a/kb/communities/Salar_Atacama_Lithium_Brine_Community.yaml +++ b/kb/communities/Salar_Atacama_Lithium_Brine_Community.yaml @@ -312,10 +312,6 @@ ecological_interactions: label: organic molecular entity notes: Diverse organic carbon sources including polysaccharides, proteins, amino acids biological_processes: - - preferred_term: organic substance catabolic process - term: - id: GO:0009056 - label: catabolic process - preferred_term: aerobic respiration term: id: GO:0009060 @@ -435,10 +431,6 @@ ecological_interactions: label: organic molecular entity notes: Diverse organic carbon sources biological_processes: - - preferred_term: organic substance catabolic process - term: - id: GO:0009056 - label: catabolic process - preferred_term: aerobic respiration term: id: GO:0009060 diff --git a/kb/communities/Shewanella_Geobacter_Exoelectrogenic_Biofilm_Community.yaml b/kb/communities/Shewanella_Geobacter_Exoelectrogenic_Biofilm_Community.yaml index 9e46e1f3..1d0e3248 100644 --- a/kb/communities/Shewanella_Geobacter_Exoelectrogenic_Biofilm_Community.yaml +++ b/kb/communities/Shewanella_Geobacter_Exoelectrogenic_Biofilm_Community.yaml @@ -180,11 +180,6 @@ ecological_interactions: term: id: NCBITaxon:35554 label: Geobacter sulfurreducens - biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity evidence: - reference: PMID:28087529 supports: SUPPORT @@ -211,11 +206,6 @@ ecological_interactions: term: id: NCBITaxon:2 label: Bacteria - biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity evidence: - reference: PMID:28087529 supports: SUPPORT diff --git a/kb/communities/Sphingobium_Rhodococcus_Lignin_Dimer_Valorization_Coculture.yaml b/kb/communities/Sphingobium_Rhodococcus_Lignin_Dimer_Valorization_Coculture.yaml index 479c92f0..5c7116eb 100644 --- a/kb/communities/Sphingobium_Rhodococcus_Lignin_Dimer_Valorization_Coculture.yaml +++ b/kb/communities/Sphingobium_Rhodococcus_Lignin_Dimer_Valorization_Coculture.yaml @@ -127,11 +127,6 @@ ecological_interactions: id: CHEBI:53650 label: guaiacylglycerol-beta-guaiacyl ether notes: Representative beta-O-4 lignin-derived dimer substrate tested in the study. - biological_processes: - - preferred_term: aromatic compound catabolic process - term: - id: GO:0009056 - label: catabolic process evidence: - reference: PMID:36030484 supports: SUPPORT @@ -159,11 +154,6 @@ ecological_interactions: id: CHEBI:30778 label: gallic acid notes: The publication reports gallate as a target product. - biological_processes: - - preferred_term: aromatic compound catabolic process - term: - id: GO:0009056 - label: catabolic process evidence: - reference: PMID:36030484 supports: SUPPORT diff --git a/kb/communities/Subsurface_Carboxydocella_CO_Aquifer_Community.yaml b/kb/communities/Subsurface_Carboxydocella_CO_Aquifer_Community.yaml index d344d9db..9c1d609a 100644 --- a/kb/communities/Subsurface_Carboxydocella_CO_Aquifer_Community.yaml +++ b/kb/communities/Subsurface_Carboxydocella_CO_Aquifer_Community.yaml @@ -53,11 +53,6 @@ ecological_interactions: switching after the scCO2 injection experiment. interaction_type: CROSS_FEEDING scope: COMMUNITY_LEVEL - biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity evidence: - reference: PMID:32633030 supports: SUPPORT diff --git a/kb/communities/Syntrophus_Benzoate_Degrader.yaml b/kb/communities/Syntrophus_Benzoate_Degrader.yaml index c221d2ed..c5453897 100644 --- a/kb/communities/Syntrophus_Benzoate_Degrader.yaml +++ b/kb/communities/Syntrophus_Benzoate_Degrader.yaml @@ -126,10 +126,6 @@ ecological_interactions: term: id: GO:0018874 label: benzoate metabolic process - - preferred_term: aromatic compound catabolic process - term: - id: GO:0009056 - label: catabolic process downstream: - target: Interspecies Hydrogen Transfer and Methanogenesis description: H2 and formate produced by S. aciditrophicus are consumed by M. hungatei for methanogenesis diff --git a/kb/communities/Thermophilic_Pyrite_QS_Consortium.yaml b/kb/communities/Thermophilic_Pyrite_QS_Consortium.yaml index 132241ec..04515fa0 100644 --- a/kb/communities/Thermophilic_Pyrite_QS_Consortium.yaml +++ b/kb/communities/Thermophilic_Pyrite_QS_Consortium.yaml @@ -265,10 +265,6 @@ ecological_interactions: label: iron(3+) concentration: Product for mineral oxidation; regulated by QS biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity - preferred_term: iron ion transport term: id: GO:0006826 @@ -337,10 +333,6 @@ ecological_interactions: label: sulfuric acid concentration: Maintains pH 2.0-2.5 biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity - preferred_term: sulfur compound metabolic process term: id: GO:0006790 @@ -401,10 +393,6 @@ ecological_interactions: id: CHEBI:26836 label: sulfuric acid biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity - preferred_term: iron ion transport term: id: GO:0006826 @@ -491,10 +479,6 @@ ecological_interactions: label: sulfuric acid notes: From sulfur oxidation biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity - preferred_term: biofilm formation term: id: GO:0042710 diff --git a/kb/communities/Tinto_River_Iron_Cycling_Community.yaml b/kb/communities/Tinto_River_Iron_Cycling_Community.yaml index fa25e47f..917d7ced 100644 --- a/kb/communities/Tinto_River_Iron_Cycling_Community.yaml +++ b/kb/communities/Tinto_River_Iron_Cycling_Community.yaml @@ -219,11 +219,6 @@ ecological_interactions: term: id: CHEBI:29034 label: iron(3+) - biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity downstream: - target: Heterotrophic Carbon-Iron Coupling description: Autotrophic production supports heterotrophs @@ -246,11 +241,6 @@ ecological_interactions: term: id: NCBITaxon:522 label: Acidiphilium - biological_processes: - - preferred_term: organic substance catabolic process - term: - id: GO:0009056 - label: catabolic process evidence: - reference: doi:10.1128/aem.69.8.4853-4865.2003 supports: PARTIAL @@ -329,10 +319,6 @@ ecological_interactions: id: CHEBI:26836 label: sulfuric acid biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity - preferred_term: iron ion transport term: id: GO:0006826 @@ -377,11 +363,6 @@ ecological_interactions: id: CHEBI:50860 label: organic molecular entity notes: Complex organic polymers from algae and microbial biomass - biological_processes: - - preferred_term: organic substance catabolic process - term: - id: GO:0009056 - label: catabolic process evidence: - reference: PMID:25369810 supports: SUPPORT diff --git a/kb/communities/Trichodesmium_Alteromonas_Marine_Consortium.yaml b/kb/communities/Trichodesmium_Alteromonas_Marine_Consortium.yaml index 46895609..79790112 100644 --- a/kb/communities/Trichodesmium_Alteromonas_Marine_Consortium.yaml +++ b/kb/communities/Trichodesmium_Alteromonas_Marine_Consortium.yaml @@ -131,11 +131,6 @@ ecological_interactions: label: iron(2+) notes: Iron acquisition was one inferred interaction axis; ferrous iron is used as a conservative CHEBI grounding for iron availability. - biological_processes: - - preferred_term: oxidation-reduction process - term: - id: GO:0016491 - label: oxidoreductase activity notes: Reactive oxygen species detoxification is an inferred interaction process. evidence: - reference: PMID:28440800 diff --git a/mappings/community_term_grounding.tsv b/mappings/community_term_grounding.tsv new file mode 100644 index 00000000..9487958c --- /dev/null +++ b/mappings/community_term_grounding.tsv @@ -0,0 +1,14 @@ +surface label target_curie target_label predicate source confidence notes +env_factor Temperature PATO:0000146 temperature skos:exactMatch PATO high condition quality +env_factor pH PATO:0001842 acidity skos:closeMatch PATO high pH is the operational measure of acidity +env_factor Extreme Acidity PATO:0001842 acidity skos:broadMatch PATO high acidophile habitats (AMD etc.) +env_factor Light PATO:0015013 degree of illumination skos:closeMatch PATO high phototroph light regime +env_factor Oxygen Availability CHEBI:15379 dioxygen skos:relatedMatch CHEBI high factor referent is O2; availability is a PATO quality of it (needs schema slot) +env_factor Oxygen gradient CHEBI:15379 dioxygen skos:relatedMatch CHEBI medium spatial O2 gradient +env_factor Anaerobic conditions CHEBI:15379 dioxygen skos:relatedMatch CHEBI medium absence of O2; no clean ENVO/PATO "anoxic condition" quality (proposal candidate) +env_factor Hydrogen Partial Pressure CHEBI:18276 dihydrogen skos:relatedMatch CHEBI high factor referent is H2 partial pressure +env_factor Sulfate Concentration CHEBI:16189 sulfate skos:relatedMatch CHEBI high factor referent is sulfate +env_factor Iron Concentration CHEBI:24875 iron cation skos:relatedMatch CHEBI medium verify exact iron species per record +env_factor defined synthetic community design - - - - - skipped: non-ontological (design descriptor, not an environmental factor) +env_factor Source environment - - - - - skipped: non-ontological (provenance note) +env_factor Agricultural application - - - - - skipped: non-ontological (use-case note) diff --git a/proposals/term_requests_communitymech.md b/proposals/term_requests_communitymech.md new file mode 100644 index 00000000..613b9bf0 --- /dev/null +++ b/proposals/term_requests_communitymech.md @@ -0,0 +1,41 @@ +# Ontology term requests — CommunityMech (#182 "mint") + +Concepts used in `kb/communities/` whose intended term does not exist in the target +ontology. Each is currently grounded to the **nearest valid** existing term (so the +id↔label gate stays green and `preferred_term` keeps the specific meaning); this file +requests the proper terms so the groundings can be tightened once minted. Verified +absent via OAK (sqlite:obo:*) + live OLS/NCBI. + +## CHEBI term requests (submit at https://github.com/ebi-teams/chebi-submissions) + +| Requested term | Formula | Proposed parent (CHEBI) | Current stopgap grounding | Source community | +|---|---|---|---|---| +| lead(II) sulfide (galena) | PbS | metal sulfide / sulfide salt (CHEBI:46718); cf. lead(2+) CHEBI:49807 | CHEBI:46718 sulfide salt | Australian_Lead_Zinc_Polymetallic | +| zinc sulfide (sphalerite) | ZnS | metal sulfide / sulfide salt (CHEBI:46718); cf. zinc(2+) CHEBI:29105 | CHEBI:46718 sulfide salt | Australian_Lead_Zinc_Polymetallic | +| chromium(III) hydroxide | Cr(OH)3 | transition-element hydroxide; cf. chromium(3+) CHEBI:49544 | CHEBI:49544 chromium(3+) | Chromium_Sulfur_Reduction_Enrichment | +| N-(3-hydroxytetradecanoyl)-L-homoserine lactone (3-OH-C14-HSL) | C18H33NO4 | N-acyl-L-homoserine lactone (CHEBI:55474) | CHEBI:55474 N-acyl-L-homoserine lactone | Thermophilic_Pyrite_QS_Consortium | + +Definitions (Aristotelian, for the submission): +- **lead(II) sulfide** — a metal sulfide that is the lead(2+) salt of sulfide; the mineral galena. +- **zinc sulfide** — a metal sulfide that is the zinc(2+) salt of sulfide; the mineral sphalerite/wurtzite. +- **chromium(III) hydroxide** — a chromium hydroxide in which chromium is in the +3 oxidation state. +- **N-(3-hydroxytetradecanoyl)-L-homoserine lactone** — an N-acyl-L-homoserine lactone in which the acyl group is 3-hydroxytetradecanoyl (a saturated 3-OH C14 AHL quorum-sensing signal). + +## ENVO term request (submit at https://github.com/EnvironmentOntology/envo/issues) + +| Requested term | Proposed parent (ENVO) | Current stopgap grounding | Source community | +|---|---|---|---| +| phyllosphere | plant-associated environment (ENVO:01001001) | ENVO:01001001 plant-associated environment | Arabidopsis_Phyllosphere_SynCom7 | + +- **phyllosphere** — a plant-associated environment comprising the aerial surfaces of a plant (leaves and stems) and their resident microbiota. + +## Regrounding notes (no new term needed) +- **organic matter** — reground from `CHEBI:50860` (organic molecular entity) to **`ENVO:01000155` organic material** (already exists; better fit for a material/factor). Affects Avena_Rhizosphere_Detritusphere_Niche_Succession, Brachypodium_Young_Root_Rhizosphere_EcoFAB_Community. +- **humic acid**, **yeast extract** — complex undefined mixtures; CHEBI does not mint undefined mixtures. Better handled as a MediaIngredientMech / FoodOn ingredient term (yeast extract) or ENVO material (humic substance). Kept at the current broad CHEBI grounding for now. +- **Stenotrophomonas goyi** — a validly published 2023 species not yet in the pinned NCBITaxon snapshot; grounded at genus `NCBITaxon:40323`. No proposal — it will resolve when NCBITaxon is refreshed. + +## Companion: dropped terms +The generic obsolete-GO annotations (redox process, organic-substance metabolic/catabolic) +were **dropped** rather than kept (131 entries, 48 files) — see `scripts/drop_obsolete_go_bp.py`. +Meaningful obsolete-GO remaps were kept (multi-organism → interspecies interaction +`GO:0044419`, metal-ion sequestering `GO:0140487`, anion transporter `GO:0008509`). diff --git a/reports/ground_or_propose_metpo_run.md b/reports/ground_or_propose_metpo_run.md new file mode 100644 index 00000000..de04f7e8 --- /dev/null +++ b/reports/ground_or_propose_metpo_run.md @@ -0,0 +1,33 @@ +# ground-or-propose-metpo — run summary + +## Worklist (reports/ungrounded_community_terms.tsv, freq>=2) +- interaction_name: 15 recurring (803 distinct incl. freq-1 tail, skipped) +- downstream_target: 13 recurring (76 distinct) +- env_factor: 32 recurring (537 distinct) +- bioprocess_no_go: 0 — all `biological_processes` already carry GO ids (prior id-label cleanup) + +## Tier-0 grounded this run (mappings/community_term_grounding.tsv) +Environmental-factor condition qualities / referents (the clear mechanical head): +Temperature→PATO:0000146, pH & Extreme Acidity→PATO:0001842 acidity, Light→PATO:0015013, +Oxygen (availability/gradient/anaerobic)→CHEBI:15379 dioxygen, Hydrogen Partial +Pressure→CHEBI:18276 dihydrogen, Sulfate→CHEBI:16189, Iron→CHEBI:24875. +Skipped as non-ontological: "defined synthetic community design" (35×), "Source +environment", "Agricultural application" — narrative/design descriptors, not factors. + +NB: `environmental_factors[].name` and `ecological_interactions[].downstream[].target` +have **no ontology binding slot** in the schema today, so these groundings are recorded +in the mapping TSV only. **Follow-up: add a `term` slot to EnvironmentalFactor** (and +optionally to InteractionDownstream) so the groundings can be written into the YAMLs and +enforced by the id↔label gate. + +## Deferred (ambiguous middle — needs deep-research + possibly a METPO proposal cohort) +- Interaction `name` head (interspecies electron/hydrogen transfer, chain elongation, + DIET+methanogenesis, plant growth promotion, …): mostly **compound narrative labels**; + their primary semantics already live in `interaction_type` (grounded to the v1 METPO + cohort). Reusable primitives worth a METPO/RO/GO decision: "interspecies electron + transfer", "interspecies hydrogen transfer", "cross-feeding" (already METPO v1), + "plant growth promotion". +- downstream_target mineral-dissolution/redox nodes (pyrite/chalcopyrite/bastnaesite + dissolution, iron oxidation): GO/CHEBI-adjacent, no slot. +These are a bounded next batch (≈10–15 `deep-research-community` cluster queries + one +`proposals/metpo_communitymech_v2/` cohort), not run here. diff --git a/reports/ungrounded_community_terms.tsv b/reports/ungrounded_community_terms.tsv new file mode 100644 index 00000000..b31bac81 --- /dev/null +++ b/reports/ungrounded_community_terms.tsv @@ -0,0 +1,61 @@ +surface label count example_community +interaction_name Sulcia Essential Amino Acid Provisioning 3 BioModels_MODEL1806250003_Spittlebug_Sulcia_Sodalis +interaction_name Interspecies Hydrogen Transfer and Methanogenesis 3 Desulfovibrio_Methanococcus_Syntrophy +interaction_name CO2 Fixation and Sucrose Production 3 Synechococcus_Bacillus_SPC +interaction_name Stratified Iron Redox Cycling 2 Australian_Lead_Zinc_Polymetallic +interaction_name Ethanol-Driven Chain Elongation 2 Clostridium_Autoethanogenum_Kluyveri_Syngas_Coculture +interaction_name Cross-Feeding with Rhizobium 2 EcoFAB_Ring_Trial_SynCom17 +interaction_name Ethanol Oxidation and Direct Electron Transfer 2 Geobacter_Methanosaeta_DIET +interaction_name Direct Electron Acceptance and Methanogenesis 2 Geobacter_Methanosaeta_DIET +interaction_name Plant Growth Promotion 2 Lotus_LjSC3 +interaction_name Synergistic Lignocellulose Degradation 2 MAMC_M48_Lignocellulose +interaction_name Complementary Iron and Sulfur Oxidation 2 PGM_Spent_Catalyst_Bioleaching +interaction_name Ferrous Iron Oxidation by Leptospirillum 2 Richmond_Mine_AMD_Biofilm +interaction_name Sucrose Uptake and Heterotrophic Growth 2 Synechococcus_Bacillus_SPC +interaction_name Propionate Oxidation and H2/Formate Production 2 Syntrophobacter_Methanobacterium_Syntrophy +interaction_name Interspecies Electron Transfer and Methanogenesis 2 Syntrophobacter_Methanobacterium_Syntrophy +downstream_target REE Dissolution from Bastnaesite and Monazite 3 Bayan_Obo_REE_Tailings_Consortium +downstream_target Interspecies Hydrogen Transfer and Methanogenesis 3 Desulfovibrio_Methanococcus_Syntrophy +downstream_target Copper Sulfide Dissolution 2 Copper_Biomining_Heap_Leach +downstream_target Direct Electron Acceptance and Methanogenesis 2 Geobacter_Methanosaeta_DIET +downstream_target Chalcopyrite Dissolution by Ferric Iron 2 Industrial_Bioreactor_Consortium +downstream_target Teichoic Acid-Mediated HREE Selective Biosorption 2 Ion_Adsorption_REE_Indigenous_Community +downstream_target Vanadium Immobilization via V(IV) Precipitation 2 Panzhihua_Vanadium_Titanium_Tailings +downstream_target Iron Oxidation and Ferric Iron Generation 2 Rammelsberg_Cobalt_Nickel_Tailings +downstream_target Pyrite Dissolution 2 Richmond_Mine_AMD_Biofilm +downstream_target Ferrous Iron Oxidation by Leptospirillum 2 Richmond_Mine_AMD_Biofilm +downstream_target Enhanced Root Colonization and Nodulation 2 Soybean_N_Fixation_sfSynCom +downstream_target Sucrose Uptake and Heterotrophic Growth 2 Synechococcus_Bacillus_SPC +downstream_target Interspecies Electron Transfer and Methanogenesis 2 Syntrophobacter_Methanobacterium_Syntrophy +env_factor defined synthetic community design 35 Aerobic_Denitrification_Disturbance_SynCom +env_factor Temperature 22 AMD_Acidophile_Heterotroph_Network +env_factor pH 14 Bayan_Obo_REE_Tailings_Consortium +env_factor Anaerobic conditions 12 Chlamydomonas_Bacterial_H2_Consortium +env_factor Oxygen Availability 7 AMD_Acidophile_Heterotroph_Network +env_factor Light 5 Chlamydomonas_Bacterial_H2_Consortium +env_factor Substrate 5 Cinnamate_Degradation_Consortium +env_factor Hydrogen Partial Pressure 5 DVM_Triculture +env_factor Cellulose substrate 4 Caldibacillus_Clostridium_Aerotolerant_Cellulose_Coculture +env_factor Metal Concentrations 3 AMD_Acidophile_Heterotroph_Network +env_factor Source environment 3 Angelarchaeales_Thermoplasmata_CuMMO_Soil_Sediment_Community +env_factor germ-free mouse host 3 Bacteroides_Eubacterium_Gnotobiotic_Gut_Model +env_factor Extreme Acidity 3 Ewaste_Bioleaching_Consortium +env_factor Sulfate Concentration 3 Iberian_Pit_Lake_Stratified_Community +env_factor Oxygen gradient 3 Lac_Pavin_Stratified_Lake_Community +env_factor Target pathogen 3 Maize_Root_Simplified_Community +env_factor Agricultural application 3 Maize_Root_Simplified_Community +env_factor Gas substrate 2 Acetobacterium_Clostridium_CO2_Electrolysis_Coculture +env_factor Application 2 At_RSPHERE_SynCom +env_factor Iron Concentration 2 Australian_Lead_Zinc_Polymetallic +env_factor Oxygen Stratification 2 Australian_Lead_Zinc_Polymetallic +env_factor Redox Potential 2 Chromium_Sulfur_Reduction_Enrichment +env_factor Growth Conditions 2 Dangl_SynComm_35 +env_factor light-dark cycle 2 Emiliania_Phaeobacter_Dynamic_Interaction +env_factor Pili Expression 2 Geobacter_Methanosaeta_DIET +env_factor Birth status 2 Infant_Gut_DNA_Phage_Succession_Community +env_factor Total Vanadium Concentration 2 Panzhihua_Vanadium_Titanium_Tailings +env_factor Methane emissions 2 Prairie_Pothole_Wetland_Sulfur_Carbon_Virus_Community +env_factor Illumination 2 Synechococcus_Azotobacter_Photoproduction_Mutualism +env_factor Hydrogen and Formate Partial Pressure 2 Syntrophobacter_Methanobacterium_Syntrophy +env_factor Ecological Relevance 2 Syntrophobacter_Methanobacterium_Syntrophy +env_factor Anaerobic methanogenic condition 2 Thermacetogenium_Methanothermobacter_Acetate_Oxidation_Coculture diff --git a/scripts/drop_obsolete_go_bp.py b/scripts/drop_obsolete_go_bp.py new file mode 100644 index 00000000..11b95330 --- /dev/null +++ b/scripts/drop_obsolete_go_bp.py @@ -0,0 +1,90 @@ +#!/usr/bin/env python3 +"""Drop the low-value generic obsolete-GO biological_process annotations (#182). + +The id-label cleanup remapped obsolete generic GO terms to the nearest valid +current term. Per the #182 decision, the *generic* ones (redox process -> the MF +oxidoreductase activity; organic-substance metabolic/catabolic -> broad parents) +add little and are dropped here. Meaningful remaps are KEPT (multi-organism -> +interspecies interaction GO:0044419, metal-ion sequestering GO:0140487, anion +transporter GO:0008509). + +Matches a biological_process entry only when BOTH the remapped id AND the +obsolete-origin preferred_term match, so legitimate uses of the target terms are +untouched. Removes the 4-line entry; if that empties a biological_processes list, +removes the header line too. Text-only (no reflow). + +Usage: uv run python scripts/drop_obsolete_go_bp.py [--dry-run] +""" + +from __future__ import annotations + +import re +import sys +from pathlib import Path + +DRY = "--dry-run" in sys.argv +COMMUNITIES = Path("kb/communities") + +# (preferred_term, remapped_id) pairs to drop. +DROP = { + ("oxidation-reduction process", "GO:0016491"), + ("organic substance metabolic process", "GO:0008152"), + ("organic substance catabolic process", "GO:0009056"), + ("aromatic compound catabolic process", "GO:0009056"), +} + + +def drop_file(path: Path) -> int: + lines = path.read_text().splitlines() + out: list[str] = [] + i, removed = 0, 0 + while i < len(lines): + m = re.match(r"^(\s*)- preferred_term: (.+?)\s*$", lines[i]) + if m and i + 3 < len(lines): + indent, pt = m.group(1), m.group(2) + term_ok = re.match(rf"^{indent} term:\s*$", lines[i + 1]) + idm = re.match(rf"^{indent} id: (\S+)\s*$", lines[i + 2]) + label_ok = re.match(rf"^{indent} label:", lines[i + 3]) + if term_ok and idm and label_ok and (pt, idm.group(1)) in DROP: + i += 4 # skip the whole entry + removed += 1 + continue + out.append(lines[i]) + i += 1 + + if not removed: + return 0 + + # Remove any biological_processes: header that no longer has list items. + cleaned: list[str] = [] + j = 0 + while j < len(out): + hm = re.match(r"^(\s*)biological_processes:\s*$", out[j]) + if hm: + nxt = out[j + 1] if j + 1 < len(out) else "" + if not re.match(rf"^{hm.group(1)}- ", nxt): # no remaining list items + j += 1 + continue + cleaned.append(out[j]) + j += 1 + + if not DRY: + path.write_text("\n".join(cleaned) + "\n") + return removed + + +def main() -> int: + total, files = 0, 0 + for f in sorted(COMMUNITIES.glob("*.yaml")): + n = drop_file(f) + if n: + files += 1 + total += n + print(f" -{n:2d} {f.name}") + tag = "[DRY] " if DRY else "" + print(f"\n{tag}dropped {total} generic obsolete-GO entries across {files} files") + return 0 + + +if __name__ == "__main__": + raise SystemExit(main())