HydrolaseActingOnCarbonCarbonBondsInKetonicSubstances

Definition

hydrolase acting on carbon-carbon bonds in ketonic substances.

Catalysis of the hydrolysis of carbon-carbon bonds in ketonic substances.

Performance Metrics

0.455
F1 Score
1.000
Precision
0.294
Recall
0.997
Accuracy
0.541
MCC
1.000
Specificity

Confusion Matrix

5
True Positives
0
False Positives
12
False Negatives
3467
True Negatives

Classification Code

hydrolase_acting_on_carbon_carbon_bonds_in_ketonic_substances.py:11
Imperative membership logic. This often calls the declarative class attributes shown above.
    def check_membership_impl(self, reaction: Reaction) -> ClassificationResult:
        """Check if reaction is a C-C hydrolase.

        Strategy:
        1. Must use water as substrate
        2. Products should be two smaller carbon-containing fragments
        3. Look for characteristic diketone/keto-acid substrates
        """
        # Use RHEA label for pattern matching (not p.name which has ChEBI generic names)
        label_lower = reaction.label.lower() if reaction.label else ""
        label_parts = label_lower.split("=")
        substrate_str = label_parts[0] if label_parts else ""
        product_str = label_parts[1] if len(label_parts) > 1 else ""

        # Must use water
        has_water = any(
            p.chebi_id == CHEBI_H2O
            for p in reaction.left_participants
        )

        if not has_water:
            return ClassificationResult(
                is_member=False,
                explanation="No water substrate - C-C hydrolases are hydrolases"
            )

        # Check for characteristic substrates - ChEBI ID primary
        has_cc_substrate_chebi = any(
            p.chebi_id in {CHEBI_FUMARYLACETOACETATE, CHEBI_ACETYLPYRUVATE}
            for p in reaction.left_participants
        )

        # Fallback: label pattern matching
        cc_hydrolase_substrates = [
            "fumarylacetoacetate", "acetylpyruvate", "kynurenine",
            "oxaloacetate", "oxalosuccinate", "isocitrate",
            "dione", "diketone", "oxo"
        ]
        has_cc_substrate_label = any(s in substrate_str for s in cc_hydrolase_substrates)
        has_cc_substrate = has_cc_substrate_chebi or has_cc_substrate_label

        # Check for characteristic products (two carboxylic acids or ketones)
        carboxylic_products = [
            "acetate", "fumarate", "pyruvate", "oxalate",
            "succinate", "malate", "formate", "acetoacetate",
            "anthranilate", "alanine"
        ]
        product_matches = sum(1 for cp in carboxylic_products if cp in product_str)

        # Exclude reactions that release NH4+ (these are usually lyases or deaminases)
        has_nh4 = any(x in product_str for x in ["ammonium", "nh4", "ammonia"])

        if has_nh4:
            return ClassificationResult(
                is_member=False,
                explanation="Releases NH4+ - lyase or deaminase, not C-C hydrolase"
            )

        # Exclude thioesterases (release CoA)
        if "coa" in product_str:
            return ClassificationResult(
                is_member=False,
                explanation="Thioesterase (releases CoA) - not C-C hydrolase"
            )

        # Exclude esterases (produce alcohol + carboxylic acid from ester)
        ester_patterns = ["methyl ester", "ethyl ester", "acetoxy"]
        if any(ep in substrate_str for ep in ester_patterns):
            return ClassificationResult(
                is_member=False,
                explanation="Esterase - not C-C hydrolase"
            )

        # Exclude amidases (C-N cleavage, not C-C)
        amide_patterns = ["acetylaryl", "acetylamin", "amide"]
        if any(ap in substrate_str for ap in amide_patterns):
            return ClassificationResult(
                is_member=False,
                explanation="Amidase (C-N cleavage) - not C-C hydrolase"
            )

        # Exclude sulfur-containing reactions (H2S release)
        if "sulfide" in product_str or "h2s" in product_str:
            return ClassificationResult(
                is_member=False,
                explanation="Sulfur lyase - not C-C hydrolase"
            )

        # C-C hydrolysis typically produces two distinct fragments
        if has_cc_substrate and product_matches >= 2:
            # Find which substrate pattern matched for explanation
            matched_substrate = next(
                (s for s in cc_hydrolase_substrates if s in substrate_str),
                "diketone"
            )
            return ClassificationResult(
                is_member=True,
                explanation=f"C-C hydrolase: {matched_substrate} cleavage"
            )

        return ClassificationResult(
            is_member=False,
            explanation="No C-C bond hydrolysis pattern"
        )

Detailed Results

▶ True Positives 5
RHEA:10244 [GO:0016823]: 4-fumarylacetoacetate + H2O = acetoacetate + fumarate + H(+)
C-C hydrolase: fumarylacetoacetate cleavage
RHEA:16097 [GO:0016823]: acetylpyruvate + H2O = acetate + pyruvate + H(+)
C-C hydrolase: acetylpyruvate cleavage
RHEA:16813 [GO:0016823]: L-kynurenine + H2O = anthranilate + L-alanine + H(+)
C-C hydrolase: kynurenine cleavage
RHEA:24432 [GO:0016823]: oxaloacetate + H2O = oxalate + acetate + H(+)
C-C hydrolase: oxaloacetate cleavage
RHEA:25143 [GO:0016823]: 3-hydroxy-L-kynurenine + H2O = 3-hydroxyanthranilate + L-alanine + H(+)
C-C hydrolase: kynurenine cleavage
▶ False Negatives 12
RHEA:11908 [GO:0016823]: nonane-4,6-dione + H2O = pentan-2-one + butanoate + H(+)
No C-C bond hydrolysis pattern
RHEA:14549 [GO:0016823]: (2Z,4E)-2-hydroxy-6-oxohexa-2,4-dienoate + H2O = 2-oxopent-4-enoate + formate + H(+)
No C-C bond hydrolysis pattern
RHEA:16473 [GO:0016823]: cyclohexane-1,3-dione + H2O = 5-oxohexanoate + H(+)
No C-C bond hydrolysis pattern
RHEA:17161 [GO:0016823]: 2,6-dioxo-6-phenylhexa-3-enoate + H2O = 2-oxopent-4-enoate + benzoate + H(+)
No C-C bond hydrolysis pattern
RHEA:23396 [GO:0016823]: phloretin + H2O = phloretate + 1,3,5-trihydroxybenzene + H(+)
No C-C bond hydrolysis pattern
RHEA:25836 [GO:0016823]: 3D-3,5/4-trihydroxycyclohexane-1,2-dione + H2O = 5-deoxy-D-glucuronate + H(+)
No C-C bond hydrolysis pattern
RHEA:26168 [GO:0016823]: 3-fumarylpyruvate + H2O = fumarate + pyruvate + H(+)
No C-C bond hydrolysis pattern
RHEA:26281 [GO:0016823]: Co-precorrin-5A + H2O = Co-precorrin-5B + acetaldehyde + H(+)
No C-C bond hydrolysis pattern
RHEA:27870 [GO:0016823]: (2E,4E)-6-(2-aminophenyl)-2-hydroxy-6-oxohexa-2,4-dienoate + H2O = (2E)-2-hydroxypenta-2,4-dienoate + anthranilate + H(+)
No C-C bond hydrolysis pattern
RHEA:32035 [GO:0016823]: (1E,2Z)-3-hydroxy-5,9,17-trioxo-4,5:9,10-disecoandrosta-1(10),2-dien-4-oate + H2O = 3-[(3aS,4S,7aS)-7a-methyl-1,5-dioxo-octahydro-1H-inden-4-yl]propanoate + (2Z,4Z)-2-hydroxyhexa-2,4-dienoate + H(+)
No C-C bond hydrolysis pattern
RHEA:34187 [GO:0016823]: (2Z,4E)-2-hydroxy-6-oxonona-2,4-dienedioate + H2O = (2Z)-2-hydroxypenta-2,4-dienoate + succinate + H(+)
No C-C bond hydrolysis pattern
RHEA:34191 [GO:0016823]: (2Z,4E,7E)-2-hydroxy-6-oxonona-2,4,7-trienedioate + H2O = (2Z)-2-hydroxypenta-2,4-dienoate + fumarate + H(+)
No C-C bond hydrolysis pattern
▶ True Negatives 3467
RHEA:10000 [GO:0016823]: pentanamide + H2O = pentanoate + NH4(+)
Releases NH4+ - lyase or deaminase, not C-C hydrolase
RHEA:10008 [GO:0016823]: a hydroperoxide + [protein]-dithiol = [protein]-disulfide + an alcohol + H2O
No water substrate - C-C hydrolases are hydrolases
RHEA:10012 [GO:0016823]: (R)-6-hydroxynicotine + O2 + H2O = 6-hydroxypseudooxynicotine + H2O2
No C-C bond hydrolysis pattern
RHEA:10016 [GO:0016823]: O-sinapoylcholine + H2O = (E)-sinapate + choline + H(+)
No C-C bond hydrolysis pattern
RHEA:10020 [GO:0016823]: L-saccharopine + NADP(+) + H2O = (S)-2-amino-6-oxohexanoate + L-glutamate + NADPH + H(+)
No C-C bond hydrolysis pattern
RHEA:10024 [GO:0016823]: L-lysyl-[histone] + S-adenosyl-L-methionine = N(6)-methyl-L-lysyl-[histone] + S-adenosyl-L-homocysteine + H(+)
No water substrate - C-C hydrolases are hydrolases
RHEA:10028 [GO:0016823]: D-glutamate + O2 + H2O = H2O2 + 2-oxoglutarate + NH4(+)
Releases NH4+ - lyase or deaminase, not C-C hydrolase
RHEA:10032 [GO:0016823]: [protein]-C-terminal-L-glutamine + H2O = [protein]-C-terminal-L-glutamate + NH4(+)
Releases NH4+ - lyase or deaminase, not C-C hydrolase
RHEA:10036 [GO:0016823]: 4-hydroxy-3-methoxy-benzenemethanol + O2 = vanillin + H2O2
No water substrate - C-C hydrolases are hydrolases
RHEA:10040 [GO:0016823]: adenosine 3',5'-bisphosphate + H2O = AMP + phosphate
No C-C bond hydrolysis pattern
RHEA:10044 [GO:0016823]: cyclohexanol + NAD(+) = cyclohexanone + NADH + H(+)
No water substrate - C-C hydrolases are hydrolases
RHEA:10048 [GO:0016823]: O-acetyl-L-homoserine + methanethiol = L-methionine + acetate + H(+)
No water substrate - C-C hydrolases are hydrolases
RHEA:10052 [GO:0016823]: (2R)-hydroxy-4-methylpentanoate + NAD(+) = 4-methyl-2-oxopentanoate + NADH + H(+)
No water substrate - C-C hydrolases are hydrolases
RHEA:10056 [GO:0016823]: (3S)-3-aminobutanoyl-CoA = (2E)-butenoyl-CoA + NH4(+)
No water substrate - C-C hydrolases are hydrolases
RHEA:10060 [GO:0016823]: D-tryptophan + acetyl-CoA = N-acetyl-D-tryptophan + CoA + H(+)
No water substrate - C-C hydrolases are hydrolases
RHEA:10064 [GO:0016823]: (6R)-5,10-methylene-5,6,7,8-tetrahydrofolate + D-alanine + H2O = 2-methylserine + (6S)-5,6,7,8-tetrahydrofolate
No C-C bond hydrolysis pattern
RHEA:10072 [GO:0016823]: N,N-dimethylglycine + S-adenosyl-L-methionine = glycine betaine + S-adenosyl-L-homocysteine + H(+)
No water substrate - C-C hydrolases are hydrolases
RHEA:10076 [GO:0016823]: lactose + H2O = beta-D-galactose + D-glucose
No C-C bond hydrolysis pattern
RHEA:10080 [GO:0016823]: dihydrophloroglucinol + NADP(+) = 1,3,5-trihydroxybenzene + NADPH
No water substrate - C-C hydrolases are hydrolases
RHEA:10084 [GO:0016823]: 3,4-dihydroxybenzoate + O2 = 3-carboxy-cis,cis-muconate + 2 H(+)
No water substrate - C-C hydrolases are hydrolases
RHEA:10088 [GO:0016823]: sucrose + UDP-alpha-D-galactose = 6(F)-alpha-D-galactosylsucrose + UDP + H(+)
No water substrate - C-C hydrolases are hydrolases
RHEA:10092 [GO:0016823]: a 2'-deoxyribonucleoside 3'-phosphate + H2O = a 2'-deoxyribonucleoside + phosphate
No C-C bond hydrolysis pattern
RHEA:10104 [GO:0016823]: gibberellin A20 + 2-oxoglutarate + O2 = gibberellin A1 + succinate + CO2
No water substrate - C-C hydrolases are hydrolases
RHEA:10108 [GO:0016823]: (7S)-salutaridinol + NADP(+) = salutaridine + NADPH + H(+)
No water substrate - C-C hydrolases are hydrolases
RHEA:10112 [GO:0016823]: L-homocysteine + L-serine = L,L-cystathionine + H2O
No water substrate - C-C hydrolases are hydrolases
RHEA:10116 [GO:0016823]: 6-phospho-D-gluconate + NADP(+) = D-ribulose 5-phosphate + CO2 + NADPH
No water substrate - C-C hydrolases are hydrolases
RHEA:10124 [GO:0016823]: phenylacetone + NADPH + O2 + H(+) = benzyl acetate + NADP(+) + H2O
No water substrate - C-C hydrolases are hydrolases
RHEA:10128 [GO:0016823]: all-trans-violaxanthin = all-trans-neoxanthin
No water substrate - C-C hydrolases are hydrolases
RHEA:10132 [GO:0016823]: benzoate + ATP + CoA = benzoyl-CoA + AMP + diphosphate
No water substrate - C-C hydrolases are hydrolases
RHEA:10136 [GO:0016823]: 2 glyoxylate + H(+) = 2-hydroxy-3-oxopropanoate + CO2
No water substrate - C-C hydrolases are hydrolases
RHEA:10140 [GO:0016823]: prostaglandin F2alpha + NADP(+) = prostaglandin D2 + NADPH + H(+)
No water substrate - C-C hydrolases are hydrolases
RHEA:10148 [GO:0016823]: blasticidin S + H2O + H(+) = deaminohydroxyblasticidin S + NH4(+)
Releases NH4+ - lyase or deaminase, not C-C hydrolase
RHEA:10152 [GO:0016823]: hydrogencarbonate + NH4(+) + ATP = carbamoyl phosphate + ADP + H2O + H(+)
No water substrate - C-C hydrolases are hydrolases
RHEA:10156 [GO:0016823]: dihydrochelirubine + reduced [NADPH--hemoprotein reductase] + O2 = 12-hydroxydihydrochelirubine + oxidized [NADPH--hemoprotein reductase] + H2O + H(+)
No water substrate - C-C hydrolases are hydrolases
RHEA:10160 [GO:0016823]: L-iditol + NAD(+) = keto-L-sorbose + NADH + H(+)
No water substrate - C-C hydrolases are hydrolases
RHEA:10164 [GO:0016823]: (2R)-2-phosphoglycerate = phosphoenolpyruvate + H2O
No water substrate - C-C hydrolases are hydrolases
RHEA:10168 [GO:0016823]: 15,16-dihydrobiliverdin + oxidized 2[4Fe-4S]-[ferredoxin] = biliverdin IXalpha + reduced 2[4Fe-4S]-[ferredoxin] + 2 H(+)
No water substrate - C-C hydrolases are hydrolases
RHEA:10172 [GO:0016823]: (3R)-hydroxybutanoate dimer + H2O = 2 (R)-3-hydroxybutanoate + H(+)
No C-C bond hydrolysis pattern
RHEA:10180 [GO:0016823]: (6R)-10-formyltetrahydrofolate + NADP(+) + H2O = (6S)-5,6,7,8-tetrahydrofolate + CO2 + NADPH + H(+)
No C-C bond hydrolysis pattern
RHEA:10184 [GO:0016823]: (4,5-dihydro-5-oxofuran-2-yl)-acetate + H2O = 3-oxoadipate + H(+)
No C-C bond hydrolysis pattern
RHEA:10188 [GO:0016823]: acetoacetyl-CoA + acetyl-CoA + H2O = (3S)-3-hydroxy-3-methylglutaryl-CoA + CoA + H(+)
Thioesterase (releases CoA) - not C-C hydrolase
RHEA:10192 [GO:0016823]: sulfate(out) + ATP + H2O = sulfate(in) + ADP + phosphate + H(+)
No C-C bond hydrolysis pattern
RHEA:10196 [GO:0016823]: (1R,6R)-6-hydroxy-2-succinyl-cyclohexa-2,4-diene-1-carboxylate = 2-succinylbenzoate + H2O
No water substrate - C-C hydrolases are hydrolases
RHEA:10200 [GO:0016823]: butanoate + NAD(+) = (2E)-2-butenoate + NADH + H(+)
No water substrate - C-C hydrolases are hydrolases
RHEA:10204 [GO:0016823]: dimethylamine + oxidized [electron-transfer flavoprotein] + H2O + H(+) = methylamine + reduced [electron-transfer flavoprotein] + formaldehyde
No C-C bond hydrolysis pattern
RHEA:10208 [GO:0016823]: an N-terminal L-alpha-aminoacyl-[protein] + L-arginyl-tRNA(Arg) = an N-terminal L-arginyl-L-aminoacyl-[protein] + tRNA(Arg) + H(+)
No water substrate - C-C hydrolases are hydrolases
RHEA:10212 [GO:0016823]: 5-aminopentanoate + 2-oxoglutarate = 5-oxopentanoate + L-glutamate
No water substrate - C-C hydrolases are hydrolases
RHEA:10216 [GO:0016823]: [DNA-directed RNA polymerase] + ATP = phospho-[DNA-directed RNA polymerase] + ADP + H(+)
No water substrate - C-C hydrolases are hydrolases
RHEA:10220 [GO:0016823]: tRNA(Tyr) + L-tyrosine + ATP = L-tyrosyl-tRNA(Tyr) + AMP + diphosphate + H(+)
No water substrate - C-C hydrolases are hydrolases
RHEA:10224 [GO:0016823]: pyridoxal + ATP = pyridoxal 5'-phosphate + ADP + H(+)
No water substrate - C-C hydrolases are hydrolases
... and 3417 more (showing 50 of 3467)