annotate tools/gatk/count_covariates.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_count_covariates" name="Count Covariates" 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 "CountCovariates"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
10 --num_threads 4 ##hard coded, for now
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 "${output_recal}"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
17 ${standard_covs}
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
18 #if $covariates.value:
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
19 #for $cov in $covariates.value:
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
20 -cov "${cov}"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
21 #end for
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
22 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
23 '
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
24
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
25 #set $snp_dataset_provided = False
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
26 #if str( $input_dbsnp_rod ) != "None":
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
27 -d "-D" "${input_dbsnp_rod}" "${input_dbsnp_rod.ext}" "dbsnp_rod"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
28 #set $snp_dataset_provided = True
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
29 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
30 #set $rod_binding_names = dict()
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
31 #for $rod_binding in $rod_bind:
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
32 #if str( $rod_binding.rod_bind_type.rod_bind_type_selector ) == 'custom':
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
33 #set $rod_bind_name = $rod_binding.rod_bind_type.custom_rod_name
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
34 #else
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
35 #set $rod_bind_name = $rod_binding.rod_bind_type.rod_bind_type_selector
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
36 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
37 #if str( $rod_binding.rod_bind_type.rod_bind_type_selector ) == 'snps':
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
38 #set $snp_dataset_provided = True
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
39 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
40 #set $rod_binding_names[$rod_bind_name] = $rod_binding_names.get( $rod_bind_name, -1 ) + 1
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
41 -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
42 #if str( $rod_binding.rod_bind_type.rodToIntervalTrackName ):
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
43 -p '--rodToIntervalTrackName "${rod_bind_name}"'
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
44 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
45 #end for
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
46
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
47 ##start standard gatk options
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
48 #if $gatk_param_type.gatk_param_type_selector == "advanced":
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
49 #for $sample_metadata in $gatk_param_type.sample_metadata:
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
50 -p '--sample_metadata "${sample_metadata.sample_metadata_file}"'
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
51 #end for
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
52 #for $read_filter in $gatk_param_type.read_filter:
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
53 -p '--read_filter "${read_filter.read_filter_type.read_filter_type_selector}"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
54 ###raise Exception( str( dir( $read_filter ) ) )
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
55 #for $name, $param in $read_filter.read_filter_type.iteritems():
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
56 #if $name not in [ "__current_case__", "read_filter_type_selector" ]:
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
57 --${name} "${param}"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
58 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
59 #end for
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
60 '
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
61 #end for
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
62 #if str( $gatk_param_type.input_intervals ) != "None":
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
63 -d "-L" "${gatk_param_type.input_intervals}" "${gatk_param_type.input_intervals.ext}" "input_intervals"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
64 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
65 #if str( $gatk_param_type.input_exclude_intervals ) != "None":
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
66 -d "-XL" "${gatk_param_type.input_exclude_intervals}" "${gatk_param_type.input_exclude_intervals.ext}" "input_intervals"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
67 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
68
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
69 -p '--BTI_merge_rule "${gatk_param_type.BTI_merge_rule}"'
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
70 -p '--downsampling_type "${gatk_param_type.downsampling_type.downsampling_type_selector}"'
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
71 #if str( $gatk_param_type.downsampling_type.downsampling_type_selector ) != "NONE":
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
72 -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
73 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
74 -p '
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
75 --baq "${gatk_param_type.baq}"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
76 --baqGapOpenPenalty "${gatk_param_type.baq_gap_open_penalty}"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
77 ${gatk_param_type.use_original_qualities}
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
78 --defaultBaseQualities "${gatk_param_type.default_base_qualities}"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
79 --validation_strictness "${gatk_param_type.validation_strictness}"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
80 --interval_merging "${gatk_param_type.interval_merging}"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
81 '
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
82 #if str( $gatk_param_type.read_group_black_list ) != "None":
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
83 -d "-read_group_black_list" "${gatk_param_type.read_group_black_list}" "txt" "input_read_group_black_list"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
84 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
85 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
86 #if str( $reference_source.reference_source_selector ) == "history":
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
87 -d "-R" "${reference_source.ref_file}" "${reference_source.ref_file.ext}" "gatk_input"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
88 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
89 ##end standard gatk options
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
90
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
91 ##start analysis specific options
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
92 #if $analysis_param_type.analysis_param_type_selector == "advanced":
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
93 -p '
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
94 #if $analysis_param_type.default_read_group_type.default_read_group_type_selector == "set":
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
95 --default_read_group "${analysis_param_type.default_read_group_type.default_read_group}"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
96 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
97 #if str( $analysis_param_type.default_platform ) != "default":
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
98 --default_platform "${analysis_param_type.default_platform}"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
99 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
100 #if str( $analysis_param_type.force_read_group_type.force_read_group_type_selector ) == "set":
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
101 --force_read_group "${analysis_param_type.force_read_group_type.force_read_group}"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
102 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
103 #if str( $analysis_param_type.force_platform ) != "default":
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
104 --force_platform "${analysis_param_type.force_platform}"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
105 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
106 ${analysis_param_type.exception_if_no_tile}
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
107 #if str( $analysis_param_type.solid_options_type.solid_options_type_selector ) == "set":
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
108 #if str( $analysis_param_type.solid_options_type.solid_recal_mode ) != "default":
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
109 --solid_recal_mode "${analysis_param_type.solid_options_type.solid_recal_mode}"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
110 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
111 #if str( $analysis_param_type.solid_options_type.solid_nocall_strategy ) != "default":
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
112 --solid_nocall_strategy "${analysis_param_type.solid_options_type.solid_nocall_strategy}"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
113 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
114 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
115 --window_size_nqs "${analysis_param_type.window_size_nqs}"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
116 --homopolymer_nback "${analysis_param_type.homopolymer_nback}"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
117 '
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
118 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
119 #if not $snp_dataset_provided:
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
120 -p '--run_without_dbsnp_potentially_ruining_quality'
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
121 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
122 </command>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
123 <inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
124 <conditional name="reference_source">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
125 <param name="reference_source_selector" type="select" label="Choose the source for the reference list">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
126 <option value="cached">Locally cached</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
127 <option value="history">History</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
128 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
129 <when value="cached">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
130 <param name="input_bam" type="data" format="bam" label="BAM file">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
131 <validator type="unspecified_build" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
132 <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
133 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
134 <param name="ref_file" type="select" label="Using reference genome">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
135 <options from_data_table="picard_indexes">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
136 <filter type="data_meta" key="dbkey" ref="input_bam" column="dbkey"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
137 </options>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
138 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
139 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
140 <when value="history"> <!-- FIX ME!!!! -->
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
141 <param name="input_bam" type="data" format="bam" label="BAM file" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
142 <param name="ref_file" type="data" format="fasta" label="Using reference file" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
143 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
144 </conditional>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
145 <param name="standard_covs" type="boolean" truevalue="--standard_covs" falsevalue="" label="Use the standard set of covariates in addition to the ones selected" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
146 <param name="covariates" type="select" multiple="True" display="checkboxes" label="Covariates to be used in the recalibration" >
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
147 <!-- might we want to load the available covariates from an external configuration file, since additional ones can be added to local installs? -->
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
148 <option value="ReadGroupCovariate" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
149 <option value="QualityScoreCovariate" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
150 <option value="CycleCovariate" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
151 <option value="DinucCovariate" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
152 <!-- covariates below were pull from source code, since the list option doesn't seem to work (when tried) -->
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
153 <option value="HomopolymerCovariate" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
154 <option value="MappingQualityCovariate" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
155 <option value="MinimumNQSCovariate" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
156 <option value="PositionCovariate" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
157 <option value="PrimerRoundCovariate" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
158 <option value="TileCovariate" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
159 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
160 <param name="input_dbsnp_rod" type="data" format="gatk_dbsnp" optional="True" label="dbSNP reference ordered data (ROD)" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
161 <repeat name="rod_bind" title="Binding for reference-ordered data">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
162 <conditional name="rod_bind_type">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
163 <param name="rod_bind_type_selector" type="select" label="Binding Type">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
164 <option value="snps" selected="True">SNPs</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
165 <option value="indels">INDELs</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
166 <option value="mask">Mask</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
167 <option value="custom">Custom</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
168 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
169 <when value="snps">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
170 <param name="input_rod" type="data" format="vcf,gatk_dbsnp,bed" label="ROD file" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
171 <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
172 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
173 <when value="indels">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
174 <param name="input_rod" type="data" format="vcf,gatk_dbsnp,bed" label="ROD file" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
175 <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
176 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
177 <when value="custom">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
178 <param name="custom_rod_name" type="text" value="Unknown" label="ROD Name"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
179 <param name="input_rod" type="data" format="vcf,gatk_dbsnp,bed" label="ROD file" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
180 <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
181 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
182 </conditional>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
183 </repeat>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
184
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
185 <conditional name="gatk_param_type">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
186 <param name="gatk_param_type_selector" type="select" label="Basic or Advanced GATK options">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
187 <option value="basic" selected="True">Basic</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
188 <option value="advanced">Advanced</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
189 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
190 <when value="basic">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
191 <!-- Do nothing here -->
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
192 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
193 <when value="advanced">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
194 <repeat name="sample_metadata" title="Sample Metadata">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
195 <param name="sample_metadata_file" type="data" format="txt" label="Sample file(s) in JSON format" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
196 </repeat>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
197 <repeat name="read_filter" title="Read Filter">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
198 <conditional name="read_filter_type">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
199 <param name="read_filter_type_selector" type="select" label="Read Filter Type">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
200 <option value="MaxReadLength" selected="True">MaxReadLength</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
201 <option value="ZeroMappingQualityRead">ZeroMappingQualityRead</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
202 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
203 <when value="ZeroMappingQualityRead">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
204 <!-- no extra options -->
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
205 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
206 <when value="MaxReadLength">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
207 <param name="maxReadLength" type="integer" value="76" label="Max Read Length"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
208 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
209 </conditional>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
210 </repeat>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
211 <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
212 <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
213 <param name="BTI_merge_rule" type="select" label="BTI merge rule">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
214 <option value="UNION" selected="True">UNION</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
215 <option value="INTERSECTION">INTERSECTION</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
216 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
217 <conditional name="downsampling_type">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
218 <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
219 <option value="NONE" selected="True">NONE</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
220 <option value="ALL_READS">ALL_READS</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
221 <option value="BY_SAMPLE">BY_SAMPLE</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
222 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
223 <when value="NONE">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
224 <!-- no more options here -->
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
225 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
226 <when value="ALL_READS">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
227 <conditional name="downsample_to_type">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
228 <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
229 <option value="downsample_to_fraction" selected="True">Downsample by Fraction</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
230 <option value="downsample_to_coverage">Downsample by Coverage</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
231 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
232 <when value="downsample_to_fraction">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
233 <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
234 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
235 <when value="downsample_to_coverage">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
236 <param name="downsample_to_value" type="integer" label="Coverage to downsample to at any given locus" value="0"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
237 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
238 </conditional>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
239 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
240 <when value="BY_SAMPLE">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
241 <conditional name="downsample_to_type">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
242 <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
243 <option value="downsample_to_fraction" selected="True">Downsample by Fraction</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
244 <option value="downsample_to_coverage">Downsample by Coverage</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
245 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
246 <when value="downsample_to_fraction">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
247 <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
248 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
249 <when value="downsample_to_coverage">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
250 <param name="downsample_to_value" type="integer" label="Coverage to downsample to at any given locus" value="0"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
251 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
252 </conditional>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
253 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
254 </conditional>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
255 <param name="baq" type="select" label="Type of BAQ calculation to apply in the engine">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
256 <option value="OFF" selected="True">OFF</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
257 <option value="CALCULATE_AS_NECESSARY">CALCULATE_AS_NECESSARY</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
258 <option value="RECALCULATE">RECALCULATE</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
259 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
260 <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
261 <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
262 <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
263 <param name="validation_strictness" type="select" label="How strict should we be with validation">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
264 <option value="STRICT" selected="True">STRICT</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
265 <option value="LENIENT">LENIENT</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
266 <option value="SILENT">SILENT</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
267 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
268 <param name="interval_merging" type="select" label="Interval merging rule">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
269 <option value="ALL" selected="True">ALL</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
270 <option value="OVERLAPPING_ONLY">OVERLAPPING_ONLY</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
271 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
272 <param name="read_group_black_list" type="data" format="txt" optional="True" label="Read group black list" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
273 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
274 </conditional>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
275
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
276 <conditional name="analysis_param_type">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
277 <param name="analysis_param_type_selector" type="select" label="Basic or Advanced Analysis options">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
278 <option value="basic" selected="True">Basic</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
279 <option value="advanced">Advanced</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
280 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
281 <when value="basic">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
282 <!-- Do nothing here -->
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
283 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
284 <when value="advanced">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
285 <conditional name="default_read_group_type">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
286 <param name="default_read_group_type_selector" type="select" label="Set default Read Group">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
287 <option value="default" selected="True">Don't Set</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
288 <option value="set">Set</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
289 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
290 <when value="default">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
291 <!-- do nothing here -->
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
292 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
293 <when value="set">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
294 <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
295 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
296 </conditional>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
297 <param name="default_platform" type="select" label="Set default Platform">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
298 <option value="default" selected="True">Don't Set</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
299 <option value="illumina">illumina</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
300 <option value="454">454</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
301 <option value="solid">solid</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
302 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
303 <conditional name="force_read_group_type">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
304 <param name="force_read_group_type_selector" type="select" label="Force Read Group">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
305 <option value="default" selected="True">Don't Force</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
306 <option value="set">Force</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
307 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
308 <when value="default">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
309 <!-- do nothing here -->
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
310 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
311 <when value="set">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
312 <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
313 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
314 </conditional>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
315 <param name="force_platform" type="select" label="Force Platform">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
316 <option value="default" selected="True">Don't Force</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
317 <option value="illumina">illumina</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
318 <option value="454">454</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
319 <option value="solid">solid</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
320 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
321 <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
322 <conditional name="solid_options_type">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
323 <param name="solid_options_type_selector" type="select" label="Set SOLiD specific options">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
324 <option value="default" selected="True">Don't Set</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
325 <option value="set">Set</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
326 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
327 <when value="default">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
328 <!-- do nothing here -->
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
329 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
330 <when value="set">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
331 <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
332 <option value="default" selected="True">Don't set</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
333 <option value="DO_NOTHING">DO_NOTHING</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
334 <option value="SET_Q_ZERO">SET_Q_ZERO</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
335 <option value="SET_Q_ZERO_BASE_N">SET_Q_ZERO_BASE_N</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
336 <option value="REMOVE_REF_BIAS">REMOVE_REF_BIAS</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
337 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
338 <param name="solid_nocall_strategy" type="select" label="Behavior of the recalibrator when it encounters no calls">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
339 <option value="default" selected="True">Don't set</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
340 <option value="THROW_EXCEPTION">THROW_EXCEPTION</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
341 <option value="LEAVE_READ_UNRECALIBRATED">LEAVE_READ_UNRECALIBRATED</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
342 <option value="PURGE_READ">PURGE_READ</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
343 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
344 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
345 </conditional>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
346 <param name="window_size_nqs" type="integer" value="5" label="Window size used by MinimumNQSCovariate"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
347 <param name="homopolymer_nback" type="integer" value="7" label="number of previous bases to look at in HomopolymerCovariate" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
348 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
349 </conditional>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
350 </inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
351 <outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
352 <data format="csv" name="output_recal" label="${tool.name} on ${on_string} (Covariate File)" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
353 <data format="txt" name="output_log" label="${tool.name} on ${on_string} (log)" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
354 </outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
355 <tests>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
356 <test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
357 <param name="reference_source_selector" value="history" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
358 <param name="ref_file" value="phiX.fasta" ftype="fasta" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
359 <param name="input_bam" value="gatk/gatk_indel_realigner/gatk_indel_realigner_out_1.bam" ftype="bam" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
360 <param name="input_dbsnp_rod" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
361 <param name="rod_bind_type_selector" value="snps" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
362 <param name="rodToIntervalTrackName" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
363 <param name="input_rod" value="gatk/fake_phiX_variant_locations.bed" ftype="bed" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
364 <param name="standard_covs" value="True" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
365 <param name="covariates" value="ReadGroupCovariate,HomopolymerCovariate,MinimumNQSCovariate,PositionCovariate" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
366 <param name="gatk_param_type_selector" value="basic" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
367 <param name="analysis_param_type_selector" value="basic" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
368 <output name="output_recal" file="gatk/gatk_count_covariates/gatk_count_covariates_out_1.csv" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
369 <output name="output_log" file="gatk/gatk_count_covariates/gatk_count_covariates_out_1.log.contains" compare="contains" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
370 </test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
371 </tests>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
372 <help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
373 .. class:: warningmark
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
374
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
375 "This calculation is critically dependent on being able to skip over known variant sites. Please provide a dbSNP ROD or a VCF file containing known sites of genetic variation."
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
376 However, if you do not provide this file, the '--run_without_dbsnp_potentially_ruining_quality' flag will be automatically used, and the command will be allowed to run.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
377
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
378 **What it does**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
379
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
380 This walker is designed to work as the first pass in a two-pass processing step. It does a by-locus traversal
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
381 operating only at sites that are not in dbSNP. We assume that all reference mismatches we see are therefore errors
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
382 and indicative of poor base quality. This walker generates tables based on various user-specified covariates (such
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
383 as read group, reported quality score, cycle, and dinucleotide) Since there is a large amount of data one can then
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
384 calculate an empirical probability of error given the particular covariates seen at this site, where p(error) = num
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
385 mismatches / num observations The output file is a CSV list of (the several covariate values, num observations, num
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
386 mismatches, empirical quality score) The first non-comment line of the output file gives the name of the covariates
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
387 that were used for this calculation. Note: ReadGroupCovariate and QualityScoreCovariate are required covariates
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
388 and will be added for the user regardless of whether or not they were specified Note: This walker is designed to be
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
389 used in conjunction with TableRecalibrationWalker.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
390
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
391
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
392 ------
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
393
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
394 Please cite the website "http://addlink.here" as well as:
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
395
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
396 Add citation here 2011.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
397
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
398 ------
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
399
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
400 **Input formats**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
401
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
402 GenomeAnalysisTK: CountCovariates accepts an aligned BAM input file.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
403
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
404 ------
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
405
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
406 **Outputs**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
407
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
408 The output is in CSV format, see http://addlink.here for more details.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
409
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
410 -------
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
411
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
412 **Settings**::
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
413
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
414
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
415 default_read_group If a read has no read group then default to the provided String.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
416 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
417 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
418 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
419 window_size_nqs The window size used by MinimumNQSCovariate for its calculation
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
420 homopolymer_nback The number of previous bases to look at in HomopolymerCovariate
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
421 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
422 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
423 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
424 recal_file Filename for the input covariates table recalibration .csv file
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
425 out The output CSV file
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
426 recal_file Filename for the outputted covariates table recalibration file
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
427 standard_covs Use the standard set of covariates in addition to the ones listed using the -cov argument
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
428 run_without_dbsnp_potentially_ruining_quality If specified, allows the recalibrator to be used without a dbsnp rod. Very unsafe and for expert users only.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
429
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
430 </help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
431 </tool>