annotate tools/gatk/table_recalibration.xml @ 0:9071e359b9a3

Uploaded
author xuebing
date Fri, 09 Mar 2012 19:37:19 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
1 <tool id="gatk_table_recalibration" name="Table Recalibration" version="0.0.1">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
2 <description>on BAM files</description>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
3 <command interpreter="python">gatk_wrapper.py
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
4 --stdout "${output_log}"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
5 -d "-I" "${reference_source.input_bam}" "${reference_source.input_bam.ext}" "gatk_input"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
6 -d "" "${reference_source.input_bam.metadata.bam_index}" "bam_index" "gatk_input" ##hardcode galaxy ext type as bam_index
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
7 -p 'java
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
8 -jar "${GALAXY_DATA_INDEX_DIR}/shared/jars/gatk/GenomeAnalysisTK.jar"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
9 -T "TableRecalibration"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
10 -o "${output_bam}"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
11 -et "NO_ET" ##ET no phone home
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
12 ##-log "${output_log}" ##don't use this to log to file, instead directly capture stdout
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
13 #if $reference_source.reference_source_selector != "history":
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
14 -R "${reference_source.ref_file.fields.path}"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
15 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
16 --recal_file "${input_recal}"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
17 --disable_bam_indexing
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
18 '
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
19 ##start standard gatk options
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
20 #if $gatk_param_type.gatk_param_type_selector == "advanced":
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
21 #for $sample_metadata in $gatk_param_type.sample_metadata:
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
22 -p '--sample_metadata "${sample_metadata.sample_metadata_file}"'
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
23 #end for
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
24 #for $read_filter in $gatk_param_type.read_filter:
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
25 -p '--read_filter "${read_filter.read_filter_type.read_filter_type_selector}"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
26 ###raise Exception( str( dir( $read_filter ) ) )
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
27 #for $name, $param in $read_filter.read_filter_type.iteritems():
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
28 #if $name not in [ "__current_case__", "read_filter_type_selector" ]:
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
29 --${name} "${param}"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
30 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
31 #end for
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
32 '
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
33 #end for
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
34 #if str( $gatk_param_type.input_intervals ) != "None":
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
35 -d "-L" "${gatk_param_type.input_intervals}" "${gatk_param_type.input_intervals.ext}" "input_intervals"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
36 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
37 #if str( $gatk_param_type.input_exclude_intervals ) != "None":
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
38 -d "-XL" "${gatk_param_type.input_exclude_intervals}" "${gatk_param_type.input_exclude_intervals.ext}" "input_intervals"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
39 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
40 #set $rod_binding_names = dict()
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
41 #for $rod_binding in $gatk_param_type.rod_bind:
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
42 #if str( $rod_binding.rod_bind_type.rod_bind_type_selector ) == 'custom':
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
43 #set $rod_bind_name = $rod_binding.rod_bind_type.custom_rod_name
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
44 #else
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
45 #set $rod_bind_name = $rod_binding.rod_bind_type.rod_bind_type_selector
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
46 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
47 #set $rod_binding_names[$rod_bind_name] = $rod_binding_names.get( $rod_bind_name, -1 ) + 1
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
48 -d "-B:${rod_bind_name},%(file_type)s" "${rod_binding.rod_bind_type.input_rod}" "${rod_binding.rod_bind_type.input_rod.ext}" "input_${rod_bind_name}_${rod_binding_names[$rod_bind_name]}"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
49 #if str( $rod_binding.rod_bind_type.rodToIntervalTrackName ):
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
50 -p '--rodToIntervalTrackName "${rod_bind_name}"'
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
51 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
52 #end for
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
53 -p '--BTI_merge_rule "${gatk_param_type.BTI_merge_rule}"'
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
54 #if str( $gatk_param_type.input_dbsnp_rod ) != "None":
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
55 -d "-D" "${gatk_param_type.input_dbsnp_rod}" "${gatk_param_type.input_dbsnp_rod.ext}" "dbsnp_rod"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
56 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
57 -p '--downsampling_type "${gatk_param_type.downsampling_type.downsampling_type_selector}"'
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
58 #if str( $gatk_param_type.downsampling_type.downsampling_type_selector ) != "NONE":
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
59 -p '--${gatk_param_type.downsampling_type.downsample_to_type.downsample_to_type_selector} "${gatk_param_type.downsampling_type.downsample_to_type.downsample_to_value}"'
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
60 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
61 -p '
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
62 --baq "${gatk_param_type.baq}"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
63 --baqGapOpenPenalty "${gatk_param_type.baq_gap_open_penalty}"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
64 ${gatk_param_type.use_original_qualities}
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
65 --defaultBaseQualities "${gatk_param_type.default_base_qualities}"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
66 --validation_strictness "${gatk_param_type.validation_strictness}"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
67 --interval_merging "${gatk_param_type.interval_merging}"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
68 '
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
69 #if str( $gatk_param_type.read_group_black_list ) != "None":
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
70 -d "-read_group_black_list" "${gatk_param_type.read_group_black_list}" "txt" "input_read_group_black_list"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
71 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
72 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
73 #if str( $reference_source.reference_source_selector ) == "history":
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
74 -d "-R" "${reference_source.ref_file}" "${reference_source.ref_file.ext}" "gatk_input"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
75 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
76 ##end standard gatk options
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
77
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
78 ##start analysis specific options
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
79 #if $analysis_param_type.analysis_param_type_selector == "advanced":
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
80 -p '
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
81 #if $analysis_param_type.default_read_group_type.default_read_group_type_selector == "set":
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
82 --default_read_group "${analysis_param_type.default_read_group_type.default_read_group}"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
83 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
84 #if str( $analysis_param_type.default_platform ) != "default":
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
85 --default_platform "${analysis_param_type.default_platform}"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
86 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
87 #if str( $analysis_param_type.force_read_group_type.force_read_group_type_selector ) == "set":
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
88 --force_read_group "${analysis_param_type.force_read_group_type.force_read_group}"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
89 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
90 #if str( $analysis_param_type.force_platform ) != "default":
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
91 --force_platform "${analysis_param_type.force_platform}"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
92 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
93 ${analysis_param_type.exception_if_no_tile}
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
94 #if str( $analysis_param_type.solid_options_type.solid_options_type_selector ) == "set":
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
95 #if str( $analysis_param_type.solid_options_type.solid_recal_mode ) != "default":
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
96 --solid_recal_mode "${analysis_param_type.solid_options_type.solid_recal_mode}"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
97 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
98 #if str( $analysis_param_type.solid_options_type.solid_nocall_strategy ) != "default":
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
99 --solid_nocall_strategy "${analysis_param_type.solid_options_type.solid_nocall_strategy}"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
100 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
101 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
102 ${analysis_param_type.simplify_bam}
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
103 --preserve_qscores_less_than "${analysis_param_type.preserve_qscores_less_than}"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
104 --smoothing "${analysis_param_type.smoothing}"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
105 --max_quality_score "${analysis_param_type.max_quality_score}"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
106 --window_size_nqs "${analysis_param_type.window_size_nqs}"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
107 --homopolymer_nback "${analysis_param_type.homopolymer_nback}"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
108 ${analysis_param_type.do_not_write_original_quals}
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
109 '
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
110 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
111 </command>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
112 <inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
113 <param name="input_recal" type="data" format="csv" label="Covariates table recalibration file" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
114 <conditional name="reference_source">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
115 <param name="reference_source_selector" type="select" label="Choose the source for the reference list">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
116 <option value="cached">Locally cached</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
117 <option value="history">History</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
118 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
119 <when value="cached">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
120 <param name="input_bam" type="data" format="bam" label="BAM file">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
121 <validator type="unspecified_build" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
122 <validator type="dataset_metadata_in_file" filename="picard_index.loc" metadata_name="dbkey" metadata_column="1" message="Sequences are not currently available for the specified build." /> <!-- fixme!!! this needs to be a select -->
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
123 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
124 <param name="ref_file" type="select" label="Using reference genome">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
125 <options from_data_table="picard_indexes">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
126 <filter type="data_meta" key="dbkey" ref="input_bam" column="dbkey"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
127 </options>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
128 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
129 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
130 <when value="history"> <!-- FIX ME!!!! -->
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
131 <param name="input_bam" type="data" format="bam" label="BAM file" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
132 <param name="ref_file" type="data" format="fasta" label="Using reference file" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
133 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
134 </conditional>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
135
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
136 <conditional name="gatk_param_type">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
137 <param name="gatk_param_type_selector" type="select" label="Basic or Advanced GATK options">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
138 <option value="basic" selected="True">Basic</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
139 <option value="advanced">Advanced</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
140 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
141 <when value="basic">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
142 <!-- Do nothing here -->
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
143 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
144 <when value="advanced">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
145 <repeat name="sample_metadata" title="Sample Metadata">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
146 <param name="sample_metadata_file" type="data" format="txt" label="Sample file(s) in JSON format" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
147 </repeat>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
148 <repeat name="read_filter" title="Read Filter">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
149 <conditional name="read_filter_type">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
150 <param name="read_filter_type_selector" type="select" label="Read Filter Type">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
151 <option value="MaxReadLength" selected="True">MaxReadLength</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
152 <option value="ZeroMappingQualityRead">ZeroMappingQualityRead</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
153 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
154 <when value="ZeroMappingQualityRead">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
155 <!-- no extra options -->
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
156 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
157 <when value="MaxReadLength">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
158 <param name="maxReadLength" type="integer" value="76" label="Max Read Length"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
159 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
160 </conditional>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
161 </repeat>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
162 <param name="input_intervals" type="data" format="picard_interval_list" optional="True" label="A list of genomic intervals over which to operate" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
163 <param name="input_exclude_intervals" type="data" format="picard_interval_list" optional="True" label="A list of genomic intervals to exclude from processing" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
164 <repeat name="rod_bind" title="Binding for reference-ordered data">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
165 <conditional name="rod_bind_type">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
166 <param name="rod_bind_type_selector" type="select" label="Binding Type">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
167 <option value="snps" selected="True">SNPs</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
168 <option value="indels">INDELs</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
169 <option value="custom">Custom</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
170 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
171 <when value="snps">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
172 <param name="input_rod" type="data" format="vcf,gatk_dbsnp,bed" label="ROD file" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
173 <param name="rodToIntervalTrackName" type="boolean" truevalue="--rodToIntervalTrackName" falsevalue="" label="Use ROD as interval List (-BTI, --rodToIntervalTrackName)" help="Only one ROD may have this option specified" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
174 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
175 <when value="indels">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
176 <param name="input_rod" type="data" format="vcf,gatk_dbsnp,bed" label="ROD file" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
177 <param name="rodToIntervalTrackName" type="boolean" truevalue="--rodToIntervalTrackName" falsevalue="" label="Use ROD as interval List (-BTI, --rodToIntervalTrackName)" help="Only one ROD may have this option specified" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
178 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
179 <when value="custom">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
180 <param name="custom_rod_name" type="text" value="Unknown" label="ROD Name"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
181 <param name="input_rod" type="data" format="vcf,gatk_dbsnp,bed" label="ROD file" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
182 <param name="rodToIntervalTrackName" type="boolean" truevalue="--rodToIntervalTrackName" falsevalue="" label="Use ROD as interval List (-BTI, --rodToIntervalTrackName)" help="Only one ROD may have this option specified" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
183 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
184 </conditional>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
185 </repeat>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
186 <param name="BTI_merge_rule" type="select" label="BTI merge rule">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
187 <option value="UNION" selected="True">UNION</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
188 <option value="INTERSECTION">INTERSECTION</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
189 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
190 <param name="input_dbsnp_rod" type="data" format="gatk_dbsnp" optional="True" label="dbSNP reference ordered data (ROD)" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
191 <conditional name="downsampling_type">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
192 <param name="downsampling_type_selector" type="select" label="Type of reads downsampling to employ at a given locus" help="Downsampling Type">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
193 <option value="NONE" selected="True">NONE</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
194 <option value="ALL_READS">ALL_READS</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
195 <option value="BY_SAMPLE">BY_SAMPLE</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
196 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
197 <when value="NONE">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
198 <!-- no more options here -->
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
199 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
200 <when value="ALL_READS">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
201 <conditional name="downsample_to_type">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
202 <param name="downsample_to_type_selector" type="select" label="Type of reads downsampling to employ at a given locus" help="Downsampling Type">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
203 <option value="downsample_to_fraction" selected="True">Downsample by Fraction</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
204 <option value="downsample_to_coverage">Downsample by Coverage</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
205 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
206 <when value="downsample_to_fraction">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
207 <param name="downsample_to_value" type="float" label="Fraction [0.0-1.0] of reads to downsample to" value="0.1"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
208 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
209 <when value="downsample_to_coverage">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
210 <param name="downsample_to_value" type="integer" label="Coverage to downsample to at any given locus" value="0"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
211 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
212 </conditional>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
213 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
214 <when value="BY_SAMPLE">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
215 <conditional name="downsample_to_type">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
216 <param name="downsample_to_type_selector" type="select" label="Type of reads downsampling to employ at a given locus" help="Downsampling Type">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
217 <option value="downsample_to_fraction" selected="True">Downsample by Fraction</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
218 <option value="downsample_to_coverage">Downsample by Coverage</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
219 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
220 <when value="downsample_to_fraction">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
221 <param name="downsample_to_value" type="float" label="Fraction [0.0-1.0] of reads to downsample to" value="0.1"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
222 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
223 <when value="downsample_to_coverage">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
224 <param name="downsample_to_value" type="integer" label="Coverage to downsample to at any given locus" value="0"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
225 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
226 </conditional>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
227 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
228 </conditional>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
229 <param name="baq" type="select" label="Type of BAQ calculation to apply in the engine">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
230 <option value="OFF" selected="True">OFF</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
231 <option value="CALCULATE_AS_NECESSARY">CALCULATE_AS_NECESSARY</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
232 <option value="RECALCULATE">RECALCULATE</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
233 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
234 <param name="baq_gap_open_penalty" type="integer" label="BAQ gap open penalty (Phred Scaled)" value="40" help="Default value is 40. 30 is perhaps better for whole genome call sets."/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
235 <param name="use_original_qualities" type="boolean" truevalue="--useOriginalQualities" falsevalue="" label="Use the original base quality scores from the OQ tag" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
236 <param name="default_base_qualities" type="integer" label="Value to be used for all base quality scores, when some are missing" value="-1"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
237 <param name="validation_strictness" type="select" label="How strict should we be with validation">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
238 <option value="STRICT" selected="True">STRICT</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
239 <option value="LENIENT">LENIENT</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
240 <option value="SILENT">SILENT</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
241 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
242 <param name="interval_merging" type="select" label="Interval merging rule">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
243 <option value="ALL" selected="True">ALL</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
244 <option value="OVERLAPPING_ONLY">OVERLAPPING_ONLY</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
245 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
246 <param name="read_group_black_list" type="data" format="txt" optional="True" label="Read group black list" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
247 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
248 </conditional>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
249
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
250
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
251 <conditional name="analysis_param_type">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
252 <param name="analysis_param_type_selector" type="select" label="Basic or Advanced Analysis options">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
253 <option value="basic" selected="True">Basic</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
254 <option value="advanced">Advanced</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
255 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
256 <when value="basic">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
257 <!-- Do nothing here -->
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
258 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
259 <when value="advanced">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
260 <conditional name="default_read_group_type">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
261 <param name="default_read_group_type_selector" type="select" label="Set default Read Group">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
262 <option value="default" selected="True">Don't Set</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
263 <option value="set">Set</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
264 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
265 <when value="default">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
266 <!-- do nothing here -->
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
267 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
268 <when value="set">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
269 <param name="default_read_group" type="text" value="Unknown" label="If a read has no read group then default to the provided String"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
270 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
271 </conditional>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
272 <param name="default_platform" type="select" label="Set default Platform">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
273 <option value="default" selected="True">Don't Set</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
274 <option value="illumina">illumina</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
275 <option value="454">454</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
276 <option value="solid">solid</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
277 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
278 <conditional name="force_read_group_type">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
279 <param name="force_read_group_type_selector" type="select" label="Force Read Group">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
280 <option value="default" selected="True">Don't Force</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
281 <option value="set">Force</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
282 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
283 <when value="default">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
284 <!-- do nothing here -->
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
285 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
286 <when value="set">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
287 <param name="force_read_group" type="text" value="Unknown" label="If provided, the read group ID of EVERY read will be forced to be the provided String."/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
288 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
289 </conditional>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
290 <param name="force_platform" type="select" label="Force Platform">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
291 <option value="default" selected="True">Don't Force</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
292 <option value="illumina">illumina</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
293 <option value="454">454</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
294 <option value="solid">solid</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
295 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
296 <param name="exception_if_no_tile" type="boolean" checked="False" truevalue="--exception_if_no_tile" falsevalue="" label="Throw an exception when no tile can be found"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
297 <conditional name="solid_options_type">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
298 <param name="solid_options_type_selector" type="select" label="Set SOLiD specific options">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
299 <option value="default" selected="True">Don't Set</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
300 <option value="set">Set</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
301 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
302 <when value="default">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
303 <!-- do nothing here -->
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
304 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
305 <when value="set">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
306 <param name="solid_recal_mode" type="select" label="How should we recalibrate solid bases in which the reference was inserted">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
307 <option value="default" selected="True">Don't set</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
308 <option value="DO_NOTHING">DO_NOTHING</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
309 <option value="SET_Q_ZERO">SET_Q_ZERO</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
310 <option value="SET_Q_ZERO_BASE_N">SET_Q_ZERO_BASE_N</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
311 <option value="REMOVE_REF_BIAS">REMOVE_REF_BIAS</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
312 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
313 <param name="solid_nocall_strategy" type="select" label="Behavior of the recalibrator when it encounters no calls">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
314 <option value="default" selected="True">Don't set</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
315 <option value="THROW_EXCEPTION">THROW_EXCEPTION</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
316 <option value="LEAVE_READ_UNRECALIBRATED">LEAVE_READ_UNRECALIBRATED</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
317 <option value="PURGE_READ">PURGE_READ</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
318 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
319 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
320 </conditional>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
321 <param name="simplify_bam" type="boolean" checked="False" truevalue="-simplifyBAM" falsevalue="" label="Simplify BAM"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
322 <param name="window_size_nqs" type="integer" value="5" label="Window size used by MinimumNQSCovariate"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
323 <param name="homopolymer_nback" type="integer" value="7" label="Number of previous bases to look at in HomopolymerCovariate" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
324 <param name="preserve_qscores_less_than" type="integer" value="5" label="Bases with quality scores less than this threshold won't be recalibrated"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
325 <param name="smoothing" type="integer" value="1" label="smoothing"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
326 <param name="max_quality_score" type="integer" value="50" label="Max quality score"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
327 <param name="do_not_write_original_quals" type="boolean" checked="False" truevalue="--doNotWriteOriginalQuals" falsevalue="" label="Do Not Write Original Quality tag"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
328 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
329 </conditional>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
330 </inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
331 <outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
332 <data format="bam" name="output_bam" label="${tool.name} on ${on_string} (BAM)" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
333 <data format="txt" name="output_log" label="${tool.name} on ${on_string} (log)" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
334 </outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
335 <tests>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
336 <test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
337 <param name="input_recal" value="gatk/gatk_count_covariates/gatk_count_covariates_out_1.csv" ftype="csv" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
338 <param name="reference_source_selector" value="history" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
339 <param name="ref_file" value="phiX.fasta" ftype="fasta" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
340 <param name="input_bam" value="gatk/gatk_indel_realigner/gatk_indel_realigner_out_1.bam" ftype="bam" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
341 <param name="gatk_param_type_selector" value="basic" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
342 <param name="analysis_param_type_selector" value="basic" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
343 <output name="output_bam" file="gatk/gatk_table_recalibration/gatk_table_recalibration_out_1.bam" ftype="bam" lines_diff="2" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
344 <output name="output_log" file="gatk/gatk_table_recalibration/gatk_table_recalibration_out_1.log.contains" compare="contains" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
345 </test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
346 </tests>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
347 <help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
348 **What it does**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
349
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
350 This walker is designed to work as the second pass in a two-pass processing step, doing a by-read traversal. For
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
351 each base in each read this walker calculates various user-specified covariates (such as read group, reported
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
352 quality score, cycle, and dinuc) Using these values as a key in a large hashmap the walker calculates an empirical
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
353 base quality score and overwrites the quality score currently in the read. This walker then outputs a new bam file
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
354 with these updated (recalibrated) reads. Note: This walker expects as input the recalibration table file generated
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
355 previously by CovariateCounterWalker. Note: This walker is designed to be used in conjunction with
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
356 CovariateCounterWalker.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
357
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
358 ------
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
359
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
360 Please cite the website "http://addlink.here" as well as:
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
361
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
362 Add citation here 2011.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
363
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
364 ------
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
365
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
366 **Input formats**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
367
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
368 GenomeAnalysisTK: TableRecalibration accepts an aligned BAM and a recalibration CSV input files.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
369
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
370 ------
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
371
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
372 **Outputs**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
373
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
374 The output is in BAM format, see http://addlink.here for more details.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
375
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
376 -------
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
377
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
378 **Settings**::
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
379
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
380 default_read_group If a read has no read group then default to the provided String.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
381 default_platform If a read has no platform then default to the provided String. Valid options are illumina, 454, and solid.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
382 force_read_group If provided, the read group ID of EVERY read will be forced to be the provided String. This is useful to collapse all data into a single read group.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
383 force_platform If provided, the platform of EVERY read will be forced to be the provided String. Valid options are illumina, 454, and solid.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
384 window_size_nqs The window size used by MinimumNQSCovariate for its calculation
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
385 homopolymer_nback The number of previous bases to look at in HomopolymerCovariate
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
386 exception_if_no_tile If provided, TileCovariate will throw an exception when no tile can be found. The default behavior is to use tile = -1
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
387 solid_recal_mode How should we recalibrate solid bases in whichthe reference was inserted? Options = DO_NOTHING, SET_Q_ZERO, SET_Q_ZERO_BASE_N, or REMOVE_REF_BIAS (DO_NOTHING|SET_Q_ZERO|SET_Q_ZERO_BASE_N|REMOVE_REF_BIAS)
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
388 solid_nocall_strategy Defines the behavior of the recalibrator when it encounters no calls in the color space. Options = THROW_EXCEPTION, LEAVE_READ_UNRECALIBRATED, or PURGE_READ (THROW_EXCEPTION|LEAVE_READ_UNRECALIBRATED|PURGE_READ)
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
389 recal_file Filename for the input covariates table recalibration .csv file
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
390 out The output BAM file
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
391 bam_compression Compression level to use for writing BAM files
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
392 disable_bam_indexing Turn off on-the-fly creation of indices for output BAM files.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
393 simplifyBAM If provided, output BAM files will be simplified to include just key reads for downstream variation discovery analyses (removing duplicates, PF-, non-primary reads), as well stripping all extended tags from the kept reads except the read group identifier
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
394 preserve_qscores_less_than Bases with quality scores less than this threshold won't be recalibrated, default=5. In general it's unsafe to change qualities scores below &lt; 5, since base callers use these values to indicate random or bad bases
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
395 smoothing Number of imaginary counts to add to each bin bin order to smooth out bins with few data points, default=1
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
396 max_quality_score The integer value at which to cap the quality scores, default=50
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
397 doNotWriteOriginalQuals If true, we will not write the original quality (OQ) tag for each read
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
398
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
399 </help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
400 </tool>