annotate mothur/tools/mothur/collect.single.xml @ 21:97e35ab2887c

Changed np_shannon calcultor to npshannon and posted bug to mothur.org
author Jim Johnson <jj@umn.edu>
date Tue, 17 Jan 2012 14:42:27 -0600
parents d86987601022
children bfbaf823be4c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
7bfe1f843858 Support Mothur v1.20
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
1 <tool id="mothur_collect_single" name="Collect.single" version="1.20.0" force_history_refresh="True">
2
e990ac8a0f58 Migrated tool version 1.19.0 from old tool shed archive to new tool shed repository
jjohnson
parents: 1
diff changeset
2 <description>Generate collector's curves for OTUs</description>
0
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
3 <command interpreter="python">
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
4 mothur_wrapper.py
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
5 --cmd='collect.single'
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
6 --result='^mothur.\S+\.logfile$:'$logfile
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
7 --outputdir='$logfile.extra_files_path'
7
7bfe1f843858 Support Mothur v1.20
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
8 #if $as_datasets.__str__ == 'yes':
7bfe1f843858 Support Mothur v1.20
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
9 --datasetid='$logfile.id' --new_file_path='$__new_file_path__'
7bfe1f843858 Support Mothur v1.20
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
10 --new_datasets='^\S+?\.(\S+)$:tabular'
7bfe1f843858 Support Mothur v1.20
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
11 #end if
2
e990ac8a0f58 Migrated tool version 1.19.0 from old tool shed archive to new tool shed repository
jjohnson
parents: 1
diff changeset
12 #if isinstance($otu.datatype, $__app__.datatypes_registry.get_datatype_by_extension('shared').__class__):
e990ac8a0f58 Migrated tool version 1.19.0 from old tool shed archive to new tool shed repository
jjohnson
parents: 1
diff changeset
13 --shared=$otu
e990ac8a0f58 Migrated tool version 1.19.0 from old tool shed archive to new tool shed repository
jjohnson
parents: 1
diff changeset
14 #elif isinstance($otu.datatype, $__app__.datatypes_registry.get_datatype_by_extension('rabund').__class__):
e990ac8a0f58 Migrated tool version 1.19.0 from old tool shed archive to new tool shed repository
jjohnson
parents: 1
diff changeset
15 --rabund=$otu
e990ac8a0f58 Migrated tool version 1.19.0 from old tool shed archive to new tool shed repository
jjohnson
parents: 1
diff changeset
16 #elif isinstance($otu.datatype, $__app__.datatypes_registry.get_datatype_by_extension('sabund').__class__):
e990ac8a0f58 Migrated tool version 1.19.0 from old tool shed archive to new tool shed repository
jjohnson
parents: 1
diff changeset
17 --sabund=$otu
e990ac8a0f58 Migrated tool version 1.19.0 from old tool shed archive to new tool shed repository
jjohnson
parents: 1
diff changeset
18 #elif isinstance($otu.datatype, $__app__.datatypes_registry.get_datatype_by_extension('list').__class__):
e990ac8a0f58 Migrated tool version 1.19.0 from old tool shed archive to new tool shed repository
jjohnson
parents: 1
diff changeset
19 --list=$otu
0
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
20 #end if
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
21 #if $label.__str__ != "None" and len($label.__str__) > 0:
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
22 --label='$label'
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
23 #end if
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
24 #if $calc.__str__ != "None" and len($calc.__str__) > 0:
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
25 --calc='$calc'
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
26 #end if
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
27 #if int($abund.__str__) > 0:
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
28 --abund=$abund
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
29 #end if
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
30 #if int($size.__str__) > 0:
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
31 --size=$size
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
32 #end if
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
33 #if float($freq.__str__) > 0:
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
34 --freq=$freq
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
35 #end if
2
e990ac8a0f58 Migrated tool version 1.19.0 from old tool shed archive to new tool shed repository
jjohnson
parents: 1
diff changeset
36 </command>
0
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
37 <inputs>
2
e990ac8a0f58 Migrated tool version 1.19.0 from old tool shed archive to new tool shed repository
jjohnson
parents: 1
diff changeset
38 <param name="otu" type="data" format="list,rabund,sabund,shared" label="list,rabund,sabund,shared - OTU List"/>
0
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
39 <param name="label" type="select" label="label - OTU Labels" multiple="true">
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
40 <options from_dataset="otu">
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
41 <column name="name" index="0"/>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
42 <column name="value" index="0"/>
1
fcc0778f6987 Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents: 0
diff changeset
43 <filter type="unique_value" name="unq_lbl" column="0" />
0
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
44 </options>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
45 </param>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
46 <param name="calc" type="select" label="calc - Calculators (Uses defaults if none selected)" multiple="true">
19
d86987601022 Move calc options in individual tools and remove tool-data/mothur_calculators.loc
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
47 <option value="ace" selected="true">ace - Community richness the ACE estimator</option>
d86987601022 Move calc options in individual tools and remove tool-data/mothur_calculators.loc
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
48 <option value="bootstrap">bootstrap - Community richness the bootstrap estimator</option>
d86987601022 Move calc options in individual tools and remove tool-data/mothur_calculators.loc
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
49 <option value="chao" selected="true">chao - Community richness the Chao1 estimator</option>
d86987601022 Move calc options in individual tools and remove tool-data/mothur_calculators.loc
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
50 <option value="jack" selected="true">jack - Community richness the jackknife estimator</option>
d86987601022 Move calc options in individual tools and remove tool-data/mothur_calculators.loc
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
51 <option value="sobs" selected="true">sobs - Community richness the observed richness</option>
d86987601022 Move calc options in individual tools and remove tool-data/mothur_calculators.loc
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
52 <option value="simpsoneven">simpsoneven - Community evenness a Simpson index-based measure of evenness</option>
d86987601022 Move calc options in individual tools and remove tool-data/mothur_calculators.loc
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
53 <option value="shannoneven">shannoneven - Community evenness a Shannon index-based measure of evenness</option>
d86987601022 Move calc options in individual tools and remove tool-data/mothur_calculators.loc
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
54 <option value="heip">heip - Community evenness Heip's metric of community evenness</option>
d86987601022 Move calc options in individual tools and remove tool-data/mothur_calculators.loc
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
55 <option value="smithwilson">smithwilson - Community evenness Smith and Wilson's metric of community evenness</option>
d86987601022 Move calc options in individual tools and remove tool-data/mothur_calculators.loc
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
56 <option value="bergerparker">bergerparker - Community diversity the Berger-Parker index</option>
d86987601022 Move calc options in individual tools and remove tool-data/mothur_calculators.loc
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
57 <option value="coverage">coverage - Community diversity the sampling coverage </option>
d86987601022 Move calc options in individual tools and remove tool-data/mothur_calculators.loc
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
58 <option value="goodscoverage">goodscoverage - Community diversity the Good's estimate of sampling coverage </option>
d86987601022 Move calc options in individual tools and remove tool-data/mothur_calculators.loc
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
59 <option value="simpson" selected="true">simpson - Community diversity the Simpson index</option>
d86987601022 Move calc options in individual tools and remove tool-data/mothur_calculators.loc
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
60 <option value="invsimpson">invsimpson - Community diversity the Simpson index</option>
d86987601022 Move calc options in individual tools and remove tool-data/mothur_calculators.loc
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
61 <option value="qstat">qstat - Community diversity the Q statistic</option>
d86987601022 Move calc options in individual tools and remove tool-data/mothur_calculators.loc
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
62 <option value="shannon" selected="true">shannon - Community diversity the Shannon index</option>
21
97e35ab2887c Changed np_shannon calcultor to npshannon and posted bug to mothur.org
Jim Johnson <jj@umn.edu>
parents: 19
diff changeset
63 <option value="npshannon" selected="true">npshannon - Community diversity the non-parametric Shannon index</option>
19
d86987601022 Move calc options in individual tools and remove tool-data/mothur_calculators.loc
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
64 <option value="boneh">boneh - Estimator Boneh's estimator</option>
d86987601022 Move calc options in individual tools and remove tool-data/mothur_calculators.loc
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
65 <option value="efron">efron - Estimator Efron's estimator</option>
d86987601022 Move calc options in individual tools and remove tool-data/mothur_calculators.loc
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
66 <option value="shen">shen - Estimator Shen's estimator</option>
d86987601022 Move calc options in individual tools and remove tool-data/mothur_calculators.loc
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
67 <option value="solow">solow - Estimator Solow's estimator</option>
d86987601022 Move calc options in individual tools and remove tool-data/mothur_calculators.loc
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
68 <option value="logseries">logseries - Statistical distribution tests whether observed data follow the log series distribution</option>
d86987601022 Move calc options in individual tools and remove tool-data/mothur_calculators.loc
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
69 <option value="geometric">geometric - Statistical distribution tests whether observed data follow the geometric series distribution</option>
d86987601022 Move calc options in individual tools and remove tool-data/mothur_calculators.loc
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
70 <option value="bstick">bstick - Statistical distribution tests whether observed data follow the broken stick distribution</option>
d86987601022 Move calc options in individual tools and remove tool-data/mothur_calculators.loc
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
71 <option value="nseqs">nseqs - Utility the number of sequences in a sample</option>
0
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
72 </param>
2
e990ac8a0f58 Migrated tool version 1.19.0 from old tool shed archive to new tool shed repository
jjohnson
parents: 1
diff changeset
73 <param name="abund" type="integer" value="10" label="abund - ACE Estimator threshold for abundant versus rare OTUs (default 10)"/>
e990ac8a0f58 Migrated tool version 1.19.0 from old tool shed archive to new tool shed repository
jjohnson
parents: 1
diff changeset
74 <param name="size" type="integer" value="0" label="size - sample size for OTU prediction (ignored if &lt; 1)"
e990ac8a0f58 Migrated tool version 1.19.0 from old tool shed archive to new tool shed repository
jjohnson
parents: 1
diff changeset
75 help="By default these calculators will base the prediction on a sample that is the same size as the initial sampling"/>
e990ac8a0f58 Migrated tool version 1.19.0 from old tool shed archive to new tool shed repository
jjohnson
parents: 1
diff changeset
76 <param name="freq" type="float" value="0.0" label="freq - frequency for output (default is every 100 sequences)"
e990ac8a0f58 Migrated tool version 1.19.0 from old tool shed archive to new tool shed repository
jjohnson
parents: 1
diff changeset
77 help="Use a decimal between 0 and 1 to set the frequency as a percentage of the number of sequences"/>
7
7bfe1f843858 Support Mothur v1.20
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
78 <param name="as_datasets" type="boolean" truevalue="yes" falsevalue="no" checked="true" label="Create a new history dataset for each label and calculator"/>
0
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
79 </inputs>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
80 <outputs>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
81 <data format="html" name="logfile" label="${tool.name} on ${on_string}: logfile" />
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
82 </outputs>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
83 <requirements>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
84 <requirement type="binary">mothur</requirement>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
85 </requirements>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
86 <tests>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
87 </tests>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
88 <help>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
89 **Mothur Overview**
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
90
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
91 Mothur_, initiated by Dr. Patrick Schloss and his software development team
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
92 in the Department of Microbiology and Immunology at The University of Michigan,
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
93 provides bioinformatics for the microbial ecology community.
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
94
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
95 .. _Mothur: http://www.mothur.org/wiki/Main_Page
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
96
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
97 **Command Documenation**
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
98
2
e990ac8a0f58 Migrated tool version 1.19.0 from old tool shed archive to new tool shed repository
jjohnson
parents: 1
diff changeset
99 The collect.single_ command generates collector's curves using calculators_, that describe the richness, diversity, and other features of individual samples. Collector's curves describe how richness or diversity change as you sample additional individuals. If a collector's curve becomes parallel to the x-axis, you can be reasonably confident that you have done a good job of sampling and can trust the last value in the curve. Otherwise, you need to keep sampling. For calc parameter choices see: http://www.mothur.org/wiki/Calculators
0
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
100
2
e990ac8a0f58 Migrated tool version 1.19.0 from old tool shed archive to new tool shed repository
jjohnson
parents: 1
diff changeset
101 .. _calculators: http://www.mothur.org/wiki/Calculators
0
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
102 .. _collect.single: http://www.mothur.org/wiki/Collect.single
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
103
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
104 </help>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
105 </tool>