annotate vcf2tsv.xml @ 4:fd6e01595a72 draft default tip

Uploaded
author anton
date Mon, 15 Sep 2014 14:47:06 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
fd6e01595a72 Uploaded
anton
parents:
diff changeset
1 <tool id="vcf2tsv" name="VCFtoTab-delimited:" version="0.0.2">
fd6e01595a72 Uploaded
anton
parents:
diff changeset
2 <requirements>
fd6e01595a72 Uploaded
anton
parents:
diff changeset
3 <requirement type="package" version="8a5602bf07">vcflib</requirement>
fd6e01595a72 Uploaded
anton
parents:
diff changeset
4 </requirements>
fd6e01595a72 Uploaded
anton
parents:
diff changeset
5 <description>Convert VCF data into TAB-delimited format</description>
fd6e01595a72 Uploaded
anton
parents:
diff changeset
6 <command>vcf2tsv ${g_option} -n "${null_filler}" "${input}" > "${out_file1}"</command>
fd6e01595a72 Uploaded
anton
parents:
diff changeset
7 <inputs>
fd6e01595a72 Uploaded
anton
parents:
diff changeset
8 <param format="vcf" name="input" type="data" label="Select VCF dataset to convert"/>
fd6e01595a72 Uploaded
anton
parents:
diff changeset
9 <param name="g_option" type="boolean" checked="true" truevalue="-g" falsevalue="" label="Report data per sample" help="-g option"/>
fd6e01595a72 Uploaded
anton
parents:
diff changeset
10 <param name="null_filler" type="select" label="Fill empty fields with" help="-n option" >
fd6e01595a72 Uploaded
anton
parents:
diff changeset
11 <option value="">Nothing</option>
fd6e01595a72 Uploaded
anton
parents:
diff changeset
12 <option value=".">.</option>
fd6e01595a72 Uploaded
anton
parents:
diff changeset
13 <option value="*">*</option>
fd6e01595a72 Uploaded
anton
parents:
diff changeset
14 <option value="NULL">NULL</option>
fd6e01595a72 Uploaded
anton
parents:
diff changeset
15 </param>
fd6e01595a72 Uploaded
anton
parents:
diff changeset
16 </inputs>
fd6e01595a72 Uploaded
anton
parents:
diff changeset
17 <outputs>
fd6e01595a72 Uploaded
anton
parents:
diff changeset
18 <data format="tabular" name="out_file1" />
fd6e01595a72 Uploaded
anton
parents:
diff changeset
19 </outputs>
fd6e01595a72 Uploaded
anton
parents:
diff changeset
20 <tests>
fd6e01595a72 Uploaded
anton
parents:
diff changeset
21 <test>
fd6e01595a72 Uploaded
anton
parents:
diff changeset
22 <param name="g_option" value="true"/>
fd6e01595a72 Uploaded
anton
parents:
diff changeset
23 <param name="null_filler" value="."/>
fd6e01595a72 Uploaded
anton
parents:
diff changeset
24 <param name="input" value="vcflib.vcf"/>
fd6e01595a72 Uploaded
anton
parents:
diff changeset
25 <output name="out_file1" file="vcf2tsv-test1.tab"/>
fd6e01595a72 Uploaded
anton
parents:
diff changeset
26 </test>
fd6e01595a72 Uploaded
anton
parents:
diff changeset
27 <test>
fd6e01595a72 Uploaded
anton
parents:
diff changeset
28 <param name="g_option" value="false"/>
fd6e01595a72 Uploaded
anton
parents:
diff changeset
29 <param name="null_filler" value="."/>
fd6e01595a72 Uploaded
anton
parents:
diff changeset
30 <param name="input" value="vcflib.vcf"/>
fd6e01595a72 Uploaded
anton
parents:
diff changeset
31 <output name="out_file1" file="vcf2tsv-test2.tab"/>
fd6e01595a72 Uploaded
anton
parents:
diff changeset
32 </test>
fd6e01595a72 Uploaded
anton
parents:
diff changeset
33 </tests>
fd6e01595a72 Uploaded
anton
parents:
diff changeset
34 <help>
fd6e01595a72 Uploaded
anton
parents:
diff changeset
35
fd6e01595a72 Uploaded
anton
parents:
diff changeset
36 Converts VCF dataset to tab-delimited format, using null string to replace empty values in the table.
fd6e01595a72 Uploaded
anton
parents:
diff changeset
37 Specifying "**Report data per sample**" (-g) will output one line per sample with genotype information.
fd6e01595a72 Uploaded
anton
parents:
diff changeset
38
fd6e01595a72 Uploaded
anton
parents:
diff changeset
39 ----
fd6e01595a72 Uploaded
anton
parents:
diff changeset
40
fd6e01595a72 Uploaded
anton
parents:
diff changeset
41 Vcf2Tsv is a part of VCFlib toolkit developed by Erik Garrison (https://github.com/ekg/vcflib).
fd6e01595a72 Uploaded
anton
parents:
diff changeset
42
fd6e01595a72 Uploaded
anton
parents:
diff changeset
43 </help>
fd6e01595a72 Uploaded
anton
parents:
diff changeset
44 </tool>