Job_id in a galaxy tool

classic Classic list List threaded Threaded
2 messages Options
| Threaded
Open this post in threaded view
|

Job_id in a galaxy tool

Katherine Beaulieu
Hello Galaxy Community,
Is it possible to get the job_id listed on the info 'eye' page within a tool wrapper?
Katherine

___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  https://lists.galaxyproject.org/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/
| Threaded
Open this post in threaded view
|

Re: Job_id in a galaxy tool

John Chilton-4
Can you clarify this? Do you want access to the job id during the job
execution or do you want to see it after the job is complete? It is
currently available after the job is complete using the "i" (view
details) button. If you want access to the job id as part of the tool
execution that is possible also - though generally discouraged. In
your cheetah block you can probably do something like:

$__app__.security.encode_id($output.creating_job.id)

Where 'output' is the name of any of the job outputs.

More info here:
http://dev.list.galaxyproject.org/find-UUID-of-current-history-in-tool-XML-wrapper-td4667113.html
http://dev.list.galaxyproject.org/Possible-to-pass-hostName-to-a-tool-td4667108.html

-John

On Wed, Oct 12, 2016 at 1:56 PM, Katherine Beaulieu
<[hidden email]> wrote:

> Hello Galaxy Community,
> Is it possible to get the job_id listed on the info 'eye' page within a tool
> wrapper?
> Katherine
>
> ___________________________________________________________
> Please keep all replies on the list by using "reply all"
> in your mail client.  To manage your subscriptions to this
> and other Galaxy lists, please use the interface at:
>   https://lists.galaxyproject.org/
>
> To search Galaxy mailing lists use the unified search at:
>   http://galaxyproject.org/search/mailinglists/
___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  https://lists.galaxyproject.org/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/