comparison mothur/tools/mothur/collect.single.xml @ 2:e990ac8a0f58

Migrated tool version 1.19.0 from old tool shed archive to new tool shed repository
author jjohnson
date Tue, 07 Jun 2011 17:39:06 -0400
parents fcc0778f6987
children 7bfe1f843858
comparison
equal deleted inserted replaced
1:fcc0778f6987 2:e990ac8a0f58
1 <tool id="mothur_collect_single" name="Collect.single" version="1.16.0" force_history_refresh="True"> 1 <tool id="mothur_collect_single" name="Collect.single" version="1.19.0" force_history_refresh="True">
2 <description>Summary of calculator values for OTUs</description> 2 <description>Generate collector's curves for OTUs</description>
3 <command interpreter="python"> 3 <command interpreter="python">
4 mothur_wrapper.py 4 mothur_wrapper.py
5 --cmd='collect.single' 5 --cmd='collect.single'
6 --result='^mothur.\S+\.logfile$:'$logfile 6 --result='^mothur.\S+\.logfile$:'$logfile
7 --outputdir='$logfile.extra_files_path' 7 --outputdir='$logfile.extra_files_path'
8 --datasetid='$logfile.id' --new_file_path='$__new_file_path__' 8 --datasetid='$logfile.id' --new_file_path='$__new_file_path__'
9 --new_datasets='^\S+\.(\S+)$:tabular' 9 --new_datasets='^\S+?\.(\S+)$:tabular'
10 --READ_cmd='read.otu' 10 #if isinstance($otu.datatype, $__app__.datatypes_registry.get_datatype_by_extension('shared').__class__):
11 --READ_list=$otu 11 --shared=$otu
12 #if $otu_group.__str__ != "None" and len($otu_group.__str__) > 0: 12 #elif isinstance($otu.datatype, $__app__.datatypes_registry.get_datatype_by_extension('rabund').__class__):
13 --READ_group='$otu_group' 13 --rabund=$otu
14 #elif isinstance($otu.datatype, $__app__.datatypes_registry.get_datatype_by_extension('sabund').__class__):
15 --sabund=$otu
16 #elif isinstance($otu.datatype, $__app__.datatypes_registry.get_datatype_by_extension('list').__class__):
17 --list=$otu
14 #end if 18 #end if
15 #if $label.__str__ != "None" and len($label.__str__) > 0: 19 #if $label.__str__ != "None" and len($label.__str__) > 0:
16 --label='$label' 20 --label='$label'
17 #end if 21 #end if
18 #if $calc.__str__ != "None" and len($calc.__str__) > 0: 22 #if $calc.__str__ != "None" and len($calc.__str__) > 0:
22 --abund=$abund 26 --abund=$abund
23 #end if 27 #end if
24 #if int($size.__str__) > 0: 28 #if int($size.__str__) > 0:
25 --size=$size 29 --size=$size
26 #end if 30 #end if
27 </command>
28 #if float($freq.__str__) > 0: 31 #if float($freq.__str__) > 0:
29 --freq=$freq 32 --freq=$freq
30 #end if 33 #end if
34 </command>
31 <inputs> 35 <inputs>
32 <param name="otu" type="data" format="list,shared" label="read.otu(list=) - OTU List"/> 36 <param name="otu" type="data" format="list,rabund,sabund,shared" label="list,rabund,sabund,shared - OTU List"/>
33 <param name="otu_group" type="data" format="groups" optional="true" label="read.otu(group=) - Group file for the OTU List"/>
34 <param name="label" type="select" label="label - OTU Labels" multiple="true"> 37 <param name="label" type="select" label="label - OTU Labels" multiple="true">
35 <options from_dataset="otu"> 38 <options from_dataset="otu">
36 <column name="name" index="0"/> 39 <column name="name" index="0"/>
37 <column name="value" index="0"/> 40 <column name="value" index="0"/>
38 <filter type="unique_value" name="unq_lbl" column="0" /> 41 <filter type="unique_value" name="unq_lbl" column="0" />
44 <column name="name" index="0"/> 47 <column name="name" index="0"/>
45 <column name="value" index="0"/> 48 <column name="value" index="0"/>
46 <filter type="static_value" name="mult" column="1" value="single" /> 49 <filter type="static_value" name="mult" column="1" value="single" />
47 </options> 50 </options>
48 </param> 51 </param>
49 <param name="abund" type="integer" value="10" label="abund - ACE Estimator threshold for abundant versus rare OTUs"/> 52 <param name="abund" type="integer" value="10" label="abund - ACE Estimator threshold for abundant versus rare OTUs (default 10)"/>
50 <param name="size" type="integer" value="0" label="size - "/> 53 <param name="size" type="integer" value="0" label="size - sample size for OTU prediction (ignored if &lt; 1)"
51 <param name="freq" type="float" value="0.0" label="freq - "/> 54 help="By default these calculators will base the prediction on a sample that is the same size as the initial sampling"/>
55 <param name="freq" type="float" value="0.0" label="freq - frequency for output (default is every 100 sequences)"
56 help="Use a decimal between 0 and 1 to set the frequency as a percentage of the number of sequences"/>
52 </inputs> 57 </inputs>
53 <outputs> 58 <outputs>
54 <data format="html" name="logfile" label="${tool.name} on ${on_string}: logfile" /> 59 <data format="html" name="logfile" label="${tool.name} on ${on_string}: logfile" />
55 </outputs> 60 </outputs>
56 <requirements> 61 <requirements>
67 72
68 .. _Mothur: http://www.mothur.org/wiki/Main_Page 73 .. _Mothur: http://www.mothur.org/wiki/Main_Page
69 74
70 **Command Documenation** 75 **Command Documenation**
71 76
72 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. 77 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
73 78
79 .. _calculators: http://www.mothur.org/wiki/Calculators
74 .. _collect.single: http://www.mothur.org/wiki/Collect.single 80 .. _collect.single: http://www.mothur.org/wiki/Collect.single
75 81
76 </help> 82 </help>
77 </tool> 83 </tool>