displaying further input based on previous input

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

displaying further input based on previous input

vs49
Hi all,

   I am trying to format the input to a java tool that I am writing. I want to display different options to choose from based on the user input. I am not sure how to do that.

For example,  based on the input file, I want to display the chromosome options to choose from. How do I do this?

<param name="input_bam_file" type="data" format="BAM" label="Input BAM file" help="Choose an input BAM file"/>

<param name="chromosome_options" type="select" label="Choose the chromosome">
         <option value="1">  chr1  </option>
         <option value="2">  chr2  </option>
</param>

I am not sure how to call a program that will generate the second input based on the first one and then wait for the user to choose the rest of the input and then run another program.


Thanks,
VJ.

___________________________________________________________
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/
Reply | Threaded
Open this post in threaded view
|

displaying further input based on previous input

vs49
Hi all,

   I am trying to format the input to a java tool that I am writing. I want to display different options to choose from based on the user input. I am not sure how to do that.

For example,  based on the input file, I want to display the chromosome options to choose from. How do I do this?

<param name="input_bam_file" type="data" format="BAM" label="Input BAM file" help="Choose an input BAM file"/>
<param name="chromosome_options" type="select" label="Choose the chromosome">
         <option value="1">  chr1  </option>
         <option value="2">  chr2  </option>
</param>

I am not sure how to call a program that will generate the second input based on the first one and then wait for the user to choose the rest of the input and then run another program.

I am a newbie. Any help is appreciated!
Thanks,
VJ.


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