Documented use of library upload tool

This commit is contained in:
Eric Rasche
2015-10-14 14:48:30 -05:00
parent aec9961407
commit 1f9be2410b
2 changed files with 19 additions and 0 deletions
+2
View File
@@ -9,3 +9,5 @@ documentation. These resources should be used together.
:maxdepth: 3
interactive_environments.rst
useful_scripts.rst
+17
View File
@@ -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.