annotate vcf2tsv.xml @ 0:77e1141bbd29 draft

Uploaded
author devteam
date Thu, 19 Mar 2015 11:35:32 -0400
parents
children d6c944f1581a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
77e1141bbd29 Uploaded
devteam
parents:
diff changeset
1 <tool id="vcf2tsv" name="VCFtoTab-delimited:" version="0.0.2">
77e1141bbd29 Uploaded
devteam
parents:
diff changeset
2 <description>Convert VCF data into TAB-delimited format</description>
77e1141bbd29 Uploaded
devteam
parents:
diff changeset
3 <macros>
77e1141bbd29 Uploaded
devteam
parents:
diff changeset
4 <import>macros.xml</import>
77e1141bbd29 Uploaded
devteam
parents:
diff changeset
5 </macros>
77e1141bbd29 Uploaded
devteam
parents:
diff changeset
6 <expand macro="requirements"></expand>
77e1141bbd29 Uploaded
devteam
parents:
diff changeset
7 <expand macro="stdio" />
77e1141bbd29 Uploaded
devteam
parents:
diff changeset
8 <command>vcf2tsv ${g_option} -n "${null_filler}" "${input}" > "${out_file1}"</command>
77e1141bbd29 Uploaded
devteam
parents:
diff changeset
9 <inputs>
77e1141bbd29 Uploaded
devteam
parents:
diff changeset
10 <param format="vcf" name="input" type="data" label="Select VCF dataset to convert"/>
77e1141bbd29 Uploaded
devteam
parents:
diff changeset
11 <param name="g_option" type="boolean" checked="true" truevalue="-g" falsevalue="" label="Report data per sample" help="-g option"/>
77e1141bbd29 Uploaded
devteam
parents:
diff changeset
12 <param name="null_filler" type="select" label="Fill empty fields with" help="-n option" >
77e1141bbd29 Uploaded
devteam
parents:
diff changeset
13 <option value="">Nothing</option>
77e1141bbd29 Uploaded
devteam
parents:
diff changeset
14 <option value=".">.</option>
77e1141bbd29 Uploaded
devteam
parents:
diff changeset
15 <option value="*">*</option>
77e1141bbd29 Uploaded
devteam
parents:
diff changeset
16 <option value="NULL">NULL</option>
77e1141bbd29 Uploaded
devteam
parents:
diff changeset
17 </param>
77e1141bbd29 Uploaded
devteam
parents:
diff changeset
18 </inputs>
77e1141bbd29 Uploaded
devteam
parents:
diff changeset
19 <outputs>
77e1141bbd29 Uploaded
devteam
parents:
diff changeset
20 <data format="tabular" name="out_file1" />
77e1141bbd29 Uploaded
devteam
parents:
diff changeset
21 </outputs>
77e1141bbd29 Uploaded
devteam
parents:
diff changeset
22 <tests>
77e1141bbd29 Uploaded
devteam
parents:
diff changeset
23 <test>
77e1141bbd29 Uploaded
devteam
parents:
diff changeset
24 <param name="g_option" value="true"/>
77e1141bbd29 Uploaded
devteam
parents:
diff changeset
25 <param name="null_filler" value="."/>
77e1141bbd29 Uploaded
devteam
parents:
diff changeset
26 <param name="input" value="vcflib.vcf"/>
77e1141bbd29 Uploaded
devteam
parents:
diff changeset
27 <output name="out_file1" file="vcf2tsv-test1.tab"/>
77e1141bbd29 Uploaded
devteam
parents:
diff changeset
28 </test>
77e1141bbd29 Uploaded
devteam
parents:
diff changeset
29 <test>
77e1141bbd29 Uploaded
devteam
parents:
diff changeset
30 <param name="g_option" value="false"/>
77e1141bbd29 Uploaded
devteam
parents:
diff changeset
31 <param name="null_filler" value="."/>
77e1141bbd29 Uploaded
devteam
parents:
diff changeset
32 <param name="input" value="vcflib.vcf"/>
77e1141bbd29 Uploaded
devteam
parents:
diff changeset
33 <output name="out_file1" file="vcf2tsv-test2.tab"/>
77e1141bbd29 Uploaded
devteam
parents:
diff changeset
34 </test>
77e1141bbd29 Uploaded
devteam
parents:
diff changeset
35 </tests>
77e1141bbd29 Uploaded
devteam
parents:
diff changeset
36 <help>
77e1141bbd29 Uploaded
devteam
parents:
diff changeset
37
77e1141bbd29 Uploaded
devteam
parents:
diff changeset
38 Converts VCF dataset to tab-delimited format, using null string to replace empty values in the table.
77e1141bbd29 Uploaded
devteam
parents:
diff changeset
39 Specifying "**Report data per sample**" (-g) will output one line per sample with genotype information.
77e1141bbd29 Uploaded
devteam
parents:
diff changeset
40
77e1141bbd29 Uploaded
devteam
parents:
diff changeset
41 ----
77e1141bbd29 Uploaded
devteam
parents:
diff changeset
42
77e1141bbd29 Uploaded
devteam
parents:
diff changeset
43 Vcf2Tsv @IS_PART_OF_VCFLIB@
77e1141bbd29 Uploaded
devteam
parents:
diff changeset
44 </help>
77e1141bbd29 Uploaded
devteam
parents:
diff changeset
45 <expand macro="citations" />
77e1141bbd29 Uploaded
devteam
parents:
diff changeset
46 </tool>