# HG changeset patch # User Jim Johnson # Date 1352996335 21600 # Node ID f2b21dc45241ebcc91c4fd4c214a2fdc5da01d80 # Parent d56503a12975ea64197ebf0fbe1aa6e222e29953 Many fixes to haplotype_caller diff -r d56503a12975 -r f2b21dc45241 haplotype_caller.xml --- a/haplotype_caller.xml Thu Nov 15 10:18:27 2012 -0600 +++ b/haplotype_caller.xml Thu Nov 15 10:18:55 2012 -0600 @@ -89,29 +89,50 @@ ##start analysis specific options #if $analysis_param_type.analysis_param_type_selector == "advanced": -p ' + #if $analysis_param_type.p_nonref_model.__str__ != "None" and len($analysis_param_type.p_nonref_model.__str__) > 0: + --p_nonref_model $analysis_param_type.p_nonref_model + #end if + #if $analysis_param_type.heterozygosity.__str__.strip() != '': + --heterozygosity $analysis_param_type.heterozygosity + #end if + --genotyping_mode "${analysis_param_type.genotyping_mode_type.genotyping_mode}" + #if str( $analysis_param_type.genotyping_mode_type.genotyping_mode ) == 'GENOTYPE_GIVEN_ALLELES': + --alleles "${analysis_param_type.genotyping_mode_type.input_alleles_rod}" + #end if + #if $analysis_param_type.output_mode.__str__ != "None" and len($analysis_param_type.output_mode.__str__) > 0: + --output_mode $analysis_param_type.output_mode + #end if + ## files #if str($analysis_param_type.activeRegionIn) != 'None': --activeRegionIn "$analysis_param_type.activeRegionIn" #end if - #if str($analysis_param_type.alleles) != 'None': - --alleles "$analysis_param_type.alleles" - #end if #if str($analysis_param_type.comp) != 'None': --comp "$analysis_param_type.comp" #end if #if str($analysis_param_type.dbsnp) != 'None': --dbsnp "$analysis_param_type.dbsnp" #end if - ## text - #if len($analysis_param_type.annotation.__str__) > 0: - --annotation $analysis_param_type.annotation + ## + #if str( $analysis_param_type.annotation ) != "None": + #for $annotation in str( $analysis_param_type.annotation.fields.gatk_value ).split( ','): + --annotation "${annotation}" + #end for #end if - #if len($analysis_param_type.excludeAnnotation.__str__) > 0: - --excludeAnnotation $analysis_param_type.excludeAnnotation + #for $additional_annotation in $analysis_param_type.additional_annotations: + --annotation "${additional_annotation.additional_annotation_name}" + #end for + #if str( $analysis_param_type.group ) != "None": + #for $group in str( $analysis_param_type.group ).split( ','): + --group "${group}" + #end for #end if - #if len($analysis_param_type.group.__str__) > 0: - --group $analysis_param_type.group + #if str( $analysis_param_type.exclude_annotations ) != "None": + #for $annotation in str( $analysis_param_type.exclude_annotations.fields.gatk_value ).split( ','): + --excludeAnnotation "${annotation}" + #end for #end if + ## value setings #if $analysis_param_type.contamination_fraction_to_filter.__str__.strip() != '': --contamination_fraction_to_filter $analysis_param_type.contamination_fraction_to_filter @@ -119,9 +140,6 @@ #if $analysis_param_type.downsampleRegion.__str__.strip() != '': --downsampleRegion $analysis_param_type.downsampleRegion #end if - #if $analysis_param_type.heterozygosity.__str__.strip() != '': - --heterozygosity $analysis_param_type.heterozygosity - #end if #if $analysis_param_type.minPruning.__str__.strip() != '': --minPruning $analysis_param_type.minPruning #end if @@ -141,15 +159,9 @@ #if $analysis_param_type.genotyping_mode.__str__ != "None" and len($analysis_param_type.genotyping_mode.__str__) > 0: --genotyping_mode $analysis_param_type.genotyping_mode #end if - #if $analysis_param_type.output_mode.__str__ != "None" and len($analysis_param_type.output_mode.__str__) > 0: - --output_mode $analysis_param_type.output_mode - #end if #if $analysis_param_type.pair_hmm_implementation.__str__ != "None" and len($analysis_param_type.pair_hmm_implementation.__str__) > 0: --pair_hmm_implementation $analysis_param_type.pair_hmm_implementation #end if - #if $analysis_param_type.p_nonref_model.__str__ != "None" and len($analysis_param_type.p_nonref_model.__str__) > 0: - --p_nonref_model $analysis_param_type.p_nonref_model - #end if ## optional outputs #if $analysis_param_type.activeRegionOut: --activeRegionOut $active_region_out @@ -166,7 +178,7 @@ #end if - + The input covariates table file which enables on-the-fly base quality score recalibration. Enables on-the-fly recalibrate of base qualities. The covariates tables are produced by the BaseQualityScoreRecalibrator tool. Please be aware that one should only run recalibration with the covariates file created on the same input bam(s). @@ -421,8 +433,48 @@ - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -430,13 +482,22 @@ - - - - - + + + + + + + + + + + + + + + -