diff vcf2tsv.xml @ 0:8045bf0acb6e draft

Uploaded
author anton
date Wed, 07 May 2014 15:19:35 -0400
parents
children 2826332c3153
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/vcf2tsv.xml	Wed May 07 15:19:35 2014 -0400
@@ -0,0 +1,40 @@
+<tool id="vcf2tsv" name="VCF2TSV:" version="0.0.1">
+<requirements>
+    <requirement type="package" version="586c5ae5d57a38dae6b32ea831fb1f7cfa14c9bd">vcflib</requirement>
+</requirements>
+  <description>Convert VCF data into TAB-delimited format</description>
+  <command>vcf2tsv ${g_option} -n "${null_filler}" "${input}" > "${out_file1}"</command>
+  <inputs>
+    <param name="g_option" type="boolean" checked="true" truevalue="-g" falsevalue="" label="Report data per sample"/>
+    <param name="null_filler" type="select" label="Fill empty fiels with" >
+      <option value="">Nothing</option>
+      <option value=".">.</option>
+      <option value="*">*</option>
+      <option value="NULL">NULL</option>
+    </param>
+    <param format="vcf" name="input" type="data" label="From"/>
+  </inputs>
+  <outputs>
+    <data format="tabular" name="out_file1" />
+  </outputs>
+  <tests>
+    <test>
+      <param name="g_option" value="true"/>
+      <param name="null_filler" value="."/>
+      <param name="input" value="vcflib.vcf"/>
+      <output name="out_file1" file="vcf2tsv-test1.tab"/>
+    </test>
+   <test>
+      <param name="g_option" value="false"/>
+      <param name="null_filler" value="."/>
+      <param name="input" value="vcflib.vcf"/>
+      <output name="out_file1" file="vcf2tsv-test2.tab"/>
+    </test>
+    </tests>
+  <help>
+
+Converts stdin or given VCF file to tab-delimited format, using null string to replace empty values in the table.
+Specifying -g will output one line per sample with genotype information.
+
+</help>
+</tool>