-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathConfiguration.default
98 lines (67 loc) · 2.12 KB
/
Configuration.default
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
#!/bin/sh
#
# Configuration.default
#
# Source this file from any bourne shell script to set the
# env variables
#
#
# If the MGICONFIG environment variable does not have a local override,
# use the default "live" settings.
#
if [ "${MGICONFIG}" = "" ]
then
MGICONFIG=/usr/local/mgi/live/mgiconfig
export MGICONFIG
fi
. ${MGICONFIG}/master.config.sh
# output dir
CACHEDIR=${DATALOADSOUTPUT}/mgi/snpcacheload
# data directory
CACHEDATADIR=${CACHEDIR}/output
# logs directory
CACHELOGSDIR=${CACHEDIR}/logs
# directory in which to archive the contents of output and logs directories
ARCHIVEDIR=${CACHEDIR}/archive
export CACHEDIR CACHEDATADIR CACHELOGSDIR ARCHIVEDIR
# dbsnpload snpmarker cache load log
SNPMARKER_LOG=${CACHELOGSDIR}/snpmarker.log
# weekly snpmarker wrapper log
SNPMARKER_WKLY_LOG=${CACHELOGSDIR}/snpmarker_weekly.log
export SNPMARKER_LOG SNPMARKER_WKLY_LOG
# mgd refseq _LogicalDB_key
REFSEQ_LOGICALDB_KEY=27
# mgd SNP_ConsensusSnp_Marker _MGIType_key
SNPMRKR_MGITYPE_KEY=32
# mgd refSNP _LogicalDB_key
CS_LOGICALDB_KEY=73
# mgd SNP_ConsensusSnp _LogicalDB_key
CS_MGITYPE_KEY=30
export REFSEQ_LOGICALDB_KEY SNPMRKR_MGITYPE_KEY CS_LOGICALDB_KEY CS_MGITYPE_KEY
# mgd EntrezGene _LogicalDB_key
EG_LOGICALDB_KEY=55
# mgd MRK_Marker _MGIType_key
MRKR_MGITYPE_KEY=2
export EG_LOGICALDB_KEY MRKR_MGITYPE_KEY
# snp table and bcp file names
ACC_TABLE=SNP_RefSeq_Accession
ACC_FILE=${ACC_TABLE}.bcp
export ACC_TABLE ACC_FILE
TMP_FXN_TABLE=TMP_SNP_Marker_Fxn
TMP_FXN_FILE=${TMP_FXN_TABLE}.bcp
export TMP_FXN_TABLE TMP_FXN_FILE
SNP_MRK_TABLE=SNP_ConsensusSnp_Marker
SNP_MRK_FILE=${SNP_MRK_TABLE}.bcp
SNP_MRK_WITHIN_FILE=${SNP_MRK_TABLE}_Within.bcp
export SNP_MRK_TABLE SNP_MRK_FILE SNP_MRK_WITHIN_FILE
MRKLOC_CACHETABLE=MRK_Location_Cache
MRKLOC_CACHEFILE=${MRKLOC_CACHETABLE}.bcp
export MRKLOC_CACHETABLE MRKLOC_CACHEFILE
# max number of lines per bcp file to keep below 2G
MAX_BCP_LINES=25000000
# max number of ConsensusSnp keys in a snpmrkwithin.py query batch
MAX_QUERY_BATCH=100000
export MAX_BCP_LINES MAX_QUERY_BATCH
# Are dbSNP and MGI coordinates synchronized (same mouse genome build) ?
IN_SYNC=yes
export IN_SYNC