diff snpEff_databases.xml @ 7:aaa749ea91a2 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit d12a2e9dd273b4c23db48bbb747f32700887710e
author iuc
date Tue, 07 Jun 2016 09:40:10 -0400
parents 92b80578fa22
children 1501e66908de
line wrap: on
line diff
--- a/snpEff_databases.xml	Tue Oct 13 17:30:57 2015 -0400
+++ b/snpEff_databases.xml	Tue Jun 07 09:40:10 2016 -0400
@@ -5,9 +5,10 @@
     </macros>
     <expand macro="requirements" />
     <expand macro="stdio" />
+    <expand macro="version_command" />
     <command>
 <![CDATA[
-    java -jar \$SNPEFF_JAR_PATH/snpEff.jar databases |  grep -v '^---' | sed 's/^Genome/#Genome/' | sed  's/  *//g' > $snpeff_dbs
+    java -jar "\$SNPEFF_JAR_PATH/snpEff.jar" databases |  grep -v '^---' | sed 's/^Genome/#Genome/' | sed  's/  *//g' > "$snpeff_dbs"
 ]]>
     </command>
     <inputs>
@@ -15,12 +16,21 @@
     <outputs>
         <data format="tabular" name="snpeff_dbs" label="${tool.name} @SNPEFF_VERSION@ available databases" />
     </outputs>
-    <help>
+    <tests>
+        <test>
+            <output name="snpeff_dbs">
+                <assert_contents>
+                    <has_text text="ebola_zaire" />
+                </assert_contents>
+            </output>
+        </test>
+    </tests>
+    <help><![CDATA[
 
 @EXTERNAL_DOCUMENTATION@
 
-@CITATION_SECTION@
-
+]]>
     </help>
+    <expand macro="citations" />
 </tool>