comparison print_reads.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
35 #end for 35 #end for
36 #for $pedigree_string in $gatk_param_type.pedigree_string_repeat: 36 #for $pedigree_string in $gatk_param_type.pedigree_string_repeat:
37 -p '--pedigreeString "${pedigree_string.pedigree_string}"' 37 -p '--pedigreeString "${pedigree_string.pedigree_string}"'
38 #end for 38 #end for
39 -p '--pedigreeValidationType "${gatk_param_type.pedigree_validation_type}"' 39 -p '--pedigreeValidationType "${gatk_param_type.pedigree_validation_type}"'
40 #set default_read_filters = ['MalformedReadFilter'] 40 #set default_read_filters = ['MalformedRead']
41 #for $read_filter in $gatk_param_type.read_filter: 41 #for $read_filter in $gatk_param_type.read_filter:
42 -p ' 42 -p '
43 #if ${read_filter.read_filter_type.read_filter_type_selector} not in $default_read_filters: 43 #if $read_filter.read_filter_type.read_filter_type_selector not in $default_read_filters:
44 --read_filter "${read_filter.read_filter_type.read_filter_type_selector}" 44 --read_filter "${read_filter.read_filter_type.read_filter_type_selector}"
45 #end_if 45 #end_if
46 #for $name, $param in $read_filter.read_filter_type.iteritems(): 46 #for $name, $param in $read_filter.read_filter_type.iteritems():
47 #if $name not in [ "__current_case__", "read_filter_type_selector" ]: 47 #if $name not in [ "__current_case__", "read_filter_type_selector" ]:
48 #if hasattr( $param.input, 'truevalue' ): 48 #if hasattr( $param.input, 'truevalue' ):
214 </when> 214 </when>
215 <when value="FailsVendorQualityCheck"> 215 <when value="FailsVendorQualityCheck">
216 <!-- no extra options --> 216 <!-- no extra options -->
217 </when> 217 </when>
218 <when value="MalformedRead"> 218 <when value="MalformedRead">
219 <!-- no extra options --> 219 <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"/>
220 </when> 220 </when>
221 <when value="MappingQuality"> 221 <when value="MappingQuality">
222 <param name="min_mapping_quality_score" type="integer" value="10" label="Minimum read mapping quality required to consider a read for calling"/> 222 <param name="min_mapping_quality_score" type="integer" value="10" label="Minimum read mapping quality required to consider a read for calling"/>
223 </when> 223 </when>
224 <when value="MappingQualityUnavailable"> 224 <when value="MappingQualityUnavailable">