Question: Multiple Output Directories
0
gravatar for smrupp16
23 months ago by
smrupp1610
United States
smrupp1610 wrote:

I am currently attempting to incorporate a program that I wrote into galaxy. I've found a few similar questions, but none of them seem to address this issue specifically.

This program makes several sub-directories for intermediate and output files. I'm pretty sure I have the inputs all figured out, but I'm a little confused about the output. In particular, it is possible to make each directory available for download? The intermediate files are still useful, which is why I don't have the program delete them in the first place. If not, is it possible to make only the final directory available?

Thank you for any help.

custom tool • 573 views
ADD COMMENTlink modified 23 months ago • written 23 months ago by smrupp1610
0
gravatar for Jennifer Hillman Jackson
23 months ago by
United States
Jennifer Hillman Jackson25k wrote:

Hello,

The outputs would go into a Galaxy history as datasets and be on disk (and tracked in the database).

If you are admin, then any data Galaxy produces can be accessed/copied to other locations. Be sure to avoid moving/removing the data on your file system that the Galaxy database is tracking or problems can come up.

For others users going through the UI, the histories can have datasets copied/moved into a new history with just the final output and users can download it from there. The disc icon per dataset has the URL for curl/wget. These operations can be done directly or through a script or the API. Clicking to directly download from the history is also an option.

API help: https://wiki.galaxyproject.org/Admin/API

Is this enough help?

Thanks, Jen, Galaxy team

ADD COMMENTlink written 23 months ago by Jennifer Hillman Jackson25k
0
gravatar for smrupp16
23 months ago by
smrupp1610
United States
smrupp1610 wrote:

Thank you for the response! That definitely helps a lot.

For the XML file, do I need to specify a separate output for each directory?

ADD COMMENTlink written 23 months ago by smrupp1610
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 184 users visited in the last hour