annotate mothur/tools/mothur/collect.single.xml @ 25:bfbaf823be4c

Change metagenomics datatypes to include labels and groups metadata. change Mothur tool configs to get label and group select options from a data_meta filter rather than using the options from_dataset attribute. This grealty decreases memory demand for the galaxy server.
author Jim Johnson <jj@umn.edu>
date Wed, 16 May 2012 12:28:44 -0500
parents 97e35ab2887c
children 49058b1f8d3f
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">
25
bfbaf823be4c Change metagenomics datatypes to include labels and groups metadata. change Mothur tool configs to get label and group select options from a data_meta filter rather than using the options from_dataset attribute. This grealty decreases memory demand for the galaxy server.
Jim Johnson <jj@umn.edu>
parents: 21
diff changeset
40 <options>
bfbaf823be4c Change metagenomics datatypes to include labels and groups metadata. change Mothur tool configs to get label and group select options from a data_meta filter rather than using the options from_dataset attribute. This grealty decreases memory demand for the galaxy server.
Jim Johnson <jj@umn.edu>
parents: 21
diff changeset
41 <filter type="data_meta" ref="otu" key="labels" />
0
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
42 </options>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
43 </param>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
44 <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
45 <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
46 <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
47 <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
48 <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
49 <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
50 <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
51 <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
52 <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
53 <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
54 <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
55 <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
56 <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
57 <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
58 <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
59 <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
60 <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
61 <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
62 <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
63 <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
64 <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
65 <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
66 <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
67 <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
68 <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
69 <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
70 </param>
2
e990ac8a0f58 Migrated tool version 1.19.0 from old tool shed archive to new tool shed repository
jjohnson
parents: 1
diff changeset
71 <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
72 <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
73 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
74 <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
75 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
76 <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
77 </inputs>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
78 <outputs>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
79 <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
80 </outputs>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
81 <requirements>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
82 <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
83 </requirements>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
84 <tests>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
85 </tests>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
86 <help>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
87 **Mothur Overview**
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
88
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
89 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
90 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
91 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
92
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
93 .. _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
94
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
95 **Command Documenation**
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
96
2
e990ac8a0f58 Migrated tool version 1.19.0 from old tool shed archive to new tool shed repository
jjohnson
parents: 1
diff changeset
97 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
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 .. _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
100 .. _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
101
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
102 </help>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
103 </tool>