diff 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
line wrap: on
line diff
--- a/snpEff.xml	Tue Aug 28 03:03:45 2018 -0400
+++ b/snpEff.xml	Thu Sep 06 13:23:57 2018 -0400
@@ -1,4 +1,4 @@
-<tool id="snpEff" name="SnpEff eff:" version="@wrapper_version@.galaxy1">
+<tool id="snpEff" name="SnpEff eff:" version="@WRAPPER_VERSION@.galaxy1">
     <description> annotate variants</description>
     <macros>
         <import>snpEff_macros.xml</import>
@@ -9,7 +9,7 @@
     <expand macro="stdio" />
     <expand macro="version_command" />
     <command><![CDATA[
-        snpEff @java_options@ eff
+        snpEff @JAVA_OPTIONS@ eff
         -i $inputFormat -o ${outputConditional.outputFormat} -upDownStreamLen $udLength
         #if $spliceSiteSize and str($spliceSiteSize) != '':
           -spliceSiteSize "$spliceSiteSize"
@@ -140,7 +140,7 @@
                 <param name="genomeVersion" type="select" label="Genome">
                     <!--GENOME    DESCRIPTION-->
                     <options from_data_table="snpeffv_genomedb">
-                            <filter type="static_value" name="snpeff_version" value="@snpeff_version@" column="1"/>
+                            <filter type="static_value" name="snpeff_version" value="@SNPEFF_VERSION@" column="1"/>
                             <filter type="unique_value" column="2" />
                     </options>
                 </param>
@@ -154,11 +154,11 @@
                 </section>
             </when>
             <when value="history">
-                <param name="snpeff_db" type="data" format="snpeffdb" label="@snpeff_version@ Genome Data">
+                <param name="snpeff_db" type="data" format="snpeffdb" label="@SNPEFF_VERSION@ Genome Data">
                     <options options_filter_attribute="metadata.snpeff_version" >
-                        <filter type="add_value" value="@snpeff_version@" />
+                        <filter type="add_value" value="@SNPEFF_VERSION@" />
                     </options>
-                    <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>
+                    <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>
                 </param>
                 <section name="reg_section" expanded="false" title="Regulation options">
                     <!-- From metadata -->
@@ -171,16 +171,16 @@
             </when>
             <when value="named">
                 <param name="genome_version" type="text" value="" label="Snpff Genome Version Name (e.g. GRCh38.76)">
-                    <help>@snpeff_database_url@</help>
-                    <validator type="regex" message="A genome version name is required">\S+</validator>
+                    <help>@SNPEFF_DATABASE_URL@</help>
+                    <validator type="empty_field" message="A genome version name is required" />
                 </param>
             </when>
             <when value="custom">
-                <param name="snpeff_db" type="data" format="snpeffdb" label="@snpeff_version@ Genome Data">
+                <param name="snpeff_db" type="data" format="snpeffdb" label="@SNPEFF_VERSION@ Genome Data">
                     <options options_filter_attribute="metadata.snpeff_version" >
-                        <filter type="add_value" value="@snpeff_version@" />
+                        <filter type="add_value" value="@SNPEFF_VERSION@" />
                     </options>
-                    <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>
+                    <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>
                 </param>
                 <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">
                     <option selected="true" value="Standard">Standard</option>
@@ -212,7 +212,7 @@
             </when>
         </conditional>
 
-        <param name="udLength" type="select" label="Upstream / Downstream length" argument="-ud" >
+        <param name="udLength" argument="-ud" type="select" label="Upstream / Downstream length">
             <option value="0">No upstream / downstream intervals (0 bases)</option>
             <option value="200">200 bases</option>
             <option value="500">500 bases</option>
@@ -223,7 +223,7 @@
             <option value="20000">20000 bases</option>
         </param>
 
-        <param name="spliceSiteSize" type="select" optional="true" label="Set size for splice sites (donor and acceptor) in bases" argument="-ss">
+        <param name="spliceSiteSize" argument="-ss" type="select" optional="true" label="Set size for splice sites (donor and acceptor) in bases">
             <option value="1">1 base</option>
             <option value="2" selected="true">2 bases</option>
             <option value="3">3 bases</option>
@@ -242,9 +242,9 @@
             </param>
             <when value="no"/>
             <when value="yes">
-                <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"/>
-                <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"/>
-                <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"/>
+                <param argument="-spliceRegionExonSize" type="integer" value="" min="1" max="10" optional="true" label="Set size for splice site region within exons. Default: 3 bases" />
+                <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" />
+                <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" />
             </when>
         </conditional>
 
@@ -274,7 +274,7 @@
             -->
         </param>
         <!-- -cancerSamples <file>           : Two column TXT file defining 'oringinal \t derived' samples. -->
-        <param name="intervals" type="data" format="bed" optional="true" label="Use custom interval file for annotation" argument="-interval"/>
+        <param name="intervals" argument="-interval" type="data" format="bed" optional="true" label="Use custom interval file for annotation" />
         <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"/>
         <param name="filterOut" type="select" display="checkboxes" multiple="true" label="Filter output">
             <option value="-no-downstream">Do not show DOWNSTREAM changes</option>
@@ -337,20 +337,20 @@
             </when>
         </conditional>
 
-        <param name="offset" type="select" display="radio" label="Chromosomal position" argument="-0 and -1">
+        <param name="offset" type="select" display="radio" label="Chromosomal position">
             <option value="default" selected="true">Use default (based on input type)</option>
             <option value="-0">Force zero-based positions (both input and output)</option>
             <option value="-1">Force one-based positions (both input and output)</option>
         </param>
-        <param name="chr" type="text" label="Text to prepend to chromosome name" argument="-chr">
+        <param argument="-chr" type="text" label="Text to prepend to chromosome name">
             <help>
                By default SnpEff simplifies all chromosome names. For instance 'chr1' is just '1'.
                You can prepend any string you want to the chromosome name
             </help>
             <validator type="regex" message="No whitespace allowed">^\S*$</validator>
         </param>
-        <param name="generate_stats" type="boolean" truevalue="" falsevalue="-noStats" checked="true" label="Produce Summary Stats" argument="-noStats"/>
-        <param name="noLog" type="boolean" truevalue="-noLog" falsevalue="" checked="true" label="Suppress reporting usage statistics to server" argument="-noLog"/>
+        <param name="generate_stats" argument="-noStats" type="boolean" truevalue="" falsevalue="-noStats" checked="true" label="Produce Summary Stats" />
+        <param argument="-noLog" type="boolean" truevalue="-noLog" falsevalue="" checked="true" label="Suppress reporting usage statistics to server" />
     </inputs>
     <outputs>
         <data name="snpeff_output" format="vcf">
@@ -374,7 +374,7 @@
             <param name="genomeSrc" value="named"/>
             <param name="genome_version" value="ebola_zaire"/>
             <param name="udLength" value="0"/>
-            <param name="generate_stats" value="False"/>
+            <param name="generate_stats" value="false"/>
             <output name="snpeff_output">
                 <assert_contents>
                     <has_text_matching expression="KJ660346\t572\t.*missense_variant" />
@@ -384,7 +384,6 @@
         </test>
     </tests>
     <help><![CDATA[
-
 **What it does**
 
 SnpEff is a variant annotation and effect prediction tool. It annotates and predicts the effects of genetic variants (such as amino acid changes).
@@ -410,8 +409,8 @@
 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".
 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.
 
-@snpeff_in_galaxy_info@
-@external_documentation@
+@SNPEFF_IN_GALAXY_INFO@
+@EXTERNAL_DOCUMENTATION@
 ]]>
     </help>
     <expand macro="citations" />