Peptidase

Definition

peptidase

Examples:
- Trypsin: protein + H2O → cleaved protein (after Arg/Lys)
- Pepsin: protein + H2O → peptide fragments (broad specificity)
- Carboxypeptidase: protein + H2O → protein + C-terminal amino acid
- Aminopeptidase: protein + H2O → N-terminal amino acid + protein
- Endopeptidases: internal cleavage of proteins

Performance Metrics

0.235
F1 Score
0.167
Precision
0.400
Recall
0.996
Accuracy
0.257
MCC
0.997
Specificity

Confusion Matrix

2
True Positives
10
False Positives
3
False Negatives
3469
True Negatives

Classification Code

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

    EC_NUMBER_PREFIX = "3.4.-.-"  # Acting on peptide bonds

    PATTERNS: list[Reaction] = [
        # Protein hydrolysis: protein + H2O → fragments + amino acids
        var("protein") + p(water) >> var("fragment1") + var("fragment2") + optional(h_plus),
        # Peptide cleavage: peptide + H2O → shorter peptides
        var("peptide") + p(water) >> var("peptide1") + var("peptide2") + optional(h_plus),
        # Aminopeptidase: protein + H2O → amino acid + shortened protein
        var("protein") + p(water) >> var("amino_acid") + var("shortened_protein") + optional(h_plus),
        # General proteolysis: substrate + H2O → cleaved products
        var("substrate") + p(water) >> var("product1") + var("product2") + var("amino_acid") + optional(h_plus),
    ]
peptidase.py:39
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 peptidase using pattern matching.

        Strategy:
        1. Must be a hydrolase (parent class)
        2. Must use water for hydrolysis
        3. Must involve protein/peptide substrates
        4. Must produce amino acids or peptide fragments
        """
        # First check if it's a hydrolase
        parent_result = super().check_membership_impl(reaction)
        if not parent_result.is_member:
            return ClassificationResult(
                is_member=False,
                explanation=f"Not a hydrolase: {parent_result.explanation}",
            )

        # 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 peptide hydrolysis"
            )

        # Look for protein/peptide substrates

        has_protein_substrate = False

        # Look for amino acid products
        amino_acid_indicators = {
            "CHEBI:33709",  # amino acid
            "CHEBI:15956",  # L-alanine
            "CHEBI:16449",  # L-arginine
            "CHEBI:17196",  # L-asparagine
            "CHEBI:29991",  # L-aspartic acid
            "CHEBI:16828",  # L-cysteine
            "CHEBI:29985",  # L-glutamic acid
            "CHEBI:18050",  # L-glutamine
            "CHEBI:15428",  # L-glycine
            "CHEBI:27132",  # L-histidine
            "CHEBI:16847",  # L-isoleucine
            "CHEBI:25006",  # L-leucine
            "CHEBI:16643",  # L-lysine
            "CHEBI:16811",  # L-methionine
            "CHEBI:17295",  # L-phenylalanine
            "CHEBI:17203",  # L-proline
            "CHEBI:17115",  # L-serine
            "CHEBI:16857",  # L-threonine
            "CHEBI:16828",  # L-tryptophan
            "CHEBI:17895",  # L-tyrosine
            "CHEBI:16414",  # L-valine
        }


        has_amino_acid_product = any(
            p.chebi_id in amino_acid_indicators
            for p in reaction.right_participants
        )

        # Look for peptide fragments
        has_peptide_fragment = False

        if not (has_protein_substrate or has_amino_acid_product or has_peptide_fragment):
            return ClassificationResult(
                is_member=False,
                explanation="No protein/peptide substrate or amino acid products detected"
            )

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

        explanation = "Peptidase: peptide bond hydrolysis"

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

        return ClassificationResult(is_member=True, explanation=explanation)

Detailed Results

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