comparison mothur/tools/mothur/indicator.xml @ 0:3202a38e44d9

Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
author jjohnson
date Tue, 07 Jun 2011 17:32:23 -0400
parents
children fcc0778f6987
comparison
equal deleted inserted replaced
-1:000000000000 0:3202a38e44d9
1 <tool id="mothur_indicator" name="Indicator" version="1.15.0">
2 <description>Identify indicator "species" for nodes on a tree</description>
3 <command interpreter="python">
4 mothur_wrapper.py
5 ## output {group_file_name}.pick.{label}.groups {list_file_name}.pick.{label}.list
6 #import re, os.path
7 --cmd='indicator'
8 --outputdir='$logfile.extra_files_path'
9 --tree=$tree
10 #if isinstance($otu.datatype, $__app__.datatypes_registry.get_datatype_by_extension('shared').__class__):
11 --shared=$otu
12 #elif isinstance($otu.datatype, $__app__.datatypes_registry.get_datatype_by_extension('relabund').__class__):
13 --relabund=$otu
14 #end if
15 #if $label.__str__ != "None" and len($label.__str__) > 0:
16 --label=$label
17 #end if
18 #if $groups.__str__ != "None" and len($groups.__str__) > 0:
19 --groups=$groups
20 #end if
21 --result='^mothur.\S+\.logfile$:'$logfile,'^\S+\.indicator.tre$:'$tree_out,'^\S+\.indicator.summary$:'$summary
22 </command>
23 <inputs>
24 <param name="tree" type="data" format="tree" label="tree - A newick-formatted tree"/>
25 <param name="otu" type="data" format="shared,relabund" label="shared/relabund - Otu dataset"/>
26 <param name="label" type="select" optional="true" label="label - OTU Labels" >
27 <options from_dataset="otu">
28 <column name="name" index="0"/>
29 <column name="value" index="0"/>
30 <filter type="unique_value" name="unq_lbl" column="0" />
31 </options>
32 </param>
33 <param name="groups" type="select" optional="true" label="groups - Pick groups to annalyze" multiple="true">
34 <options from_dataset="otu">
35 <column name="name" index="1"/>
36 <column name="value" index="1"/>
37 <filter type="unique_value" name="unq_grp" column="1" />
38 </options>
39 </param>
40 </inputs>
41 <outputs>
42 <data format="html" name="logfile" label="${tool.name} on ${on_string}: logfile" />
43 <data format="tre" name="tree_out" label="${tool.name} on ${on_string}: indicator.tre"/>
44 <data format="txt" name="summary" label="${tool.name} on ${on_string}: indicator.summary"/>
45 </outputs>
46 <requirements>
47 <requirement type="binary">mothur</requirement>
48 </requirements>
49 <tests>
50 </tests>
51 <help>
52 **Mothur Overview**
53
54 Mothur_, initiated by Dr. Patrick Schloss and his software development team
55 in the Department of Microbiology and Immunology at The University of Michigan,
56 provides bioinformatics for the microbial ecology community.
57
58 .. _Mothur: http://www.mothur.org/wiki/Main_Page
59
60 **Command Documenation**
61
62 The indicator_ command reads a shared or relabund file and a tree file, and outputs a .indicator.tre and .indicator.summary file. The new tree contains labels at each internal node. The label is the node number so you can relate the tree to the summary file. The summary file lists the indicator value for each OTU for each node.
63
64 .. _indicator: http://www.mothur.org/wiki/Indicator
65
66
67 </help>
68 </tool>