]> git.donarmstrong.com Git - dbsnp.git/commitdiff
add ideogram table
authorDon Armstrong <don@donarmstrong.com>
Fri, 5 Oct 2012 22:16:29 +0000 (15:16 -0700)
committerDon Armstrong <don@donarmstrong.com>
Fri, 5 Oct 2012 22:16:29 +0000 (15:16 -0700)
schema/extra_schema/ideogram_table.sql [new file with mode: 0644]

diff --git a/schema/extra_schema/ideogram_table.sql b/schema/extra_schema/ideogram_table.sql
new file mode 100644 (file)
index 0000000..afecb0a
--- /dev/null
@@ -0,0 +1,16 @@
+CREATE TABLE ideogram (
+       chr TEXT NOT NULL,
+       pq  TEXT NOT NULL,
+       ideogram TEXT NOT NULL,
+       rstart INT NOT NULL, -- I think these are recombination rates,
+                           -- but I'm not sure
+       rstop INT NOT NULL,
+       start INT NOT NULL,
+       stop INT NOT NULL,
+       posneg TEXT NOT NULL -- I believe this indicates whether the
+                           -- band is black or white
+       );
+       
+CREATE UNIQUE INDEX ON ideogram(chr,pq,ideogram);
+CREATE UNIQUE INDEX ON ideogram(chr,start);
+CREATE UNIQUE INDEX ON ideogram(chr,stop);