changeset 6:4175136d6d38 draft

Uploaded
author elixir-it
date Fri, 09 Nov 2018 08:59:11 -0500
parents c8dda6456827
children 14856ae90c1e
files vcf_macros.xml
diffstat 1 files changed, 22 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/vcf_macros.xml	Fri Nov 09 08:59:11 2018 -0500
@@ -0,0 +1,22 @@
+<macros>
+  <macro name="vcf_loc">
+      <conditional name="vcf_source">
+            <param name="vcf_source_selector" type="select" label="Will you select a vcf file from your history or use a built-in vcf?" help=" vcf file over which operate">
+                <option value="cached">Use a built-in vcf</option>
+                <option value="history">Use a vcf from history as reference</option>
+            </param>
+            <when value="cached">
+                <param name="vcf_cached" type="select" label="Using reference vcf" help="Select vcf from the list">
+                    <options from_data_table="covacs_vcf">
+                        <filter type="sort_by" column="2" />
+                        <validator type="no_options" message="No vcf are available" />
+                    </options>
+                    <validator type="no_options" message="A built-in vcf file is not available"/>
+                </param>
+            </when>
+            <when value="history">
+                <param name="vcf_history" type="data" format="vcf" label="Use the following dataset as reference vcf " help="You can upload a vcf file to the history and use it" optional="true" />
+            </when> 
+      </conditional>
+  </macro>
+</macros>