comparison base_recalibrator.xml @ 35:a29c7d7d962d draft

Fix default read filter screening
author Jim Johnson <jj@umn.edu>
date Fri, 01 Mar 2013 07:52:02 -0600
parents b99c25b0ad4d
children 14d47237bb0a
comparison
equal deleted inserted replaced
34:b99c25b0ad4d 35:a29c7d7d962d
59 #end for 59 #end for
60 #for $pedigree_string in $gatk_param_type.pedigree_string_repeat: 60 #for $pedigree_string in $gatk_param_type.pedigree_string_repeat:
61 -p '--pedigreeString "${pedigree_string.pedigree_string}"' 61 -p '--pedigreeString "${pedigree_string.pedigree_string}"'
62 #end for 62 #end for
63 -p '--pedigreeValidationType "${gatk_param_type.pedigree_validation_type}"' 63 -p '--pedigreeValidationType "${gatk_param_type.pedigree_validation_type}"'
64 #set default_read_filters = ['DuplicateRead','FailsVendorQualityCheck','NotPrimaryAlignment','MappingQualityZero','MalformedRead','MappingQualityUnavailable','UnmappedRead']
64 #for $read_filter in $gatk_param_type.read_filter: 65 #for $read_filter in $gatk_param_type.read_filter:
65 -p '--read_filter "${read_filter.read_filter_type.read_filter_type_selector}" 66 -p '
67 #if $read_filter.read_filter_type.read_filter_type_selector not in $default_read_filters:
68 --read_filter "${read_filter.read_filter_type.read_filter_type_selector}"
69 #end_if
66 ###raise Exception( str( dir( $read_filter ) ) ) 70 ###raise Exception( str( dir( $read_filter ) ) )
67 #for $name, $param in $read_filter.read_filter_type.iteritems(): 71 #for $name, $param in $read_filter.read_filter_type.iteritems():
68 #if $name not in [ "__current_case__", "read_filter_type_selector" ]: 72 #if $name not in [ "__current_case__", "read_filter_type_selector" ]:
69 #if hasattr( $param.input, 'truevalue' ): 73 #if hasattr( $param.input, 'truevalue' ):
70 ${param} 74 ${param}
282 </when> 286 </when>
283 <when value="FailsVendorQualityCheck"> 287 <when value="FailsVendorQualityCheck">
284 <!-- no extra options --> 288 <!-- no extra options -->
285 </when> 289 </when>
286 <when value="MalformedRead"> 290 <when value="MalformedRead">
287 <!-- no extra options --> 291 <param name="filter_mismatching_base_and_quals" type="boolean" truevalue="--filter_mismatching_base_and_quals" falsevalue="" checked="false" label="filter out the reads with mismatching number of bases and base qualities" help="filter out the mismatch reads instead of quitting with an error"/>
288 </when> 292 </when>
289 <when value="MappingQuality"> 293 <when value="MappingQuality">
290 <param name="min_mapping_quality_score" type="integer" value="10" label="Minimum read mapping quality required to consider a read for calling"/> 294 <param name="min_mapping_quality_score" type="integer" value="10" label="Minimum read mapping quality required to consider a read for calling"/>
291 </when> 295 </when>
292 <when value="MappingQualityUnavailable"> 296 <when value="MappingQualityUnavailable">