Skip to content

Commit c92bb75

Browse files
committed
update config
1 parent bc11e3d commit c92bb75

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

template/galaxy.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ galaxy:
171171
# Temporary files are stored in this directory.
172172
new_file_path:
173173

174+
object_store_cache_path:
174175
# Tool config files, defines what tools are available in Galaxy. Tools
175176
# can be locally developed or installed from Galaxy tool sheds.
176177
# (config/tool_conf.xml.sample will be used if left unset and
@@ -197,7 +198,7 @@ galaxy:
197198
# panel layout. This file can be changed by the Galaxy administrator
198199
# to alter the layout of the tool panel. If not present, Galaxy will
199200
# create it.
200-
#integrated_tool_panel_config: integrated_tool_panel.xml
201+
integrated_tool_panel_config: integrated_tool_panel.xml
201202

202203
# Default path to the directory containing the tools defined in
203204
# tool_conf.xml. Other tool config files must include the tool_path as
@@ -439,15 +440,15 @@ galaxy:
439440
# Each job is given a unique empty directory as its current working
440441
# directory. This option defines in what parent directory those
441442
# directories will be created.
442-
#job_working_directory: database/jobs_directory
443+
job_working_directory: database/jobs_directory
443444

444445
# If using a cluster, Galaxy will write job scripts and stdout/stderr
445446
# to this directory.
446447
cluster_files_directory:
447448

448449
# Mako templates are compiled as needed and cached for reuse, this
449450
# directory is used for the cache
450-
#template_cache_path: database/compiled_templates
451+
template_cache_path: database/compiled_templates
451452

452453
# Set to false to disable various checks Galaxy will do to ensure it
453454
# can run job scripts before attempting to execute or submit them.
@@ -480,13 +481,13 @@ galaxy:
480481
# from external sources such as http://dx.doi.org/ by Galaxy - the
481482
# following parameters can be used to control the caching used to
482483
# store this information.
483-
#citation_cache_data_dir: database/citations/data
484+
citation_cache_data_dir: database/citations/data
484485

485486
# Citation related caching. Tool citations information maybe fetched
486487
# from external sources such as http://dx.doi.org/ by Galaxy - the
487488
# following parameters can be used to control the caching used to
488489
# store this information.
489-
#citation_cache_lock_dir: database/citations/lock
490+
citation_cache_lock_dir: database/citations/lock
490491

491492
# Tools with a number of outputs not known until runtime can write
492493
# these outputs to a directory for collection by Galaxy when the job

template/script.sh.erb

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,21 @@ setup_env () {
4646
EMAIL="${USER}@osc.edu"
4747
JOB_CONFIG_FILE_PATH="${TEMPLATE_PATH}/job_conf.xml"
4848
OUTPUT_PATH="<param id='Output_Path'>${TEMPLATE_PATH}/output</param>"
49-
49+
INTEGRATED_TOOL_PANEL_CONFIG="${TEMPLATE_PATH}/integrated_tool_panel.xml"
5050
sed -i -e"s/^\s*mount:.*/ mount: $(echo $MOUNT | sed -e 's/[\/&]/\\&/g')/" "${TEMPLATE_PATH}/galaxy.yml"
5151
sed -i -e"s/^\s*cookie_path:.*/ cookie_path: $(echo $COOKIE_PATH | sed -e 's/[\/&]/\\&/g')/" "${TEMPLATE_PATH}/galaxy.yml"
5252
sed -i -e"s/^\s*database_connection:.*/ database_connection: $(echo $DATABASE | sed -e 's/[\/&]/\\&/g')/" "${TEMPLATE_PATH}/galaxy.yml"
5353
sed -i -e"s/^\s*file_path:.*/ file_path: $(echo ${LOCAL_GALAXY_DIRECTORY}/database/files | sed -e 's/[\/&]/\\&/g')/" "${TEMPLATE_PATH}/galaxy.yml"
5454
sed -i -e"s/^\s*new_file_path:.*/ new_file_path: $(echo ${LOCAL_GALAXY_DIRECTORY}/database/tmp | sed -e 's/[\/&]/\\&/g')/" "${TEMPLATE_PATH}/galaxy.yml"
55+
sed -i -e"s/^\s*object_store_cache_path:.*/ object_store_cache_path: $(echo ${LOCAL_GALAXY_DIRECTORY}/database/object_store_cache | sed -e 's/[\/&]/\\&/g')/" "${TEMPLATE_PATH}/galaxy.yml"
5556
sed -i -e"s/^\s*single_user:.*/ single_user: $(echo $EMAIL | sed -e 's/[\/&]/\\&/g')/" "${TEMPLATE_PATH}/galaxy.yml"
5657
sed -i -e"s/^\s*job_config_file:.*/ job_config_file: $(echo $JOB_CONFIG_FILE_PATH | sed -e 's/[\/&]/\\&/g')/" "${TEMPLATE_PATH}/galaxy.yml"
58+
sed -i -e"s/^\s*integrated_tool_panel_config:.*/ integrated_tool_panel_config: $(echo $INTEGRATED_TOOL_PANEL_CONFIG | sed -e 's/[\/&]/\\&/g')/" "${TEMPLATE_PATH}/galaxy.yml"
5759
sed -i -e"s/^\s*cluster_files_directory:.*/ cluster_files_directory: $(echo ${LOCAL_GALAXY_DIRECTORY}/database/pbs | sed -e 's/[\/&]/\\&/g')/" "${TEMPLATE_PATH}/galaxy.yml"
60+
sed -i -e"s/^\s*template_cache_path:.*/ template_cache_path: $(echo ${LOCAL_GALAXY_DIRECTORY}/database/compiled_templates | sed -e 's/[\/&]/\\&/g')/" "${TEMPLATE_PATH}/galaxy.yml"
61+
sed -i -e"s/^\s*citation_cache_data_dir:.*/ citation_cache_data_dir: $(echo ${LOCAL_GALAXY_DIRECTORY}/database/citations/data | sed -e 's/[\/&]/\\&/g')/" "${TEMPLATE_PATH}/galaxy.yml"
62+
sed -i -e"s/^\s*citation_cache_lock_dir:.*/ citation_cache_lock_dir: $(echo ${LOCAL_GALAXY_DIRECTORY}/database/citations/lock | sed -e 's/[\/&]/\\&/g')/" "${TEMPLATE_PATH}/galaxy.yml"
63+
sed -i -e"s/^\s*job_working_directory:.*/ job_working_directory: $(echo ${LOCAL_GALAXY_DIRECTORY}/database/jobs_directory | sed -e 's/[\/&]/\\&/g')/" "${TEMPLATE_PATH}/galaxy.yml"
5864
sed -i.bak 's/\(ppn=\).*/\11<\/param>/' "${JOB_CONFIG_FILE_PATH}"
5965
sed -i -e"s/outputpath/$(echo $OUTPUT_PATH | sed -e 's/[\/&]/\\&/g')/" "${JOB_CONFIG_FILE_PATH}"
6066
sed -i -e"s/^.*Output_Path.*/ $(echo $OUTPUT_PATH | sed -e 's/[\/&]/\\&/g')/" "${JOB_CONFIG_FILE_PATH}"

0 commit comments

Comments
 (0)