diff reduce_reads.xml @ 33:76f8ca47b810 draft

Omit --read_filter param included by default
author Jim Johnson <jj@umn.edu>
date Thu, 28 Feb 2013 15:32:04 -0600
parents 6ef8eb568700
children b99c25b0ad4d
line wrap: on
line diff
--- a/reduce_reads.xml	Thu Feb 28 12:45:44 2013 -0600
+++ b/reduce_reads.xml	Thu Feb 28 15:32:04 2013 -0600
@@ -37,9 +37,12 @@
             -p '--pedigreeString "${pedigree_string.pedigree_string}"'
         #end for
         -p '--pedigreeValidationType "${gatk_param_type.pedigree_validation_type}"'
+        #set default_read_filters = ['MalformedReadFilter']
         #for $read_filter in $gatk_param_type.read_filter:
-            -p '--read_filter "${read_filter.read_filter_type.read_filter_type_selector}"
-            ###raise Exception( str( dir( $read_filter ) ) )
+            -p '
+            #if ${read_filter.read_filter_type.read_filter_type_selector} not in $default_read_filters:
+                --read_filter "${read_filter.read_filter_type.read_filter_type_selector}"
+            #end_if
             #for $name, $param in $read_filter.read_filter_type.iteritems():
                 #if $name not in [ "__current_case__", "read_filter_type_selector" ]:
                     #if hasattr( $param.input, 'truevalue' ):