Re: [galaxy-dev] Adding a tool with additional html/js interface to make input selection

2014-02-18 Thread Saba Sehrish

On Feb 18, 2014, at 4:09 PM, Peter Cock  wrote:

> On Tue, Feb 18, 2014 at 9:59 PM, Saba Sehrish  wrote:
>> 
>> On Feb 18, 2014, at 3:22 PM, Peter Cock  wrote:
>>> 
>>> OK - so no deep changes to the Galaxy parameter data
>>> model etc would be needed (which is good news), 'just'
>>> a new table rendering of a *.loc based parameter.
>>> However, I'm not in a position to judge how much work
>>> that would be...
>>> 
>> 
>> Yes, correct. Thats the part where I am stuck. all the galaxy
>> tools are expected to work from command line, but here we
>> need to extract the inputs from a "rendered table" out of .loc
>> file. I have tried to embed some html in the wrapper xml file
>> for the tool, I am using CDATA and then html tags with in
>> it and combine with xml input tags for the command line
>> but it still does't get me closer to what I need to do.
>> 
> 
> I very much doubt this could be done in an individual tool
> wrapper XML file. Unless there is some trick I'm missing,
> in order to do this you (or someone else) will have to add
> new code to the Galaxy core itself.
> 
> Essentially, in addition to the current *.loc based 
> display options like drop down selection lists, and multi-
> select check boxes, a new table based view would be
> needed.
> 
> But as I said, a more expert opinion from the Galaxy team
> would be useful here.
> 
> Peter


I agree to what you said based on my limited experience and exploring of 
galaxy. 

Lets wait and see what Galaxy team’s opinion is. 


___
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/

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


Re: [galaxy-dev] Adding a tool with additional html/js interface to make input selection

2014-02-18 Thread Peter Cock
On Tue, Feb 18, 2014 at 9:59 PM, Saba Sehrish  wrote:
>
> On Feb 18, 2014, at 3:22 PM, Peter Cock  wrote:
>>
>> OK - so no deep changes to the Galaxy parameter data
>> model etc would be needed (which is good news), 'just'
>> a new table rendering of a *.loc based parameter.
>> However, I'm not in a position to judge how much work
>> that would be...
>>
>
> Yes, correct. Thats the part where I am stuck. all the galaxy
> tools are expected to work from command line, but here we
> need to extract the inputs from a "rendered table" out of .loc
> file. I have tried to embed some html in the wrapper xml file
> for the tool, I am using CDATA and then html tags with in
> it and combine with xml input tags for the command line
> but it still does't get me closer to what I need to do.
>

I very much doubt this could be done in an individual tool
wrapper XML file. Unless there is some trick I'm missing,
in order to do this you (or someone else) will have to add
new code to the Galaxy core itself.

Essentially, in addition to the current *.loc based 
display options like drop down selection lists, and multi-
select check boxes, a new table based view would be
needed.

But as I said, a more expert opinion from the Galaxy team
would be useful here.

Peter
___
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/

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


Re: [galaxy-dev] Adding a tool with additional html/js interface to make input selection

2014-02-18 Thread Saba Sehrish

On Feb 18, 2014, at 3:22 PM, Peter Cock 
mailto:p.j.a.c...@googlemail.com>> wrote:




On Tue, Feb 18, 2014 at 7:13 PM, Saba Sehrish 
mailto:ssehr...@fnal.gov>> wrote:

On Feb 18, 2014, at 12:23 PM, Peter Cock 
mailto:p.j.a.c...@googlemail.com>> wrote:

> On Tue, Feb 18, 2014 at 6:14 PM, Saba Sehrish 
> mailto:ssehr...@fnal.gov>> wrote:
>> I am using *.loc files, to create a bunch of tables I need, but I want to
>> display complete tables (e.g. from .loc file) with clickable elements
>> for users so that their input could be captured.
>>
>> For example if in my .loc file I have the following contents
>>
>> Model   SizePath
>> M001L180full path to some file
>> M002L256full path to some file
>> ...
>>
>> And I want this information to appear in the form of an html table
>> (can be some other table as well) when user loads the tool, and
>> all M001, M002 should be clickable elements.
>>
>> Once clicked they should be navigated to another table with more options.
>
> By clickable, are you wanting selection by row - or by cell?
> If by row this doesn't sound so different to how Galaxy's
> current *.loc parameters work...
>
> Peter

Its a row but the concern is that each row has 10 numbers in
it, and I have tried using .loc file to display this information to
the users in the form of a pull-down menu. It is difficult for
users to see the complete row with proper formatting and
table header to describe what does each number mean.
So the idea is to display this information in the form of a
table (using html, js) to the users instead of a select/pull
down menu.

OK - so no deep changes to the Galaxy parameter data
model etc would be needed (which is good news), 'just'
a new table rendering of a *.loc based parameter.
However, I'm not in a position to judge how much work
that would be…

Yes, correct. Thats the part where I am stuck. all the galaxy tools are 
expected to work from command line, but here we need to extract the inputs from 
a ”rendered table” out of .loc file. I have tried to embed some html in the 
wrapper xml file for the tool, I am using CDATA and then html tags with in it 
and combine with xml input tags for the command line but it still does’t get me 
closer to what I need to do.


On the bright side, from the API and functional testing
point of view, this would be just like the current *.loc
based parameters

(Hopefully one of the Galaxy team can give you a
more informed opinion.)

Peter


___
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/

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

Re: [galaxy-dev] Adding a tool with additional html/js interface to make input selection

2014-02-18 Thread Peter Cock
On Tue, Feb 18, 2014 at 7:13 PM, Saba Sehrish  wrote:

>
> On Feb 18, 2014, at 12:23 PM, Peter Cock 
> wrote:
>
> > On Tue, Feb 18, 2014 at 6:14 PM, Saba Sehrish  wrote:
> >> I am using *.loc files, to create a bunch of tables I need, but I want
> to
> >> display complete tables (e.g. from .loc file) with clickable elements
> >> for users so that their input could be captured.
> >>
> >> For example if in my .loc file I have the following contents
> >>
> >> Model   SizePath
> >> M001L180full path to some file
> >> M002L256full path to some file
> >> ...
> >>
> >> And I want this information to appear in the form of an html table
> >> (can be some other table as well) when user loads the tool, and
> >> all M001, M002 should be clickable elements.
> >>
> >> Once clicked they should be navigated to another table with more
> options.
> >
> > By clickable, are you wanting selection by row - or by cell?
> > If by row this doesn't sound so different to how Galaxy's
> > current *.loc parameters work...
> >
> > Peter
>
> Its a row but the concern is that each row has 10 numbers in

it, and I have tried using .loc file to display this information to

the users in the form of a pull-down menu. It is difficult for

users to see the complete row with proper formatting and

table header to describe what does each number mean.

So the idea is to display this information in the form of a

table (using html, js) to the users instead of a select/pull

down menu.
>

OK - so no deep changes to the Galaxy parameter data
model etc would be needed (which is good news), 'just'
a new table rendering of a *.loc based parameter.
However, I'm not in a position to judge how much work
that would be...

On the bright side, from the API and functional testing
point of view, this would be just like the current *.loc
based parameters

(Hopefully one of the Galaxy team can give you a
more informed opinion.)

Peter
___
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/

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

Re: [galaxy-dev] Adding a tool with additional html/js interface to make input selection

2014-02-18 Thread Saba Sehrish

On Feb 18, 2014, at 12:23 PM, Peter Cock  wrote:

> On Tue, Feb 18, 2014 at 6:14 PM, Saba Sehrish  wrote:
>> I am using *.loc files, to create a bunch of tables I need, but I want to
>> display complete tables (e.g. from .loc file) with clickable elements
>> for users so that their input could be captured.
>> 
>> For example if in my .loc file I have the following contents
>> 
>> Model   SizePath
>> M001L180full path to some file
>> M002L256full path to some file
>> ...
>> 
>> And I want this information to appear in the form of an html table
>> (can be some other table as well) when user loads the tool, and
>> all M001, M002 should be clickable elements.
>> 
>> Once clicked they should be navigated to another table with more options.
> 
> By clickable, are you wanting selection by row - or by cell?
> If by row this doesn't sound so different to how Galaxy's
> current *.loc parameters work...
> 
> Peter

Its a row but the concern is that each row has 10 numbers in it, and I have 
tried using .loc file to display this information to the users in the form of a 
pull-down menu. It is difficult for users to see the complete row with proper 
formatting and table header to describe what does each number mean. So the idea 
is to display this information in the form of a table (using html, js) to the 
users instead of a select/pull down menu. 


___
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/

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


Re: [galaxy-dev] Adding a tool with additional html/js interface to make input selection

2014-02-18 Thread Peter Cock
On Tue, Feb 18, 2014 at 6:14 PM, Saba Sehrish  wrote:
> I am using *.loc files, to create a bunch of tables I need, but I want to
> display complete tables (e.g. from .loc file) with clickable elements
> for users so that their input could be captured.
>
> For example if in my .loc file I have the following contents
>
> Model   SizePath
> M001L180full path to some file
> M002L256full path to some file
> ...
>
> And I want this information to appear in the form of an html table
> (can be some other table as well) when user loads the tool, and
> all M001, M002 should be clickable elements.
>
> Once clicked they should be navigated to another table with more options.

By clickable, are you wanting selection by row - or by cell?
If by row this doesn't sound so different to how Galaxy's
current *.loc parameters work...

Peter
___
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/

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


Re: [galaxy-dev] Adding a tool with additional html/js interface to make input selection

2014-02-18 Thread Saba Sehrish
I am using *.loc files, to create a bunch of tables I need, but I want to 
display complete tables (e.g. from .loc file) with clickable elements for users 
so that their input could be captured. 

For example if in my .loc file I have the following contents

Model   SizePath
M001L180full path to some file
M002L256full path to some file
…

And I want this information to appear in the form of an html table (can be some 
other table as well) when user loads the tool, and all M001, M002 should be 
clickable elements. 

Once clicked they should be navigated to another table with more options. 


On Feb 18, 2014, at 11:37 AM, Peter Cock  wrote:

> On Tue, Feb 18, 2014 at 5:19 PM, Saba Sehrish  wrote:
>> 
>> Hi,
>> 
>> We are trying to add a new tool to our local galaxy instance with the
>> following requirements.
>> 
>> When a user clicks on the tool in side panel from tools list, a table should
>> appear where the first element in each row is a clickable link. Users can
>> click on any of the element, and then see only there selected row and
>> another table with more options. Once user has made all the selections, then
>> a form should appear describing that user has made the following selection,
>> if he/she wishes to execute the tool now? And then users can submit the job.
>> 
>> If we implement such a thing in galaxy, we need to load a page with
>> aforementioned functionality, then map the users selection to the tool's
>> inputs, and then run the application i.e. the command line to execute it. Is
>> there a way in galaxy to load an html with javascript and use it to prepare
>> the inputs for the application we want to run, using the xml tool wrapper.
>> 
>> Thanks,
>> Saba
> 
> Might selections from static tables defined in *.loc files work,
> coupled to some conditionals so the second table changes?
> 
> Peter


___
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/

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


Re: [galaxy-dev] Adding a tool with additional html/js interface to make input selection

2014-02-18 Thread Peter Cock
On Tue, Feb 18, 2014 at 5:19 PM, Saba Sehrish  wrote:
>
> Hi,
>
> We are trying to add a new tool to our local galaxy instance with the
> following requirements.
>
> When a user clicks on the tool in side panel from tools list, a table should
> appear where the first element in each row is a clickable link. Users can
> click on any of the element, and then see only there selected row and
> another table with more options. Once user has made all the selections, then
> a form should appear describing that user has made the following selection,
> if he/she wishes to execute the tool now? And then users can submit the job.
>
> If we implement such a thing in galaxy, we need to load a page with
> aforementioned functionality, then map the users selection to the tool's
> inputs, and then run the application i.e. the command line to execute it. Is
> there a way in galaxy to load an html with javascript and use it to prepare
> the inputs for the application we want to run, using the xml tool wrapper.
>
> Thanks,
> Saba

Might selections from static tables defined in *.loc files work,
coupled to some conditionals so the second table changes?

Peter
___
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/

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


[galaxy-dev] Adding a tool with additional html/js interface to make input selection

2014-02-18 Thread Saba Sehrish

Hi,

We are trying to add a new tool to our local galaxy instance with the following 
requirements.

When a user clicks on the tool in side panel from tools list, a table should 
appear where the first element in each row is a clickable link. Users can click 
on any of the element, and then see only there selected row and another table 
with more options. Once user has made all the selections, then a form should 
appear describing that user has made the following selection, if he/she wishes 
to execute the tool now? And then users can submit the job.

If we implement such a thing in galaxy, we need to load a page with 
aforementioned functionality, then map the users selection to the tool's 
inputs, and then run the application i.e. the command line to execute it. Is 
there a way in galaxy to load an html with javascript and use it to prepare the 
inputs for the application we want to run, using the xml tool wrapper.

Thanks,
Saba

___
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/

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

[galaxy-dev] Adding a tool with additional html/js interface to make input selection

2014-02-12 Thread Saba Sehrish
Hi,

We are trying to add a new tool to our local galaxy instance with the following 
requirements. 

When a user clicks on the tool in side panel from tools list, a table display 
should appear where the first element in each row is a clickable link. Users 
can click on any of the element, and then see only there selected row and 
another table with more options. Once user has made all the selections, then a 
form should appear describing that you have made the following selection, do 
you want to execute the tool now? And then users can submit the job. 

If we implement such a thing in galaxy, we need to load a page with 
aforementioned functionality, then map the users selection to the tool's 
inputs, and then run the tool. The question is, is there a way in galaxy to 
load an html with javascript and use it to prepare the inputs for the tool we 
want to run, using the xml wrapper. 

Thanks,
Saba
 

 
___
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/

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