From 244a4821c89183dd6a953c790d4a953a66a8e4dd Mon Sep 17 00:00:00 2001
From: Arun Isaac
Date: Fri, 9 Oct 2026 00:26:00 +0100
Subject: Document database schema in the manual.
---
doc/domagi.dbk | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
(limited to 'doc/domagi.dbk')
diff --git a/doc/domagi.dbk b/doc/domagi.dbk
index 0888ac1..f2ef70d 100644
--- a/doc/domagi.dbk
+++ b/doc/domagi.dbk
@@ -5,6 +5,45 @@
domagi manual2026Arun Isaac
+
+ Database Schema
+ domagi uses a SQL schema with the following four tables to represent a pangenome.
+
+
+ segment
+ entity representing pangenome segments
+
+
+ link
+ many-to-many relation between segments representing pangenome links
+
+
+ path
+ entity representing pangenome paths
+
+
+ path_segment
+ many-to-many relation mapping paths to segments associating them with the path at a certain coordinate
+
+
+ The schema and the entity relationship diagram are visualized in and respectively.
+
+ domagi database schema
+
+
+
+
+
+
+
+ domagi entity relationship diagram in Chen's notation
+
+
+
+
+
+
+Reference
--
cgit 1.4.1