changeset 1:48922d9ca355 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:18 -0400
parents 93ea196681c8
children
files filtervcf.xml macros.xml
diffstat 2 files changed, 22 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/filtervcf.xml	Tue Aug 27 12:31:30 2019 -0400
+++ b/filtervcf.xml	Tue Jun 23 10:26:18 2020 -0400
@@ -1,8 +1,9 @@
-<tool id="filtervcf" name="Filter vcf" version ="1.8.2">
+<tool id="filtervcf" name="Filter vcf" version ="@VERSION@+galaxy1">
   <description>filter out indels and complex SNVS</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">
 	filterVcf.pl --noindels  $vcf
 	-o $vcfout
@@ -22,6 +23,5 @@
   <help>
   Filter out indels and complex variants from VCF file
   </help>
-<citations>
-</citations>
+  <expand macro="citations"/>
 </tool>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/macros.xml	Tue Jun 23 10:26:18 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>