annotate VCFToolsStats/vcfToolsStats.xml @ 18:7ba803afa41b draft

Uploaded
author dereeper
date Thu, 26 Feb 2015 16:02:46 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
18
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
1 <tool id="sniplay_vcftoolsstats" name="VCF tools Stats" version="1.0.0">
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
2
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
3 <!-- [REQUIRED] Tool description displayed after the tool name -->
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
4 <description> </description>
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
5
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
6 <!-- [OPTIONAL] 3rd party tools, binaries, modules... required for the tool to work -->
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
7 <requirements>
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
8 <requirement type="binary">perl</requirement>
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
9 <requirement type="package" version="0.1.13">VCFtools</requirement>
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
10 </requirements>
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
11
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
12 <!-- [OPTIONAL] Command to be executed to get the tool's version string -->
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
13 <version_command>
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
14 <!--
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
15 tool_binary -v
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
16 -->
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
17 </version_command>
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
18
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
19 <!-- [REQUIRED] The command to execute -->
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
20 <command interpreter="perl">
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
21 vcfToolsStats.sh $filein $fileout_label $fileout_annot $fileout_het $fileout_imiss $fileout_sum $filelog
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
22 </command>
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
23
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
24 <!-- [REQUIRED] Input files and tool parameters -->
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
25 <inputs>
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
26 <param name="filein" type="data" format="vcf" optional="false" label="VCF input" />
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
27 <param name="fileout_label" type="text" value="vcf_stats" optional="false" label="Output file basename"/>
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
28 </inputs>
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
29
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
30 <!-- [REQUIRED] Output files -->
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
31 <outputs>
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
32 <data name="fileout_annot" format="txt" label="${fileout_label}.annotation" />
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
33 <data name="fileout_het" format="txt" label="${fileout_label}.het" />
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
34 <data name="fileout_imiss" format="txt" label="${fileout_label}.imiss" />
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
35 <data name="fileout_sum" format="txt" label="${fileout_label}.TsTv.summary" />
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
36 <data name="filelog" format="txt" label="${fileout_label}.log" />
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
37 </outputs>
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
38
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
39 <!-- [STRONGLY RECOMMANDED] Exit code rules -->
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
40 <stdio>
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
41 <!-- [HELP] If no exit code rule is defined, the tool will stop if anything is written to STDERR -->
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
42 <exit_code range="1:" level="fatal" />
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
43 </stdio>
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
44
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
45 <!-- [OPTIONAL] Tests to be run manually by the Galaxy admin -->
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
46 <tests>
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
47 <!-- [HELP] Test files have to be in the ~/test-data directory -->
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
48 <test>
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
49 <param name="filein" value="sample.vcf" />
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
50 <output name="fileout_annot" file="result.annotation" />
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
51 <output name="fileout_het" file="result.het" />
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
52 <output name="fileout_imiss" file="result.imiss" />
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
53 <output name="fileout_sum" file="result.TsTv.summary" />
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
54 <output name="filelog" file="result.log" />
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
55 </test>
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
56 </tests>
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
57
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
58 <!-- [OPTIONAL] Help displayed in Galaxy -->
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
59 <help>
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
60
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
61 .. class:: infomark
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
62
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
63 **Authors**
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
64
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
65 ---------------------------------------------------
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
66
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
67 .. class:: infomark
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
68
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
69 **Please cite** If you use this tool, please cite Dereeper et al. 2015 in prep.
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
70
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
71 ---------------------------------------------------
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
72
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
73 ================
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
74 VCF tools filter
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
75 ================
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
76
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
77 -----------
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
78 Description
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
79 -----------
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
80
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
81 Compute statistics on VCF file
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
82
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
83 -----------------
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
84 Workflow position
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
85 -----------------
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
86
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
87 **Upstream tools**
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
88
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
89 =========== ========================== =======
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
90 Name output file(s) format
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
91 =========== ========================== =======
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
92 =========== ========================== =======
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
93
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
94
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
95 **Downstream tools**
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
96
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
97 =========== ========================== =======
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
98 Name output file(s) format
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
99 =========== ========================== =======
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
100 =========== ========================== =======
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
101
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
102
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
103 ----------
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
104 Input file
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
105 ----------
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
106
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
107 VCF file
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
108 VCF file with all SNPs
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
109
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
110 ----------
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
111 Parameters
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
112 ----------
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
113
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
114 Output file basename
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
115 Prefix for the output VCF file
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
116
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
117 ------------
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
118 Output files
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
119 ------------
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
120
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
121 .annotation file
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
122 Statistics on annotation/location along genome
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
123
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
124 .het file
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
125 Statistics on heterozygosity of the individuals
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
126
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
127 .imiss
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
128 Statistics on missing data of the inidividuals
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
129 .TsTv.summary
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
130 Statistics on mutation types and transition/transvertion number
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
131
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
132 .log file
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
133
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
134 ---------------------------------------------------
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
135
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
136 ---------------
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
137 Working example
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
138 ---------------
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
139
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
140 Input files
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
141 ===========
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
142
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
143 VCF file
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
144 ---------
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
145
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
146 ::
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
147
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
148 #fileformat=VCFv4.1
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
149 #FILTER=&lt;ID=LowQual,Description="Low quality">
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
150 #FORMAT=&lt;ID=AD,Number=.,Type=Integer,Description="Allelic depths for the ref and alt alleles in the order listed">
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
151 [...]
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
152 CHROM POS ID REF ALT QUAL FILTER INFO FORMAT CATB1
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
153 chr1 2209 . G T 213.84 . AC=2;AF=1.00;AN=2;DP=7;Dels=0.00;FS=0.000;HaplotypeScore=0.0000;MLEAC=2;MLEAF=1.00;MQ=41.50;MQ0=0;QD=30.55;EFF=DOWNSTREAM(MODIFIER||||Cc01g00020|mRNA||GSCOCT00012438001|),UPSTREAM(MODIFIER||||Cc01g00010|mRNA||GSCOCT00012439001|) GT:AD:DP:GQ:PL 1/1:0,7:7:18:242,18,0
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
154
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
155
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
156 Parameters
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
157 ==========
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
158
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
159 Output name -> vcf_stat
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
160
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
161
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
162 Output files
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
163 ============
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
164
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
165 .annotation file
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
166 ----------------
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
167
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
168 ::
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
169
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
170 Genic 4489
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
171 Intergenic 466
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
172 ========
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
173 Intron 960
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
174 Exon 3248
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
175 UTR 281
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
176 ========
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
177 Non-syn 226
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
178 Synonym 3022
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
179
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
180 .het file
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
181 ---------
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
182
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
183 ::
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
184
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
185 INDV O(HOM) E(HOM) N_SITES F
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
186 CATB1 0 0.0 3616 0.00000
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
187
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
188 .imiss file
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
189 -----------
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
190
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
191 ::
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
192
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
193 INDV N_DATA N_GENOTYPES_FILTERED N_MISS F_MISS
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
194 CATB1 4813 0 0 0
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
195
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
196 .TsTv.summary file
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
197 ------------------
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
198
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
199 ::
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
200
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
201 MODEL COUNT
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
202 AC 371
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
203 AG 1467
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
204 AT 562
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
205 CG 330
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
206 CT 1659
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
207 GT 397
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
208 Ts 3126
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
209 Tv 1660
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
210
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
211
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
212 </help>
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
213
7ba803afa41b Uploaded
dereeper
parents:
diff changeset
214 </tool>