-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathConfiguration.default
More file actions
103 lines (96 loc) · 3.09 KB
/
Configuration.default
File metadata and controls
103 lines (96 loc) · 3.09 KB
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
#
# Configuration file (mgiconfig) for mgigff product.
# See also: config.cfg in this directory.
#
if [ "${MGICONFIG}" = "" ]
then
export MGICONFIG=/usr/local/mgi/live/mgiconfig
fi
source ${MGICONFIG}/master.config.sh
#
export DIR=`pwd`
export BINDIR=${DIR}/bin
export DEV_INSTALL="false"
if [ ${DEV_INSTALL} == "true" ] ; then
export DATADIR=${DIR}/output/downloads
export WORKINGDIR=${DIR}/output/work
export DISTRIBDIR=${DIR}/output/dist
else
export DATADIR=${DATALOADSOUTPUT}/mgi/mgigff3/downloads
export WORKINGDIR=${DATALOADSOUTPUT}/mgi/mgigff3/work
export DISTRIBDIR=${FTPROOT}/pub/mgigff3
fi
# ---------------------
export MOUSE_ASSEMBLY="GRCm39"
# ---------------------
export MGI_HOST="${MGD_DBSERVER}"
export MGI_DATABASE="${MGD_DBNAME}"
export MGI_USER="${MGD_DBUSER}"
export MGI_PASSWORD=`cat "${MGD_DBPASSWORDFILE}"`
# ---------------------
export BLAT_MIN_IDENT=98
export BLAT_MIN_LENGTH=85
export BLAT_ARGS="-nohead -minIdentity=${BLAT_MIN_IDENT} -dots=100"
export PSLREPS_ARGS="-singleHit -nohead "
export BLAT_C4AM_COL6="gff3blat"
export BLAT_C4AM_COL7="MGI"
# ---------------------
export CURL=curl
export CP=cp
export GUNZIP=gunzip
export GREP=grep
export SORT=sort
export MKDIR=mkdir
export DATE=date
export TOUCH=touch
export CUT=cut
export SED=sed
export GFCLIENT=gfClient
export PSLREPS=pslReps
export GREP=grep
export RM=rm
export LN=ln
export MV=mv
export FIND=find
# ---------------------
export DATESTAMP=`${DATE} +"%Y-%m-%d"`
export DATESTAMP2=`${DATE} +"%Y%m%d.%H%M%S"`
export YEAR=`${DATE} +"%Y"`
export YEARMONTH=`${DATE} +"%Y%m"`
#
# The chromosomes and their order.
export CHRS=( 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 X Y MT )
# ---------------------
export ARCHIVEDIR=${DISTRIBDIR}/archive
export MONTHLYDIR=${ARCHIVEDIR}/monthly
export ANNUALDIR=${ARCHIVEDIR}/annual
# Age limit in days. Archived files older than this are culled to one per year.
export ARCHIVEAGELIMIT=365
export PYTHONPATH=${PYTHONPATH}:${BINDIR}/lib
# ---------------------
export SORTCMD="sort -k 1,1 -k 4n,4n -k 5nr,5nr"
export SPLITCMD="${PYTHON} ${BINDIR}/splitGff.py -d ${WORKINGDIR}"
export COUNTCMD="${PYTHON} ${BINDIR}/profileGff.py"
# ---------------------
#
export NCBIver=GCF_000001635.27-RS_2024_02
export NCBIbuild=GCF_000001635.27_GRCm39
export NCBIfile=${NCBIbuild}_genomic.gff
export NCBIurl=https://ftp.ncbi.nlm.nih.gov/genomes/refseq/vertebrate_mammalian/Mus_musculus/annotation_releases/${NCBIver}/${NCBIbuild}_genomic.gff.gz
export NCBIprep="${PYTHON} ${BINDIR}/ncbiPrep.py"
#
export MIRfile=mmu.gff3
#export MIRurl=ftp://mirbase.org/pub/mirbase/CURRENT/genomes/${MIRfile}
# disable miRBase (or any other provider) by settings its URL to empty
export MIRurl=
export MIRprep="${PYTHON} ${BINDIR}/mirbasePrep.py"
#
export ENSEMBLver=114
export ENSEMBLbuild=${MOUSE_ASSEMBLY}
export ENSEMBLfile=Mus_musculus.${ENSEMBLbuild}.${ENSEMBLver}.gff3
export ENSEMBLurl=ftp://ftp.ensembl.org/pub/release-${ENSEMBLver}/gff3/mus_musculus/${ENSEMBLfile}.gz
export ENSEMBLprep="${PYTHON} ${BINDIR}/ensemblPrep.py"
#
export LOGFILE=${WORKINGDIR}/refresh.log
#
export SO_TERM_FILE="${WORKINGDIR}/so_terms.tsv"