Downloading entire history as tar.gz archive
Hello, Did you ever wish you could download all the datasets in the current history as TAR.GZ file ? I know I did... The attached file will allow you to do that (assuming you have your own local galaxy server). Installation ------------- 1. put the attached file (history_exporter.py) in the galaxy directory, in: [GALAXY]/lib/galaxy/web/controllers 2. Install GNU TAR version 1.20 Most linux distributions don't yet have tar 1.20, but it is required for this module to work... You'll probably have to install it from source: http://www.gnu.org/software/tar/ 3. Change line 82 (tar_exe variable) in 'history_exporter.py' to point to the path of the new tar. Usage ------ Reload galaxy and switch to a history with some datasets, then browse to: http://YOUR-GALAXY-URL/history_exporter/export This will start a download of a tar.gz file containing all the datasets in the current history (properly renamed, not as 'dataset_XXXX'). Additionally, a README.txt file is added to the tarball, describing each dataset. To see how the tar file is created, go to: http://YOUR-GALAXY-URL/history_exporter/debug Comments are welcome, Happy Holidays, Gordon.
participants (1)
-
Assaf Gordon