comparison unified_genotyper.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
3 <requirements> 3 <requirements>
4 <requirement type="package" version="2.3">gatk</requirement> 4 <requirement type="package" version="2.3">gatk</requirement>
5 <requirement type="package" version="0.1.18">samtools</requirement> 5 <requirement type="package" version="0.1.18">samtools</requirement>
6 </requirements> 6 </requirements>
7 <command interpreter="python">gatk2_wrapper.py 7 <command interpreter="python">gatk2_wrapper.py
8 #set default_read_filters = ['DuplicateReadFilter', 'FailsVendorQualityCheckFilter', 'NotPrimaryAlignmentFilter', 'MalformedReadFilter', 'BadMateFilter', 'MappingQualityUnavailableFilter', 'UnmappedReadFilter']
9 --max_jvm_heap_fraction "1" 8 --max_jvm_heap_fraction "1"
10 --stdout "${output_log}" 9 --stdout "${output_log}"
11 #for $i, $input_bam in enumerate( $reference_source.input_bams ): 10 #for $i, $input_bam in enumerate( $reference_source.input_bams ):
12 -d "-I" "${input_bam.input_bam}" "${input_bam.input_bam.ext}" "gatk_input_${i}" 11 -d "-I" "${input_bam.input_bam}" "${input_bam.input_bam.ext}" "gatk_input_${i}"
13 #if str( $input_bam.input_bam.metadata.bam_index ) != "None": 12 #if str( $input_bam.input_bam.metadata.bam_index ) != "None":
50 #end for 49 #end for
51 #for $pedigree_string in $gatk_param_type.pedigree_string_repeat: 50 #for $pedigree_string in $gatk_param_type.pedigree_string_repeat:
52 -p '--pedigreeString "${pedigree_string.pedigree_string}"' 51 -p '--pedigreeString "${pedigree_string.pedigree_string}"'
53 #end for 52 #end for
54 -p '--pedigreeValidationType "${gatk_param_type.pedigree_validation_type}"' 53 -p '--pedigreeValidationType "${gatk_param_type.pedigree_validation_type}"'
55 #set default_read_filters = ['DuplicateReadFilter', 'FailsVendorQualityCheckFilter', 'NotPrimaryAlignmentFilter', 'MalformedReadFilter', 'BadMateFilter', 'MappingQualityUnavailableFilter', 'UnmappedReadFilter'] 54 #set default_read_filters = ['DuplicateRead', 'FailsVendorQualityCheck', 'NotPrimaryAlignment', 'MalformedRead', 'BadMate', 'MappingQualityUnavailable', 'UnmappedRead']
56 #for $read_filter in $gatk_param_type.read_filter: 55 #for $read_filter in $gatk_param_type.read_filter:
57 -p ' 56 -p '
58 #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:
59 --read_filter "${read_filter.read_filter_type.read_filter_type_selector}" 58 --read_filter "${read_filter.read_filter_type.read_filter_type_selector}"
60 #end_if 59 #end_if
61 #for $name, $param in $read_filter.read_filter_type.iteritems(): 60 #for $name, $param in $read_filter.read_filter_type.iteritems():
62 #if $name not in [ "__current_case__", "read_filter_type_selector" ]: 61 #if $name not in [ "__current_case__", "read_filter_type_selector" ]:
63 #if hasattr( $param.input, 'truevalue' ): 62 #if hasattr( $param.input, 'truevalue' ):
280 </when> 279 </when>
281 <when value="FailsVendorQualityCheck"> 280 <when value="FailsVendorQualityCheck">
282 <!-- no extra options --> 281 <!-- no extra options -->
283 </when> 282 </when>
284 <when value="MalformedRead"> 283 <when value="MalformedRead">
285 <!-- no extra options --> 284 <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"/>
286 </when> 285 </when>
287 <when value="MappingQuality"> 286 <when value="MappingQuality">
288 <param name="min_mapping_quality_score" type="integer" value="10" label="Minimum read mapping quality required to consider a read for calling"/> 287 <param name="min_mapping_quality_score" type="integer" value="10" label="Minimum read mapping quality required to consider a read for calling"/>
289 </when> 288 </when>
290 <when value="MappingQualityUnavailable"> 289 <when value="MappingQualityUnavailable">