This question was moved to the galaxy-dev@bx.psu.edu mailing list for discussion:

http://dev.list.galaxyproject.org/Output-file-to-history-td4663879.html

Jen
Galaxy team
https://wiki.galaxyproject.org/MailingLists

On 3/21/14 9:28 AM, Sebastian Luna Valero wrote:

Dear All,

I am trying to add a new tool in Galaxy and I have the following problem.

Let me explain a simplified example. Let's imagine that my script works from CLI as follows:

python script.py --input "input-file" --pattern "output-pattern"

After processing "input-file", the script writes several output files and their name is given according to "output-pattern".

The number of output files depends on the content of "input-file". The output files are written to the current working directory where script.py is located.

In the simplest scenario, I get only one output file in the working directory.

My problem is that I would like to see the output files in Galaxy's history without modifying the CLI interface.

To solve this problem, I have looked at the wiki page:

https://wiki.galaxyproject.org/Admin/Tools/Multiple%20Output%20Files#Number_of_Output_datasets_cannot_be_determined_until_tool_run

and the email here:

http://dev.list.galaxyproject.org/Multiple-output-files-do-not-appear-in-history-td4660470.html

However, I think that mine is a different scenario. I do not want to add new output parameters in the CLI. I would like Galaxy to bring these output files to my history without modifying the CLI options, is that possible?

Many thanks in advance for your help!

Best regards,
Sebastian.



___________________________________________________________
The Galaxy User list should be used for the discussion of
Galaxy analysis and other features on the public server
at usegalaxy.org.  Please keep all replies on the list by
using "reply all" in your mail client.  For discussion of
local Galaxy instances and the Galaxy source code, please
use the Galaxy Development list:

  http://lists.bx.psu.edu/listinfo/galaxy-dev

To manage your subscriptions to this and other Galaxy lists,
please use the interface at:

  http://lists.bx.psu.edu/

To search Galaxy mailing lists use the unified search at:

  http://galaxyproject.org/search/mailinglists/

-- 
Jennifer Hillman-Jackson
http://galaxyproject.org