Skip to content

Commit

Permalink
test model for parameters and calls (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
wkusmirek authored and mwiewior committed Jul 13, 2017
1 parent 9db96e0 commit e3c7a7e
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 0 deletions.
File renamed without changes.
55 changes: 55 additions & 0 deletions sql/parameters_calls_test_model.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
CREATE TABLE IF NOT EXISTS TEST_PARAMETERS (
id SERIAL PRIMARY KEY,
mapp_thresh TEXT,
cov_thresh_from TEXT,
cov_thresh_to TEXT,
length_thresh_from TEXT,
length_thresh_to TEXT,
gc_thresh_from TEXT,
gc_thresh_to TEXT,
K_from TEXT,
K_to TEXT,
lmax TEXT
);

INSERT INTO TEST_PARAMETERS VALUES (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11);
INSERT INTO TEST_PARAMETERS VALUES (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12);
INSERT INTO TEST_PARAMETERS VALUES (3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13);
INSERT INTO TEST_PARAMETERS VALUES (4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14);
INSERT INTO TEST_PARAMETERS VALUES (5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15);
INSERT INTO TEST_PARAMETERS VALUES (6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16);
INSERT INTO TEST_PARAMETERS VALUES (7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17);
INSERT INTO TEST_PARAMETERS VALUES (8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18);
INSERT INTO TEST_PARAMETERS VALUES (9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19);
INSERT INTO TEST_PARAMETERS VALUES (10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20);
INSERT INTO TEST_PARAMETERS VALUES (11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21);
INSERT INTO TEST_PARAMETERS VALUES (12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22);
INSERT INTO TEST_PARAMETERS VALUES (13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23);
INSERT INTO TEST_PARAMETERS VALUES (14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24);
INSERT INTO TEST_PARAMETERS VALUES (15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25);
INSERT INTO TEST_PARAMETERS VALUES (16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26);
INSERT INTO TEST_PARAMETERS VALUES (17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27);
INSERT INTO TEST_PARAMETERS VALUES (18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28);
INSERT INTO TEST_PARAMETERS VALUES (19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29);
INSERT INTO TEST_PARAMETERS VALUES (20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30);

CREATE TABLE IF NOT EXISTS TEST_CALLS (
id SERIAL PRIMARY KEY,
parameters_id INT,
sample_name TEXT,
chr TEXT,
cnv TEXT,
st_bp TEXT,
ed_bp TEXT,
length_kb TEXT,
st_exon TEXT,
ed_exon TEXT,
raw_cov TEXT,
norm_cov TEXT,
copy_no TEXT,
lratio TEXT,
mBIC TEXT,
FOREIGN KEY(parameters_id) REFERENCES TEST_PARAMETERS(id)
);

INSERT INTO TEST_CALLS VALUES (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15);

0 comments on commit e3c7a7e

Please sign in to comment.