changeset 1:7e6be57de1a0 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:42 -0400
parents 7f27672ff880
children
files find-repeats.xml macros.xml
diffstat 2 files changed, 25 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/find-repeats.xml	Tue Aug 27 12:31:52 2019 -0400
+++ b/find-repeats.xml	Tue Jun 23 10:26:42 2020 -0400
@@ -1,9 +1,11 @@
-<tool id="findrepeat" name="Find Repeats" version ="1.8.2">
+<tool id="findrepeat" name="Find Repeats" version ="@VERSION@+galaxy1">
   <description>Identify repeat elements using Mummer</description>
-  <requirements>
-    <requirement type="package" version="1.8.2">snvphyl-tools</requirement>
+  <macros>
+    <import>macros.xml</import>
+  </macros>
+  <expand macro="requirements">
     <requirement type="package" version="3.23">mummer</requirement>
-  </requirements>
+  </expand>
   <command detect_errors="exit_code">
       find-repeats.pl -l $length -p $pid $fasta > $out
   </command>
@@ -41,6 +43,7 @@
   - Minimum length of repeat region (150).
   - Minimum PID of repeat region (90).
   </help>
-<citations>
-</citations>
+  <expand macro="citations">
+    <citation type="doi">10.1186/gb-2004-5-2-r12</citation>
+  </expand>
 </tool>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/macros.xml	Tue Jun 23 10:26:42 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>