annotate vcfhethom.xml @ 2:efba18d7b34b

Updated tool version to 0.0.2
author Anton Nekrutenko <anton@bx.psu.edu>
date Wed, 25 Jun 2014 16:49:42 -0400
parents 41099cdfe806
children 5731e8c3ffde
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
efba18d7b34b Updated tool version to 0.0.2
Anton Nekrutenko <anton@bx.psu.edu>
parents: 1
diff changeset
1 <tool id="vcfhethom" name="VCFhetHomAlleles:" version="0.0.2">
0
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
2 <requirements>
1
41099cdfe806 Updated to vcflib 86723982aa
Anton Nekrutenko <anton@bx.psu.edu>
parents: 0
diff changeset
3 <requirement type="package" version="86723982aa">vcflib</requirement>
0
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
4 </requirements>
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
5 <description>Count the number of heterozygotes and alleles, compute het/hom ratio</description>
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
6 <command>
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
7
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
8 #if str($analysis_type) == "count":
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
9 vcfhetcount "${vcf_input}" > "${out_file1}"
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
10 #elif str($analysis_type) == "ratio":
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
11 vcfhethomratio "${vcf_input}" > "${out_file1}"
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
12 #elif str($analysis_type) == "allele_count":
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
13 vcfcountalleles "${vcf_input}" > "${out_file1}"
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
14 #end if
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
15
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
16 </command>
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
17
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
18 <inputs>
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
19 <param name="analysis_type" type="select" display="radio" label="Select type of calculation:">
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
20 <option value="count">Compute the number of heterozygotes</option>
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
21 <option value="ratio">Compute the ratio between heterozygotes and homozygotes</option>
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
22 <option value="allele_count">Compute the total number of alleles</option>
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
23 </param>
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
24 <param format="vcf" name="vcf_input" type="data" label="In this VCF dataset"/>
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
25 </inputs>
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
26 <outputs>
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
27 <data format="tabular" name="out_file1" />
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
28 </outputs>
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
29 <tests>
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
30 <test>
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
31 <param name="analysis_type" value="count"/>
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
32 <param name="vcf_input" value="vcflib.vcf"/>
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
33 <output name="out_file1" file="vcfhethom-test1.tab"/>
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
34 </test>
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
35 <test>
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
36 <param name="analysis_type" value="ratio"/>
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
37 <param name="vcf_input" value="vcflib.vcf"/>
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
38 <output name="out_file1" file="vcfhethom-test2.tab"/>
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
39 </test>
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
40 <test>
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
41 <param name="analysis_type" value="allele_count"/>
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
42 <param name="vcf_input" value="vcflib.vcf"/>
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
43 <output name="out_file1" file="vcfhethom-test3.tab"/>
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
44 </test>
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
45 </tests>
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
46 <help>
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
47
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
48 This tool performs three basic calculations:
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
49
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
50 (1) Computes the number of heterozygotes
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
51 (2) Computes the ratio between heterozygotes and homozygotes
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
52 (3) Computes the total number of alleles in the input dataset
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
53
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
54 ----
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
55
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
56 This tools is based on vcfhetcount, vcfhethomratio,and vcfcountalleles utilities from the VCFlib toolkit developed by Erik Garrison (https://github.com/ekg/vcflib).
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
57
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
58 </help>
3eb91f9b1449 Imported from capsule None
anton
parents:
diff changeset
59 </tool>