changeset 1:5dc704146cc6 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:17 -0400
parents bf542eece94a
children
files macros.xml positions2snv_invariant_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:27:17 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_invariant_alignment.xml	Tue Aug 27 12:32:37 2019 -0400
+++ b/positions2snv_invariant_alignment.xml	Tue Jun 23 10:27:17 2020 -0400
@@ -1,8 +1,9 @@
-<tool id="positions2snv_invariant_alignment" name="Positions to SNV invariant alignment" version ="1.8.2">
+<tool id="positions2snv_invariant_alignment" name="Positions to SNV invariant alignment" version ="@VERSION@+galaxy1">
   <description>Create a SNV and non-variant alignment from the SNVPhyl positions table and a reference genome.</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_invariant_alignment.pl -i $snv_table --reference-file $reference_genome -o outputs -f $out_format $keep_all $merge_alignment
   ]]></command>
@@ -85,7 +86,5 @@
 Creates a SNV and non-variant alignment from the SNVPhyl SNV positions table and a reference genome.
 
   </help>
-
-  <citations>
-  </citations>
+  <expand macro="citations"/>
 </tool>