2
|
1 <macros>
|
|
2 <macro name="reference_loc">
|
|
3 <conditional name="reference_source">
|
|
4 <param name="reference_source_selector" type="select" label="Will you select a reference genome from your history or use a built-in index?" help="Built-ins were indexed using default options. See `Indexes` section of help below">
|
|
5 <option value="cached">Use a built-in genome index</option>
|
|
6 <option value="history">Use a genome from history and build index</option>
|
|
7 </param>
|
|
8 <when value="cached">
|
|
9 <param name="ref_file" type="select" label="Using reference genome" help="Select genome from the list">
|
|
10 <options from_data_table="mutect2_indexes">
|
|
11 <filter type="sort_by" column="2" />
|
|
12 <validator type="no_options" message="No indexes are available" />
|
|
13 </options>
|
|
14 <validator type="no_options" message="A built-in reference genome is not available for the build associated with the selected input file"/>
|
|
15 </param>
|
|
16 </when>
|
|
17 <when value="history">
|
7
|
18 <param name="ref_file_h" type="data" format="fasta" label="Use the following dataset as the reference sequence" help="You can upload a FASTA sequence to the history and use it as reference" />
|
2
|
19 </when>
|
|
20 </conditional>
|
|
21 </macro>
|
|
22 </macros>
|