RNAPolymerase

Definition

Classifier for RNA polymerase reactions.

RNA polymerases synthesize RNA by adding ribonucleotides:
RNA(n) + NTP -> RNA(n+1) + PPi (diphosphate)
RNA(n) + NDP <=> RNA(n+1) + Pi (phosphate)

Key features detected:
1. RNA polymer on both sides with growth (n -> n+1)
2. RNA nucleotide substrate (NTP or NDP)
3. Pyrophosphate or phosphate product

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
0
False Positives
1
False Negatives
3483
True Negatives

Classification Code

rna_polymerase.py:52
Class-level declarative context used by the classifier, including identifiers, evidence requirements, and pattern definitions.
GO_ID = "GO:0097747"  # RNA polymerase activity

    EC_NUMBERS = ["2.7.7.6", "2.7.7.8", "2.7.7.48"]

    EC_NUMBER_PREFIX = None  # Don't use prefix matching
rna_polymerase.py:56
Imperative membership logic. This often calls the declarative class attributes shown above.
    def check_membership_impl(self, reaction: Reaction) -> ClassificationResult:
        """Check if reaction is catalyzed by an RNA polymerase.

        Detects:
        - RNA polymer growth (n -> n+1 or n+1 -> n for reverse)
        - RNA nucleotide triphosphate/diphosphate substrate
        - Pyrophosphate/phosphate product
        """
        # Use RHEA label for pattern matching
        label_lower = reaction.label.lower() if reaction.label else ""

        # Check for RNA polymer participants
        left_polymer = self._find_rna_polymer(reaction.left_participants, label_lower)
        right_polymer = self._find_rna_polymer(reaction.right_participants, label_lower)

        if not left_polymer or not right_polymer:
            return ClassificationResult(
                is_member=False,
                explanation="No RNA polymer found on both sides"
            )

        # Check for polymer growth pattern
        left_idx = left_polymer.polymer_index
        right_idx = right_polymer.polymer_index
        # Determine polymer name from label or polymer_type
        if "rna" in label_lower:
            polymer_name = "RNA"
        elif left_polymer.polymer_type:
            polymer_name = str(left_polymer.polymer_type.value)
        else:
            polymer_name = "RNA"

        if not left_idx or not right_idx:
            return ClassificationResult(
                is_member=False,
                explanation="Polymer missing (n) index notation"
            )

        # Determine growth direction
        growth = self._check_polymer_growth(left_idx, right_idx)

        if growth == "forward":
            # n → n+1: synthesis
            explanation = f"RNA polymerase: {polymer_name}({left_idx}) + nucleotide -> {polymer_name}({right_idx})"
        elif growth == "reverse":
            PH7
            explanation = f"RNA polymerase (reverse): {polymer_name}({left_idx}) -> {polymer_name}({right_idx}) + nucleotide"
        else:
            return ClassificationResult(
                is_member=False,
                explanation=f"No polymer growth pattern: {left_idx} vs {right_idx}"
            )

        PH8
        has_nucleotide = self._has_nucleotide(reaction)
        if not has_nucleotide:
            return ClassificationResult(
                is_member=False,
                explanation="No RNA nucleotide (NTP/NDP) found"
            )

        PH9
        has_phosphate = self._has_phosphate_product(reaction)
        if not has_phosphate:
            return ClassificationResult(
                is_member=False,
                explanation="No phosphate/diphosphate product found"
            )

        return ClassificationResult(
            is_member=True,
            explanation=explanation
        )

Detailed Results

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