From 36dc2d077debe2c82f13b67887689bd11025cf1b Mon Sep 17 00:00:00 2001
From: Pjotr Prins
Date: Wed, 25 May 2016 07:42:55 +0000
Subject: Docs: database reverse engineering
---
doc/database.svg | 867 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 867 insertions(+)
create mode 100644 doc/database.svg
(limited to 'doc/database.svg')
diff --git a/doc/database.svg b/doc/database.svg
new file mode 100644
index 00000000..ae9d55a5
--- /dev/null
+++ b/doc/database.svg
@@ -0,0 +1,867 @@
+
+
+
+
--
cgit v1.2.3
From 5925dc7199a9fc6766c0468f5625068d1bd9603f Mon Sep 17 00:00:00 2001
From: Pjotr Prins
Date: Wed, 25 May 2016 08:21:30 +0000
Subject: Docs: database reverse engineering
---
doc/database.org | 16 +++++++++++++++-
doc/database.svg | 21 ++++++++++++++++++---
2 files changed, 33 insertions(+), 4 deletions(-)
(limited to 'doc/database.svg')
diff --git a/doc/database.org b/doc/database.org
index 6e0f42c9..2221c4fb 100644
--- a/doc/database.org
+++ b/doc/database.org
@@ -681,7 +681,21 @@ No longer used
** Species & Strain (should be sample)
-Menu
+select * from Species;
++----+-----------+----------------------+----------------+----------------------+-------------------------+------------+---------+
+| Id | SpeciesId | SpeciesName | Name | MenuName | FullName | TaxonomyId | OrderId |
++----+-----------+----------------------+----------------+----------------------+-------------------------+------------+---------+
+| 1 | 1 | Mouse | mouse | Mouse | Mus musculus | 10090 | 30 |
+| 2 | 2 | Rat | rat | Rat | Rattus norvegicus | 10116 | 40 |
+| 3 | 3 | Arabidopsis thaliana | arabidopsis | Arabidopsis thaliana | Arabidopsis thaliana | 3702 | 60 |
+| 4 | 4 | Human | human | Human | Homo sapiens | 9606 | 10 |
+| 5 | 5 | Barley | barley | Barley | Hordeum vulgare | 4513 | 70 |
+| 6 | 6 | Drosophila | drosophila | Drosophila | Drosophila melanogaster | 7227 | 50 |
+| 7 | 7 | Macaque monkey | macaque monkey | Macaque monkey | Macaca mulatta | 9544 | 20 |
+| 8 | 8 | Soybean | soybean | Soybean | Soybean | 3847 | 80 |
+| 9 | 9 | Tomato | tomato | Tomato | Tomato | 4081 | 90 |
++----+-----------+----------------------+----------------+----------------------+-------------------------+------------+---------+
+
** InbredSet
diff --git a/doc/database.svg b/doc/database.svg
index ae9d55a5..9ddc2f47 100644
--- a/doc/database.svg
+++ b/doc/database.svg
@@ -15,7 +15,7 @@
id="svg2"
version="1.1"
inkscape:version="0.91 r13725"
- sodipodi:docname="drawing.svg">
+ sodipodi:docname="database.svg">
image/svg+xml
-
+
@@ -863,5 +863,20 @@
inkscape:connector-curvature="0"
inkscape:transform-center-x="-32.453094"
inkscape:transform-center-y="114.65633" />
+ speciesid
--
cgit v1.2.3