AlphaAmylase

Definition

alpha-amylase

Examples:
- α-amylase: starch + H2O → maltose + maltotriose + dextrins
- β-amylase: starch + H2O → maltose (from non-reducing ends)
- Glucoamylase: starch + H2O → glucose
- Pullulanase: pullulan + H2O → maltotriose

Performance Metrics

0.000
F1 Score
0.000
Precision
0.000
Recall
1.000
Accuracy
0.000
MCC
1.000
Specificity

Confusion Matrix

0
True Positives
1
False Positives
0
False Negatives
3483
True Negatives

Classification Code

alpha_amylase.py:24
Class-level declarative context used by the classifier, including identifiers, evidence requirements, and pattern definitions.
GO_ID = "GO:0004556"  # alpha-amylase activity

    EC_NUMBER_PREFIX = "3.2.1.1"  # Alpha-amylase

    PATTERNS: list[Reaction] = [
        # Starch hydrolysis: starch + H2O → maltose + oligomers
        var("starch") + p(water) >> var("maltose") + var("oligomers") + optional(h_plus),
        # Glycogen hydrolysis: glycogen + H2O → glucose + maltose
        var("glycogen") + p(water) >> var("glucose") + var("maltose") + optional(h_plus),
        # Maltose production: polysaccharide + H2O → maltose units
        var("polysaccharide") + p(water) >> var("maltose1") + var("maltose2") + optional(h_plus),
        # Complete hydrolysis: starch + H2O → glucose
        var("starch") + p(water) >> var("glucose") + optional(h_plus),
        # Pullulan hydrolysis: pullulan + H2O → maltotriose
        var("pullulan") + p(water) >> var("maltotriose") + optional(h_plus),
    ]
alpha_amylase.py:41
Imperative membership logic. This often calls the declarative class attributes shown above.
    def check_membership_impl(self, reaction: Reaction) -> ClassificationResult:
        """Check if reaction is an amylase using pattern matching.

        Strategy:
        1. Must be a glycosidase (parent class)
        2. Must involve starch, glycogen, or α-1,4-glucan substrates
        3. Must use water for hydrolysis
        4. Must produce glucose, maltose, or glucose oligomers
        """
        # First check if it's a glycosidase
        parent_result = super().check_membership_impl(reaction)
        if not parent_result.is_member:
            return ClassificationResult(
                is_member=False,
                explanation=f"Not a glycosidase: {parent_result.explanation}",
            )

        ReactionDiff(reaction)

        # Must use water as reactant
        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 reactant - not starch hydrolysis"
            )

        # Look for starch and related substrates

        starch_chebi = {
            "CHEBI:28017",  # starch
            "CHEBI:28604",  # glycogen
            "CHEBI:17992",  # amylose
        }

        has_starch_substrate = any(
            p.chebi_id in starch_chebi
            for p in reaction.left_participants
        )

        if not has_starch_substrate:
            return ClassificationResult(
                is_member=False,
                explanation="No starch or α-1,4-glucan substrate detected"
            )

        # Look for glucose/maltose products

        glucose_chebi = {
            "CHEBI:4167",   # glucose
            "CHEBI:17634",  # glucose
            "CHEBI:17306",  # maltose
        }

        any(
            p.chebi_id in glucose_chebi
            for p in reaction.right_participants
        )

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

        explanation = "Amylase: α-1,4-glucan hydrolysis"

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

        return ClassificationResult(is_member=True, explanation=explanation)

Detailed Results

▶ False Positives 1
RHEA:33795 [GO:0004556]: sucrose + H2O = beta-D-fructose + alpha-D-glucose
Amylase: α-1,4-glucan hydrolysis [pattern matched]
▶ True Negatives 3483
RHEA:10000 [GO:0004556]: pentanamide + H2O = pentanoate + NH4(+)
Not a glycosidase: No carbohydrate/sugar substrates or products detected
RHEA:10008 [GO:0004556]: a hydroperoxide + [protein]-dithiol = [protein]-disulfide + an alcohol + H2O
Not a glycosidase: Not a hydrolase: No water reactant - not hydrolysis
RHEA:10012 [GO:0004556]: (R)-6-hydroxynicotine + O2 + H2O = 6-hydroxypseudooxynicotine + H2O2
Not a glycosidase: Not a hydrolase: Pattern doesn't match expected hydrolysis transformation
RHEA:10016 [GO:0004556]: O-sinapoylcholine + H2O = (E)-sinapate + choline + H(+)
Not a glycosidase: No carbohydrate/sugar substrates or products detected
RHEA:10020 [GO:0004556]: L-saccharopine + NADP(+) + H2O = (S)-2-amino-6-oxohexanoate + L-glutamate + NADPH + H(+)
Not a glycosidase: Not a hydrolase: Pattern doesn't match expected hydrolysis transformation
RHEA:10024 [GO:0004556]: L-lysyl-[histone] + S-adenosyl-L-methionine = N(6)-methyl-L-lysyl-[histone] + S-adenosyl-L-homocysteine + H(+)
Not a glycosidase: Not a hydrolase: No water reactant - not hydrolysis
RHEA:10028 [GO:0004556]: D-glutamate + O2 + H2O = H2O2 + 2-oxoglutarate + NH4(+)
Not a glycosidase: Not a hydrolase: Pattern doesn't match expected hydrolysis transformation
RHEA:10032 [GO:0004556]: [protein]-C-terminal-L-glutamine + H2O = [protein]-C-terminal-L-glutamate + NH4(+)
Not a glycosidase: No carbohydrate/sugar substrates or products detected
RHEA:10036 [GO:0004556]: 4-hydroxy-3-methoxy-benzenemethanol + O2 = vanillin + H2O2
Not a glycosidase: Not a hydrolase: No water reactant - not hydrolysis
RHEA:10040 [GO:0004556]: adenosine 3',5'-bisphosphate + H2O = AMP + phosphate
Not a glycosidase: No carbohydrate/sugar substrates or products detected
RHEA:10044 [GO:0004556]: cyclohexanol + NAD(+) = cyclohexanone + NADH + H(+)
Not a glycosidase: Not a hydrolase: No water reactant - not hydrolysis
RHEA:10048 [GO:0004556]: O-acetyl-L-homoserine + methanethiol = L-methionine + acetate + H(+)
Not a glycosidase: Not a hydrolase: No water reactant - not hydrolysis
RHEA:10052 [GO:0004556]: (2R)-hydroxy-4-methylpentanoate + NAD(+) = 4-methyl-2-oxopentanoate + NADH + H(+)
Not a glycosidase: Not a hydrolase: No water reactant - not hydrolysis
RHEA:10056 [GO:0004556]: (3S)-3-aminobutanoyl-CoA = (2E)-butenoyl-CoA + NH4(+)
Not a glycosidase: Not a hydrolase: No water reactant - not hydrolysis
RHEA:10060 [GO:0004556]: D-tryptophan + acetyl-CoA = N-acetyl-D-tryptophan + CoA + H(+)
Not a glycosidase: Not a hydrolase: No water reactant - not hydrolysis
RHEA:10064 [GO:0004556]: (6R)-5,10-methylene-5,6,7,8-tetrahydrofolate + D-alanine + H2O = 2-methylserine + (6S)-5,6,7,8-tetrahydrofolate
Not a glycosidase: Not a hydrolase: Pattern doesn't match expected hydrolysis transformation
RHEA:10072 [GO:0004556]: N,N-dimethylglycine + S-adenosyl-L-methionine = glycine betaine + S-adenosyl-L-homocysteine + H(+)
Not a glycosidase: Not a hydrolase: No water reactant - not hydrolysis
RHEA:10076 [GO:0004556]: lactose + H2O = beta-D-galactose + D-glucose
No starch or α-1,4-glucan substrate detected
RHEA:10080 [GO:0004556]: dihydrophloroglucinol + NADP(+) = 1,3,5-trihydroxybenzene + NADPH
Not a glycosidase: Not a hydrolase: No water reactant - not hydrolysis
RHEA:10084 [GO:0004556]: 3,4-dihydroxybenzoate + O2 = 3-carboxy-cis,cis-muconate + 2 H(+)
Not a glycosidase: Not a hydrolase: No water reactant - not hydrolysis
RHEA:10088 [GO:0004556]: sucrose + UDP-alpha-D-galactose = 6(F)-alpha-D-galactosylsucrose + UDP + H(+)
Not a glycosidase: Not a hydrolase: No water reactant - not hydrolysis
RHEA:10092 [GO:0004556]: a 2'-deoxyribonucleoside 3'-phosphate + H2O = a 2'-deoxyribonucleoside + phosphate
Not a glycosidase: No carbohydrate/sugar substrates or products detected
RHEA:10104 [GO:0004556]: gibberellin A20 + 2-oxoglutarate + O2 = gibberellin A1 + succinate + CO2
Not a glycosidase: Not a hydrolase: No water reactant - not hydrolysis
RHEA:10108 [GO:0004556]: (7S)-salutaridinol + NADP(+) = salutaridine + NADPH + H(+)
Not a glycosidase: Not a hydrolase: No water reactant - not hydrolysis
RHEA:10112 [GO:0004556]: L-homocysteine + L-serine = L,L-cystathionine + H2O
Not a glycosidase: Not a hydrolase: No water reactant - not hydrolysis
RHEA:10116 [GO:0004556]: 6-phospho-D-gluconate + NADP(+) = D-ribulose 5-phosphate + CO2 + NADPH
Not a glycosidase: Not a hydrolase: No water reactant - not hydrolysis
RHEA:10124 [GO:0004556]: phenylacetone + NADPH + O2 + H(+) = benzyl acetate + NADP(+) + H2O
Not a glycosidase: Not a hydrolase: No water reactant - not hydrolysis
RHEA:10128 [GO:0004556]: all-trans-violaxanthin = all-trans-neoxanthin
Not a glycosidase: Not a hydrolase: No water reactant - not hydrolysis
RHEA:10132 [GO:0004556]: benzoate + ATP + CoA = benzoyl-CoA + AMP + diphosphate
Not a glycosidase: Not a hydrolase: No water reactant - not hydrolysis
RHEA:10136 [GO:0004556]: 2 glyoxylate + H(+) = 2-hydroxy-3-oxopropanoate + CO2
Not a glycosidase: Not a hydrolase: No water reactant - not hydrolysis
RHEA:10140 [GO:0004556]: prostaglandin F2alpha + NADP(+) = prostaglandin D2 + NADPH + H(+)
Not a glycosidase: Not a hydrolase: No water reactant - not hydrolysis
RHEA:10148 [GO:0004556]: blasticidin S + H2O + H(+) = deaminohydroxyblasticidin S + NH4(+)
Not a glycosidase: Not a hydrolase: Pattern doesn't match expected hydrolysis transformation
RHEA:10152 [GO:0004556]: hydrogencarbonate + NH4(+) + ATP = carbamoyl phosphate + ADP + H2O + H(+)
Not a glycosidase: Not a hydrolase: No water reactant - not hydrolysis
RHEA:10156 [GO:0004556]: dihydrochelirubine + reduced [NADPH--hemoprotein reductase] + O2 = 12-hydroxydihydrochelirubine + oxidized [NADPH--hemoprotein reductase] + H2O + H(+)
Not a glycosidase: Not a hydrolase: No water reactant - not hydrolysis
RHEA:10160 [GO:0004556]: L-iditol + NAD(+) = keto-L-sorbose + NADH + H(+)
Not a glycosidase: Not a hydrolase: No water reactant - not hydrolysis
RHEA:10164 [GO:0004556]: (2R)-2-phosphoglycerate = phosphoenolpyruvate + H2O
Not a glycosidase: Not a hydrolase: No water reactant - not hydrolysis
RHEA:10168 [GO:0004556]: 15,16-dihydrobiliverdin + oxidized 2[4Fe-4S]-[ferredoxin] = biliverdin IXalpha + reduced 2[4Fe-4S]-[ferredoxin] + 2 H(+)
Not a glycosidase: Not a hydrolase: No water reactant - not hydrolysis
RHEA:10172 [GO:0004556]: (3R)-hydroxybutanoate dimer + H2O = 2 (R)-3-hydroxybutanoate + H(+)
Not a glycosidase: No carbohydrate/sugar substrates or products detected
RHEA:10180 [GO:0004556]: (6R)-10-formyltetrahydrofolate + NADP(+) + H2O = (6S)-5,6,7,8-tetrahydrofolate + CO2 + NADPH + H(+)
Not a glycosidase: Not a hydrolase: Pattern doesn't match expected hydrolysis transformation
RHEA:10184 [GO:0004556]: (4,5-dihydro-5-oxofuran-2-yl)-acetate + H2O = 3-oxoadipate + H(+)
Not a glycosidase: No carbohydrate/sugar substrates or products detected
RHEA:10188 [GO:0004556]: acetoacetyl-CoA + acetyl-CoA + H2O = (3S)-3-hydroxy-3-methylglutaryl-CoA + CoA + H(+)
Not a glycosidase: Not a hydrolase: Pattern doesn't match expected hydrolysis transformation
RHEA:10192 [GO:0004556]: sulfate(out) + ATP + H2O = sulfate(in) + ADP + phosphate + H(+)
Not a glycosidase: Not a hydrolase: Pattern doesn't match expected hydrolysis transformation
RHEA:10196 [GO:0004556]: (1R,6R)-6-hydroxy-2-succinyl-cyclohexa-2,4-diene-1-carboxylate = 2-succinylbenzoate + H2O
Not a glycosidase: Not a hydrolase: No water reactant - not hydrolysis
RHEA:10200 [GO:0004556]: butanoate + NAD(+) = (2E)-2-butenoate + NADH + H(+)
Not a glycosidase: Not a hydrolase: No water reactant - not hydrolysis
RHEA:10204 [GO:0004556]: dimethylamine + oxidized [electron-transfer flavoprotein] + H2O + H(+) = methylamine + reduced [electron-transfer flavoprotein] + formaldehyde
Not a glycosidase: Not a hydrolase: Pattern doesn't match expected hydrolysis transformation
RHEA:10208 [GO:0004556]: an N-terminal L-alpha-aminoacyl-[protein] + L-arginyl-tRNA(Arg) = an N-terminal L-arginyl-L-aminoacyl-[protein] + tRNA(Arg) + H(+)
Not a glycosidase: Not a hydrolase: No water reactant - not hydrolysis
RHEA:10212 [GO:0004556]: 5-aminopentanoate + 2-oxoglutarate = 5-oxopentanoate + L-glutamate
Not a glycosidase: Not a hydrolase: No water reactant - not hydrolysis
RHEA:10216 [GO:0004556]: [DNA-directed RNA polymerase] + ATP = phospho-[DNA-directed RNA polymerase] + ADP + H(+)
Not a glycosidase: Not a hydrolase: No water reactant - not hydrolysis
RHEA:10220 [GO:0004556]: tRNA(Tyr) + L-tyrosine + ATP = L-tyrosyl-tRNA(Tyr) + AMP + diphosphate + H(+)
Not a glycosidase: Not a hydrolase: No water reactant - not hydrolysis
RHEA:10224 [GO:0004556]: pyridoxal + ATP = pyridoxal 5'-phosphate + ADP + H(+)
Not a glycosidase: Not a hydrolase: No water reactant - not hydrolysis
... and 3433 more (showing 50 of 3483)