Peroxidase

Definition

peroxidase

Examples:
- Horseradish peroxidase: phenol + H2O2 → phenoxyl radical + 2 H2O
- Myeloperoxidase: Cl- + H2O2 + H+ → HOCl + H2O
- Catalase: 2 H2O2 → 2 H2O + O2
- Glutathione peroxidase: GSH + H2O2 → GSSG + 2 H2O

Performance Metrics

0.957
F1 Score
1.000
Precision
0.917
Recall
1.000
Accuracy
0.957
MCC
1.000
Specificity

Confusion Matrix

11
True Positives
0
False Positives
1
False Negatives
3472
True Negatives

Classification Code

peroxidase.py:31
Class-level declarative context used by the classifier, including identifiers, evidence requirements, and pattern definitions.
GO_ID = "GO:0004601"  # peroxidase activity

    EC_NUMBER_PREFIX = "1.11.1.-"  # Peroxidases

    PATTERNS: list[Reaction] = [
        # General peroxidase: substrate + H2O2 → oxidized substrate + 2 H2O
        var("substrate") + var("h2o2") >> var("oxidized_substrate") + p(water) + p(water),
        # With proton: substrate + H2O2 + H+ → product + 2 H2O
        var("substrate") + var("h2o2") + p(h_plus) >> var("product") + p(water) + p(water),
        # Catalase: 2 H2O2 → 2 H2O + O2
        var("h2o2_1") + var("h2o2_2") >> p(water) + p(water) + var("oxygen"),
        # Haloperoxidase: halide + H2O2 + H+ → hypohalous acid + H2O
        var("halide") + var("h2o2") + p(h_plus) >> var("hypohalous_acid") + p(water),
        # Glutathione peroxidase: 2 GSH + H2O2 → GSSG + 2 H2O
        var("gsh_1") + var("gsh_2") + var("h2o2") >> var("gssg") + p(water) + p(water),
    ]
peroxidase.py:48
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 peroxidase using pattern matching.

        Strategy:
        1. Must be an oxidoreductase (parent class)
        2. Must use hydrogen peroxide (H2O2) as oxidant
        3. Must produce water as product
        4. Look for characteristic peroxidase substrates
        """
        # First check if it's an oxidoreductase
        parent_result = super().check_membership_impl(reaction)
        if not parent_result.is_member:
            return ClassificationResult(
                is_member=False,
                explanation=f"Not an oxidoreductase: {parent_result.explanation}",
            )

        ReactionDiff(reaction)

        # Must use hydrogen peroxide as substrate
        h2o2_indicators = {
            CHEBI_H2O2,  # hydrogen peroxide
        }

        has_h2o2 = any(
            p.chebi_id in h2o2_indicators
            for p in reaction.left_participants
        )

        if not has_h2o2:
            return ClassificationResult(
                is_member=False,
                explanation="No hydrogen peroxide - not peroxidase"
            )

        # Must produce water (most peroxidases reduce H2O2 to H2O)
        has_water_product = any(
            p.chebi_id == CHEBI_H2O
            for p in reaction.right_participants
        )

        if not has_water_product:
            return ClassificationResult(
                is_member=False,
                explanation="No water product - H2O2 not reduced"
            )

        # Look for peroxidase substrates

        peroxidase_chebi = {
            "CHEBI:15882",  # phenol
            "CHEBI:16856",  # glutathione
            "CHEBI:29985",  # L-glutamate (in some peroxidases)
        }

        has_peroxidase_substrate = any(
            p.chebi_id in peroxidase_chebi
            for p in reaction.left_participants
        )

        # Apply exclusions before classifying as peroxidase

        # Exclude oxygenases (use O2, not H2O2)
        has_oxygen_substrate = any(
            p.chebi_id == CHEBI_O2
            for p in reaction.left_participants
        )

        if has_oxygen_substrate:
            return ClassificationResult(
                is_member=False,
                explanation="Uses O2 - oxygenase, not peroxidase"
            )

        # Exclude oxidases (produce H2O2, don't consume it)
        # Check if H2O2 is produced rather than consumed
        h2o2_product_count = sum(
            1 for p in reaction.right_participants
            if p.chebi_id in h2o2_indicators
        )

        if h2o2_product_count > 0:
            return ClassificationResult(
                is_member=False,
                explanation="Produces H2O2 - oxidase, not peroxidase"
            )

        # Exclude hydrolases (primarily use water as substrate, not H2O2)
        has_water_substrate = any(
            p.chebi_id == CHEBI_H2O
            for p in reaction.left_participants
        )

        if has_water_substrate and not has_peroxidase_substrate:
            return ClassificationResult(
                is_member=False,
                explanation="Hydrolase - not peroxidase"
            )

        # Try to match patterns
        match = match_patterns(reaction, self.PATTERNS, strict=False)

        explanation = "Peroxidase: H2O2-dependent oxidation"

        # Check for special catalase reaction (H2O2 → H2O + O2)
        has_oxygen_product = any(
            p.chebi_id == CHEBI_O2
            for p in reaction.right_participants
        )

        if has_oxygen_product and len(reaction.left_participants) <= 2:
            explanation += " [catalase dismutation]"

        if match.matched:
            explanation += " [pattern matched]"

        return ClassificationResult(is_member=True, explanation=explanation)

Detailed Results

▶ True Positives 11
RHEA:15173 [GO:0004601]: H2O2 + NADPH + H(+) = NADP(+) + 2 H2O
Peroxidase: H2O2-dependent oxidation [pattern matched]
RHEA:16581 [GO:0004601]: 2 Fe(II)-[cytochrome c] + H2O2 + 2 H(+) = 2 Fe(III)-[cytochrome c] + 2 H2O
Peroxidase: H2O2-dependent oxidation [pattern matched]
RHEA:16833 [GO:0004601]: 2 glutathione + H2O2 = glutathione disulfide + 2 H2O
Peroxidase: H2O2-dependent oxidation [pattern matched]
RHEA:18509 [GO:0004601]: H2O2 + NADH + H(+) = NAD(+) + 2 H2O
Peroxidase: H2O2-dependent oxidation [pattern matched]
RHEA:20309 [GO:0004601]: 2 H2O2 = O2 + 2 H2O
Peroxidase: H2O2-dependent oxidation [catalase dismutation] [pattern matched]
RHEA:22396 [GO:0004601]: 1-(4-hydroxy-3-methoxyphenyl)-2-(2-methoxyphenoxy)propane-1,3-diol + H2O2 = guaiacol + vanillin + glycolaldehyde + H2O
Peroxidase: H2O2-dependent oxidation
RHEA:22776 [GO:0004601]: 2 Mn(2+) + H2O2 + 2 H(+) = 2 Mn(3+) + 2 H2O
Peroxidase: H2O2-dependent oxidation [pattern matched]
RHEA:22996 [GO:0004601]: L-ascorbate + H2O2 = L-dehydroascorbate + 2 H2O
Peroxidase: H2O2-dependent oxidation [pattern matched]
RHEA:23336 [GO:0004601]: 2 iodide + H2O2 + 2 H(+) = diiodine + 2 H2O
Peroxidase: H2O2-dependent oxidation [pattern matched]
RHEA:23960 [GO:0004601]: hexadecanoate + 2 H2O2 + H(+) = pentadecanal + CO2 + 3 H2O
Peroxidase: H2O2-dependent oxidation [pattern matched]
RHEA:30271 [GO:0004601]: 2 (3,4-dimethoxyphenyl)methanol + H2O2 = 2 (3,4-dimethoxyphenyl)methanol radical + 2 H2O
Peroxidase: H2O2-dependent oxidation [pattern matched]
▶ False Negatives 1
RHEA:10008 [GO:0004601]: a hydroperoxide + [protein]-dithiol = [protein]-disulfide + an alcohol + H2O
Not an oxidoreductase: No redox cofactors or patterns detected
▶ True Negatives 3472
RHEA:10000 [GO:0004601]: pentanamide + H2O = pentanoate + NH4(+)
Not an oxidoreductase: No redox cofactors or patterns detected
RHEA:10012 [GO:0004601]: (R)-6-hydroxynicotine + O2 + H2O = 6-hydroxypseudooxynicotine + H2O2
No hydrogen peroxide - not peroxidase
RHEA:10016 [GO:0004601]: O-sinapoylcholine + H2O = (E)-sinapate + choline + H(+)
Not an oxidoreductase: No redox cofactors or patterns detected
RHEA:10020 [GO:0004601]: L-saccharopine + NADP(+) + H2O = (S)-2-amino-6-oxohexanoate + L-glutamate + NADPH + H(+)
No hydrogen peroxide - not peroxidase
RHEA:10024 [GO:0004601]: L-lysyl-[histone] + S-adenosyl-L-methionine = N(6)-methyl-L-lysyl-[histone] + S-adenosyl-L-homocysteine + H(+)
Not an oxidoreductase: No redox cofactors or patterns detected
RHEA:10028 [GO:0004601]: D-glutamate + O2 + H2O = H2O2 + 2-oxoglutarate + NH4(+)
No hydrogen peroxide - not peroxidase
RHEA:10032 [GO:0004601]: [protein]-C-terminal-L-glutamine + H2O = [protein]-C-terminal-L-glutamate + NH4(+)
Not an oxidoreductase: No redox cofactors or patterns detected
RHEA:10036 [GO:0004601]: 4-hydroxy-3-methoxy-benzenemethanol + O2 = vanillin + H2O2
No hydrogen peroxide - not peroxidase
RHEA:10040 [GO:0004601]: adenosine 3',5'-bisphosphate + H2O = AMP + phosphate
Not an oxidoreductase: No redox cofactors or patterns detected
RHEA:10044 [GO:0004601]: cyclohexanol + NAD(+) = cyclohexanone + NADH + H(+)
No hydrogen peroxide - not peroxidase
RHEA:10048 [GO:0004601]: O-acetyl-L-homoserine + methanethiol = L-methionine + acetate + H(+)
Not an oxidoreductase: No redox cofactors or patterns detected
RHEA:10052 [GO:0004601]: (2R)-hydroxy-4-methylpentanoate + NAD(+) = 4-methyl-2-oxopentanoate + NADH + H(+)
No hydrogen peroxide - not peroxidase
RHEA:10056 [GO:0004601]: (3S)-3-aminobutanoyl-CoA = (2E)-butenoyl-CoA + NH4(+)
Not an oxidoreductase: No redox cofactors or patterns detected
RHEA:10060 [GO:0004601]: D-tryptophan + acetyl-CoA = N-acetyl-D-tryptophan + CoA + H(+)
Not an oxidoreductase: No redox cofactors or patterns detected
RHEA:10064 [GO:0004601]: (6R)-5,10-methylene-5,6,7,8-tetrahydrofolate + D-alanine + H2O = 2-methylserine + (6S)-5,6,7,8-tetrahydrofolate
Not an oxidoreductase: No redox cofactors or patterns detected
RHEA:10072 [GO:0004601]: N,N-dimethylglycine + S-adenosyl-L-methionine = glycine betaine + S-adenosyl-L-homocysteine + H(+)
Not an oxidoreductase: No redox cofactors or patterns detected
RHEA:10076 [GO:0004601]: lactose + H2O = beta-D-galactose + D-glucose
Not an oxidoreductase: No redox cofactors or patterns detected
RHEA:10080 [GO:0004601]: dihydrophloroglucinol + NADP(+) = 1,3,5-trihydroxybenzene + NADPH
No hydrogen peroxide - not peroxidase
RHEA:10084 [GO:0004601]: 3,4-dihydroxybenzoate + O2 = 3-carboxy-cis,cis-muconate + 2 H(+)
No hydrogen peroxide - not peroxidase
RHEA:10088 [GO:0004601]: sucrose + UDP-alpha-D-galactose = 6(F)-alpha-D-galactosylsucrose + UDP + H(+)
Not an oxidoreductase: No redox cofactors or patterns detected
RHEA:10092 [GO:0004601]: a 2'-deoxyribonucleoside 3'-phosphate + H2O = a 2'-deoxyribonucleoside + phosphate
Not an oxidoreductase: No redox cofactors or patterns detected
RHEA:10104 [GO:0004601]: gibberellin A20 + 2-oxoglutarate + O2 = gibberellin A1 + succinate + CO2
No hydrogen peroxide - not peroxidase
RHEA:10108 [GO:0004601]: (7S)-salutaridinol + NADP(+) = salutaridine + NADPH + H(+)
No hydrogen peroxide - not peroxidase
RHEA:10112 [GO:0004601]: L-homocysteine + L-serine = L,L-cystathionine + H2O
Not an oxidoreductase: No redox cofactors or patterns detected
RHEA:10116 [GO:0004601]: 6-phospho-D-gluconate + NADP(+) = D-ribulose 5-phosphate + CO2 + NADPH
No hydrogen peroxide - not peroxidase
RHEA:10124 [GO:0004601]: phenylacetone + NADPH + O2 + H(+) = benzyl acetate + NADP(+) + H2O
No hydrogen peroxide - not peroxidase
RHEA:10128 [GO:0004601]: all-trans-violaxanthin = all-trans-neoxanthin
Not an oxidoreductase: No redox cofactors or patterns detected
RHEA:10132 [GO:0004601]: benzoate + ATP + CoA = benzoyl-CoA + AMP + diphosphate
Not an oxidoreductase: No redox cofactors or patterns detected
RHEA:10136 [GO:0004601]: 2 glyoxylate + H(+) = 2-hydroxy-3-oxopropanoate + CO2
Not an oxidoreductase: No redox cofactors or patterns detected
RHEA:10140 [GO:0004601]: prostaglandin F2alpha + NADP(+) = prostaglandin D2 + NADPH + H(+)
No hydrogen peroxide - not peroxidase
RHEA:10148 [GO:0004601]: blasticidin S + H2O + H(+) = deaminohydroxyblasticidin S + NH4(+)
Not an oxidoreductase: No redox cofactors or patterns detected
RHEA:10152 [GO:0004601]: hydrogencarbonate + NH4(+) + ATP = carbamoyl phosphate + ADP + H2O + H(+)
Not an oxidoreductase: No redox cofactors or patterns detected
RHEA:10156 [GO:0004601]: dihydrochelirubine + reduced [NADPH--hemoprotein reductase] + O2 = 12-hydroxydihydrochelirubine + oxidized [NADPH--hemoprotein reductase] + H2O + H(+)
No hydrogen peroxide - not peroxidase
RHEA:10160 [GO:0004601]: L-iditol + NAD(+) = keto-L-sorbose + NADH + H(+)
No hydrogen peroxide - not peroxidase
RHEA:10164 [GO:0004601]: (2R)-2-phosphoglycerate = phosphoenolpyruvate + H2O
Not an oxidoreductase: No redox cofactors or patterns detected
RHEA:10168 [GO:0004601]: 15,16-dihydrobiliverdin + oxidized 2[4Fe-4S]-[ferredoxin] = biliverdin IXalpha + reduced 2[4Fe-4S]-[ferredoxin] + 2 H(+)
Not an oxidoreductase: No redox cofactors or patterns detected
RHEA:10172 [GO:0004601]: (3R)-hydroxybutanoate dimer + H2O = 2 (R)-3-hydroxybutanoate + H(+)
Not an oxidoreductase: No redox cofactors or patterns detected
RHEA:10180 [GO:0004601]: (6R)-10-formyltetrahydrofolate + NADP(+) + H2O = (6S)-5,6,7,8-tetrahydrofolate + CO2 + NADPH + H(+)
No hydrogen peroxide - not peroxidase
RHEA:10184 [GO:0004601]: (4,5-dihydro-5-oxofuran-2-yl)-acetate + H2O = 3-oxoadipate + H(+)
Not an oxidoreductase: No redox cofactors or patterns detected
RHEA:10188 [GO:0004601]: acetoacetyl-CoA + acetyl-CoA + H2O = (3S)-3-hydroxy-3-methylglutaryl-CoA + CoA + H(+)
Not an oxidoreductase: No redox cofactors or patterns detected
RHEA:10192 [GO:0004601]: sulfate(out) + ATP + H2O = sulfate(in) + ADP + phosphate + H(+)
Not an oxidoreductase: No redox cofactors or patterns detected
RHEA:10196 [GO:0004601]: (1R,6R)-6-hydroxy-2-succinyl-cyclohexa-2,4-diene-1-carboxylate = 2-succinylbenzoate + H2O
Not an oxidoreductase: No redox cofactors or patterns detected
RHEA:10200 [GO:0004601]: butanoate + NAD(+) = (2E)-2-butenoate + NADH + H(+)
No hydrogen peroxide - not peroxidase
RHEA:10204 [GO:0004601]: dimethylamine + oxidized [electron-transfer flavoprotein] + H2O + H(+) = methylamine + reduced [electron-transfer flavoprotein] + formaldehyde
No hydrogen peroxide - not peroxidase
RHEA:10208 [GO:0004601]: an N-terminal L-alpha-aminoacyl-[protein] + L-arginyl-tRNA(Arg) = an N-terminal L-arginyl-L-aminoacyl-[protein] + tRNA(Arg) + H(+)
Not an oxidoreductase: No redox cofactors or patterns detected
RHEA:10212 [GO:0004601]: 5-aminopentanoate + 2-oxoglutarate = 5-oxopentanoate + L-glutamate
Not an oxidoreductase: No redox cofactors or patterns detected
RHEA:10216 [GO:0004601]: [DNA-directed RNA polymerase] + ATP = phospho-[DNA-directed RNA polymerase] + ADP + H(+)
Not an oxidoreductase: No redox cofactors or patterns detected
RHEA:10220 [GO:0004601]: tRNA(Tyr) + L-tyrosine + ATP = L-tyrosyl-tRNA(Tyr) + AMP + diphosphate + H(+)
Not an oxidoreductase: No redox cofactors or patterns detected
RHEA:10224 [GO:0004601]: pyridoxal + ATP = pyridoxal 5'-phosphate + ADP + H(+)
Not an oxidoreductase: No redox cofactors or patterns detected
RHEA:10232 [GO:0004601]: 5,6-dihydrouridine 5'-phosphate + diphosphate = 5,6-dihydrouracil + 5-phospho-alpha-D-ribose 1-diphosphate
Not an oxidoreductase: No redox cofactors or patterns detected
... and 3422 more (showing 50 of 3472)

Positives Without Direct GO Support

Positive rule matches on reactions without direct GO support for this class. These matches are partitioned into truly unannotated candidates, EC-backed reactions already consistent with this class, and EC-backed reactions that conflict with this class.
▶ EC-backed, GO-missing positives supporting this class 4
These reactions lack direct GO support in the benchmark, but their EC annotations already support this class.
RHEA:10808: (S)-2-hydroxypropylphosphonate + H2O2 = (1R,2S)-epoxypropylphosphonate + 2 H2O
EC annotation: EC:1.11.1.23
Peroxidase: H2O2-dependent oxidation [pattern matched]
RHEA:27437: 2 glutathione amide + H2O2 = glutathione amide disulfide + 2 H2O
EC annotation: EC:1.11.1.17
Peroxidase: H2O2-dependent oxidation [pattern matched]
RHEA:28086: Reactive Blue 5 + 2 H2O2 = 2,2'-disulfonyl azobenzene + 3-[(4-amino-6-chloro-1,3,5-triazin-2-yl)amino]benzenesulfonate + phthalate + 2 H2O + 2 H(+)
EC annotation: EC:1.11.1.19
Peroxidase: H2O2-dependent oxidation [pattern matched]
RHEA:30275: H2O2 + AH2 = A + 2 H2O
EC annotation: EC:1.11.1.21
Peroxidase: H2O2-dependent oxidation [pattern matched]
▶ EC-backed, GO-missing positives conflicting with this class 2
These reactions lack direct GO support for this class and already carry a different EC assignment. They are useful false-positive review candidates.
RHEA:27393: 2 3-(7-chloroindol-3-yl)-2-iminopropanoate + H2O2 = dichlorochromopyrrolate + NH4(+) + 2 H2O + H(+)
EC annotation: EC:1.21.98.2
Peroxidase: H2O2-dependent oxidation [pattern matched]
RHEA:28218: chloride + H2O2 + H(+) = hypochlorous acid + H2O
EC annotation: EC:1.11.2.2
Peroxidase: H2O2-dependent oxidation [pattern matched]