Skip to content

Commit

Permalink
Merge pull request #220 from hammerlab/fix-schema-contig-chromosome
Browse files Browse the repository at this point in the history
schema.sql fix: chromosome -> contig
  • Loading branch information
ihodes committed Nov 20, 2014
2 parents 7daa925 + 64e1b42 commit 7101e11
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ CREATE TABLE vcf_annotations (
vcf_id BIGINT REFERENCES vcfs NOT NULL,
annotation TEXT NOT NULL,
type TEXT NOT NULL,
"chromosome:start" TEXT,
"chromosome:end" TEXT,
"contig:start" TEXT,
"contig:end" TEXT,
"position:start" TEXT,
"position:end" TEXT
);
Expand All @@ -30,16 +30,16 @@ CREATE TABLE data_annotations (
dataset_name TEXT, -- The denormalized foreign key of a dataset, stored in the vcfs table.
annotation TEXT NOT NULL,
type TEXT NOT NULL,
"chromosome:start" TEXT,
"chromosome:end" TEXT,
"contig:start" TEXT,
"contig:end" TEXT,
"position:start" TEXT,
"position:end" TEXT
);

CREATE TABLE genotypes (
vcf_id BIGINT REFERENCES vcfs NOT NULL,
sample_name TEXT,
chromosome TEXT,
contig TEXT,
position TEXT,
id TEXT,
reference TEXT,
Expand Down

0 comments on commit 7101e11

Please sign in to comment.