diff vcfdistance.xml @ 0:77ae7fbde89a draft

planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfdistance commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
author devteam
date Mon, 09 Nov 2015 12:31:21 -0500
parents
children 815622f17a3d
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/vcfdistance.xml	Mon Nov 09 12:31:21 2015 -0500
@@ -0,0 +1,34 @@
+<tool id="vcfdistance" name="VCFdistance:" version="0.0.3">
+  <description>Calculate distance to the nearest variant</description>
+  <macros>
+    <import>macros.xml</import>
+  </macros>
+  <expand macro="requirements"></expand>
+  <expand macro="stdio" />
+  <command>cat "${input1}" | vcfdistance > "${out_file1}"</command>
+  <inputs>
+    <param format="vcf" name="input1" type="data" label="Select VCF dataset"/>
+  </inputs>
+  <outputs>
+    <data format="vcf" name="out_file1" />
+  </outputs>
+  <tests>
+    <test>
+      <param name="input1" value="vcflib.vcf"/>
+      <output name="out_file1" file="vcfdistance-test1.vcf"/>
+    </test>
+    </tests>
+  <help>
+
+Adds a value to each VCF record indicating the distance to the nearest variant in the file.
+
+.. class:: infomark
+
+The dataset used as input to this tool must be coordinate sorted. This can be achieved by either using the VCFsort utility or Galaxy's general purpose sort tool (in this case sort on the first and the second column in ascending order).
+
+----
+
+Vcfdistance @IS_PART_OF_VCFLIB@
+</help>
+  <expand macro="citations" />
+</tool>