annotate tools/taxonomy/t2t_report.xml @ 0:9071e359b9a3

Uploaded
author xuebing
date Fri, 09 Mar 2012 19:37:19 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
1 <tool id="t2t_report" name="Summarize taxonomy" version="1.0.0">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
2 <description></description>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
3 <requirements>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
4 <requirement type="package">taxonomy</requirement>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
5 </requirements>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
6 <command>taxonomy2tree $input 0 /dev/null $out_file1 0</command>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
7 <inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
8 <param format="taxonomy" name="input" type="data" label="Summarize taxonomic representation for"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
9 </inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
10 <outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
11 <data format="tabular" name="out_file1" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
12 </outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
13 <requirements>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
14 <requirement type="binary">taxonomy2tree</requirement>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
15 </requirements>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
16 <tests>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
17 <test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
18 <param name="input" value="taxonomyGI.taxonomy" ftype="taxonomy"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
19 <output name="out_file1" file="t2t_report.tabular"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
20 </test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
21 </tests>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
22
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
23
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
24 <help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
25
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
26 **What it does**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
27
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
28 Given taxonomy representation (produced by *Taxonomy manipulation->Fetch Taxonomic Ranks* tool) this utility computes a summary of all taxonomic ranks.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
29
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
30 ------
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
31
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
32 **Example**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
33
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
34 Suppose the *Taxonomy manipulation->Fetch Taxonomic Ranks* generated the following taxonomy representation::
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
35
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
36 9916 2 root Eukaryota Metazoa n n Chordata Craniata Gnathostomata Mammalia n Laurasiatheria n Ruminantia n Bovidae Bovinae n n Bos n Bos taurus n
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
37 9606 12585 root Eukaryota Metazoa n n Chordata Craniata Gnathostomata Mammalia n Euarchontoglires Primates Haplorrhini Hominoidea Hominidae n n n Homo n Homo sapiens n
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
38
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
39 Running this tool will generate the following output::
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
40
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
41 Rank Rank Name Count
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
42 -------------------------------------
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
43 root root 2
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
44 superkingdom Eukaryota 2
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
45 kingdom Metazoa 2
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
46 phylum Chordata 2
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
47 subphylum Craniata 2
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
48 superclass Gnathostomata 2
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
49 class Mammalia 2
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
50 superorder Euarchontoglires 1
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
51 superorder Laurasiatheria 1
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
52 order Primates 1
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
53 suborder Haplorrhini 1
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
54 suborder Ruminantia 1
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
55 superfamily Hominoidea 1
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
56 family Bovidae 1
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
57 family Hominidae 1
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
58 subfamily Bovinae 1
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
59 genus Bos 1
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
60 genus Homo 1
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
61 species Bos taurus 1
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
62 species Homo sapiens 1
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
63
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
64 The output is sorted on Rank and then on Rank Name.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
65
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
66 .. class:: warningmark
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
67
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
68 **Note** that this tool omits "**n**" corresponding to ranks missing from NCBI taxonomy. In the above example *Home sapiens* contains the order name (Primates) while *Bos taurus* does not.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
69
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
70
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
71 </help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
72 </tool>