comparison snpEff.xml @ 17:65ae79bddc69 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 5ab504d384299d8c2ed496650f1f9e4a887cd102
author iuc
date Thu, 06 Sep 2018 13:23:57 -0400
parents 85ca751407c3
children 8f92c2b26e6d
comparison
equal deleted inserted replaced
16:c9ecd2a96ecf 17:65ae79bddc69
1 <tool id="snpEff" name="SnpEff eff:" version="@wrapper_version@.galaxy1"> 1 <tool id="snpEff" name="SnpEff eff:" version="@WRAPPER_VERSION@.galaxy1">
2 <description> annotate variants</description> 2 <description> annotate variants</description>
3 <macros> 3 <macros>
4 <import>snpEff_macros.xml</import> 4 <import>snpEff_macros.xml</import>
5 </macros> 5 </macros>
6 <requirements> 6 <requirements>
7 <expand macro="requirement" /> 7 <expand macro="requirement" />
8 </requirements> 8 </requirements>
9 <expand macro="stdio" /> 9 <expand macro="stdio" />
10 <expand macro="version_command" /> 10 <expand macro="version_command" />
11 <command><![CDATA[ 11 <command><![CDATA[
12 snpEff @java_options@ eff 12 snpEff @JAVA_OPTIONS@ eff
13 -i $inputFormat -o ${outputConditional.outputFormat} -upDownStreamLen $udLength 13 -i $inputFormat -o ${outputConditional.outputFormat} -upDownStreamLen $udLength
14 #if $spliceSiteSize and str($spliceSiteSize) != '': 14 #if $spliceSiteSize and str($spliceSiteSize) != '':
15 -spliceSiteSize "$spliceSiteSize" 15 -spliceSiteSize "$spliceSiteSize"
16 #end if 16 #end if
17 #if $spliceRegion.setSpliceRegions == 'yes': 17 #if $spliceRegion.setSpliceRegions == 'yes':
138 </param> 138 </param>
139 <when value="cached"> 139 <when value="cached">
140 <param name="genomeVersion" type="select" label="Genome"> 140 <param name="genomeVersion" type="select" label="Genome">
141 <!--GENOME DESCRIPTION--> 141 <!--GENOME DESCRIPTION-->
142 <options from_data_table="snpeffv_genomedb"> 142 <options from_data_table="snpeffv_genomedb">
143 <filter type="static_value" name="snpeff_version" value="@snpeff_version@" column="1"/> 143 <filter type="static_value" name="snpeff_version" value="@SNPEFF_VERSION@" column="1"/>
144 <filter type="unique_value" column="2" /> 144 <filter type="unique_value" column="2" />
145 </options> 145 </options>
146 </param> 146 </param>
147 <section name="reg_section" expanded="false" title="Regulation options"> 147 <section name="reg_section" expanded="false" title="Regulation options">
148 <param name="regulation" type="select" display="checkboxes" multiple="true" label="Non-coding and regulatory annotation" help="These are available for only a few genomes"> 148 <param name="regulation" type="select" display="checkboxes" multiple="true" label="Non-coding and regulatory annotation" help="These are available for only a few genomes">
152 </options> 152 </options>
153 </param> 153 </param>
154 </section> 154 </section>
155 </when> 155 </when>
156 <when value="history"> 156 <when value="history">
157 <param name="snpeff_db" type="data" format="snpeffdb" label="@snpeff_version@ Genome Data"> 157 <param name="snpeff_db" type="data" format="snpeffdb" label="@SNPEFF_VERSION@ Genome Data">
158 <options options_filter_attribute="metadata.snpeff_version" > 158 <options options_filter_attribute="metadata.snpeff_version" >
159 <filter type="add_value" value="@snpeff_version@" /> 159 <filter type="add_value" value="@SNPEFF_VERSION@" />
160 </options> 160 </options>
161 <validator type="expression" message="This version of SnpEff will only work with @snpeff_version@ genome databases">value is not None and value.metadata.snpeff_version == "@snpeff_version@"</validator> 161 <validator type="expression" message="This version of SnpEff will only work with @SNPEFF_VERSION@ genome databases">value is not None and value.metadata.snpeff_version == "@SNPEFF_VERSION@"</validator>
162 </param> 162 </param>
163 <section name="reg_section" expanded="false" title="Regulation options"> 163 <section name="reg_section" expanded="false" title="Regulation options">
164 <!-- From metadata --> 164 <!-- From metadata -->
165 <param name="regulation" type="select" display="checkboxes" multiple="true" label="Non-coding and regulatory annotation" help="These are available for only a few genomes"> 165 <param name="regulation" type="select" display="checkboxes" multiple="true" label="Non-coding and regulatory annotation" help="These are available for only a few genomes">
166 <options> 166 <options>
169 </param> 169 </param>
170 </section> 170 </section>
171 </when> 171 </when>
172 <when value="named"> 172 <when value="named">
173 <param name="genome_version" type="text" value="" label="Snpff Genome Version Name (e.g. GRCh38.76)"> 173 <param name="genome_version" type="text" value="" label="Snpff Genome Version Name (e.g. GRCh38.76)">
174 <help>@snpeff_database_url@</help> 174 <help>@SNPEFF_DATABASE_URL@</help>
175 <validator type="regex" message="A genome version name is required">\S+</validator> 175 <validator type="empty_field" message="A genome version name is required" />
176 </param> 176 </param>
177 </when> 177 </when>
178 <when value="custom"> 178 <when value="custom">
179 <param name="snpeff_db" type="data" format="snpeffdb" label="@snpeff_version@ Genome Data"> 179 <param name="snpeff_db" type="data" format="snpeffdb" label="@SNPEFF_VERSION@ Genome Data">
180 <options options_filter_attribute="metadata.snpeff_version" > 180 <options options_filter_attribute="metadata.snpeff_version" >
181 <filter type="add_value" value="@snpeff_version@" /> 181 <filter type="add_value" value="@SNPEFF_VERSION@" />
182 </options> 182 </options>
183 <validator type="expression" message="This version of SnpEff will only work with @snpeff_version@ genome databases">value is not None and value.metadata.snpeff_version == "@snpeff_version@"</validator> 183 <validator type="expression" message="This version of SnpEff will only work with @SNPEFF_VERSION@ genome databases">value is not None and value.metadata.snpeff_version == "@SNPEFF_VERSION@"</validator>
184 </param> 184 </param>
185 <param name="codon_table" type="select" label="Select genetic code for this sequence" help="If this sequence uses non-standard genetic code, select one from these options"> 185 <param name="codon_table" type="select" label="Select genetic code for this sequence" help="If this sequence uses non-standard genetic code, select one from these options">
186 <option selected="true" value="Standard">Standard</option> 186 <option selected="true" value="Standard">Standard</option>
187 <option value="Vertebrate_Mitochondrial">Vertebrate_Mitochondrial</option> 187 <option value="Vertebrate_Mitochondrial">Vertebrate_Mitochondrial</option>
188 <option value="Yeast_Mitochondrial">Yeast_Mitochondrial</option> 188 <option value="Yeast_Mitochondrial">Yeast_Mitochondrial</option>
210 <option value="Thraustochytrium_Mitochondrial">Thraustochytrium_Mitochondrial</option> 210 <option value="Thraustochytrium_Mitochondrial">Thraustochytrium_Mitochondrial</option>
211 </param> 211 </param>
212 </when> 212 </when>
213 </conditional> 213 </conditional>
214 214
215 <param name="udLength" type="select" label="Upstream / Downstream length" argument="-ud" > 215 <param name="udLength" argument="-ud" type="select" label="Upstream / Downstream length">
216 <option value="0">No upstream / downstream intervals (0 bases)</option> 216 <option value="0">No upstream / downstream intervals (0 bases)</option>
217 <option value="200">200 bases</option> 217 <option value="200">200 bases</option>
218 <option value="500">500 bases</option> 218 <option value="500">500 bases</option>
219 <option value="1000">1000 bases</option> 219 <option value="1000">1000 bases</option>
220 <option value="2000">2000 bases</option> 220 <option value="2000">2000 bases</option>
221 <option value="5000" selected="true">5000 bases</option> 221 <option value="5000" selected="true">5000 bases</option>
222 <option value="10000">10000 bases</option> 222 <option value="10000">10000 bases</option>
223 <option value="20000">20000 bases</option> 223 <option value="20000">20000 bases</option>
224 </param> 224 </param>
225 225
226 <param name="spliceSiteSize" type="select" optional="true" label="Set size for splice sites (donor and acceptor) in bases" argument="-ss"> 226 <param name="spliceSiteSize" argument="-ss" type="select" optional="true" label="Set size for splice sites (donor and acceptor) in bases">
227 <option value="1">1 base</option> 227 <option value="1">1 base</option>
228 <option value="2" selected="true">2 bases</option> 228 <option value="2" selected="true">2 bases</option>
229 <option value="3">3 bases</option> 229 <option value="3">3 bases</option>
230 <option value="4">4 bases</option> 230 <option value="4">4 bases</option>
231 <option value="5">5 bases</option> 231 <option value="5">5 bases</option>
240 <option value="no">Use Defaults</option> 240 <option value="no">Use Defaults</option>
241 <option value="yes">Set Splice Region Parameters</option> 241 <option value="yes">Set Splice Region Parameters</option>
242 </param> 242 </param>
243 <when value="no"/> 243 <when value="no"/>
244 <when value="yes"> 244 <when value="yes">
245 <param name="spliceRegionExonSize" type="integer" value="" min="1" max="10" optional="true" label="Set size for splice site region within exons. Default: 3 bases" argument="-spliceRegionExonSize"/> 245 <param argument="-spliceRegionExonSize" type="integer" value="" min="1" max="10" optional="true" label="Set size for splice site region within exons. Default: 3 bases" />
246 <param name="spliceRegionIntronMin" type="integer" value="" min="1" max="10" optional="true" label="Set minimum number of bases for splice site region within intron. Default: 3 bases" argument="-spliceRegionIntronMin"/> 246 <param argument="-spliceRegionIntronMin" type="integer" value="" min="1" max="10" optional="true" label="Set minimum number of bases for splice site region within intron. Default: 3 bases" />
247 <param name="spliceRegionIntronMax" type="integer" value="" min="1" max="10" optional="true" label="Set maximum number of bases for splice site region within intron. Default: 8 bases" argument="-spliceRegionIntronMax"/> 247 <param argument="-spliceRegionIntronMax" type="integer" value="" min="1" max="10" optional="true" label="Set maximum number of bases for splice site region within intron. Default: 8 bases" />
248 </when> 248 </when>
249 </conditional> 249 </conditional>
250 250
251 <param name="annotations" type="select" display="checkboxes" multiple="true" label="Annotation options"> 251 <param name="annotations" type="select" display="checkboxes" multiple="true" label="Annotation options">
252 <option value="-formatEff">Use 'EFF' field compatible with older versions (instead of 'ANN')</option> 252 <option value="-formatEff">Use 'EFF' field compatible with older versions (instead of 'ANN')</option>
272 <!-- onlyReg option results in frequent exceptions with version 4.3k 272 <!-- onlyReg option results in frequent exceptions with version 4.3k
273 <option value="-onlyReg">Only use regulation tracks</option> 273 <option value="-onlyReg">Only use regulation tracks</option>
274 --> 274 -->
275 </param> 275 </param>
276 <!-- -cancerSamples <file> : Two column TXT file defining 'oringinal \t derived' samples. --> 276 <!-- -cancerSamples <file> : Two column TXT file defining 'oringinal \t derived' samples. -->
277 <param name="intervals" type="data" format="bed" optional="true" label="Use custom interval file for annotation" argument="-interval"/> 277 <param name="intervals" argument="-interval" type="data" format="bed" optional="true" label="Use custom interval file for annotation" />
278 <param name="transcripts" type="data" format="tabular" optional="true" label="Only use the transcripts in this file" help="Format is one transcript ID per line"/> 278 <param name="transcripts" type="data" format="tabular" optional="true" label="Only use the transcripts in this file" help="Format is one transcript ID per line"/>
279 <param name="filterOut" type="select" display="checkboxes" multiple="true" label="Filter output"> 279 <param name="filterOut" type="select" display="checkboxes" multiple="true" label="Filter output">
280 <option value="-no-downstream">Do not show DOWNSTREAM changes</option> 280 <option value="-no-downstream">Do not show DOWNSTREAM changes</option>
281 <option value="-no-intergenic">Do not show INTERGENIC changes</option> 281 <option value="-no-intergenic">Do not show INTERGENIC changes</option>
282 <option value="-no-intron">Do not show INTRON changes</option> 282 <option value="-no-intron">Do not show INTRON changes</option>
335 <option value="NEXT_PROT">NEXT_PROT (sequence_feature + exon_loss_variant) A 'NextProt' based annotation. Details are provided in the 'feature type' sub-field (ANN), or in the effect details (EFF). MODERATE </option> 335 <option value="NEXT_PROT">NEXT_PROT (sequence_feature + exon_loss_variant) A 'NextProt' based annotation. Details are provided in the 'feature type' sub-field (ANN), or in the effect details (EFF). MODERATE </option>
336 </param> 336 </param>
337 </when> 337 </when>
338 </conditional> 338 </conditional>
339 339
340 <param name="offset" type="select" display="radio" label="Chromosomal position" argument="-0 and -1"> 340 <param name="offset" type="select" display="radio" label="Chromosomal position">
341 <option value="default" selected="true">Use default (based on input type)</option> 341 <option value="default" selected="true">Use default (based on input type)</option>
342 <option value="-0">Force zero-based positions (both input and output)</option> 342 <option value="-0">Force zero-based positions (both input and output)</option>
343 <option value="-1">Force one-based positions (both input and output)</option> 343 <option value="-1">Force one-based positions (both input and output)</option>
344 </param> 344 </param>
345 <param name="chr" type="text" label="Text to prepend to chromosome name" argument="-chr"> 345 <param argument="-chr" type="text" label="Text to prepend to chromosome name">
346 <help> 346 <help>
347 By default SnpEff simplifies all chromosome names. For instance 'chr1' is just '1'. 347 By default SnpEff simplifies all chromosome names. For instance 'chr1' is just '1'.
348 You can prepend any string you want to the chromosome name 348 You can prepend any string you want to the chromosome name
349 </help> 349 </help>
350 <validator type="regex" message="No whitespace allowed">^\S*$</validator> 350 <validator type="regex" message="No whitespace allowed">^\S*$</validator>
351 </param> 351 </param>
352 <param name="generate_stats" type="boolean" truevalue="" falsevalue="-noStats" checked="true" label="Produce Summary Stats" argument="-noStats"/> 352 <param name="generate_stats" argument="-noStats" type="boolean" truevalue="" falsevalue="-noStats" checked="true" label="Produce Summary Stats" />
353 <param name="noLog" type="boolean" truevalue="-noLog" falsevalue="" checked="true" label="Suppress reporting usage statistics to server" argument="-noLog"/> 353 <param argument="-noLog" type="boolean" truevalue="-noLog" falsevalue="" checked="true" label="Suppress reporting usage statistics to server" />
354 </inputs> 354 </inputs>
355 <outputs> 355 <outputs>
356 <data name="snpeff_output" format="vcf"> 356 <data name="snpeff_output" format="vcf">
357 <change_format> 357 <change_format>
358 <when input="outputConditional.outputFormat" value="bed" format="bed" /> 358 <when input="outputConditional.outputFormat" value="bed" format="bed" />
372 <param name="inputFormat" value="vcf"/> 372 <param name="inputFormat" value="vcf"/>
373 <param name="outputFormat" value="vcf"/> 373 <param name="outputFormat" value="vcf"/>
374 <param name="genomeSrc" value="named"/> 374 <param name="genomeSrc" value="named"/>
375 <param name="genome_version" value="ebola_zaire"/> 375 <param name="genome_version" value="ebola_zaire"/>
376 <param name="udLength" value="0"/> 376 <param name="udLength" value="0"/>
377 <param name="generate_stats" value="False"/> 377 <param name="generate_stats" value="false"/>
378 <output name="snpeff_output"> 378 <output name="snpeff_output">
379 <assert_contents> 379 <assert_contents>
380 <has_text_matching expression="KJ660346\t572\t.*missense_variant" /> 380 <has_text_matching expression="KJ660346\t572\t.*missense_variant" />
381 <has_text_matching expression="KJ660346\t1024\t.*synonymous_variant" /> 381 <has_text_matching expression="KJ660346\t1024\t.*synonymous_variant" />
382 </assert_contents> 382 </assert_contents>
383 </output> 383 </output>
384 </test> 384 </test>
385 </tests> 385 </tests>
386 <help><![CDATA[ 386 <help><![CDATA[
387
388 **What it does** 387 **What it does**
389 388
390 SnpEff is a variant annotation and effect prediction tool. It annotates and predicts the effects of genetic variants (such as amino acid changes). 389 SnpEff is a variant annotation and effect prediction tool. It annotates and predicts the effects of genetic variants (such as amino acid changes).
391 390
392 A typical SnpEff use case would be: 391 A typical SnpEff use case would be:
408 This is not a comprehensive list, it is just to give you an idea. 407 This is not a comprehensive list, it is just to give you an idea.
409 408
410 Suppose you have a huge file describing all the differences between your sample and the reference genome. But you want to know more about these variants than just their genetic coordinates. E.g.: Are they in a gene? In an exon? Do they change protein coding? Do they cause premature stop codons? SnpEff can help you answer all these questions. The process of adding this information about the variants is called "Annotation". 409 Suppose you have a huge file describing all the differences between your sample and the reference genome. But you want to know more about these variants than just their genetic coordinates. E.g.: Are they in a gene? In an exon? Do they change protein coding? Do they cause premature stop codons? SnpEff can help you answer all these questions. The process of adding this information about the variants is called "Annotation".
411 SnpEff provides several degrees of annotations, from simple (e.g. which gene is each variant affecting) to extremely complex annotations (e.g. will this non-coding variant affect the expression of a gene?). It should be noted that the more complex the annotations, the more it relies in computational predictions. Such computational predictions can be incorrect, so results from SnpEff (or any prediction algorithm) cannot be trusted blindly, they must be analyzed and independently validated by corresponding wet-lab experiments. 410 SnpEff provides several degrees of annotations, from simple (e.g. which gene is each variant affecting) to extremely complex annotations (e.g. will this non-coding variant affect the expression of a gene?). It should be noted that the more complex the annotations, the more it relies in computational predictions. Such computational predictions can be incorrect, so results from SnpEff (or any prediction algorithm) cannot be trusted blindly, they must be analyzed and independently validated by corresponding wet-lab experiments.
412 411
413 @snpeff_in_galaxy_info@ 412 @SNPEFF_IN_GALAXY_INFO@
414 @external_documentation@ 413 @EXTERNAL_DOCUMENTATION@
415 ]]> 414 ]]>
416 </help> 415 </help>
417 <expand macro="citations" /> 416 <expand macro="citations" />
418 </tool> 417 </tool>