mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Documented use of library upload tool
This commit is contained in:
@@ -9,3 +9,5 @@ documentation. These resources should be used together.
|
||||
:maxdepth: 3
|
||||
|
||||
interactive_environments.rst
|
||||
|
||||
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.
|
||||
Reference in New Issue
Block a user