Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test model for parameters and calls #32

Merged
merged 1 commit into from
Jul 13, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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);