comparison vcf2tsv.xml @ 0:8045bf0acb6e draft

Uploaded
author anton
date Wed, 07 May 2014 15:19:35 -0400
parents
children 2826332c3153
comparison
equal deleted inserted replaced
-1:000000000000 0:8045bf0acb6e
1 <tool id="vcf2tsv" name="VCF2TSV:" version="0.0.1">
2 <requirements>
3 <requirement type="package" version="586c5ae5d57a38dae6b32ea831fb1f7cfa14c9bd">vcflib</requirement>
4 </requirements>
5 <description>Convert VCF data into TAB-delimited format</description>
6 <command>vcf2tsv ${g_option} -n "${null_filler}" "${input}" > "${out_file1}"</command>
7 <inputs>
8 <param name="g_option" type="boolean" checked="true" truevalue="-g" falsevalue="" label="Report data per sample"/>
9 <param name="null_filler" type="select" label="Fill empty fiels with" >
10 <option value="">Nothing</option>
11 <option value=".">.</option>
12 <option value="*">*</option>
13 <option value="NULL">NULL</option>
14 </param>
15 <param format="vcf" name="input" type="data" label="From"/>
16 </inputs>
17 <outputs>
18 <data format="tabular" name="out_file1" />
19 </outputs>
20 <tests>
21 <test>
22 <param name="g_option" value="true"/>
23 <param name="null_filler" value="."/>
24 <param name="input" value="vcflib.vcf"/>
25 <output name="out_file1" file="vcf2tsv-test1.tab"/>
26 </test>
27 <test>
28 <param name="g_option" value="false"/>
29 <param name="null_filler" value="."/>
30 <param name="input" value="vcflib.vcf"/>
31 <output name="out_file1" file="vcf2tsv-test2.tab"/>
32 </test>
33 </tests>
34 <help>
35
36 Converts stdin or given VCF file to tab-delimited format, using null string to replace empty values in the table.
37 Specifying -g will output one line per sample with genotype information.
38
39 </help>
40 </tool>