Interesting - this was a workflow with exactly 1 step - the "add a column" 
tool. I looked in my database/files/000 directory, and there was no dataset id 
53 - would that be an id in the history_dataset_association table?

In any case, I would like to be able to start a workflow for the user without 
interfering with any notion of the "current" workflow they may have open in 
their browser. Is that possible now, or do I need to:

-          Create a history and set it be the "current" history (how is that 
done?)

-          Import my datasets into it

-          Fetch the form (which will autopopulate the file inputs from the 
"current" history

-          Let them launch it by submitting the form?

John Duddy
Sr. Staff Software Engineer
Illumina, Inc.
9885 Towne Centre Drive
San Diego, CA 92121
Tel: 858-736-3584
E-mail: jdu...@illumina.com<mailto:jdu...@illumina.com>

From: James Taylor [mailto:ja...@jamestaylor.org]
Sent: Tuesday, August 09, 2011 5:41 PM
To: Duddy, John
Cc: galaxy-dev
Subject: Re: [galaxy-dev] Customizing/reusing the workflows/run.mako template

John, the prefixes like "22|" are added to the inputs associated with each 
step, so that they can be separated back out. In this case, the chunk of HTML 
you have pasted likely corresponds to the 22nd step of the workflow.

53 on the other hand should be a dataset id from the current history (unencoded 
in this case).

On Aug 9, 2011, at 8:24 PM, Duddy, John wrote:


I'd like to integrate with Galaxy and launch workflows, and I am hoping to 
reuse  Galaxy's support for prompting the user for items that are tagged as 
being set at runtime. It looks to me that I could load the workflows/run page 
in a frame on my app (on the same server) and reuse it.

The problem I'm having is that I don't understand how the parameters for the 
input files are encoded. For example, here is one for adding a column to a 
dataset:





<select name="22|input" last_selected_value="53">


<option value="53" selected>1: Add column on data 6</option>


</select>


<input type="hidden" name="22|__force_update__input" value="true" />


</div>


<div style="clear: both"></div>


</div>

What are 22 and 53? They don't seem to correspond to dataset IDs.

Is there a way that I can encode data library IDs such that I can submit this 
form and have Galaxy run the workflow with the right files in a new history?

Thanks!

John Duddy
Sr. Staff Software Engineer
Illumina, Inc.
9885 Towne Centre Drive
San Diego, CA 92121
Tel: 858-736-3584
E-mail: jdu...@illumina.com<mailto:jdu...@illumina.com>

___________________________________________________________
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:

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

___________________________________________________________
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:

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

Reply via email to