0
|
1 <macros>
|
|
2 <macro name="bed_loc">
|
|
3 <conditional name="bed_source">
|
|
4 <param name="bed_source_selector" type="select" label="Will you select a bed file from your history or use a built-in bed?" optional="true">
|
|
5 <option value="cached">Use a built-in bed</option>
|
|
6 <option value="history">Use a bed from history as reference</option>
|
|
7 </param>
|
|
8 <when value="cached">
|
|
9 <param name="bed_cached" type="select" label="Using reference bed" help="Select bed from the list">
|
|
10 <options from_data_table="covacs_bed">
|
|
11 <filter type="sort_by" column="2" />
|
|
12 <validator type="no_options" message="No bed are available" />
|
|
13 </options>
|
|
14 <validator type="no_options" message="A built-in bed file is not available"/>
|
|
15 </param>
|
|
16 </when>
|
|
17 <when value="history">
|
|
18 <param name="bed_history" type="data" format="bed" label="Use the following dataset as reference bed " help="You can upload a bed file to the history and use it" optional="true" />
|
|
19 </when>
|
|
20 </conditional>
|
|
21 </macro>
|
|
22 </macros>
|