0
|
1 <tool id="alpha_diversity" name="alpha_diversity" version="1.2.0">
|
|
2 <description>Calculate alpha diversity on each sample in an otu table, using a variety of alpha diversity metrics</description>
|
|
3 <requirements>
|
|
4 <requirement type="binary">alpha_diversity.py</requirement>
|
|
5 </requirements>
|
|
6 <command interpreter="python">
|
|
7 qiime_wrapper.py
|
|
8 #if $run_type.input_type.__str__ == "multi":
|
|
9 --galaxy_logfile=$output_path
|
|
10 --galaxy_outputdir=$output_path.extra_files_path
|
|
11 #end if
|
|
12 alpha_diversity.py
|
|
13 #if $run_type.input_type.__str__ == "multi":
|
|
14 --input_path=$input_path.extra_files_path
|
|
15 --output_path=$output_path.extra_files_path
|
|
16 #else:
|
|
17 --output_path=$output_path
|
|
18 --input_path=$input_path
|
|
19 #end if
|
|
20 --metrics=$metrics
|
|
21 #if $metrics.__str__ == 'PD_whole_tree':
|
|
22 --tree_path=$tree_path
|
|
23 #end if
|
|
24
|
|
25 </command>
|
|
26 <inputs>
|
|
27 <conditional name="run_type">
|
|
28 <param name="input_type" type="select" label="Input Type" help="Select the type/number of input file(s). If multiple rarefactions have been run, select Multiple File Alpha Diversity.">
|
|
29 <option value="single">Single File Alpha Diversity</option>
|
|
30 <option value="multi" selected="true">Multiple File (batch) Alpha Diversity</option>
|
|
31 </param>
|
|
32 <when value="single">
|
|
33 <param name="input_path" type="data" format="txt" label="OTU table" help="Rarefied table for single file operation [REQUIRED]"/>
|
|
34 </when>
|
|
35 <when value="multi">
|
|
36 <param name="input_path" type="data" format="txt" label="Multiple Rarefactions Log File" help="multiple_rarefactions log file for multiple file operation. [REQUIRED]"/>
|
|
37 </when>
|
|
38 </conditional>
|
|
39 <param name="metrics" type="select" multiple="true" label="metrics"
|
|
40 help="metrics to use">
|
|
41 <option value="ACE">ACE</option>
|
|
42 <option value="berger_parker_d">berger_parker_d</option>
|
|
43 <option value="brillouin_d">brillouin_d</option>
|
|
44 <option value="chao1">chao1</option>
|
|
45 <option value="chao1_confidence">chao1_confidence</option>
|
|
46 <option value="dominance">dominance</option>
|
|
47 <option value="doubles">doubles</option>
|
|
48 <option value="equitability">equitability</option>
|
|
49 <option value="fisher_alpha">fisher_alpha</option>
|
|
50 <option value="heip_e">heip_e</option>
|
|
51 <option value="kempton_taylor_q">kempton_taylor_q</option>
|
|
52 <option value="margalef">margalef</option>
|
|
53 <option value="mcintosh_d">mcintosh_d</option>
|
|
54 <option value="mcintosh_e">mcintosh_e</option>
|
|
55 <option value="menhinick">menhinick</option>
|
|
56 <option value="michaelis_menten_fit">michaelis_menten_fit</option>
|
|
57 <option value="observed_species">observed_species</option>
|
|
58 <option value="osd">osd</option>
|
|
59 <option value="reciprocal_simpson">reciprocal_simpson</option>
|
|
60 <option value="robbins">robbins</option>
|
|
61 <option value="shannon">shannon</option>
|
|
62 <option value="simpson">simpson</option>
|
|
63 <option value="simpson_e">simpson_e</option>
|
|
64 <option value="singles">singles</option>
|
|
65 <option value="strong">strong</option>
|
|
66 <option value="PD_whole_tree">PD_whole_tree</option>
|
|
67 </param>
|
|
68 <param name="tree_path" type="data" format="tre" label="tree_path" optional="true"
|
|
69 help="path to newick tree file, REQUIRED for phylogenetic metrics: PD_whole_tree"/>
|
|
70 </inputs>
|
|
71 <outputs>
|
|
72 <data format="txt" name="output_path" label="${tool.name} on ${on_string}: alpha_diversity log file"/>
|
|
73 </outputs>
|
|
74 <tests>
|
|
75 </tests>
|
|
76 <help>This tool calculates alpha diversity, or within-sample diversity, using an otu table. Metrics may be selected in any combination. Input can be the log file from multiple_rarefactions (batch alpha diversity), or a single rarefied OTU table (single_rarefaction/single file alpha diversity). When the phylogenetic metric PD_whole_tree is selected, a .tre file must be supplied for the tool to run. The output file is a log file listing all the alpha rarefaction files produced.
|
|
77
|
|
78 For more information, see alpha_diversity_ in the Qiime documentation.
|
|
79
|
|
80 Updated and validated 01/16/12 by Amanda Zuzolo, Microbiome Analysis Center, George Mason University, Fairfax, VA
|
|
81
|
|
82 Qiime integration courtesy Jim Johnson, Minnesota Supercomputing Institute, University of Minnesota, Minneapolis, MN
|
|
83
|
|
84 .. _alpha_diversity: http://qiime.org/scripts/alpha_diversity.html</help>
|
|
85 </tool>
|
|
86
|