annotate vcfToolsStats.xml @ 1:b058193a71d0 draft

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