root/galaxy-central/setup.sh

リビジョン 2, 1.5 KB (コミッタ: hatakeyama, 14 年 前)

import galaxy-central

行番号 
1#!/bin/sh
2
3python ./scripts/check_python.py
4[ $? -ne 0 ] && exit 1
5
6SAMPLES="
7datatypes_conf.xml.sample
8reports_wsgi.ini.sample
9tool_conf.xml.sample
10tool_data_table_conf.xml.sample
11universe_wsgi.ini.sample
12tool-data/alignseq.loc.sample
13tool-data/annotation_profiler_options.xml.sample
14tool-data/annotation_profiler_valid_builds.txt.sample
15tool-data/bfast_indexes.loc.sample
16tool-data/binned_scores.loc.sample
17tool-data/blastdb.loc.sample
18tool-data/bowtie_indices.loc.sample
19tool-data/bowtie_indices_color.loc.sample
20tool-data/encode_datasets.loc.sample
21tool-data/liftOver.loc.sample
22tool-data/maf_index.loc.sample
23tool-data/maf_pairwise.loc.sample
24tool-data/microbial_data.loc.sample
25tool-data/phastOdds.loc.sample
26tool-data/quality_scores.loc.sample
27tool-data/regions.loc.sample
28tool-data/sam_fa_indices.loc.sample
29tool-data/srma_index.loc.sample
30tool-data/twobit.loc.sample
31tool-data/shared/ucsc/builds.txt.sample
32"
33
34DIRS="
35database
36database/files
37database/community_files
38database/tmp
39database/compiled_templates
40database/job_working_directory
41database/import
42database/pbs
43static/genetrack/plots
44tool-data/shared/jars
45"
46
47for sample in $SAMPLES; do
48    file=`echo $sample | sed -e 's/\.sample$//'`
49    if [ -f $file ]; then
50        echo "Not overwriting existing $file"
51    else
52        echo "Copying $sample to $file"
53        cp $sample $file
54    fi
55done
56
57for dir in $DIRS; do
58    if [ ! -d $dir ]; then
59        echo "Creating $dir"
60        mkdir $dir
61    fi
62done
63
64python ./scripts/fetch_eggs.py
Note: リポジトリブラウザについてのヘルプは TracBrowser を参照してください。