annotate gemini_stats.xml @ 3:ed88ab9ead28 draft

Uploaded
author iuc
date Tue, 13 Jan 2015 10:07:11 -0500
parents 93bb0cfacefb
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
1 <tool id="gemini_@BINARY@" name="GEMINI @BINARY@" version="@VERSION@.0">
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
2 <description>Compute useful variant statistics</description>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
3 <expand macro="requirements" />
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
4 <expand macro="version_command" />
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
5 <macros>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
6 <import>gemini_macros.xml</import>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
7 <token name="@BINARY@">stats</token>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
8 </macros>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
9 <command>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
10 <![CDATA[
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
11 gemini @BINARY@
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
12 $stats_type
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
13 "${ infile }"
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
14 > "${ outfile }"
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
15 ]]>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
16 </command>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
17 <expand macro="stdio" />
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
18 <inputs>
2
93bb0cfacefb Uploaded
iuc
parents: 0
diff changeset
19 <expand macro="infile" />
0
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
20
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
21 <param name="stats_type" type="select" label="Studying ..." help="">
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
22 <option value="--tstv">Compute the transition and transversion ratios for the snps (--tstv)</option>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
23 <option value="--tstv-coding">Compute the transition/transversion ratios for the snps in the coding regions (--tstv-coding)</option>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
24 <option value="--tstv-noncoding">Compute the transition/transversion ratios for the snps in the non-coding regions (--tstv-noncoding)</option>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
25 <option value="--snp-counts">Compute the type and count of the snps (--snp-counts)</option>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
26 <option value="--sfs">Calculate the site frequency spectrum of the variants (--sfs)</option>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
27 <option value="--mds">Compute the pair-wise genetic distance between each sample (--mds)</option>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
28 <option value="--vars_by_sample">Return the total variants per sample, sum of homozygous and heterozygous variants (--vars-by-sample)</option>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
29 </param>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
30
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
31 </inputs>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
32 <outputs>
2
93bb0cfacefb Uploaded
iuc
parents: 0
diff changeset
33 <data name="outfile" format="tabular" />
0
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
34 </outputs>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
35 <tests>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
36 <test>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
37 </test>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
38 </tests>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
39 <help>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
40 **What it does**
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
41
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
42 The stats tool computes some useful variant statistics for a GEMINI database.
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
43
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
44
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
45 $ gemini stats --summarize "select * from variants where in_dbsnp=1 and chrom='chr1'" my.db
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
46 sample total num_het num_hom_alt
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
47 M10475 1 1 0
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
48 M128215 1 1 0
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
49 M10478 2 2 0
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
50 M10500 2 1 1
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
51
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
52
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
53
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
54 @CITATION@
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
55 </help>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
56 <expand macro="citations"/>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
57 </tool>