Mercurial > repos > jjohnson > gatk2
comparison base_recalibrator.xml @ 24:6460f2ba6a60 draft
Add BQSR and plot_pdf_file options to base_recalibrator.xml
author | Jim Johnson <jj@umn.edu> |
---|---|
date | Fri, 28 Dec 2012 14:15:14 -0600 |
parents | 2f9bf8bf42b7 |
children | 6ef8eb568700 |
comparison
equal
deleted
inserted
replaced
23:2f9bf8bf42b7 | 24:6460f2ba6a60 |
---|---|
20 ##-et "NO_ET" -K "/data/galaxy/appList/GenomeAnalysisTK-2.0-36-gf5c1c1a/gatk2_key_file" ##ET no phone home | 20 ##-et "NO_ET" -K "/data/galaxy/appList/GenomeAnalysisTK-2.0-36-gf5c1c1a/gatk2_key_file" ##ET no phone home |
21 ##-log "${output_log}" ##don't use this to log to file, instead directly capture stdout | 21 ##-log "${output_log}" ##don't use this to log to file, instead directly capture stdout |
22 #if $reference_source.reference_source_selector != "history": | 22 #if $reference_source.reference_source_selector != "history": |
23 -R "${reference_source.ref_file.fields.path}" | 23 -R "${reference_source.ref_file.fields.path}" |
24 #end if | 24 #end if |
25 #if str($input_recal) != 'None': | |
26 --BQSR "${input_recal}" | |
27 #end if | |
25 --out "${output_recal}" | 28 --out "${output_recal}" |
26 ${standard_covs} | 29 ${standard_covs} |
27 #if str( $covariates ) != "None": | 30 #if str( $covariates ) != "None": |
28 #for $cov in str( $covariates ).split( ',' ): | 31 #for $cov in str( $covariates ).split( ',' ): |
29 -cov "${cov}" | 32 -cov "${cov}" |
30 #end for | 33 #end for |
34 #end if | |
35 #if $plot_pdf: | |
36 --plot_pdf_file $output_pdf | |
31 #end if | 37 #end if |
32 ' | 38 ' |
33 | 39 |
34 #set $snp_dataset_provided = False | 40 #set $snp_dataset_provided = False |
35 #set $rod_binding_names = dict() | 41 #set $rod_binding_names = dict() |
165 <filter type="data_meta" key="dbkey" ref="input_bam" /> | 171 <filter type="data_meta" key="dbkey" ref="input_bam" /> |
166 </options> | 172 </options> |
167 </param> | 173 </param> |
168 </when> | 174 </when> |
169 </conditional> | 175 </conditional> |
176 <param name="input_recal" type="data" format="gatk_report" optional="true" label="Covariates table recalibration file" help="-BQSR,--BQSR &lt;recal_file&gt;" > | |
177 <help>The input covariates table file which enables on-the-fly base quality score recalibration. | |
178 Enables on-the-fly recalibrate of base qualities. The covariates tables are produced by the BaseQualityScoreRecalibrator tool. | |
179 Please be aware that one should only run recalibration with the covariates file created on the same input bam(s). | |
180 </help> | |
181 </param> | |
170 <param name="standard_covs" type="boolean" truevalue="" falsevalue="--no_standard_covs" checked="false" label="Do not use the standard set of covariates in addition to the ones selected" help="--no_standard_covs/-noStandard" /> | 182 <param name="standard_covs" type="boolean" truevalue="" falsevalue="--no_standard_covs" checked="false" label="Do not use the standard set of covariates in addition to the ones selected" help="--no_standard_covs/-noStandard" /> |
171 <param name="covariates" type="select" multiple="True" display="checkboxes" label="Covariates to be used in the recalibration" help="-cov,--covariate &lt;covariate&gt;" > | 183 <param name="covariates" type="select" multiple="True" display="checkboxes" label="Covariates to be used in the recalibration" help="-cov,--covariate &lt;covariate&gt;" > |
172 <!-- might we want to load the available covariates from an external configuration file, since additional ones can be added to local installs? --> | 184 <!-- might we want to load the available covariates from an external configuration file, since additional ones can be added to local installs? --> |
173 <option value="ReadGroupCovariate" /> | 185 <option value="ReadGroupCovariate" /> |
174 <option value="QualityScoreCovariate" /> | 186 <option value="QualityScoreCovariate" /> |
209 <param name="custom_rod_name" type="text" value="Unknown" label="ROD Name"/> | 221 <param name="custom_rod_name" type="text" value="Unknown" label="ROD Name"/> |
210 <param name="input_rod" type="data" format="vcf,gatk_dbsnp,bed" label="ROD file" /> | 222 <param name="input_rod" type="data" format="vcf,gatk_dbsnp,bed" label="ROD file" /> |
211 </when> | 223 </when> |
212 </conditional> | 224 </conditional> |
213 </repeat> | 225 </repeat> |
214 | 226 <param name="plot_pdf" type="boolean" truevalue="--plot_pdf_file" falsevalue="" checked="False" label="Output recalibration plots pdf"/> |
215 <conditional name="gatk_param_type"> | 227 <conditional name="gatk_param_type"> |
216 <param name="gatk_param_type_selector" type="select" label="Basic or Advanced GATK options"> | 228 <param name="gatk_param_type_selector" type="select" label="Basic or Advanced GATK options"> |
217 <option value="basic" selected="True">Basic</option> | 229 <option value="basic" selected="True">Basic</option> |
218 <option value="advanced">Advanced</option> | 230 <option value="advanced">Advanced</option> |
219 </param> | 231 </param> |
499 </conditional> | 511 </conditional> |
500 </inputs> | 512 </inputs> |
501 <outputs> | 513 <outputs> |
502 <data format="gatk_report" name="output_recal" label="${tool.name} on ${on_string} (Covariate File)" /> | 514 <data format="gatk_report" name="output_recal" label="${tool.name} on ${on_string} (Covariate File)" /> |
503 <data format="txt" name="output_log" label="${tool.name} on ${on_string} (log)" /> | 515 <data format="txt" name="output_log" label="${tool.name} on ${on_string} (log)" /> |
516 <data format="pdf" name="output_pdf" label="${tool.name} on ${on_string} (plot_pdf_file)"> | |
517 <filter>plot_pdf == True</filter> | |
518 </data> | |
504 </outputs> | 519 </outputs> |
505 <tests> | 520 <tests> |
506 <test> | 521 <test> |
507 <param name="reference_source_selector" value="history" /> | 522 <param name="reference_source_selector" value="history" /> |
508 <param name="ref_file" value="phiX.fasta" ftype="fasta" /> | 523 <param name="ref_file" value="phiX.fasta" ftype="fasta" /> |