Bureaucrats, cc_docs_admin, cc_staff
2,879
edits
Line 32: | Line 32: | ||
=== Galaxy configuration === | === Galaxy configuration === | ||
Files in the <code>config</code> directory are used to configure your Galaxy server. Configuring and optimizing Galaxy is tricky and explaining all the configuration files is beyond the scope of this article. Here we explain some configuration details which you should know about. We recommend you go though these configuration files and set them up appropriately. However, we strongly recommend not to overwrite the following variables that are set by the admin. Here are some of those variables: | |||
* File <code>galaxy.yml</code>: its most important and the main | * File <code>galaxy.yml</code>: its most important and the main configuration file. The following variables are set in this file: | ||
** <code>http:</code> | ** <code>http:</code> contains your unique port number | ||
** <code>database_connection</code> the name of your Galaxy database and your database server. | ** <code>database_connection</code> is the name of your Galaxy database and your database server. | ||
** <code>virtualenv</code> the path to | ** <code>virtualenv</code> is the path to a [[Python#Creating_and_using_a_virtual_environment|Python virtual environment]] in the gateway machine | ||
** <code>file_path, new_file_path, tool_config_file, shed_tool_config_file, tool_dependency_dir, tool_data_path, visualization_plugins_directory, job_working_directory, cluster_files_directory, template_cache_path, citation_cache_data_dir, citation_cache_lock_dir</code> | ** <code>file_path, new_file_path, tool_config_file, shed_tool_config_file, tool_dependency_dir, tool_data_path, visualization_plugins_directory, job_working_directory, cluster_files_directory, template_cache_path, citation_cache_data_dir, citation_cache_lock_dir</code> are appropriate paths for tools, tool sheds and dependencies. | ||
* <code>job_conf.xml</code>: | * <code>job_conf.xml</code>: Variables in this file are used for [[Running jobs|submitting jobs to Slurm]]. Various packages have different job specifications. For example, package "spades" uses 8 cores with a wall-time of 3 hours and the job will be submitted under your default group name <code>def-xxxxx</code>. Please take a look at this file and set up your desired job specifications. Note that any change in these configuration files requires the server to be restarted. |