view vcfdistance.xml @ 1:ff5c6635c9a8

Updated to vcflib 86723982aa
author Anton Nekrutenko <anton@bx.psu.edu>
date Wed, 25 Jun 2014 16:14:03 -0400
parents de3bbf60d086
children 2c664ebd4af5
line wrap: on
line source

<tool id="vcfdistance" name="VCFdistance:" version="0.0.1">
<requirements>
    <requirement type="package" version="86723982aa">vcflib</requirement>
</requirements>
  <description>Calculate distance to the nearest variant</description>
  <command>cat "${input1}" | vcfdistance > "${out_file1}"</command>
  <inputs>
    <param format="vcf" name="input1" type="data" label="First 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 a part of VCFlib toolkit developed by Erik Garrison (https://github.com/ekg/vcflib).                                                                                                                                 

</help>
</tool>