comparison variant_select.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
101 #end for 101 #end for
102 #for $pedigree_string in $gatk_param_type.pedigree_string_repeat: 102 #for $pedigree_string in $gatk_param_type.pedigree_string_repeat:
103 -p '--pedigreeString "${pedigree_string.pedigree_string}"' 103 -p '--pedigreeString "${pedigree_string.pedigree_string}"'
104 #end for 104 #end for
105 -p '--pedigreeValidationType "${gatk_param_type.pedigree_validation_type}"' 105 -p '--pedigreeValidationType "${gatk_param_type.pedigree_validation_type}"'
106 #set default_read_filters = ['DuplicateReadFilter','FailsVendorQualityCheckFilter','NotPrimaryAlignmentFilter','MalformedReadFilter','UnmappedReadFilter'] 106 #set default_read_filters = ['DuplicateRead','FailsVendorQualityCheck','NotPrimaryAlignment','MalformedRead','UnmappedRead']
107 #for $read_filter in $gatk_param_type.read_filter: 107 #for $read_filter in $gatk_param_type.read_filter:
108 -p ' 108 -p '
109 #if ${read_filter.read_filter_type.read_filter_type_selector} not in $default_read_filters: 109 #if $read_filter.read_filter_type.read_filter_type_selector not in $default_read_filters:
110 --read_filter "${read_filter.read_filter_type.read_filter_type_selector}" 110 --read_filter "${read_filter.read_filter_type.read_filter_type_selector}"
111 #end_if 111 #end_if
112 #for $name, $param in $read_filter.read_filter_type.iteritems(): 112 #for $name, $param in $read_filter.read_filter_type.iteritems():
113 #if $name not in [ "__current_case__", "read_filter_type_selector" ]: 113 #if $name not in [ "__current_case__", "read_filter_type_selector" ]:
114 #if hasattr( $param.input, 'truevalue' ): 114 #if hasattr( $param.input, 'truevalue' ):
264 </when> 264 </when>
265 <when value="FailsVendorQualityCheck"> 265 <when value="FailsVendorQualityCheck">
266 <!-- no extra options --> 266 <!-- no extra options -->
267 </when> 267 </when>
268 <when value="MalformedRead"> 268 <when value="MalformedRead">
269 <!-- no extra options --> 269 <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"/>
270 </when> 270 </when>
271 <when value="MappingQuality"> 271 <when value="MappingQuality">
272 <param name="min_mapping_quality_score" type="integer" value="10" label="Minimum read mapping quality required to consider a read for calling"/> 272 <param name="min_mapping_quality_score" type="integer" value="10" label="Minimum read mapping quality required to consider a read for calling"/>
273 </when> 273 </when>
274 <when value="MappingQualityUnavailable"> 274 <when value="MappingQualityUnavailable">