Skip to main content

Viral Genome Ontology

Viral and Subcellular Infectious Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 26 October 2026
Audio Overview
FLOW ALGEBRA
Viral Genome Ontology — Kireth Semantic Library
Version: 1.0 | Locale: en-GB | Date: 2026-10-26
Source: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/viral-and-subcellular-infectious-entities/viral-genome-ontology.html
Status: Independent formalisation; not a verified transcription of the source page.
Authors: Mark Higgins — Sky (Recursive AI)

flow "ViralGenomeOntology" v1.0

# 01 — SCOPE
ontology.id: "kireth.biological.viral_genome"
ontology.parent: "kireth.biological.viral_and_subcellular_infectious_entities"
ontology.subject: "ViralGenome"
ontology.purpose: "Represent viral genetic material, organisation, replication strategies and evidence-qualified relationships."

# 02 — TYPED ENTITIES
entity ViralGenome: BiologicalInformationEntity
entity ViralNucleicAcid: MolecularEntity
entity DNAViralGenome: ViralGenome
entity RNAViralGenome: ViralGenome
entity SingleStrandedGenome: ViralGenome
entity DoubleStrandedGenome: ViralGenome
entity PositiveSenseRNA: RNAViralGenome
entity NegativeSenseRNA: RNAViralGenome
entity AmbisenseRNA: RNAViralGenome
entity SegmentedGenome: ViralGenome
entity NonSegmentedGenome: ViralGenome
entity GenomeSegment: ViralNucleicAcid
entity LinearGenome: ViralGenome
entity CircularGenome: ViralGenome
entity ViralGene: GeneticEntity
entity CodingSequence: GeneticEntity
entity RegulatorySequence: GeneticEntity
entity UntranslatedRegion: GeneticEntity
entity TerminalRepeat: GeneticEntity
entity ViralProtein: ProteinEntity
entity ViralPolymerase: ViralProtein
entity ReverseTranscriptase: ViralPolymerase
entity Virion: ViralParticle
entity VirusTaxon: TaxonomicEntity
entity HostCell: CellularEntity
entity ReplicationIntermediate: MolecularEntity
entity GenomeAnnotation: InformationEntity
entity SequenceEvidence: EvidenceEntity

# 03 — RELATIONSHIP SIGNATURES
relation HAS_GENOME(Virion, ViralGenome)
relation BELONGS_TO_TAXON(ViralGenome, VirusTaxon)
relation HAS_MATERIAL(ViralGenome, ViralNucleicAcid)
relation HAS_SEGMENT(SegmentedGenome, GenomeSegment)
relation ENCODES(ViralGene, ViralProtein)
relation CONTAINS_GENE(ViralGenome, ViralGene)
relation CONTAINS_REGION(ViralGenome, RegulatorySequence)
relation HAS_REPLICATION_INTERMEDIATE(ViralGenome, ReplicationIntermediate)
relation REPLICATES_IN(ViralGenome, HostCell)
relation SUPPORTED_BY(Assertion, SequenceEvidence)
relation ANNOTATED_BY(ViralGenome, GenomeAnnotation)
relation DERIVED_FROM(ViralGenome, ViralGenome)
relation SEMANTIC_EQUIVALENCE(Entity, Entity)

# 04 — CONTROLLED ATTRIBUTES
attribute nucleic_acid: enum[DNA, RNA, unknown]
attribute strandedness: enum[single, double, partially_double, unknown]
attribute sense: enum[positive, negative, ambisense, not_applicable, unknown]
attribute segmentation: enum[segmented, nonsegmented, unknown]
attribute topology: enum[linear, circular, mixed, unknown]
attribute genome_length_nt: int?  # must be >= 1 when known
attribute segment_count: int?     # must be >= 1 when known
attribute reference_accession: str?
attribute reference_version: str?
attribute host_context: str?
attribute evidence_status: enum[observed, inferred, disputed, unknown]

# 05 — CLASSIFICATION CONSTRAINTS
constraint DNAViralGenome -> nucleic_acid == DNA
constraint RNAViralGenome -> nucleic_acid == RNA
constraint PositiveSenseRNA -> nucleic_acid == RNA and strandedness == single and sense == positive
constraint NegativeSenseRNA -> nucleic_acid == RNA and strandedness == single and sense == negative
constraint AmbisenseRNA -> nucleic_acid == RNA and strandedness == single and sense == ambisense
constraint SegmentedGenome -> segment_count >= 2 when complete assembly is established
constraint NonSegmentedGenome -> segment_count == 1 when complete assembly is established
constraint sense == not_applicable for DNA genomes unless a distinct transcription-orientation field is specified
constraint incomplete genome assemblies must not be treated as complete
constraint genome configuration does not alone determine host range, pathogenicity or transmissibility

# 06 — BALTIMORE CLASSIFICATION MAPPING
mapping Group_I: dsDNA genome
mapping Group_II: ssDNA genome
mapping Group_III: dsRNA genome
mapping Group_IV: positive-sense ssRNA genome
mapping Group_V: negative-sense ssRNA genome
mapping Group_VI: ssRNA genome with reverse transcription
mapping Group_VII: dsDNA genome with reverse transcription
note: "Baltimore groups describe routes to mRNA, not a phylogenetic taxonomy."

# 07 — INFERENCE RULES
rule R01:
  when nucleic_acid == RNA and strandedness == single and sense == positive
  infer candidate_baltimore_group = IV
  unless reverse_transcription_strategy == true
rule R02:
  when nucleic_acid == RNA and strandedness == single and sense == negative
  infer candidate_baltimore_group = V
rule R03:
  when nucleic_acid == RNA and strandedness == double
  infer candidate_baltimore_group = III
rule R04:
  when nucleic_acid == DNA and strandedness == double and reverse_transcription_strategy == false
  infer candidate_baltimore_group = I
rule R05:
  when nucleic_acid == DNA and strandedness == single
  infer candidate_baltimore_group = II
rule R06:
  when nucleic_acid == RNA and reverse_transcription_strategy == true
  infer candidate_baltimore_group = VI only_if mRNA_generation_strategy_confirmed
rule R07:
  when nucleic_acid == DNA and reverse_transcription_strategy == true
  infer candidate_baltimore_group = VII only_if replication_strategy_confirmed
rule R08:
  when HAS_SEGMENT(genome, segment) and evidence_complete == true
  infer segment PART_OF genome
rule R09:
  when CONTAINS_GENE(genome, gene) and ENCODES(gene, protein)
  infer genome HAS_CODING_CAPACITY_FOR protein
  not_infer protein_expressed_without_expression_evidence

# 08 — SEMANTIC EQUIVALENCE
semantic_equivalence.require:
  - same biological referent or verified accession/version identity
  - compatible genome material, segmentation and topology
  - sequence or curated-reference evidence
semantic_equivalence.reject:
  - matching common names alone
  - similar genome lengths alone
  - shared Baltimore group alone
  - distinct variants or isolates without demonstrated identity

# 09 — CONFIDENCE
confidence.range: [0.0, 1.0]
confidence.inputs: [sequence_quality, assembly_completeness, annotation_support, independent_replication, taxonomic_consistency]
confidence.policy: "Evidence-calibrated score; not a probability unless validated as such."
confidence.unknown: null
confidence.thresholds:
  high: 0.90
  review: 0.70
  low: 0.00

# 10 — PROVENANCE
provenance.fields:
  - source_uri
  - accession
  - accession_version
  - retrieval_date
  - method
  - evidence_type
  - curator
  - assertion_timestamp
  - uncertainty_notes
provenance.rule: "Preserve raw evidence and distinguish experimental observations from predictions."

# 11 — FLOW_HASH
flow_hash.algorithm: "SHA-256"
flow_hash.canonical_fields:
  - ontology.id
  - subject_identifier
  - entity_type
  - sorted_assertions
  - source_accessions
  - version
flow_hash.rule: "Hash canonical UTF-8 serialisation; recompute after substantive updates."

# 12 — UPDATE_MODEL
update_model.strategy: "versioned, append-only provenance with supersession links"
update_model.events:
  - new_sequence_evidence
  - revised_genome_assembly
  - reannotation
  - taxonomic_revision
  - corrected_segment_assignment
update_model.actions:
  - validate_types_and_constraints
  - reconcile_entity_identifiers
  - preserve_previous_version
  - recompute_derived_inferences
  - recompute_flow_hash
  - record_change_reason

# 13 — RECURSIVE REASONING
recursive_flow:
  input: "new assertion or evidence"
  validate -> normalise -> link_entities -> infer -> score_confidence -> record_provenance -> hash -> publish
  repeat_until: "no new justified assertions or configured iteration limit"
  safeguards: [cycle_detection, idempotent_updates, evidence_priority, no_unjustified_transitive_identity]

# 14 — AI_CONSUMPTION
ai_consumption.format: "typed assertions with provenance and confidence"
ai_consumption.required:
  - entity_id
  - entity_type
  - predicate
  - object_or_value
  - evidence_status
  - provenance
ai_consumption.behaviour:
  - distinguish virus taxon, viral genome and individual virion
  - distinguish genome sequence from functional expression
  - report unknowns explicitly
  - avoid asserting pathogenicity from genome class alone
  - support cross-links to virus, virion, capsid and host-cell ontologies

# 15 — EXAMPLE (SCHEMATIC, NOT A REAL VIRUS)
example:
  genome: "example:genome-001"
  type: RNAViralGenome
  nucleic_acid: RNA
  strandedness: single
  sense: positive
  segmentation: nonsegmented
  evidence_status: inferred
  inferred_baltimore_group: IV
  confidence: null
  provenance: "illustrative-only"

# 16 — VALIDATION
validation.tests:
  - reject positive-sense DNA genome typed as PositiveSenseRNA
  - reject segment_count zero
  - do_not_infer host from Baltimore group
  - do_not_conflate genomic identity with taxonomic equivalence
  - preserve evidence and version on every update
  - require supporting evidence for inferred coding capacity

end flow

NOTE: This is a conceptual, machine-readable Flow Algebra specification, not an experimentally validated computational model or an executable interpreter implementation.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ