diff --git a/doc/source/admin/index.rst b/doc/source/admin/index.rst index a3abf3d072e..af7df7a4783 100644 --- a/doc/source/admin/index.rst +++ b/doc/source/admin/index.rst @@ -9,3 +9,5 @@ documentation. These resources should be used together. :maxdepth: 3 interactive_environments.rst + + useful_scripts.rst diff --git a/doc/source/admin/useful_scripts.rst b/doc/source/admin/useful_scripts.rst new file mode 100644 index 00000000000..46746a03b99 --- /dev/null +++ b/doc/source/admin/useful_scripts.rst @@ -0,0 +1,17 @@ +Useful Scripts and Administration Tricks +======================================== + +This page aims to help ease the burden of administration with some easy to use scripts and documentation on what is available for admins to use. + +Uploading a directory into a Data Library +----------------------------------------- + +Data libraries can really ease the use of Galaxy for your administrators and end users. They provide a form of shared folders that users can copy datasets from into their history. + +This script was developed to be as general as possible, allowing you to pipe the output of a much more complex find command to this script, uploading all of the files into a data library: + +.. code-block:: console + + $ find /path/to/sequencing-data/ -name '*.fastq' -or -name '*.fa' | python $GALAXY_ROOT/scripts/api/library_upload_files.py + +Find has an extremely expressive command line for selecting specific files that are of interest to you. These will then be recursively uploaded into Galaxy, maintaining the folder hierarchy, a useful feature when moving legacy data into Galaxy.