-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrmc_schema
181 lines (156 loc) · 2.95 KB
/
rmc_schema
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
--
-- PostgreSQL database dump
--
-- Dumped from database version 11.7
-- Dumped by pg_dump version 11.7
SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SELECT pg_catalog.set_config('search_path', '', false);
SET check_function_bodies = false;
SET xmloption = content;
SET client_min_messages = warning;
SET row_security = off;
--
-- Name: rmc; Type: SCHEMA; Schema: -; Owner: -
--
DROP SCHEMA IF EXISTS RMC_TEMP CASCADE;
CREATE SCHEMA RMC_TEMP;
SET default_tablespace = '';
SET default_with_oids = false;
create table RMC_TEMP.version (
load_date TIMESTAMP WITH TIME ZONE DEFAULT CURRENT_TIMESTAMP,
version text
);
--
-- Name: assay; Type: TABLE; Schema: rmc; Owner: -
--
CREATE TABLE RMC_TEMP.assay (
aid bigint NOT NULL,
aftype text,
categ text,
aname text,
effect text,
adesc text,
acttrg text,
model text,
patho text
);
--
-- Name: citation; Type: TABLE; Schema: rmc; Owner: -
--
CREATE TABLE RMC_TEMP.citation (
cid bigint NOT NULL,
dt text,
pa text,
pcc text,
pn text,
ppy text,
pk text,
au text,
jt text,
la text,
vl text,
py text,
pag text,
issn text,
nb text,
doi text,
cc text,
lo text
);
--
-- Name: datapoint; Type: TABLE; Schema: rmc; Owner: -
--
CREATE TABLE RMC_TEMP.datapoint (
citation bigint,
target bigint,
substance bigint,
assay bigint,
bspecie text,
btissue text,
vtype text,
exact text,
unit text,
paureus real,
did bigint NOT NULL,
mroute text,
value text,
text text,
pauorig text,
mdose text,
bpart text,
bcell text,
mname text,
mregim text,
mcount text,
signif text,
bstate text,
dev text,
pvalue text,
ctype text
);
--
-- Name: fact; Type: TABLE; Schema: rmc; Owner: -
--
CREATE TABLE RMC_TEMP.fact (
rxid bigint NOT NULL,
cn text,
mf text,
mw real,
inchi text,
logp real,
hdonor integer,
haccor integer,
rotbnd integer,
tpsa real,
lipinski integer,
veber integer,
rn text,
clphase text
);
--
-- Name: sdfile; Type: TABLE; Schema: rmc; Owner: -
--
CREATE TABLE RMC_TEMP.sdfile (
xrn bigint NOT NULL,
mf text,
mw text,
inchi text,
cn text,
smiles text,
fa text,
rn text,
stype text,
molecule public.mol
);
--
-- Name: target; Type: TABLE; Schema: rmc; Owner: -
--
CREATE TABLE RMC_TEMP.target (
tid bigint NOT NULL,
role text,
key text,
skey text,
details text,
nature text,
subunit text,
subprotn text[],
subspecie text[],
subnature text[],
subtransfect text[],
subactsite text[],
subsynonym text[],
subuid text[],
tuniprot text[],
tpdb text[],
site text,
tinterpro text[],
tgoid text[],
substoichio text[],
pmid text[],
pmprot text[],
pmspecie text[]
);