comparison variant_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
49 #end for 49 #end for
50 #for $pedigree_string in $gatk_param_type.pedigree_string_repeat: 50 #for $pedigree_string in $gatk_param_type.pedigree_string_repeat:
51 -p '--pedigreeString "${pedigree_string.pedigree_string}"' 51 -p '--pedigreeString "${pedigree_string.pedigree_string}"'
52 #end for 52 #end for
53 -p '--pedigreeValidationType "${gatk_param_type.pedigree_validation_type}"' 53 -p '--pedigreeValidationType "${gatk_param_type.pedigree_validation_type}"'
54 #set default_read_filters = ['DuplicateReadFilter','FailsVendorQualityCheckFilter','NotPrimaryAlignmentFilter','MalformedReadFilter','UnmappedReadFilter'] 54 #set default_read_filters = ['DuplicateRead','FailsVendorQualityCheck','NotPrimaryAlignment','MalformedRead','UnmappedRead']
55 #for $read_filter in $gatk_param_type.read_filter: 55 #for $read_filter in $gatk_param_type.read_filter:
56 -p ' 56 -p '
57 #if ${read_filter.read_filter_type.read_filter_type_selector} not in $default_read_filters: 57 #if $read_filter.read_filter_type.read_filter_type_selector not in $default_read_filters:
58 --read_filter "${read_filter.read_filter_type.read_filter_type_selector}" 58 --read_filter "${read_filter.read_filter_type.read_filter_type_selector}"
59 #end_if 59 #end_if
60 #for $name, $param in $read_filter.read_filter_type.iteritems(): 60 #for $name, $param in $read_filter.read_filter_type.iteritems():
61 #if $name not in [ "__current_case__", "read_filter_type_selector" ]: 61 #if $name not in [ "__current_case__", "read_filter_type_selector" ]:
62 #if hasattr( $param.input, 'truevalue' ): 62 #if hasattr( $param.input, 'truevalue' ):
445 </when> 445 </when>
446 <when value="FailsVendorQualityCheck"> 446 <when value="FailsVendorQualityCheck">
447 <!-- no extra options --> 447 <!-- no extra options -->
448 </when> 448 </when>
449 <when value="MalformedRead"> 449 <when value="MalformedRead">
450 <!-- no extra options --> 450 <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"/>
451 </when> 451 </when>
452 <when value="MappingQuality"> 452 <when value="MappingQuality">
453 <param name="min_mapping_quality_score" type="integer" value="10" label="Minimum read mapping quality required to consider a read for calling"/> 453 <param name="min_mapping_quality_score" type="integer" value="10" label="Minimum read mapping quality required to consider a read for calling"/>
454 </when> 454 </when>
455 <when value="MappingQualityUnavailable"> 455 <when value="MappingQualityUnavailable">