changeset 1:1cf81ca17e9d draft default tip

"planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 57067916cb7b9c5b65c1da59d4bbb846c3e3af2f"
author nml
date Tue, 23 Jun 2020 10:26:59 -0400
parents e2cec726fa79
children
files macros.xml positions2snv_alignment.xml
diffstat 2 files changed, 22 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/macros.xml	Tue Jun 23 10:26:59 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/positions2snv_alignment.xml	Tue Aug 27 12:32:15 2019 -0400
+++ b/positions2snv_alignment.xml	Tue Jun 23 10:26:59 2020 -0400
@@ -1,8 +1,9 @@
-<tool id="positions2snv_alignment" name="Positions to SNV alignment" version ="1.8.2">
+<tool id="positions2snv_alignment" name="Positions to SNV alignment" version ="@VERSION@+galaxy1">
   <description>Create a SNV-only alignment from the SNVPhyl positions table.</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"><![CDATA[
 	positions2snv_alignment.pl -i $snv_table -o $output -f $out_format $keep_all 
         #if $reference_name:
@@ -70,7 +71,5 @@
 Creates a SNV-only alignment from the SNVPhyl SNV positions table.
 
   </help>
-
-  <citations>
-  </citations>
+  <expand macro="citations"/>
 </tool>