diff variant_eval.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/variant_eval.xml	Thu Feb 28 12:45:44 2013 -0600
+++ b/variant_eval.xml	Thu Feb 28 15:32:04 2013 -0600
@@ -47,9 +47,12 @@
             -p '--pedigreeString "${pedigree_string.pedigree_string}"'
         #end for
         -p '--pedigreeValidationType "${gatk_param_type.pedigree_validation_type}"'
+        #set default_read_filters = ['DuplicateReadFilter','FailsVendorQualityCheckFilter','NotPrimaryAlignmentFilter','MalformedReadFilter','UnmappedReadFilter']
         #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' ):