PhosphoricDiesterHydrolase

Definition

Classifier for phosphoric diester hydrolase reactions.

EC 3.1.4.x includes:
- Phospholipase C: phosphatidylcholine → diacylglycerol + phosphocholine
- Phospholipase D: phosphatidylcholine → phosphatidate + choline
- Cyclic nucleotide phosphodiesterase: cAMP → AMP
- Sphingomyelin phosphodiesterase

Examples:
- Phosphatidylcholine + H2O → DAG + phosphocholine
- cAMP + H2O → AMP

Performance Metrics

0.600
F1 Score
0.750
Precision
0.500
Recall
0.998
Accuracy
0.611
MCC
0.999
Specificity

Confusion Matrix

6
True Positives
2
False Positives
6
False Negatives
3470
True Negatives

Classification Code

phosphoric_diester_hydrolase.py:30
Class-level declarative context used by the classifier, including identifiers, evidence requirements, and pattern definitions.
GO_ID = "GO:0008081"  # phosphoric diester hydrolase activity

    EC_NUMBER_PREFIX = "3.1.4.-"  # Phosphoric diester hydrolases
phosphoric_diester_hydrolase.py:33
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 phosphoric diester hydrolase.

        Strategy:
        1. Must use water as substrate
        2. Look for phosphodiester substrates (phospholipids, cyclic nucleotides)
        3. Products include phosphomonoester + alcohol OR cyclic → linear
        """
        # 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 - phosphoric diester hydrolases are hydrolases"
            )

        # Check for phosphodiester substrates by label patterns
        phosphodiester_patterns = [
            "phosphatidyl", "phospholipid", "sphingomyelin",
            "cyclic amp", "cyclic gmp", "camp", "cgmp",
            "glycero-3-phospho", "phosphocholine",
            "diacyl-sn-glycero-3-phospho"
        ]

        has_phosphodiester = any(pat in substrate_str for pat in phosphodiester_patterns)

        # Check for phospholipase products
        phospholipase_products = [
            "diacylglycerol", "diglyceride", "dag",
            "phosphatidate", "phosphatidic acid",
            "phosphocholine", "phosphoethanolamine",
            "choline", "ethanolamine",
            "ceramide", "sphingosine"
        ]

        has_phospholipase_product = any(pat in product_str for pat in phospholipase_products)

        # Check for cyclic nucleotide phosphodiesterase pattern
        # cAMP → AMP, cGMP → GMP
        cyclic_nucleotides = ["cyclic amp", "cyclic gmp", "camp", "cgmp",
                             "3',5'-cyclic", "adenosine 3',5'-cyclic"]
        linear_nucleotides = ["amp", "gmp", "adenosine 5'-monophosphate",
                             "guanosine 5'-monophosphate"]

        has_cyclic_substrate = any(cn in substrate_str for cn in cyclic_nucleotides)

        has_linear_product = any(ln in product_str for ln in linear_nucleotides)

        if has_phosphodiester and has_phospholipase_product:
            # Determine specific phospholipase type
            if "diacylglycerol" in product_str:
                return ClassificationResult(
                    is_member=True,
                    explanation="Phosphoric diester hydrolase: phospholipase C-type (-> DAG + phospho-alcohol)"
                )
            elif "phosphatidat" in product_str:
                return ClassificationResult(
                    is_member=True,
                    explanation="Phosphoric diester hydrolase: phospholipase D-type (-> phosphatidate + alcohol)"
                )
            else:
                return ClassificationResult(
                    is_member=True,
                    explanation="Phosphoric diester hydrolase: phospholipid hydrolysis"
                )

        if has_cyclic_substrate and has_linear_product:
            return ClassificationResult(
                is_member=True,
                explanation="Phosphoric diester hydrolase: cyclic nucleotide -> linear nucleotide"
            )

        PH11
        if has_phosphodiester:
            return ClassificationResult(
                is_member=True,
                explanation="Phosphoric diester hydrolase: phosphoric diester hydrolysis"
            )

        PH12
        PH13
        glycerophosphodiester_patterns = [
            "glycero-3-phospho",  PH14
            "phosphodiester",
            "glycerophospho",  PH15
        ]

        has_glycerophosphodiester = any(pat in substrate_str for pat in glycerophosphodiester_patterns)

        if has_glycerophosphodiester:
            return ClassificationResult(
                is_member=True,
                explanation="Phosphoric diester hydrolase: glycerophosphodiester hydrolysis"
            )

        PH16
        PH17

        return ClassificationResult(
            is_member=False,
            explanation="No phosphodiester hydrolysis pattern"
        )

Detailed Results

▶ True Positives 6
RHEA:14033 [GO:0008081]: sn-glycero-3-phospho-1D-myo-inositol + H2O = 1D-myo-inositol 1-phosphate + glycerol + H(+)
Phosphoric diester hydrolase: phosphoric diester hydrolysis
RHEA:16061 [GO:0008081]: sn-glycerol 3-phosphocholine + H2O = sn-glycerol 3-phosphate + choline + H(+)
Phosphoric diester hydrolase: phospholipid hydrolysis
RHEA:16501 [GO:0008081]: sn-glycero-3-phospho-1D-myo-inositol + H2O = myo-inositol + sn-glycerol 3-phosphate + H(+)
Phosphoric diester hydrolase: phosphoric diester hydrolysis
RHEA:16957 [GO:0008081]: 3',5'-cyclic GMP + H2O = GMP + H(+)
Phosphoric diester hydrolase: cyclic nucleotide -> linear nucleotide
RHEA:19545 [GO:0008081]: sn-glycerol 3-phosphocholine + H2O = phosphocholine + glycerol + H(+)
Phosphoric diester hydrolase: phospholipid hydrolysis
RHEA:25277 [GO:0008081]: 3',5'-cyclic AMP + H2O = AMP + H(+)
Phosphoric diester hydrolase: cyclic nucleotide -> linear nucleotide
▶ False Positives 2
RHEA:10492 [GO:0008081]: phosphocholine + H2O = choline + phosphate
Phosphoric diester hydrolase: phospholipid hydrolysis
RHEA:22908 [GO:0008081]: 3',5'-cyclic AMP + H2O + H(+) = 3',5'-cyclic IMP + NH4(+)
Phosphoric diester hydrolase: phosphoric diester hydrolysis
▶ False Negatives 6
RHEA:11828 [GO:0008081]: a 3'-end 2',3'-cyclophospho-ribonucleotide-RNA + H2O = a 3'-end 2'-phospho-ribonucleotide-RNA + H(+)
No phosphodiester hydrolysis pattern
RHEA:16493 [GO:0008081]: glycerol 1,2-cyclic phosphate + H2O = glycerol 1-phosphate + H(+)
No phosphodiester hydrolysis pattern
RHEA:17113 [GO:0008081]: L-serine-phosphoethanolamine + H2O = phosphoethanolamine + L-serine + H(+)
No phosphodiester hydrolysis pattern
RHEA:20537 [GO:0008081]: holo-[ACP] + H2O = apo-[ACP] + (R)-4'-phosphopantetheine + H(+)
No phosphodiester hydrolysis pattern
RHEA:24902 [GO:0008081]: 3',3'-c-di-GMP + H2O = 5'-phosphoguanylyl(3'->5')guanosine + H(+)
No phosphodiester hydrolysis pattern
RHEA:34795 [GO:0008081]: alpha-D-ribose 1,2-cyclic phosphate 5-phosphate + H2O = alpha-D-ribose 1,5-bisphosphate + H(+)
No phosphodiester hydrolysis pattern
▶ True Negatives 3470
RHEA:10000 [GO:0008081]: pentanamide + H2O = pentanoate + NH4(+)
No phosphodiester hydrolysis pattern
RHEA:10008 [GO:0008081]: a hydroperoxide + [protein]-dithiol = [protein]-disulfide + an alcohol + H2O
No water substrate - phosphoric diester hydrolases are hydrolases
RHEA:10012 [GO:0008081]: (R)-6-hydroxynicotine + O2 + H2O = 6-hydroxypseudooxynicotine + H2O2
No phosphodiester hydrolysis pattern
RHEA:10016 [GO:0008081]: O-sinapoylcholine + H2O = (E)-sinapate + choline + H(+)
No phosphodiester hydrolysis pattern
RHEA:10020 [GO:0008081]: L-saccharopine + NADP(+) + H2O = (S)-2-amino-6-oxohexanoate + L-glutamate + NADPH + H(+)
No phosphodiester hydrolysis pattern
RHEA:10024 [GO:0008081]: L-lysyl-[histone] + S-adenosyl-L-methionine = N(6)-methyl-L-lysyl-[histone] + S-adenosyl-L-homocysteine + H(+)
No water substrate - phosphoric diester hydrolases are hydrolases
RHEA:10028 [GO:0008081]: D-glutamate + O2 + H2O = H2O2 + 2-oxoglutarate + NH4(+)
No phosphodiester hydrolysis pattern
RHEA:10032 [GO:0008081]: [protein]-C-terminal-L-glutamine + H2O = [protein]-C-terminal-L-glutamate + NH4(+)
No phosphodiester hydrolysis pattern
RHEA:10036 [GO:0008081]: 4-hydroxy-3-methoxy-benzenemethanol + O2 = vanillin + H2O2
No water substrate - phosphoric diester hydrolases are hydrolases
RHEA:10040 [GO:0008081]: adenosine 3',5'-bisphosphate + H2O = AMP + phosphate
No phosphodiester hydrolysis pattern
RHEA:10044 [GO:0008081]: cyclohexanol + NAD(+) = cyclohexanone + NADH + H(+)
No water substrate - phosphoric diester hydrolases are hydrolases
RHEA:10048 [GO:0008081]: O-acetyl-L-homoserine + methanethiol = L-methionine + acetate + H(+)
No water substrate - phosphoric diester hydrolases are hydrolases
RHEA:10052 [GO:0008081]: (2R)-hydroxy-4-methylpentanoate + NAD(+) = 4-methyl-2-oxopentanoate + NADH + H(+)
No water substrate - phosphoric diester hydrolases are hydrolases
RHEA:10056 [GO:0008081]: (3S)-3-aminobutanoyl-CoA = (2E)-butenoyl-CoA + NH4(+)
No water substrate - phosphoric diester hydrolases are hydrolases
RHEA:10060 [GO:0008081]: D-tryptophan + acetyl-CoA = N-acetyl-D-tryptophan + CoA + H(+)
No water substrate - phosphoric diester hydrolases are hydrolases
RHEA:10064 [GO:0008081]: (6R)-5,10-methylene-5,6,7,8-tetrahydrofolate + D-alanine + H2O = 2-methylserine + (6S)-5,6,7,8-tetrahydrofolate
No phosphodiester hydrolysis pattern
RHEA:10072 [GO:0008081]: N,N-dimethylglycine + S-adenosyl-L-methionine = glycine betaine + S-adenosyl-L-homocysteine + H(+)
No water substrate - phosphoric diester hydrolases are hydrolases
RHEA:10076 [GO:0008081]: lactose + H2O = beta-D-galactose + D-glucose
No phosphodiester hydrolysis pattern
RHEA:10080 [GO:0008081]: dihydrophloroglucinol + NADP(+) = 1,3,5-trihydroxybenzene + NADPH
No water substrate - phosphoric diester hydrolases are hydrolases
RHEA:10084 [GO:0008081]: 3,4-dihydroxybenzoate + O2 = 3-carboxy-cis,cis-muconate + 2 H(+)
No water substrate - phosphoric diester hydrolases are hydrolases
RHEA:10088 [GO:0008081]: sucrose + UDP-alpha-D-galactose = 6(F)-alpha-D-galactosylsucrose + UDP + H(+)
No water substrate - phosphoric diester hydrolases are hydrolases
RHEA:10092 [GO:0008081]: a 2'-deoxyribonucleoside 3'-phosphate + H2O = a 2'-deoxyribonucleoside + phosphate
No phosphodiester hydrolysis pattern
RHEA:10104 [GO:0008081]: gibberellin A20 + 2-oxoglutarate + O2 = gibberellin A1 + succinate + CO2
No water substrate - phosphoric diester hydrolases are hydrolases
RHEA:10108 [GO:0008081]: (7S)-salutaridinol + NADP(+) = salutaridine + NADPH + H(+)
No water substrate - phosphoric diester hydrolases are hydrolases
RHEA:10112 [GO:0008081]: L-homocysteine + L-serine = L,L-cystathionine + H2O
No water substrate - phosphoric diester hydrolases are hydrolases
RHEA:10116 [GO:0008081]: 6-phospho-D-gluconate + NADP(+) = D-ribulose 5-phosphate + CO2 + NADPH
No water substrate - phosphoric diester hydrolases are hydrolases
RHEA:10124 [GO:0008081]: phenylacetone + NADPH + O2 + H(+) = benzyl acetate + NADP(+) + H2O
No water substrate - phosphoric diester hydrolases are hydrolases
RHEA:10128 [GO:0008081]: all-trans-violaxanthin = all-trans-neoxanthin
No water substrate - phosphoric diester hydrolases are hydrolases
RHEA:10132 [GO:0008081]: benzoate + ATP + CoA = benzoyl-CoA + AMP + diphosphate
No water substrate - phosphoric diester hydrolases are hydrolases
RHEA:10136 [GO:0008081]: 2 glyoxylate + H(+) = 2-hydroxy-3-oxopropanoate + CO2
No water substrate - phosphoric diester hydrolases are hydrolases
RHEA:10140 [GO:0008081]: prostaglandin F2alpha + NADP(+) = prostaglandin D2 + NADPH + H(+)
No water substrate - phosphoric diester hydrolases are hydrolases
RHEA:10148 [GO:0008081]: blasticidin S + H2O + H(+) = deaminohydroxyblasticidin S + NH4(+)
No phosphodiester hydrolysis pattern
RHEA:10152 [GO:0008081]: hydrogencarbonate + NH4(+) + ATP = carbamoyl phosphate + ADP + H2O + H(+)
No water substrate - phosphoric diester hydrolases are hydrolases
RHEA:10156 [GO:0008081]: dihydrochelirubine + reduced [NADPH--hemoprotein reductase] + O2 = 12-hydroxydihydrochelirubine + oxidized [NADPH--hemoprotein reductase] + H2O + H(+)
No water substrate - phosphoric diester hydrolases are hydrolases
RHEA:10160 [GO:0008081]: L-iditol + NAD(+) = keto-L-sorbose + NADH + H(+)
No water substrate - phosphoric diester hydrolases are hydrolases
RHEA:10164 [GO:0008081]: (2R)-2-phosphoglycerate = phosphoenolpyruvate + H2O
No water substrate - phosphoric diester hydrolases are hydrolases
RHEA:10168 [GO:0008081]: 15,16-dihydrobiliverdin + oxidized 2[4Fe-4S]-[ferredoxin] = biliverdin IXalpha + reduced 2[4Fe-4S]-[ferredoxin] + 2 H(+)
No water substrate - phosphoric diester hydrolases are hydrolases
RHEA:10172 [GO:0008081]: (3R)-hydroxybutanoate dimer + H2O = 2 (R)-3-hydroxybutanoate + H(+)
No phosphodiester hydrolysis pattern
RHEA:10180 [GO:0008081]: (6R)-10-formyltetrahydrofolate + NADP(+) + H2O = (6S)-5,6,7,8-tetrahydrofolate + CO2 + NADPH + H(+)
No phosphodiester hydrolysis pattern
RHEA:10184 [GO:0008081]: (4,5-dihydro-5-oxofuran-2-yl)-acetate + H2O = 3-oxoadipate + H(+)
No phosphodiester hydrolysis pattern
RHEA:10188 [GO:0008081]: acetoacetyl-CoA + acetyl-CoA + H2O = (3S)-3-hydroxy-3-methylglutaryl-CoA + CoA + H(+)
No phosphodiester hydrolysis pattern
RHEA:10192 [GO:0008081]: sulfate(out) + ATP + H2O = sulfate(in) + ADP + phosphate + H(+)
No phosphodiester hydrolysis pattern
RHEA:10196 [GO:0008081]: (1R,6R)-6-hydroxy-2-succinyl-cyclohexa-2,4-diene-1-carboxylate = 2-succinylbenzoate + H2O
No water substrate - phosphoric diester hydrolases are hydrolases
RHEA:10200 [GO:0008081]: butanoate + NAD(+) = (2E)-2-butenoate + NADH + H(+)
No water substrate - phosphoric diester hydrolases are hydrolases
RHEA:10204 [GO:0008081]: dimethylamine + oxidized [electron-transfer flavoprotein] + H2O + H(+) = methylamine + reduced [electron-transfer flavoprotein] + formaldehyde
No phosphodiester hydrolysis pattern
RHEA:10208 [GO:0008081]: 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 - phosphoric diester hydrolases are hydrolases
RHEA:10212 [GO:0008081]: 5-aminopentanoate + 2-oxoglutarate = 5-oxopentanoate + L-glutamate
No water substrate - phosphoric diester hydrolases are hydrolases
RHEA:10216 [GO:0008081]: [DNA-directed RNA polymerase] + ATP = phospho-[DNA-directed RNA polymerase] + ADP + H(+)
No water substrate - phosphoric diester hydrolases are hydrolases
RHEA:10220 [GO:0008081]: tRNA(Tyr) + L-tyrosine + ATP = L-tyrosyl-tRNA(Tyr) + AMP + diphosphate + H(+)
No water substrate - phosphoric diester hydrolases are hydrolases
RHEA:10224 [GO:0008081]: pyridoxal + ATP = pyridoxal 5'-phosphate + ADP + H(+)
No water substrate - phosphoric diester hydrolases are hydrolases
... and 3420 more (showing 50 of 3470)

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:29875: sn-glycero-3-phospho-L-serine + H2O = sn-glycerol 3-phosphate + L-serine + H(+)
EC annotation: EC:3.1.4.46
Phosphoric diester hydrolase: phosphoric diester hydrolysis
RHEA:29907: sn-glycero-3-phospho-(1'-rac-glycerol) + H2O = sn-glycerol 3-phosphate + glycerol + H(+)
EC annotation: EC:3.1.4.46
Phosphoric diester hydrolase: phosphoric diester hydrolysis
RHEA:36203: a 1-O-(1Z-alkenyl)-sn-glycero-3-phosphoethanolamine + H2O = a 1-O-(1Z-alkenyl)-sn-glycero-3-phosphate + ethanolamine + H(+)
EC annotation: EC:3.1.4.39
Phosphoric diester hydrolase: phospholipid hydrolysis
RHEA:36219: a 1-O-(1Z-alkenyl)-2-acyl-sn-glycero-3-phosphoethanolamine + H2O = 1-O-(1Z-alkenyl)-2-acyl-sn-glycero-3-phosphate + ethanolamine + H(+)
EC annotation: EC:3.1.4.4
Phosphoric diester hydrolase: phospholipid hydrolysis
▶ EC-backed, GO-missing positives conflicting with this class 5
These reactions lack direct GO support for this class and already carry a different EC assignment. They are useful false-positive review candidates.
RHEA:16905: a 1-O-(1Z-alkenyl)-sn-glycero-3-phosphoethanolamine + H2O = a 2,3-saturated aldehyde + sn-glycero-3-phosphoethanolamine
EC annotation: EC:3.3.2.2
Phosphoric diester hydrolase: phospholipid hydrolysis
RHEA:30911: a sphingomyelin + H2O = sphing-4-enine-phosphocholine + a carboxylate
EC annotation: EC:3.5.1.109
Phosphoric diester hydrolase: phospholipid hydrolysis
RHEA:33751: a 1,2-diacyl-sn-glycero-3-phospho-(1'-sn-glycero-3'-phosphate) + H2O = a 1,2-diacyl-sn-glycero-3-phospho-(1'-sn-glycerol) + phosphate
EC annotation: EC:3.1.3.27
Phosphoric diester hydrolase: phosphoric diester hydrolysis
RHEA:35263: a 1,2-diacyl-sn-glycero-3-phospho-(1D-myo-inositol) + H2O = a 2-acyl-sn-glycero-3-phospho-D-myo-inositol + a fatty acid + H(+)
EC annotation: EC:3.1.1.118
Phosphoric diester hydrolase: phosphoric diester hydrolysis
RHEA:36231: a 1-O-alkyl-2-acyl-sn-glycero-3-phosphocholine + H2O = a 1-O-alkyl-sn-glycero-3-phosphocholine + a fatty acid + H(+)
EC annotation: EC:3.1.1.4
Phosphoric diester hydrolase: phospholipid hydrolysis