/
buildbot_setup.sh
53 lines (45 loc) · 1.01 KB
/
buildbot_setup.sh
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
#!/bin/sh
cd `dirname $0`
LINKS="
/depot/data2/galaxy/alignseq.loc
/depot/data2/galaxy/binned_scores.loc
/depot/data2/galaxy/encode_datasets.loc
/home/universe/linux-i686/HYPHY
/depot/data2/galaxy/liftOver.loc
/depot/data2/galaxy/maf_index.loc
/depot/data2/galaxy/maf_pairwise.loc
/depot/data2/galaxy/microbes/microbial_data.loc
/depot/data2/galaxy/phastOdds.loc
/depot/data2/galaxy/quality_scores.loc
/depot/data2/galaxy/regions.loc
/depot/data2/galaxy/taxonomy
/depot/data2/galaxy/twobit.loc
"
SAMPLES="
datatypes_conf.xml.sample
"
DIRS="
database
database/files
database/tmp
database/compiled_templates
database/job_working_directory
database/import
database/pbs
"
for link in $LINKS; do
echo "Linking $link"
ln -sf $link tool-data
done
for sample in $SAMPLES; do
file=`echo $sample | sed -e 's/\.sample$//'`
echo "Copying $sample to $file"
cp $sample $file
done
for dir in $DIRS; do
if [ ! -d $dir ]; then
echo "Creating $dir"
mkdir $dir
fi
done
python ./scripts/fetch_eggs.py all