AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
flow "NucleicAcidOntology" v1.0
ENTITY NucleicAcidOntology {
TYPE: BiologicalOntology
DOMAIN: Biochemistry
SUBJECT: NucleicAcid
PURPOSE: FormalSemanticRepresentation
}
PAGE {
TITLE: "Nucleic Acid Ontology"
PARENT_DOMAIN: "Biochemistry"
CANONICAL_URL: "https://kirethresearch.org/booksai-core/ontologies/biological-ontologies/biochemistry/nucleic-acid-ontology.html"
AUTHORS: ["Mark Anthony Higgins", "Sky Recursive AI"]
}
ENTITY NucleicAcid {
IS_A: BiologicalMacromolecule
COMPOSED_OF: Nucleotide
MAY_BE: [DNA, RNA]
FUNCTIONS_IN: [GeneticInformationStorage, InformationTransfer, Regulation, Catalysis]
}
ENTITY Nucleotide {
IS_A: NucleicAcidMonomer
COMPOSED_OF: [NitrogenousBase, PentoseSugar, PhosphateGroup]
}
ENTITY Nucleoside {
COMPOSED_OF: [NitrogenousBase, PentoseSugar]
LACKS: PhosphateGroup
}
ENTITY NitrogenousBase {
MAY_BE: [Purine, Pyrimidine]
}
ENTITY Purine { MAY_BE: [Adenine, Guanine] }
ENTITY Pyrimidine { MAY_BE: [Cytosine, Thymine, Uracil] }
ENTITY PentoseSugar {
MAY_BE: [Ribose, Deoxyribose]
}
ENTITY PhosphodiesterBond {
CONNECTS: AdjacentNucleotides
FORMS: SugarPhosphateBackbone
}
ENTITY NucleicAcidSequence {
IS_ORDERED_LIST_OF: Nucleotide
HAS: Direction
}
RULE SequenceDirectionRule {
NucleicAcidSequence MUST_BE_REPRESENTED_WITH direction
DEFAULT_DIRECTION: "5-prime to 3-prime"
}
ENTITY DNA {
SUBCLASS_OF: NucleicAcid
STORES: GeneticInformation
TYPICALLY_CONTAINS: [Adenine, Guanine, Cytosine, Thymine]
}
ENTITY DoubleStrandedDNA {
SUBCLASS_OF: DNA
COMPOSED_OF: TwoComplementaryStrands
}
RULE DNABasePairing {
Adenine PAIRS_WITH Thymine
Guanine PAIRS_WITH Cytosine
}
ENTITY RNA {
SUBCLASS_OF: NucleicAcid
TYPICALLY_CONTAINS: [Adenine, Guanine, Cytosine, Uracil]
MAY_BE: [mRNA, tRNA, rRNA, RegulatoryRNA, CatalyticRNA]
}
ENTITY mRNA {
SUBCLASS_OF: RNA
CARRIES: CodingInformation
MAY_BE_TRANSLATED_TO: Polypeptide
}
ENTITY tRNA {
SUBCLASS_OF: RNA
CARRIES: AminoAcid
HAS: Anticodon
}
ENTITY rRNA {
SUBCLASS_OF: RNA
PART_OF: Ribosome
}
ENTITY RegulatoryRNA {
SUBCLASS_OF: RNA
MAY_MODULATE: GeneExpression
}
ENTITY CatalyticRNA {
SUBCLASS_OF: RNA
MAY_CATALYSE: BiochemicalReaction
}
RULE RNABasePairing {
Adenine MAY_PAIR_WITH Uracil
Guanine MAY_PAIR_WITH Cytosine
}
ENTITY SequenceMotif {
IS_A: RecurringNucleotidePattern
MAY_HAVE: StructuralOrFunctionalRole
}
PROCESS DNAReplication {
INPUT: DNA
OUTPUT: DNA
TEMPLATE_DEPENDENT: true
CATALYSED_BY: DNA_Polymerase
}
ENTITY DNA_Polymerase {
IS_A: Enzyme
CATALYSES: DNA_Synthesis
}
PROCESS Transcription {
INPUT: DNA
OUTPUT: RNA
CATALYSED_BY: RNA_Polymerase
}
ENTITY RNA_Polymerase {
IS_A: Enzyme
CATALYSES: RNA_Synthesis
}
PROCESS RNAProcessing {
TARGET: PrimaryRNA
MAY_INCLUDE: [FivePrimeCapping, Splicing, Polyadenylation, RNAEditing]
PRODUCES: ProcessedRNA
}
PROCESS Splicing {
REMOVES: Intron
JOINS: Exon
}
ENTITY Intron {
IS_A: TranscriptRegion
MAY_BE_REMOVED_BY: Splicing
}
ENTITY Exon {
IS_A: TranscriptRegion
MAY_BE_RETAINED_IN: MatureRNA
}
PROCESS Translation {
INPUT: mRNA
OUTPUT: Polypeptide
EXECUTED_BY: Ribosome
}
ENTITY Codon {
IS_A: NucleotideTriplet
PART_OF: mRNA
MAY_ENCODE: AminoAcidOrSignal
}
ENTITY Anticodon {
PART_OF: tRNA
RECOGNIZES: Codon
}
ENTITY NucleicAcidStructure {
MAY_INCLUDE: [PrimaryStructure, SecondaryStructure, TertiaryStructure]
}
ENTITY NucleicAcidPrimaryStructure {
DEFINED_BY: NucleotideSequence
}
ENTITY NucleicAcidSecondaryStructure {
RESULTS_FROM: BasePairingAndLocalFolding
}
ENTITY Hairpin {
IS_A: NucleicAcidSecondaryStructure
MAY_FORM_BY: IntramolecularBasePairing
}
PROCESS NucleicAcidDenaturation {
DISRUPTS: BasePairing
MAY_BE_CAUSED_BY: [Heat, ChemicalConditions, ExtremePH]
}
PROCESS Hybridisation {
FORMS: Duplex
BETWEEN: ComplementaryNucleicAcidStrands
}
ENTITY MeltingTemperature {
SYMBOL: Tm
DEPENDS_ON: [Sequence, Length, GCContent, IonicConditions]
}
ENTITY SequenceVariant {
DIFFERS_FROM: ReferenceSequence
MAY_AFFECT: NucleicAcidFunction
}
ENTITY NucleicAcidDamage {
MAY_AFFECT: DNAOrRNA
MAY_ALTER: ChemicalStructure
}
PROCESS DNARepair {
TARGET: DNADamage
MAY_RESTORE: DNAIntegrity
}
RULE DamageMutationDistinction {
DNADamage != Mutation
UNLESS damage_becomes_fixed_as_sequence_change
}
ENTITY Nuclease {
IS_A: Enzyme
CLEAVES: NucleicAcid
}
ENTITY DNase {
SUBCLASS_OF: Nuclease
TARGETS: DNA
}
ENTITY RNase {
SUBCLASS_OF: Nuclease
TARGETS: RNA
}
PROCESS NucleicAcidModification {
TARGET: NucleicAcid
MAY_CHANGE: [ChemicalState, Stability, Recognition, Function]
}
ENTITY DNA_Methylation {
SUBCLASS_OF: NucleicAcidModification
TARGET: DNA
}
ENTITY RNA_Modification {
SUBCLASS_OF: NucleicAcidModification
TARGET: RNA
}
ENTITY Genome {
REPRESENTS: GeneticMaterialOfOrganismOrCell
}
ENTITY Transcriptome {
REPRESENTS: CollectionOfRNA_Transcripts
WITHIN: DefinedBiologicalContext
}
ENTITY NucleicAcidBindingProtein {
IS_A: Protein
BINDS: DNAOrRNA
}
ENTITY DNA_BindingProtein {
SUBCLASS_OF: NucleicAcidBindingProtein
BINDS: DNA
}
ENTITY RNA_BindingProtein {
SUBCLASS_OF: NucleicAcidBindingProtein
BINDS: RNA
}
PROCESS NucleicAcidAnalysis {
MAY_USE: [Sequencing, PCR, Electrophoresis, HybridisationAssay, Spectroscopy, StructuralAnalysis]
}
PROCESS Sequencing {
DETERMINES: NucleicAcidSequence
}
PROCESS PCR {
AMPLIFIES: DefinedDNARegion
}
ENTITY Evidence {
TYPES: [SequencingEvidence, BiochemicalEvidence, StructuralEvidence, GeneticEvidence, TranscriptomicEvidence, GenomicEvidence, ExperimentalEvidence, ComputationalEvidence, LiteratureEvidence]
}
RULE EvidenceConvergence {
IF IndependentEvidenceSources AGREE
THEN Confidence := increase(Confidence)
}
RULE EvidenceConflict {
IF EvidenceSources CONFLICT
THEN {
PRESERVE competing_assertions
RECORD nucleic_acid_identity
RECORD sequence_direction
RECORD molecule_type
RECORD biological_context
RECORD analytical_method
RECORD provenance
REDUCE confidence
}
}
RELATION NucleicAcid COMPOSED_OF Nucleotide
RELATION Nucleotide CONNECTED_BY PhosphodiesterBond
RELATION DNA STORES GeneticInformation
RELATION RNA MAY_TRANSFER GeneticInformation
RELATION DNAReplication COPIES DNA
RELATION Transcription PRODUCES RNA
RELATION mRNA USED_BY Translation
RELATION Nuclease CLEAVES NucleicAcid
RELATION NucleicAcid MAY_BIND NucleicAcidBindingProtein
SEMANTIC_EQUIVALENCE {
"nucleic acid" ~= "polynucleotide" WHEN polymer_context_is_defined
"DNA" ~= "deoxyribonucleic acid"
"RNA" ~= "ribonucleic acid"
"nucleotide sequence" ~= "nucleic acid sequence"
"base pairing" ~= "complementary nucleotide pairing" WHEN sequence_context
}
CONFIDENCE NucleicAcidAssertion {
INPUTS: [sequence_quality, chemical_identity_support, structural_support, biochemical_support, genomic_or_transcriptomic_support, experimental_support, replication, source_independence, semantic_consistency]
SCORE := weighted_sum(INPUTS)
LEVEL :=
IF SCORE >= 0.90 THEN "very_high"
ELSE IF SCORE >= 0.75 THEN "high"
ELSE IF SCORE >= 0.55 THEN "moderate"
ELSE IF SCORE >= 0.35 THEN "low"
ELSE "uncertain"
}
RULE MoleculeClassification {
IF sugar == Deoxyribose AND bases_include Thymine
THEN molecule MAY_BE DNA
ELSE IF sugar == Ribose AND bases_include Uracil
THEN molecule MAY_BE RNA
WITH exceptions_and_modified_bases_considered
}
RULE ComplementInference {
IF NucleicAcidSequence IS_KNOWN
THEN complementary_sequence MAY_BE_DERIVED
USING molecule_specific_base_pairing
}
RULE CausalityConstraint {
IF nucleic_acid_abundance correlates_with biological_state
THEN DO_NOT_INFER causal_role
WITHOUT functional_evidence
}
QUERY NucleicAcidLookup(identifier) {
RETURN [identity, molecule_type, nucleotide_sequence, strand_direction, structure, modifications, functions, binding_partners, genomic_or_transcriptomic_context, synthesis_and_degradation, evidence, confidence]
}
QUERY SequenceLookup(sequence_identifier) {
RETURN [molecule_type, sequence, length, direction, complementary_sequence, motifs, variants, structural_features, evidence, confidence]
}
UPDATE_MODEL {
ON new_nucleic_acid_evidence:
validate_provenance()
normalize_nucleic_acid_identifier()
identify_organism_and_biological_context()
determine_DNA_or_RNA_type()
normalize_sequence_and_direction()
capture_modification_state()
map_structural_features_and_motifs()
map_binding_and_functional_relationships()
record_analytical_method()
compare_existing_assertions()
preserve_conflicting_evidence()
recalculate_confidence()
regenerate_nucleic_acid_relationships()
update_flow_hash()
}
AI_CONSUMPTION {
MODE: FormalSemanticReasoning
PARSE_AS: ExecutableFlowAlgebra
PRIORITIES: [nucleic_acid_identity, DNA_or_RNA_type, nucleotide_sequence, strand_direction, structure, modification_state, biological_context, interaction_context, analytical_method, evidence_provenance, confidence]
REQUIREMENTS: [distinguish_nucleotide_from_nucleoside, distinguish_DNA_from_RNA, preserve_sequence_direction, preserve_molecule_type, preserve_species_context, preserve_chemical_modification_state, distinguish_damage_from_mutation, distinguish_sequence_from_structure, distinguish_abundance_from_function, distinguish_observed_from_inferred_function]
}
VALIDATE {
REQUIRE NucleicAcid
REQUIRE Nucleotide
REQUIRE DNA
REQUIRE RNA
REQUIRE PhosphodiesterBond
REQUIRE NucleicAcidSequence
REQUIRE DNAReplication
REQUIRE Transcription
REQUIRE NucleicAcidStructure
REQUIRE Evidence
REQUIRE CONFIDENCE
REQUIRE SEMANTIC_EQUIVALENCE
REQUIRE UPDATE_MODEL
REQUIRE AI_CONSUMPTION
ASSERT Nucleotide != Nucleoside
ASSERT DNA != RNA
ASSERT DNADamage != Mutation
ASSERT sequence != structure
ASSERT abundance != causal_function
}
FLOW_HASH {
ALGORITHM: SHA-256
INPUT: canonicalize(entities, relations, processes, rules, semantic_equivalence, confidence_model, update_model, ai_consumption)
PURPOSE: integrity_and_version_tracking
}
END flow "NucleicAcidOntology"
Download Code
Copy to Clipboard