Mercurial > repos > jjohnson > gatk2
comparison variant_recalibrator.xml @ 33:76f8ca47b810 draft
Omit --read_filter param included by default
author | Jim Johnson <jj@umn.edu> |
---|---|
date | Thu, 28 Feb 2013 15:32:04 -0600 |
parents | a5c55503d196 |
children | b99c25b0ad4d |
comparison
equal
deleted
inserted
replaced
32:fd9d089a9ff4 | 33:76f8ca47b810 |
---|---|
2 <description></description> | 2 <description></description> |
3 <requirements> | 3 <requirements> |
4 <requirement type="package" version="2.3">gatk</requirement> | 4 <requirement type="package" version="2.3">gatk</requirement> |
5 </requirements> | 5 </requirements> |
6 <command interpreter="python">gatk2_wrapper.py | 6 <command interpreter="python">gatk2_wrapper.py |
7 #set default_read_filters = ['DuplicateReadFilter', 'FailsVendorQualityCheckFilter', 'NotPrimaryAlignmentFilter', 'MalformedReadFilter', 'UnmappedReadFilter'] | |
8 --max_jvm_heap_fraction "1" | 7 --max_jvm_heap_fraction "1" |
9 --stdout "${output_log}" | 8 --stdout "${output_log}" |
10 #for $var_count, $variant in enumerate( $reference_source.variants ): | 9 #for $var_count, $variant in enumerate( $reference_source.variants ): |
11 -d "--input:input_${var_count},%(file_type)s" "${variant.input_variants}" "${variant.input_variants.ext}" "input_variants_${var_count}" | 10 -d "--input:input_${var_count},%(file_type)s" "${variant.input_variants}" "${variant.input_variants.ext}" "input_variants_${var_count}" |
12 #end for | 11 #end for |
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}"' |
54 #set default_read_filters = ['DuplicateReadFilter','FailsVendorQualityCheckFilter','NotPrimaryAlignmentFilter','MalformedReadFilter','UnmappedReadFilter'] | |
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 ###raise Exception( str( dir( $read_filter ) ) ) | |
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' ): |
64 ${param} | 63 ${param} |
65 #else: | 64 #else: |