Hi Jen,

This would be very useful for users who don't have access to Galaxy logs.  

Could you please describe in additional detail how (sequence of steps) to cause a tool to fail in order to make the bug icon appear ?   I am assuming you can, through the method you suggested, cause a tool/job that would normally have succeeded to fail instead.

Thanks.

From: Jennifer Jackson <jen@bx.psu.edu>
Date: Thursday, August 29, 2013 8:30 PM
To: lilach noy <lilachnoy@gmail.com>
Cc: "galaxy-user@bx.psu.edu" <galaxy-user@bx.psu.edu>
Subject: Re: [galaxy-user] watching command line to a query

Hi Lilach,

Often tools will report the command line in the comments after a job has completed, but not always. Including the full command string with all tools is a goal

But until then, there is a way to get it for all tools (or nearly all) via a very special method. Please stay with me here - it is by purposely causing the tool to fail (really error -> turn dataset red), then clicking on the green bug icon as if to submit a bug report. Sometimes the command string is available in the stdout/stderr in the bug report or "i" info page and you do not need to actually submit it - you can just review the report and data. Other times, you will need to submit it and wait for the email copy of that report to be cc'd to you. In the bug report the full command string as executed will be reported about 1/3 of the way down in the email.

I use this exact same information every day to help people solve problems - it is very informative, especially for folks with a bioinformatics background who just need to know the exact details or those wanting to make the full connection between tool form and command-line options. This information is saved/available in every single job, so no one should be concerned that only error jobs have this sort of information recorded. All jobs are perfectly reproducible at this level, the extreme detail is just not in the UI display for all - yet.

When you are doing this to just capture command strings (submitting bug reports), please include a note in the comments stating to ignore the bug report, e.g. "that it was on purpose - ignore!", and we'll ignore, no problem! :)

The "error" is also reported in the logs, but as noted earlier in this thread, you won't have access to that on external servers. Combined with the wrapper and source code at galaxy-central, 3rd party sites, and the tool shed, this should give you both the full access and the autonomy you want to learn from existing tools as implemented on Test and Main (and perhaps other sources - you'll have to check each for the bug report settings/policies).

Hope this helps!

Jen
Galaxy team

On 8/27/13 5:29 AM, lilach noy wrote:
Hello,

How can i see the command line a query executes?
To be more specific i am new to the Galaxy and plan to use as a way to learn how to run queries locally. In order to understand not only the functions available but also the way i can write it on my own i'd be happy to be able to see the command line that execute my queries.  How can I see this?

Thank you



___________________________________________________________
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