Mercurial > repos > iuc > gatk2
diff base_recalibrator.xml @ 2:28b85e2409ce draft
Uploaded
| author | bgruening |
|---|---|
| date | Sat, 30 Nov 2013 10:36:47 -0500 |
| parents | c8752e31f496 |
| children | e67da4f2c9bf |
line wrap: on
line diff
--- a/base_recalibrator.xml Tue Nov 26 06:10:20 2013 -0500 +++ b/base_recalibrator.xml Sat Nov 30 10:36:47 2013 -0500 @@ -1,5 +1,5 @@ <tool id="gatk2_base_recalibrator" name="Base Recalibrator" version="0.0.7"> - <description>on BAM files</description> + <description>calculates covariates used to recalibrate base quality scores of reads</description> <expand macro="requirements" /> <macros> <import>gatk2_macros.xml</import> @@ -20,6 +20,9 @@ --num_cpu_threads_per_data_thread 8 @THREADS@ + ## we set non standards at every run and the user can choose which ones are preferred + ## in our select box both standard options (ContextCovariate, CycleCovariate) are selected by default + --no_standard_covs #if $reference_source.reference_source_selector != "history": -R "${reference_source.ref_file.fields.path}" @@ -28,15 +31,11 @@ --BQSR "${input_recal}" #end if --out "${output_recal}" - ${standard_covs} #if str( $covariates ) != "None": #for $cov in str( $covariates ).split( ',' ): -cov "${cov}" #end for #end if - #if $plot_pdf: - --plot_pdf_file $output_pdf - #end if ' #set $snp_dataset_provided = False @@ -118,26 +117,25 @@ Please be aware that one should only run recalibration with the covariates file created on the same input bam(s). </help> </param> - <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" /> + <param name="covariates" type="select" multiple="True" display="checkboxes" label="Covariates to be used in the recalibration" help="-cov,--covariate &lt;covariate&gt;" > <!-- might we want to load the available covariates from an external configuration file, since additional ones can be added to local installs? --> - <option value="ReadGroupCovariate" /> + <option value="ContextCovariate" selected="true"/> + <option value="CycleCovariate" selected="true"/> + <option value="RepeatLengthCovariate" /> + <option value="RepeatUnitCovariate" /> + <option value="RepeatUnitAndLengthCovariate" /> + <!-- + Note: ReadGroupCovariate and QualityScoreCovariate are required covariates and will + be added for the user regardless of whether or not they were specified. <option value="QualityScoreCovariate" /> - <option value="CycleCovariate" /> - <option value="ContextCovariate" /> - <!-- covariates below were pulled from list option --> - <option value="HomopolymerCovariate" /> - <option value="GCContentCovariate" /> - <option value="MappingQualityCovariate" /> - <option value="MinimumNQSCovariate" /> - <option value="PositionCovariate" /> - <option value="PrimerRoundCovariate" /> - <option value="TileCovariate" /> + <option value="ReadGroupCovariate" /> + --> </param> - <repeat name="rod_bind" title="Binding for reference-ordered data" help="-knownSites,--knownSites &lt;knownSites&gt;"> + <repeat name="rod_bind" title="Known Variants" help="Using data sets of known variants (-knownSites,--knownSites &lt;knownSites&gt;)"> <conditional name="rod_bind_type"> - <param name="rod_bind_type_selector" type="select" label="Binding Type"> + <param name="rod_bind_type_selector" type="select" label="Variant Type"> <option value="dbsnp" selected="True">dbSNP</option> <option value="snps">SNPs</option> <option value="indels">INDELs</option> @@ -145,24 +143,24 @@ <option value="custom">Custom</option> </param> <when value="dbsnp"> - <param name="input_rod" type="data" format="vcf,gatk_dbsnp,bed" label="ROD file" /> + <param name="input_rod" type="data" format="vcf,gatk_dbsnp,bed" label="Variant file" /> </when> <when value="snps"> - <param name="input_rod" type="data" format="vcf,gatk_dbsnp,bed" label="ROD file" /> + <param name="input_rod" type="data" format="vcf,gatk_dbsnp,bed" label="Variant file" /> </when> <when value="indels"> - <param name="input_rod" type="data" format="vcf,gatk_dbsnp,bed" label="ROD file" /> + <param name="input_rod" type="data" format="vcf,gatk_dbsnp,bed" label="Variant file" /> </when> <when value="mask"> - <param name="input_rod" type="data" format="vcf,gatk_dbsnp,bed" label="ROD file" /> + <param name="input_rod" type="data" format="vcf,gatk_dbsnp,bed" label="Variant file" /> </when> <when value="custom"> - <param name="custom_rod_name" type="text" value="Unknown" label="ROD Name"/> - <param name="input_rod" type="data" format="vcf,gatk_dbsnp,bed" label="ROD file" /> + <param name="custom_rod_name" type="text" value="Unknown" label="Customer's variant file"/> + <param name="input_rod" type="data" format="vcf,gatk_dbsnp,bed" label="Variant file" /> </when> </conditional> </repeat> - <param name="plot_pdf" type="boolean" truevalue="--plot_pdf_file" falsevalue="" checked="False" label="Output recalibration plots pdf"/> + <expand macro="gatk_param_type_conditional" /> <conditional name="analysis_param_type"> @@ -243,9 +241,6 @@ <outputs> <data format="gatk_report" name="output_recal" label="${tool.name} on ${on_string} (Covariate File)" /> <data format="txt" name="output_log" label="${tool.name} on ${on_string} (log)" /> - <data format="pdf" name="output_pdf" label="${tool.name} on ${on_string} (plot_pdf_file)"> - <filter>plot_pdf == True</filter> - </data> </outputs> <tests> <test>
