view jvarkit/vcftail.xml @ 8:98106098dcd1 draft

Uploaded
author yokofakun
date Fri, 27 Feb 2015 09:52:06 -0500
parents
children
line wrap: on
line source

<?xml version="1.0"?>
<tool xmlns:date="http://exslt.org/dates-and-times" hidden="false" id="com.github.lindenb.jvarkit.tools.misc.VcfTail" version="f21676175ed7d18ec569f34973dd2c03c23ab1e9" name="vcftail">
  <!--Date: 2015-02-27T15:54:03+01:00-->
  <description>Print first variants of a VCF</description>
  <requirements>
    <requirement type="binary">java</requirement>
  </requirements>
  <command>(gunzip -c ${input} || cat ${input}) | java -cp  $__tool_directory__/commons-jexl-2.1.1.jar:$__tool_directory__/commons-logging-1.1.1.jar:$__tool_directory__/htsjdk-1.128.jar:$__tool_directory__/snappy-java-1.0.3-rc3.jar:$__tool_directory__/vcftail.jar com.github.lindenb.jvarkit.tools.misc.VcfTail -n '${num}' -o ${output}.vcf.gz  &amp;&amp; mv  ${output}.vcf.gz ${output}</command>
  <inputs>
		 <param format="vcf" name="input" type="data" label="VCF input"/> 
		<param name="num" type="integer" label="Number of variants" min="0" value="10"/>
	</inputs>
  <outputs>
    <data format="vcf" name="output"/>
  </outputs>
  <stdio>
    <exit_code range="1:"/>
    <exit_code range=":-1"/>
  </stdio>
  <help>

**Inputs**


- **VCF input** :  VCF input

- **Number of variants** :  Number of variants


**Outputs**


- **output** :  output


**Wiki**

https://github.com/lindenb/jvarkit/wiki/VcfHead

-----


**Author**

Pierre Lindenbaum PhD @yokofakun

**Citation**

If you use this Galaxy tool in work leading to a scientific publication please
cite: Pierre Lindenbaum PhD  https://github.com/lindenb/jvarkit

**Contribute**

- Issue Tracker: http://github.com/lindenb/jvarkit/issues`
- Source Code: http://github.com/lindenb/jvarkit

**License**

The project is licensed under the MIT license.

**Compilation**

Date: 2015-02-27T15:54:03+01:00
Version: f21676175ed7d18ec569f34973dd2c03c23ab1e9
</help>
</tool>