]> git.donarmstrong.com Git - dbsnp.git/blob - schema/extra_schema/ideogram_table.sql
add ideogram table
[dbsnp.git] / schema / extra_schema / ideogram_table.sql
1 CREATE TABLE ideogram (
2        chr TEXT NOT NULL,
3        pq  TEXT NOT NULL,
4        ideogram TEXT NOT NULL,
5        rstart INT NOT NULL, -- I think these are recombination rates,
6                             -- but I'm not sure
7        rstop INT NOT NULL,
8        start INT NOT NULL,
9        stop INT NOT NULL,
10        posneg TEXT NOT NULL -- I believe this indicates whether the
11                             -- band is black or white
12        );
13        
14 CREATE UNIQUE INDEX ON ideogram(chr,pq,ideogram);
15 CREATE UNIQUE INDEX ON ideogram(chr,start);
16 CREATE UNIQUE INDEX ON ideogram(chr,stop);