diff gemini_macros.xml @ 4:ba3abde6775b draft default tip

Uploaded
author iuc
date Thu, 15 Jan 2015 15:33:48 -0500
parents 93bb0cfacefb
children
line wrap: on
line diff
--- a/gemini_macros.xml	Tue Jan 13 10:07:11 2015 -0500
+++ b/gemini_macros.xml	Thu Jan 15 15:33:48 2015 -0500
@@ -88,11 +88,17 @@
 
     <xml name="sanitize_query">
         <sanitizer invalid_char="">
-            <valid initial="string.printable">
-            </valid>
+            <valid initial="string.printable"/>
        </sanitizer>
     </xml>
 
+    <token name="@CMDLN_SQL_FILTER_FILTER_OPTION@">
+        #if str($filter.filter_selector) == 'yes' and $filter.filter:
+            #import pipes
+            --filter ${ pipes.quote( str( $filter.filter ) ) or "''" }
+        #end if
+    </token>
+
     <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)">