changeset 1:4d3e3d7aa0c4 draft default tip

"planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 57067916cb7b9c5b65c1da59d4bbb846c3e3af2f"
author nml
date Tue, 23 Jun 2020 10:27:34 -0400
parents 317ba2ee501d
children
files macros.xml snv_matrix.xml
diffstat 2 files changed, 22 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/macros.xml	Tue Jun 23 10:27:34 2020 -0400
@@ -0,0 +1,16 @@
+<macros>
+  <token name="@VERSION@">1.8.2</token>
+
+  <xml name="requirements">
+    <requirements>
+      <requirement type="package" version="@VERSION@">snvphyl-tools</requirement>
+      <yield/>
+    </requirements>
+  </xml>
+  <xml name="citations">
+    <citations>
+      <citation type="doi">10.1099/mgen.0.000116</citation>
+      <yield/> 
+    </citations>
+  </xml>
+</macros>
--- a/snv_matrix.xml	Tue Aug 27 12:33:00 2019 -0400
+++ b/snv_matrix.xml	Tue Jun 23 10:27:34 2020 -0400
@@ -1,8 +1,9 @@
-<tool id="snvmatrix" name="SNV Matrix" version ="1.8.2">
+<tool id="snvmatrix" name="SNV Matrix" version ="@VERSION@+galaxy1">
   <description>Create SNV matrix from Phylip file</description>
-  <requirements>
-    <requirement type="package" version="1.8.2">snvphyl-tools</requirement>
-  </requirements>
+  <macros>
+    <import>macros.xml</import>
+  </macros>
+  <expand macro="requirements"/>
   <command detect_errors="exit_code">
 	snv_matrix.pl   $phylip
 	-o $out
@@ -34,6 +35,5 @@
   - Phylip file: Phylogenetic file (.ph, .phy)
 
   </help>
-<citations>
-</citations>
+  <expand macro="citations"/>
 </tool>