FLOW ALGEBRA
TITLE: Chromosome Ontology
VERSION: 1.0
DOMAIN: Biological Entities / Genetic Entities
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/genetic-entities/chromosome-ontology-2.html
AUTHORS: Mark Higgins — Sky (Recursive AI)
STATUS: Domain-grounded draft; source page not independently verified
flow "ChromosomeOntology" v1.0
# PURPOSE
# Represent chromosomes, their molecular constituents, structural regions,
# biological roles, inheritance and changes as typed, evidence-linked entities.
ontology:
id: kireth:ChromosomeOntology
parent: kireth:GeneticEntityOntology
primary_entity: Chromosome
definition: "Organised DNA-containing genetic structure, typically associated with proteins, that carries genomic information."
# ---------- ENTITY TYPES ----------
types:
Chromosome: GeneticEntity
NuclearChromosome: Chromosome
OrganelleChromosome: Chromosome
ProkaryoticChromosome: Chromosome
EukaryoticChromosome: Chromosome
Autosome: NuclearChromosome
SexChromosome: NuclearChromosome
HomologousChromosome: Chromosome
Chromatid: ChromosomalStructure
SisterChromatid: Chromatid
Centromere: ChromosomalRegion
Telomere: ChromosomalRegion
ChromosomeArm: ChromosomalRegion
ShortArm: ChromosomeArm
LongArm: ChromosomeArm
Kinetochore: ProteinComplex
Chromatin: NucleoproteinComplex
Nucleosome: NucleoproteinComplex
Histone: Protein
DNA: NucleicAcid
Gene: GeneticEntity
Allele: GeneticEntity
Locus: GenomicLocation
RegulatoryElement: GenomicRegion
RepetitiveSequence: GenomicRegion
Organism: BiologicalEntity
Cell: BiologicalEntity
Nucleus: CellularCompartment
GenomeAssembly: ReferenceResource
Karyotype: ChromosomeSetDescription
ChromosomeVariant: GeneticVariant
StructuralVariant: ChromosomeVariant
NumericalVariant: ChromosomeVariant
EvidenceRecord: ProvenanceEntity
# ---------- ATTRIBUTES ----------
attributes:
Chromosome:
identifier: str
organism_taxon: str
genome_assembly: str?
molecule_type: enum[DNA, RNA, unknown]
topology: enum[linear, circular, other, unknown]
length_bp: int?
ploidy_context: str?
chromosome_label: str?
accession: str?
source: str?
ChromosomalRegion:
chromosome_id: str
start: int?
end: int?
coordinate_system: str?
strand: enum[plus, minus, unstranded, unknown]?
ChromosomeVariant:
variant_class: str
reference_assembly: str?
evidence: EvidenceRecord?
# ---------- TYPED RELATIONSHIPS ----------
relationships:
- contains(Chromosome, DNA)
- contains(Chromosome, Gene)
- contains(Chromosome, RegulatoryElement)
- has_region(Chromosome, ChromosomalRegion)
- has_centromere(Chromosome, Centromere)
- has_telomere(Chromosome, Telomere)
- has_arm(Chromosome, ChromosomeArm)
- composed_of(Chromatin, DNA)
- associated_with(Chromatin, Histone)
- composed_of(Chromatin, Nucleosome)
- part_of(Chromatid, Chromosome)
- homologous_to(Chromosome, Chromosome)
- sister_of(Chromatid, Chromatid)
- located_at(Gene, Locus)
- belongs_to(Chromosome, Organism)
- located_in(NuclearChromosome, Nucleus)
- represented_in(Chromosome, GenomeAssembly)
- described_by(Chromosome, Karyotype)
- affects(ChromosomeVariant, Chromosome)
- supported_by(Assertion, EvidenceRecord)
# ---------- CLASSIFICATION ----------
classification:
nuclear:
context: eukaryotic_nucleus
classes: [Autosome, SexChromosome]
organellar:
examples: [mitochondrial_chromosome, plastid_chromosome]
prokaryotic:
examples: [bacterial_chromosome, archaeal_chromosome]
topology:
values: [linear, circular, other, unknown]
note: "Topology is observed per chromosome; taxonomic class alone is insufficient."
morphology:
values: [metacentric, submetacentric, acrocentric, telocentric, unclassified]
applicability: "Chromosomes with a defined centromere and appropriate morphology."
# ---------- BIOLOGICAL PROCESSES ----------
processes:
replication:
input: DNA
output: replicated_chromosomal_DNA
constraints: [template_dependent, sequence_fidelity_context]
condensation:
input: chromatin
output: compacted_chromosomal_structure
context: cell_cycle_dependent
segregation:
participants: [Chromosome, spindle_or_partition_system]
output: distributed_genetic_material
context: organism_and_cell_type_dependent
recombination:
participants: [homologous_DNA_sequences]
output: recombinant_DNA
context: applicable_meiotic_or_repair_process
repair:
input: DNA_damage
output: repaired_or_altered_DNA
# ---------- VARIATION ----------
variation:
structural:
examples: [deletion, duplication, inversion, translocation, insertion]
numerical:
examples: [aneuploidy, polyploidy]
other:
examples: [mosaicism, copy_number_variation]
interpretation_requires:
- organism_and_ploidy_context
- reference_assembly_when_coordinates_used
- variant_detection_method
- evidence_and_uncertainty
# ---------- INFERENCE RULES ----------
rules:
R01:
if: "contains(C, G) AND type(G, Gene)"
then: "gene_carried_by(G, C)"
R02:
if: "located_at(G, L) AND region_of(L, C)"
then: "candidate_gene_carried_by(G, C)"
requires: "compatible_assembly_and_coordinate_system"
R03:
if: "homologous_to(A, B)"
then: "homologous_to(B, A)"
R04:
if: "sister_of(A, B)"
then: "sister_of(B, A)"
R05:
if: "type(C, OrganelleChromosome)"
then: "type(C, Chromosome)"
R06:
if: "type(V, StructuralVariant) AND affects(V, C)"
then: "has_structural_variation(C, V)"
R07:
if: "type(C, Chromosome) AND topology(C, circular)"
then: "circular_chromosome(C)"
not_then: "prokaryotic_chromosome(C)"
R08:
if: "type(C, SexChromosome)"
then: "type(C, NuclearChromosome)"
note: "Sex-chromosome classification is lineage-dependent."
# ---------- VALIDATION ----------
validation:
V01: "chromosome identifiers must be scoped by taxon and assembly where relevant"
V02: "region start <= region end under the declared coordinate convention"
V03: "genomic coordinates must declare reference assembly and coordinate system"
V04: "do not assume every chromosome has telomeres or a centromere"
V05: "do not assume all chromosomes are linear or histone-associated"
V06: "do not infer clinical significance from variant type alone"
V07: "separate observed facts, inferred claims and hypotheses"
V08: "do not conflate chromosome, chromatid, chromatin and DNA molecule"
# ---------- CONFIDENCE ----------
CONFIDENCE:
scale: [0.0, 1.0]
evidence_levels:
experimentally_confirmed: 0.95
curated_reference: 0.90
peer_reviewed_inference: 0.80
computational_prediction: 0.65
unsupported_hypothesis: 0.20
note: "Values are illustrative defaults, not calibrated probabilities."
combine: "retain evidence provenance; do not treat correlated sources as independent"
threshold_for_automatic_assertion: 0.85
# ---------- SEMANTIC EQUIVALENCE ----------
SEMANTIC_EQUIVALENCE:
exact:
- [chromosome, chromosomal_entity]
contextual:
- [chromosomal_DNA, DNA_component_of_chromosome]
- [chromosome_pair, homologous_pair_in_diploid_context]
non_equivalent:
- [chromosome, chromatid]
- [chromosome, genome]
- [gene, chromosome]
- [chromatin, chromosome]
- [sex_chromosome, autosome]
policy: "Match identity only with compatible organism, assembly and biological context."
# ---------- RECURSIVE REASONING ----------
recursive_reasoning:
input: [entity, relation, context, evidence]
steps:
- normalise_entity_identifiers
- validate_types_and_coordinate_frames
- traverse_chromosome_region_gene_relationships
- apply_safe_inference_rules
- attach_evidence_and_confidence
- detect_cycles_and_conflicting_assertions
- stop_at_fixed_point_or_depth_limit
max_depth: 8
deduplicate_by: [subject, predicate, object, context]
reject: [unsupported_identity_merges, assembly_mismatches]
# ---------- FLOW HASH ----------
FLOW_HASH:
algorithm: SHA-256
canonicalisation:
- UTF-8_encoding
- normalised_line_endings
- deterministic_entity_and_rule_order
- exclude_mutable_timestamps
input: canonical_flow_payload
output: sha256_hex_digest
note: "Hash computed by implementation; no fabricated digest supplied."
# ---------- UPDATE MODEL ----------
UPDATE_MODEL:
versioning: semantic_versioning
update_triggers:
- new_genome_assembly
- revised_taxonomy
- newly_curated_chromosome_feature
- corrected_variant_annotation
- changed_scientific_consensus
operations: [add, revise, deprecate, supersede]
preserve: [previous_version, provenance, change_reason, timestamp]
revalidate: [coordinates, inferred_relations, confidence, semantic_mappings]
# ---------- AI CONSUMPTION ----------
AI_CONSUMPTION:
format: typed_semantic_graph
supported_tasks:
- chromosome_entity_recognition
- gene_to_chromosome_mapping
- genome_assembly_aware_retrieval
- chromosomal_region_reasoning
- genetic_variant_contextualisation
- provenance_aware_scientific_search
response_contract:
include: [entity_id, entity_type, relationships, context, confidence, provenance]
distinguish: [observed, inferred, uncertain]
prohibit: [invented_coordinates, unsupported_clinical_claims]
# ---------- EXAMPLE INSTANCE ----------
example:
chromosome:
id: example:human_chr1_GRCh38
type: Autosome
organism_taxon: Homo_sapiens
genome_assembly: GRCh38
chromosome_label: "1"
topology: linear
molecule_type: DNA
assertions:
- "belongs_to(example:human_chr1_GRCh38, Homo_sapiens)"
- "represented_in(example:human_chr1_GRCh38, GRCh38)"
note: "Illustrative semantic identifiers; not a substitute for assembly accession metadata."
# ---------- OUTPUT ----------
output:
root: kireth:ChromosomeOntology
entities: typed
relationships: validated
reasoning: evidence_aware
export: [TXT, JSON-LD, RDF, knowledge_graph]
END FLOW ALGEBRA
Download Code
Copy to Clipboard