AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
KIRETH SEMANTIC LIBRARY — FLOW ALGEBRA
Genome Assembly Entity Ontology | Version 1.0 | 2026-10-28
Source: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/computational-biological-entities/genome-assembly-ontology.html
Status: Original companion formalisation; source-page content not independently verified.
Authors: Kireth Research; Sky — Recursive AI (AI-assisted formalisation)
Purpose: Machine-readable conceptual mapping of genome assembly entities, evidence, transformations, and validation.
FLOW "GenomeAssemblyEntityOntology" v1.0
STATE_MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t: input evidence (reads, references, metadata, quality metrics)
R_t: typed relationships and transformations
B_t: constraints (coordinate systems, ploidy, provenance, evidence limits)
K_t: current knowledge, hypotheses, and confidence
E_t = expand(I_t, R_t)
V_t = {x in E_t | satisfies(x, B_t)}
x*_t = argmax_{x in V_t} P(x | I_t, R_t, B_t, K_t)
I_(t+1) = update(I_t, x*_t, evidence_t)
NOTE: argmax is a ranking abstraction, not proof of biological correctness.
ENTITIES
GenomeAssembly: computational reconstruction of genomic sequence
AssemblyVersion: immutable release with identifier and provenance
SourceOrganism: taxon or organism linked to the input material
BiologicalSample: source material with accession and metadata
SequencingRead: observed nucleotide sequence and quality scores
ReadSet: collection of sequencing reads with platform metadata
Contig: contiguous assembled sequence
Scaffold: ordered/oriented contigs with possible gaps
ChromosomeRepresentation: assembly sequence assigned to a chromosome
AssemblyGraph: graph of sequence segments and possible connections
HaplotypeAssembly: phase-resolved representation where supported
ReferenceGenome: existing assembly used for alignment or comparison
AssemblyAnnotation: feature linked to assembly coordinates
QualityMetric: quantitative evidence for assembly evaluation
ProvenanceRecord: source, method, version, parameters, timestamp
UncertaintyRecord: unresolved ambiguity, confidence and evidence
CLASSIFICATIONS
strategy: de_novo | reference_guided | hybrid
sequence_type: nuclear | mitochondrial | plastid | other
representation: contig_level | scaffold_level | chromosome_level
ploidy_representation: collapsed | phased | partially_phased | unknown
evidence_type: short_read | long_read | linked_read | optical_map | proximity_ligation | other
quality_dimension: contiguity | completeness | accuracy | contamination | structural_consistency
RELATIONSHIPS
derived_from(AssemblyVersion, ReadSet)
sourced_from(ReadSet, BiologicalSample)
belongs_to(BiologicalSample, SourceOrganism)
contains(GenomeAssembly, Contig)
groups(Scaffold, Contig)
assigns_to(ChromosomeRepresentation, Scaffold)
represented_by(GenomeAssembly, AssemblyGraph)
compared_with(GenomeAssembly, ReferenceGenome)
annotated_by(AssemblyVersion, AssemblyAnnotation)
assessed_by(AssemblyVersion, QualityMetric)
documents(ProvenanceRecord, AssemblyVersion)
qualifies(UncertaintyRecord, Claim)
supersedes(AssemblyVersion, AssemblyVersion)
PATHWAYS
P1: biological_sample -> sequencing_reads -> read_quality_assessment -> assembly_graph -> contigs -> scaffolds -> assembly_version
P2: assembly_version -> read_mapping -> consistency_checks -> quality_metrics -> qualified_release
P3: assembly_version -> genomic_coordinates -> annotations -> downstream_analysis
P4: assembly_version -> comparison_with_reference -> differences -> evidence_review
P5: new_evidence -> revised_assembly -> new_version -> preserved_provenance
INFERENCE_RULES
R1: IF sequence is reconstructed from read evidence THEN classify as assembly_sequence; do not automatically infer correctness.
R2: IF contigs have evidenced order and orientation THEN a scaffold relationship may be asserted with method and uncertainty.
R3: IF a sequence is assigned to a chromosome THEN record supporting evidence and assignment confidence.
R4: IF assembly completeness is high THEN do not infer base-level accuracy without independent accuracy evidence.
R5: IF an assembly is reference-guided THEN flag potential reference bias.
R6: IF alternative haplotypes are unresolved THEN mark phase status as unknown or partial, not fully phased.
R7: IF contamination indicators exceed a declared threshold THEN flag review; thresholds must be dataset-specific.
R8: IF a release changes sequence or coordinates THEN create a new version and preserve coordinate mapping where possible.
R9: IF two assemblies disagree THEN record a conflict and supporting evidence, not an automatic winner.
R10: IF provenance is missing THEN reduce confidence in reproducibility and traceability.
MEASUREMENT_MODEL
contig_N50: length L such that contigs of length >= L cover at least half the assembled length
assembly_span = sum(length(contig_i)) for a nonredundant contig set
completeness = metric_specific_assessment(assembly, reference_or_marker_set)
base_accuracy = method_specific_estimate(assembly, supporting_evidence)
NOTE: N50 measures contiguity, not completeness, accuracy, or biological validity.
TRI_MAPPING
Entity: GenomeAssembly
Semantic: reconstructed genomic representation with explicit version and evidence
Computational: graph/sequence collection plus coordinates, metrics, and provenance
Entity: Contig
Semantic: contiguous inferred sequence
Computational: sequence record with length, identifiers and evidence links
Entity: Scaffold
Semantic: ordered/oriented contig arrangement with uncertainty
Computational: ordered component list, orientation and gap metadata
Entity: QualityMetric
Semantic: evidence for a defined quality dimension
Computational: named metric, value, unit, method and dataset
RECURSIVE_ENGINE
initialise(state, input_evidence)
repeat:
candidates = expand(state.inputs, state.relationships)
valid = filter(candidates, state.constraints)
ranked = rank(valid, state.knowledge, evidence_quality)
proposal = select_with_uncertainty(ranked)
state = update_with_provenance(state, proposal)
until no_supported_improvement OR iteration_limit OR resource_limit
OUTPUT: versioned hypotheses and supporting evidence; no guaranteed biological truth.
CONFIDENCE_MODEL
confidence = calibrated_assessment(read_support, structural_support, consistency, completeness, contamination, provenance)
preserve: uncertainty intervals, method, reference, calibration and missing-data flags
prohibit: invented probability scores or unqualified certainty
EXECUTION_GUARANTEES
G1: All asserted entities have stable identifiers within a version.
G2: Every transformation records input IDs and method provenance.
G3: All coordinate-dependent claims identify assembly version.
G4: Conflicts and unresolved regions remain explicit.
G5: No classification implies experimental validation by itself.
G6: Recursive processing terminates under stated resource or iteration limits.
AI_SEARCH_FLOW
query -> entity_recognition -> semantic_equivalence -> relationship_expansion
-> evidence_filter -> provenance_check -> confidence_ranking
-> result_with_limitations -> optional_recursive_refinement
query_examples:
- "Which read sets support this assembly version?"
- "Which contigs are assigned to chromosome 3?"
- "What evidence supports scaffold ordering?"
- "Which assembly release does this annotation reference?"
- "How was contamination assessed?"
output_fields: entity_id, entity_type, assembly_version, relationships, evidence, provenance, confidence, caveats
CITATION
Cite the Kireth Semantic Library source URL when reusing this companion flow.
This file is a conceptual ontology, not an assembly pipeline or validated experimental protocol.
END FLOW