mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-21 13:50:20 +08:00
configured at the application level. Specific tabular data files are specified in a application config file and bound to names, the tools then refer to these names. Thus users can configure where location files are located without modifying tool configs. Also: - Simpler column name configuration - Columns can be referred to by name in addition to index in all dynamic option filters - A data table can merge multiple files - Design can support other types of data files
64 lines
1.4 KiB
Bash
64 lines
1.4 KiB
Bash
#!/bin/sh
|
|
|
|
python ./scripts/check_python.py
|
|
[ $? -ne 0 ] && exit 1
|
|
|
|
SAMPLES="
|
|
datatypes_conf.xml.sample
|
|
reports_wsgi.ini.sample
|
|
tool_conf.xml.sample
|
|
tool_data_table_conf.xml.sample
|
|
universe_wsgi.ini.sample
|
|
tool-data/alignseq.loc.sample
|
|
tool-data/annotation_profiler_options.xml.sample
|
|
tool-data/annotation_profiler_valid_builds.txt.sample
|
|
tool-data/binned_scores.loc.sample
|
|
tool-data/blastdb.loc.sample
|
|
tool-data/bowtie_indices.loc.sample
|
|
tool-data/encode_datasets.loc.sample
|
|
tool-data/liftOver.loc.sample
|
|
tool-data/maf_index.loc.sample
|
|
tool-data/maf_pairwise.loc.sample
|
|
tool-data/microbial_data.loc.sample
|
|
tool-data/phastOdds.loc.sample
|
|
tool-data/quality_scores.loc.sample
|
|
tool-data/regions.loc.sample
|
|
tool-data/sam_fa_indices.loc.sample
|
|
tool-data/sequence_index_base.loc.sample
|
|
tool-data/sequence_index_color.loc.sample
|
|
tool-data/twobit.loc.sample
|
|
tool-data/shared/ucsc/builds.txt.sample
|
|
"
|
|
|
|
DIRS="
|
|
database
|
|
database/files
|
|
database/community_files
|
|
database/tmp
|
|
database/compiled_templates
|
|
database/job_working_directory
|
|
database/import
|
|
database/pbs
|
|
static/genetrack/plots
|
|
tool-data/shared/jars
|
|
"
|
|
|
|
for sample in $SAMPLES; do
|
|
file=`echo $sample | sed -e 's/\.sample$//'`
|
|
if [ -f $file ]; then
|
|
echo "Not overwriting existing $file"
|
|
else
|
|
echo "Copying $sample to $file"
|
|
cp $sample $file
|
|
fi
|
|
done
|
|
|
|
for dir in $DIRS; do
|
|
if [ ! -d $dir ]; then
|
|
echo "Creating $dir"
|
|
mkdir $dir
|
|
fi
|
|
done
|
|
|
|
python ./scripts/fetch_eggs.py
|