PrimaryMethylamineOxidase

Definition

primary methylamine oxidase

GO:0008131 "primary methylamine oxidase activity" covers:
- Monoamine oxidases (MAO-A, MAO-B): serotonin, dopamine, etc.
- Amino acid oxidases: D/L-glutamate, D/L-aspartate oxidases
- Amine oxidases: cyclohexylamine oxidase, etc.

All produce H2O2 as characteristic product (flavin-dependent).

Performance Metrics

0.545
F1 Score
0.429
Precision
0.750
Recall
0.997
Accuracy
0.566
MCC
0.998
Specificity

Confusion Matrix

6
True Positives
8
False Positives
2
False Negatives
3468
True Negatives

Classification Code

primary_methylamine_oxidase.py:45
Class-level declarative context used by the classifier, including identifiers, evidence requirements, and pattern definitions.
GO_ID = "GO:0008131"  # primary methylamine oxidase activity

    EC_NUMBER_PREFIX = "1.4.3.21"  # primary methylamine oxidase activity

    PATTERNS: list[Reaction] = [
        # Classic MAO: amine + FAD + O2 + H2O → aldehyde + NH3 + FADH2 + H2O2
        var("monoamine") + var("FAD") + p(oxygen) + p(water)
        >> var("aldehyde") + p(ammonia) + var("FADH2") + var("hydrogen_peroxide"),
        # Simplified without explicit cofactors
        var("monoamine") + p(oxygen) + p(water)
        >> var("aldehyde") + p(ammonia) + var("hydrogen_peroxide"),
        # With different cofactor states
        var("monoamine") + var("cofactor") + p(oxygen) + optional(water)
        >> var("aldehyde") + p(ammonia) + var("cofactor_reduced") + var("hydrogen_peroxide"),
    ]
primary_methylamine_oxidase.py:61
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 primary amine oxidase.

        PRIMARY AMINE OXIDASE SIGNATURE (GO:0008131):
        1. Must consume O2 (oxidative reaction)
        2. Must produce H2O2 (characteristic of flavin-dependent oxidases)
        3. Must produce NH4+/NH3 (from deamination)

        This covers monoamine oxidases AND amino acid oxidases.
        """
        # Use RHEA label for pattern matching
        label_lower = reaction.label.lower() if reaction.label else ""
        label_parts = label_lower.split("=")
        product_str = label_parts[1] if len(label_parts) > 1 else ""

        # Must consume O2
        has_oxygen = any(
            p.chebi_id == CHEBI_O2 for p in reaction.left_participants
        )

        if not has_oxygen:
            return ClassificationResult(
                is_member=False,
                explanation="No O2 reactant - requires molecular oxygen"
            )

        # Must produce H2O2 (THE characteristic product of flavin-dependent amine oxidases)
        has_hydrogen_peroxide = any(
            p.chebi_id == CHEBI_H2O2
            for p in reaction.right_participants
        )

        if not has_hydrogen_peroxide:
            return ClassificationResult(
                is_member=False,
                explanation="No H2O2 product - amine oxidases produce hydrogen peroxide"
            )

        # Must produce NH4+ or NH3 (from deamination)
        # Use ChEBI IDs primarily, label as fallback
        CHEBI_NH4 = "CHEBI:28938"  # ammonium
        has_ammonia_product = any(
            p.chebi_id in {CHEBI_NH3, CHEBI_NH4}
            for p in reaction.right_participants
        ) or any(x in product_str for x in ["ammonia", "ammonium", "nh4(+)", "nh3"])

        if not has_ammonia_product:
            return ClassificationResult(
                is_member=False,
                explanation="No NH4+/NH3 product - no deamination"
            )

        # The combination of O2 + H2O2 + NH4+ is highly specific for amine oxidases
        return ClassificationResult(
            is_member=True,
            explanation="Primary amine oxidase: O2 + amine → H2O2 + NH4+ + keto product"
        )

Detailed Results

▶ True Positives 6
RHEA:10028 [GO:0008131]: D-glutamate + O2 + H2O = H2O2 + 2-oxoglutarate + NH4(+)
Primary amine oxidase: O2 + amine → H2O2 + NH4+ + keto product
RHEA:12512 [GO:0008131]: D-aspartate + O2 + H2O = oxaloacetate + H2O2 + NH4(+)
Primary amine oxidase: O2 + amine → H2O2 + NH4+ + keto product
RHEA:14437 [GO:0008131]: L-lysine + O2 + H2O = 6-amino-2-oxohexanoate + H2O2 + NH4(+)
Primary amine oxidase: O2 + amine → H2O2 + NH4+ + keto product
RHEA:18433 [GO:0008131]: cyclohexylamine + O2 + H2O = cyclohexanone + H2O2 + NH4(+)
Primary amine oxidase: O2 + amine → H2O2 + NH4+ + keto product
RHEA:20728 [GO:0008131]: L-glutamate + O2 + H2O = H2O2 + 2-oxoglutarate + NH4(+)
Primary amine oxidase: O2 + amine → H2O2 + NH4+ + keto product
RHEA:22548 [GO:0008131]: L-lysine + O2 + H2O = (S)-2-amino-6-oxohexanoate + H2O2 + NH4(+)
Primary amine oxidase: O2 + amine → H2O2 + NH4+ + keto product
▶ False Positives 8
RHEA:11532 [GO:0008131]: glycine + O2 + H2O = glyoxylate + H2O2 + NH4(+)
Primary amine oxidase: O2 + amine → H2O2 + NH4+ + keto product
RHEA:15817 [GO:0008131]: pyridoxamine 5'-phosphate + O2 + H2O = pyridoxal 5'-phosphate + H2O2 + NH4(+)
Primary amine oxidase: O2 + amine → H2O2 + NH4+ + keto product
RHEA:18273 [GO:0008131]: putrescine + O2 + H2O = 4-aminobutanal + H2O2 + NH4(+)
Primary amine oxidase: O2 + amine → H2O2 + NH4+ + keto product
RHEA:18581 [GO:0008131]: ethanolamine + O2 + H2O = glycolaldehyde + H2O2 + NH4(+)
Primary amine oxidase: O2 + amine → H2O2 + NH4+ + keto product
RHEA:22688 [GO:0008131]: D-alanine + O2 + H2O = pyruvate + H2O2 + NH4(+)
Primary amine oxidase: O2 + amine → H2O2 + NH4+ + keto product
RHEA:24544 [GO:0008131]: L-lysyl-[protein] + O2 + H2O = (S)-2-amino-6-oxohexanoyl-[protein] + H2O2 + NH4(+)
Primary amine oxidase: O2 + amine → H2O2 + NH4+ + keto product
RHEA:25625 [GO:0008131]: histamine + O2 + H2O = imidazole-4-acetaldehyde + H2O2 + NH4(+)
Primary amine oxidase: O2 + amine → H2O2 + NH4+ + keto product
RHEA:30895 [GO:0008131]: propane-1,3-diamine + O2 + H2O = 3-aminopropanal + H2O2 + NH4(+)
Primary amine oxidase: O2 + amine → H2O2 + NH4+ + keto product
▶ False Negatives 2
RHEA:25876 [GO:0008131]: L-aspartate + O2 = iminosuccinate + H2O2
No NH4+/NH3 product - no deamination
RHEA:30043 [GO:0008131]: fumarate + L-aspartate = iminosuccinate + succinate
No O2 reactant - requires molecular oxygen
▶ True Negatives 3468
RHEA:10000 [GO:0008131]: pentanamide + H2O = pentanoate + NH4(+)
No O2 reactant - requires molecular oxygen
RHEA:10008 [GO:0008131]: a hydroperoxide + [protein]-dithiol = [protein]-disulfide + an alcohol + H2O
No O2 reactant - requires molecular oxygen
RHEA:10012 [GO:0008131]: (R)-6-hydroxynicotine + O2 + H2O = 6-hydroxypseudooxynicotine + H2O2
No NH4+/NH3 product - no deamination
RHEA:10016 [GO:0008131]: O-sinapoylcholine + H2O = (E)-sinapate + choline + H(+)
No O2 reactant - requires molecular oxygen
RHEA:10020 [GO:0008131]: L-saccharopine + NADP(+) + H2O = (S)-2-amino-6-oxohexanoate + L-glutamate + NADPH + H(+)
No O2 reactant - requires molecular oxygen
RHEA:10024 [GO:0008131]: L-lysyl-[histone] + S-adenosyl-L-methionine = N(6)-methyl-L-lysyl-[histone] + S-adenosyl-L-homocysteine + H(+)
No O2 reactant - requires molecular oxygen
RHEA:10032 [GO:0008131]: [protein]-C-terminal-L-glutamine + H2O = [protein]-C-terminal-L-glutamate + NH4(+)
No O2 reactant - requires molecular oxygen
RHEA:10036 [GO:0008131]: 4-hydroxy-3-methoxy-benzenemethanol + O2 = vanillin + H2O2
No NH4+/NH3 product - no deamination
RHEA:10040 [GO:0008131]: adenosine 3',5'-bisphosphate + H2O = AMP + phosphate
No O2 reactant - requires molecular oxygen
RHEA:10044 [GO:0008131]: cyclohexanol + NAD(+) = cyclohexanone + NADH + H(+)
No O2 reactant - requires molecular oxygen
RHEA:10048 [GO:0008131]: O-acetyl-L-homoserine + methanethiol = L-methionine + acetate + H(+)
No O2 reactant - requires molecular oxygen
RHEA:10052 [GO:0008131]: (2R)-hydroxy-4-methylpentanoate + NAD(+) = 4-methyl-2-oxopentanoate + NADH + H(+)
No O2 reactant - requires molecular oxygen
RHEA:10056 [GO:0008131]: (3S)-3-aminobutanoyl-CoA = (2E)-butenoyl-CoA + NH4(+)
No O2 reactant - requires molecular oxygen
RHEA:10060 [GO:0008131]: D-tryptophan + acetyl-CoA = N-acetyl-D-tryptophan + CoA + H(+)
No O2 reactant - requires molecular oxygen
RHEA:10064 [GO:0008131]: (6R)-5,10-methylene-5,6,7,8-tetrahydrofolate + D-alanine + H2O = 2-methylserine + (6S)-5,6,7,8-tetrahydrofolate
No O2 reactant - requires molecular oxygen
RHEA:10072 [GO:0008131]: N,N-dimethylglycine + S-adenosyl-L-methionine = glycine betaine + S-adenosyl-L-homocysteine + H(+)
No O2 reactant - requires molecular oxygen
RHEA:10076 [GO:0008131]: lactose + H2O = beta-D-galactose + D-glucose
No O2 reactant - requires molecular oxygen
RHEA:10080 [GO:0008131]: dihydrophloroglucinol + NADP(+) = 1,3,5-trihydroxybenzene + NADPH
No O2 reactant - requires molecular oxygen
RHEA:10084 [GO:0008131]: 3,4-dihydroxybenzoate + O2 = 3-carboxy-cis,cis-muconate + 2 H(+)
No H2O2 product - amine oxidases produce hydrogen peroxide
RHEA:10088 [GO:0008131]: sucrose + UDP-alpha-D-galactose = 6(F)-alpha-D-galactosylsucrose + UDP + H(+)
No O2 reactant - requires molecular oxygen
RHEA:10092 [GO:0008131]: a 2'-deoxyribonucleoside 3'-phosphate + H2O = a 2'-deoxyribonucleoside + phosphate
No O2 reactant - requires molecular oxygen
RHEA:10104 [GO:0008131]: gibberellin A20 + 2-oxoglutarate + O2 = gibberellin A1 + succinate + CO2
No H2O2 product - amine oxidases produce hydrogen peroxide
RHEA:10108 [GO:0008131]: (7S)-salutaridinol + NADP(+) = salutaridine + NADPH + H(+)
No O2 reactant - requires molecular oxygen
RHEA:10112 [GO:0008131]: L-homocysteine + L-serine = L,L-cystathionine + H2O
No O2 reactant - requires molecular oxygen
RHEA:10116 [GO:0008131]: 6-phospho-D-gluconate + NADP(+) = D-ribulose 5-phosphate + CO2 + NADPH
No O2 reactant - requires molecular oxygen
RHEA:10124 [GO:0008131]: phenylacetone + NADPH + O2 + H(+) = benzyl acetate + NADP(+) + H2O
No H2O2 product - amine oxidases produce hydrogen peroxide
RHEA:10128 [GO:0008131]: all-trans-violaxanthin = all-trans-neoxanthin
No O2 reactant - requires molecular oxygen
RHEA:10132 [GO:0008131]: benzoate + ATP + CoA = benzoyl-CoA + AMP + diphosphate
No O2 reactant - requires molecular oxygen
RHEA:10136 [GO:0008131]: 2 glyoxylate + H(+) = 2-hydroxy-3-oxopropanoate + CO2
No O2 reactant - requires molecular oxygen
RHEA:10140 [GO:0008131]: prostaglandin F2alpha + NADP(+) = prostaglandin D2 + NADPH + H(+)
No O2 reactant - requires molecular oxygen
RHEA:10148 [GO:0008131]: blasticidin S + H2O + H(+) = deaminohydroxyblasticidin S + NH4(+)
No O2 reactant - requires molecular oxygen
RHEA:10152 [GO:0008131]: hydrogencarbonate + NH4(+) + ATP = carbamoyl phosphate + ADP + H2O + H(+)
No O2 reactant - requires molecular oxygen
RHEA:10156 [GO:0008131]: dihydrochelirubine + reduced [NADPH--hemoprotein reductase] + O2 = 12-hydroxydihydrochelirubine + oxidized [NADPH--hemoprotein reductase] + H2O + H(+)
No H2O2 product - amine oxidases produce hydrogen peroxide
RHEA:10160 [GO:0008131]: L-iditol + NAD(+) = keto-L-sorbose + NADH + H(+)
No O2 reactant - requires molecular oxygen
RHEA:10164 [GO:0008131]: (2R)-2-phosphoglycerate = phosphoenolpyruvate + H2O
No O2 reactant - requires molecular oxygen
RHEA:10168 [GO:0008131]: 15,16-dihydrobiliverdin + oxidized 2[4Fe-4S]-[ferredoxin] = biliverdin IXalpha + reduced 2[4Fe-4S]-[ferredoxin] + 2 H(+)
No O2 reactant - requires molecular oxygen
RHEA:10172 [GO:0008131]: (3R)-hydroxybutanoate dimer + H2O = 2 (R)-3-hydroxybutanoate + H(+)
No O2 reactant - requires molecular oxygen
RHEA:10180 [GO:0008131]: (6R)-10-formyltetrahydrofolate + NADP(+) + H2O = (6S)-5,6,7,8-tetrahydrofolate + CO2 + NADPH + H(+)
No O2 reactant - requires molecular oxygen
RHEA:10184 [GO:0008131]: (4,5-dihydro-5-oxofuran-2-yl)-acetate + H2O = 3-oxoadipate + H(+)
No O2 reactant - requires molecular oxygen
RHEA:10188 [GO:0008131]: acetoacetyl-CoA + acetyl-CoA + H2O = (3S)-3-hydroxy-3-methylglutaryl-CoA + CoA + H(+)
No O2 reactant - requires molecular oxygen
RHEA:10192 [GO:0008131]: sulfate(out) + ATP + H2O = sulfate(in) + ADP + phosphate + H(+)
No O2 reactant - requires molecular oxygen
RHEA:10196 [GO:0008131]: (1R,6R)-6-hydroxy-2-succinyl-cyclohexa-2,4-diene-1-carboxylate = 2-succinylbenzoate + H2O
No O2 reactant - requires molecular oxygen
RHEA:10200 [GO:0008131]: butanoate + NAD(+) = (2E)-2-butenoate + NADH + H(+)
No O2 reactant - requires molecular oxygen
RHEA:10204 [GO:0008131]: dimethylamine + oxidized [electron-transfer flavoprotein] + H2O + H(+) = methylamine + reduced [electron-transfer flavoprotein] + formaldehyde
No O2 reactant - requires molecular oxygen
RHEA:10208 [GO:0008131]: an N-terminal L-alpha-aminoacyl-[protein] + L-arginyl-tRNA(Arg) = an N-terminal L-arginyl-L-aminoacyl-[protein] + tRNA(Arg) + H(+)
No O2 reactant - requires molecular oxygen
RHEA:10212 [GO:0008131]: 5-aminopentanoate + 2-oxoglutarate = 5-oxopentanoate + L-glutamate
No O2 reactant - requires molecular oxygen
RHEA:10216 [GO:0008131]: [DNA-directed RNA polymerase] + ATP = phospho-[DNA-directed RNA polymerase] + ADP + H(+)
No O2 reactant - requires molecular oxygen
RHEA:10220 [GO:0008131]: tRNA(Tyr) + L-tyrosine + ATP = L-tyrosyl-tRNA(Tyr) + AMP + diphosphate + H(+)
No O2 reactant - requires molecular oxygen
RHEA:10224 [GO:0008131]: pyridoxal + ATP = pyridoxal 5'-phosphate + ADP + H(+)
No O2 reactant - requires molecular oxygen
RHEA:10232 [GO:0008131]: 5,6-dihydrouridine 5'-phosphate + diphosphate = 5,6-dihydrouracil + 5-phospho-alpha-D-ribose 1-diphosphate
No O2 reactant - requires molecular oxygen
... and 3418 more (showing 50 of 3468)

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 2
These reactions lack direct GO support in the benchmark, but their EC annotations already support this class.
RHEA:25265: 2-phenylethylamine + O2 + H2O = 2-phenylacetaldehyde + H2O2 + NH4(+)
EC annotation: EC:1.4.3.21
Primary amine oxidase: O2 + amine → H2O2 + NH4+ + keto product
RHEA:35107: 3-nitrotyramine + O2 + H2O = 4-hydroxy-3-nitrophenylacetaldehyde + H2O2 + NH4(+)
EC annotation: EC:1.4.3.21
Primary amine oxidase: O2 + amine → H2O2 + NH4+ + keto product