Mercurial > repos > elixir-it > muse
diff muse_macros.xml @ 1:fe9b86b5da79 draft
Uploaded
author | elixir-it |
---|---|
date | Thu, 18 Oct 2018 08:06:06 -0400 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/muse_macros.xml Thu Oct 18 08:06:06 2018 -0400 @@ -0,0 +1,22 @@ +<macros> + <macro name="reference_loc"> + <conditional name="reference_source"> + <param name="reference_source_selector" type="select" label="Will you select a reference genome from your history or use a built-in index?"> + <option value="cached">Use a built-in genome</option> + <option value="history">Use a genome from history as reference</option> + </param> + <when value="cached"> + <param name="ref_file" type="select" label="Using reference genome" help="Select genome from the list"> + <options from_data_table="muse_index"> + <filter type="sort_by" column="2" /> + <validator type="no_options" message="No indexes are available" /> + </options> + <validator type="no_options" message="A built-in reference genome is not available for the build associated with the selected input file"/> + </param> + </when> + <when value="history"> + <param name="reference" 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" /> + </when> + </conditional> + </macro> +</macros>