This repository has been archived by the owner on Jul 8, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
/
PIDConfig.pm
executable file
·177 lines (133 loc) · 4.72 KB
/
PIDConfig.pm
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
##
## Parameters for back-end data servers for CGAP
##
package PIDConfig;
require Exporter;
@ISA = qw(Exporter);
@EXPORT = qw(
$CGAP_SCHEMA
$CGAP_SCHEMA2
$CMAP_SCHEMA
$RFLP_SCHEMA
DB_USER
DB_PASS
DB_INSTANCE
GENE_SERVER_PORT
CYT_SERVER_PORT
BLAST_QUERY_SERVER_PORT
LIBRARY_SERVER_PORT
GL_SERVER_PORT
PATHWAY_SERVER_PORT
MICROARRAY_SERVER_PORT
GXS_SERVER_PORT
INIT_DATA_HOME
INIT_SAGE_DATA_HOME
KEGG_DIR
KEGG_ARCFILE
KEGG_NODEFILE
KEGG_GENEFILE
KEGG_PATHFILE
KEGG_NAMEFILE
KEGG_COORDFILE
KEGG_ENZYME
KEGG_COMPOUND
HS_GL_DATA
MM_GL_DATA
CACHE_ROOT
CACHE_ID_FILE
HS_GXS_DATA
MM_GXS_DATA
HS_UG_BLAST
MM_UG_BLAST
NCI60_STATS
NCI60_VIEW
SAGE_STATS
SAGE_VIEW
SAGE_GROUP_RAW
SAGE_GROUP_STATS
SAGE_GROUP_VIEW
NOVARTIS_RAW
NOVARTIS_STATS
NOVARTIS_VIEW
SAGEFREQ
GXS_CACHE_PREFIX
XP_CACHE_PREFIX
GL_CACHE_PREFIX
MICROARRAY_CACHE_PREFIX
LICR_CACHE_PREFIX
SDGED_CACHE_PREFIX
BASE
IMG_DIR
SAFE_IPS
);
use DB_SCHEMAConfig;
$ENV{'ORACLE_HOME'} = "/oracle/productt";
## Global variables for database schema names
$CGAP_SCHEMA = "pid";
$CGAP_SCHEMA2 = "";
$CMAP_SCHEMA = "cmap";
$RFLP_SCHEMA = "rflp";
use constant DB_USER => "userid";
use constant DB_PASS => "password";
use constant DB_INSTANCE => "db";
use constant GXS_SERVER_PORT => "8005";
use constant GENE_SERVER_PORT => "0000";
use constant LIBRARY_SERVER_PORT => "0000";
use constant CYT_SERVER_PORT => "8002";
use constant BLAST_QUERY_SERVER_PORT => "8003";
use constant GL_SERVER_PORT => "8006";
use constant PATHWAY_SERVER_PORT => "8007";
use constant MICROARRAY_SERVER_PORT => "8008";
use constant INIT_DATA_HOME => "/CGAP/data/";
use constant KEGG_DATA_HOME => "/CGAP/data/";
use constant INIT_SAGE_DATA_HOME => "/SAGE/data/";
use constant HS_GL_DATA => INIT_DATA_HOME . "Hs_gl.dat";
use constant MM_GL_DATA => INIT_DATA_HOME . "Mm_gl.dat";
## use constant CACHE_ROOT => INIT_DATA_HOME . "cache/cache/";
use constant CACHE_ROOT => INIT_DATA_HOME . "cache/";
## use constant CACHE_ROOT => "/tmp/cache/";
use constant CACHE_ID_FILE => CACHE_ROOT . "cache_id";
use constant KEGG_ARCFILE => KEGG_DATA_HOME . "Arc.dat";
use constant KEGG_NODEFILE => KEGG_DATA_HOME . "Node.dat";
use constant KEGG_GENEFILE => KEGG_DATA_HOME . "Gene_Product.dat";
use constant KEGG_PATHFILE => KEGG_DATA_HOME . "Pathway.dat";
use constant KEGG_NAMEFILE => KEGG_DATA_HOME . "Pathway_name.dat";
use constant KEGG_COORDFILE => KEGG_DATA_HOME . "KeggCoords.dat";
use constant KEGG_ENZYME => KEGG_DATA_HOME . "KeggEnzymes.dat";
use constant KEGG_COMPOUND => KEGG_DATA_HOME . "entry_table";
use constant GXS_CACHE_PREFIX => "GXS";
use constant XP_CACHE_PREFIX => "XP";
use constant GL_CACHE_PREFIX => "GL";
use constant MICROARRAY_CACHE_PREFIX => "MC";
use constant LICR_CACHE_PREFIX => "LICR";
use constant SDGED_CACHE_PREFIX => "SDGED";
use constant HS_GXS_DATA => INIT_DATA_HOME . "Hs_gxs.dat";
use constant MM_GXS_DATA => INIT_DATA_HOME . "Mm_gxs.dat";
## use constant HS_UG_BLAST => INIT_DATA_HOME . "Hs.seq.all";
## use constant MM_UG_BLAST => INIT_DATA_HOME . "Mm.seq.all";
use constant HS_UG_BLAST => INIT_DATA_HOME . "Hs.seq.all_for_blast";
use constant MM_UG_BLAST => INIT_DATA_HOME . "Mm.seq.all_for_blast";
use constant NCI60_RAW => INIT_DATA_HOME . "discover.raw";
use constant NCI60_STATS => INIT_DATA_HOME . "discover.stats";
use constant NCI60_VIEW => INIT_DATA_HOME . "discover.view";
use constant SAGE_RAW => INIT_DATA_HOME . "sage.raw";
use constant SAGE_STATS => INIT_DATA_HOME . "sage.stats";
use constant SAGE_VIEW => INIT_DATA_HOME . "sage.view";
use constant SAGE_GROUP_RAW => INIT_DATA_HOME . "sage_group.raw";
use constant SAGE_GROUP_STATS => INIT_DATA_HOME . "sage_group.stats";
use constant SAGE_GROUP_VIEW => INIT_DATA_HOME . "sage_group.view";
use constant NOVARTIS_RAW => INIT_DATA_HOME . "novartis.raw";
use constant NOVARTIS_STATS => INIT_DATA_HOME . "novartis.stats";
use constant NOVARTIS_VIEW => INIT_DATA_HOME . "novartis.view";
use constant SAGEFREQ => INIT_SAGE_DATA_HOME . "sagefreq.dat";
# Perl equivalents of Zope dtml-var's BASE and IMG_DIR
use constant BASE => "";
use constant IMG_DIR => "/images";
##use constant BASE => "/CGAP";
##use constant IMG_DIR => "/CGAP/images";
use constant KEGG_DIR => "/KEGG";
use constant SAFE_IPS =>
"127.0.0.1," . ## localhost
"xxx.xxx.xxx.xxx" ; ##
######################################################################
1;