annotate mothur/tools/mothur/rarefaction.single.xml @ 33:d53b9eb16c2d

mothur_wrapper.py - convert_value needs to return a String
author Jim Johnson <jj@umn.edu>
date Wed, 11 Sep 2013 16:56:31 -0500
parents 49058b1f8d3f
children 95d75b35e4d2
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_rarefaction_single" name="Rarefaction.single" version="1.20.0" force_history_refresh="True">
0
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
2 <description>Generate intra-sample rarefaction curves for OTUs</description>
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='rarefaction.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+)\.)?(rarefaction|r_\w*))$: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($iters.__str__) > 0:
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
31 --iters=$iters
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
13
4f797d3eee3a Change default processor counts to 8, mothur_wrapper.py can overide processors allocated with ENVIRONMENT variable MOTHUR_MAX_PROCESSORS
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
36 --processors=8
1
fcc0778f6987 Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents: 0
diff changeset
37 </command>
0
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
38 <inputs>
2
e990ac8a0f58 Migrated tool version 1.19.0 from old tool shed archive to new tool shed repository
jjohnson
parents: 1
diff changeset
39 <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
40 <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
41 <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
42 <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
43 </options>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
44 </param>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
45 <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: 13
diff changeset
46 <option value="ace">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: 13
diff changeset
47 <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: 13
diff changeset
48 <option value="chao">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: 13
diff changeset
49 <option value="jack">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: 13
diff changeset
50 <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: 13
diff changeset
51 <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: 13
diff changeset
52 <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: 13
diff changeset
53 <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: 13
diff changeset
54 <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: 13
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: 13
diff changeset
56 <option value="simpson">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: 13
diff changeset
57 <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: 13
diff changeset
58 <option value="shannon">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
59 <option value="npshannon">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: 13
diff changeset
60 <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
61 </param>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
62 <param name="abund" type="integer" value="10" label="abund - ACE Estimator threshold for abundant versus rare OTUs"/>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
63 <param name="iters" type="integer" value="0" label="iters - Number of randomizations"/>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
64 <param name="freq" type="float" value="0.0" label="freq - Reporting frequency"
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
65 help="if between 0 and 1 the fraction of sequences to sample, if greater than one - report every n iterations"/>
7
7bfe1f843858 Support Mothur v1.20
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
66 <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
67 </inputs>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
68 <outputs>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
69 <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
70 </outputs>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
71 <requirements>
27
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents: 25
diff changeset
72 <requirement type="package" version="1.27">mothur</requirement>
0
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
73 </requirements>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
74 <tests>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
75 </tests>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
76 <help>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
77 **Mothur Overview**
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
78
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
79 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
80 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
81 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
82
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
83 .. _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
84
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
85 **Command Documenation**
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
86
2
e990ac8a0f58 Migrated tool version 1.19.0 from old tool shed archive to new tool shed repository
jjohnson
parents: 1
diff changeset
87 The rarefaction.single_ command generates intra-sample rarefaction curves using a re-sampling without replacement approach. Rarefaction curves provide a way of comparing the richness observed in different samples. 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
88
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
89 .. _rarefaction.single: http://www.mothur.org/wiki/Rarefaction.single
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 </help>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
92 </tool>