comparison variant_annotator.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
80 #end for 80 #end for
81 #for $pedigree_string in $gatk_param_type.pedigree_string_repeat: 81 #for $pedigree_string in $gatk_param_type.pedigree_string_repeat:
82 -p '--pedigreeString "${pedigree_string.pedigree_string}"' 82 -p '--pedigreeString "${pedigree_string.pedigree_string}"'
83 #end for 83 #end for
84 -p '--pedigreeValidationType "${gatk_param_type.pedigree_validation_type}"' 84 -p '--pedigreeValidationType "${gatk_param_type.pedigree_validation_type}"'
85 #set default_read_filters = ['DuplicateReadFilter','FailsVendorQualityCheckFilter','NotPrimaryAlignmentFilter','MalformedReadFilter','UnmappedReadFilter'] 85 #set default_read_filters = ['DuplicateRead','FailsVendorQualityCheck','NotPrimaryAlignment','MalformedRead','UnmappedRead']
86 #for $read_filter in $gatk_param_type.read_filter: 86 #for $read_filter in $gatk_param_type.read_filter:
87 -p ' 87 -p '
88 #if ${read_filter.read_filter_type.read_filter_type_selector} not in $default_read_filters: 88 #if $read_filter.read_filter_type.read_filter_type_selector not in $default_read_filters:
89 --read_filter "${read_filter.read_filter_type.read_filter_type_selector}" 89 --read_filter "${read_filter.read_filter_type.read_filter_type_selector}"
90 #end_if 90 #end_if
91 #for $name, $param in $read_filter.read_filter_type.iteritems(): 91 #for $name, $param in $read_filter.read_filter_type.iteritems():
92 #if $name not in [ "__current_case__", "read_filter_type_selector" ]: 92 #if $name not in [ "__current_case__", "read_filter_type_selector" ]:
93 #if hasattr( $param.input, 'truevalue' ): 93 #if hasattr( $param.input, 'truevalue' ):
300 </when> 300 </when>
301 <when value="FailsVendorQualityCheck"> 301 <when value="FailsVendorQualityCheck">
302 <!-- no extra options --> 302 <!-- no extra options -->
303 </when> 303 </when>
304 <when value="MalformedRead"> 304 <when value="MalformedRead">
305 <!-- no extra options --> 305 <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"/>
306 </when> 306 </when>
307 <when value="MappingQuality"> 307 <when value="MappingQuality">
308 <param name="min_mapping_quality_score" type="integer" value="10" label="Minimum read mapping quality required to consider a read for calling"/> 308 <param name="min_mapping_quality_score" type="integer" value="10" label="Minimum read mapping quality required to consider a read for calling"/>
309 </when> 309 </when>
310 <when value="MappingQualityUnavailable"> 310 <when value="MappingQualityUnavailable">