diff gemini_macros.xml @ 8:71dc82354595 draft

Uploaded
author iuc
date Mon, 25 Aug 2014 08:07:37 -0400
parents 5e0f81024cd4
children fc853d53532c
line wrap: on
line diff
--- a/gemini_macros.xml	Mon Aug 25 04:25:41 2014 -0400
+++ b/gemini_macros.xml	Mon Aug 25 08:07:37 2014 -0400
@@ -84,11 +84,20 @@
             </param>
             <when value="no"/>
             <when value="yes">
-                <param name="filter" type="text" label="Contraints in SQL syntax" help="Conditions applied here will become WHERE clauses in the query issued to the GEMINI database. E.g. alt='G' or impact_severity = 'HIGH'. (--filter)" />
+                <param name="filter" type="text" size="20" label="Contraints in SQL syntax" help="Conditions applied here will become WHERE clauses in the query issued to the GEMINI database. E.g. alt='G' or impact_severity = 'HIGH'. (--filter)">
+                    <expand macro="sanitize_query" />
+                </param>
             </when>
         </conditional>
     </xml>
 
+    <xml name="sanitize_query">
+        <sanitizer invalid_char="">
+            <valid initial="string.printable">
+            </valid>
+       </sanitizer>
+    </xml>
+
     <xml name="min_sequence_depth">
         <param name="d" type="integer" value="0" size="5" label="The minimum aligned sequence depth (genotype DP) required for each sample"
                 help="default: 0 (-d)">