changeset 17:426f8753acb2 draft

Uploaded
author greg
date Fri, 15 Jan 2016 10:07:58 -0500
parents f90fefd516a5
children e3d9e74cae68
files multigps.xml
diffstat 1 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/multigps.xml	Wed Jan 06 07:57:45 2016 -0500
+++ b/multigps.xml	Fri Jan 15 10:07:58 2016 -0500
@@ -180,12 +180,19 @@
                             </param>
                             <when value="cached">
                                 <param name="reference_genome" type="select" label="Using reference genome">
-                                    <options from_data_table="fasta_indexes"/>
+                                    <options from_data_table="all_fasta">
+                                        <filter type="data_meta" key="dbkey" ref="input_items.input" column="1"/>
+                                    </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_genome" type="data" format="fasta" label="Using reference genome"/>
+                                <param name="reference_genome" type="data" format="fasta" label="Using reference genome">
+                                    <options>
+                                        <filter type="data_meta" key="dbkey" ref="input_items.input"/>
+                                    </options>
+                                    <validator type="no_options" message="The current history does not include a fasta dataset with the build associated with the selected input file"/>
+                                </param>
                             </when>
                         </conditional>
                         <conditional name="multigps_priors_cond">