Mercurial > repos > jjohnson > mothur_toolsuite
comparison mothur/tools/mothur/summary.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 | 370b3fc4e7d3 |
comparison
equal
deleted
inserted
replaced
1:fcc0778f6987 | 2:e990ac8a0f58 |
---|---|
1 <tool id="mothur_summary_single" name="Summary.single" version="1.16.0" force_history_refresh="True"> | 1 <tool id="mothur_summary_single" name="Summary.single" version="1.19.0" force_history_refresh="True"> |
2 <description>Summary of calculator values for OTUs</description> | 2 <description>Summary of calculator values for OTUs</description> |
3 <command interpreter="python"> | 3 <command interpreter="python"> |
4 mothur_wrapper.py | 4 mothur_wrapper.py |
5 --cmd='summary.single' | 5 --cmd='summary.single' |
6 --result='^mothur.\S+\.logfile$:'$logfile | 6 #if isinstance($otu.datatype, $__app__.datatypes_registry.get_datatype_by_extension('shared').__class__) and not $groupmode.__str__ == '--groupmode=true': |
7 --result='^mothur.\S+\.logfile$:'$logfile | |
8 --datasetid='$logfile.id' --new_file_path='$__new_file_path__' | |
9 --new_datasets='^\S+\.((\S+?)\.summary)$:tabular' | |
10 #else: | |
11 --result='^mothur.\S+\.logfile$:'$logfile,'^\S+\.summary$:'$summary | |
12 #end if | |
7 --outputdir='$logfile.extra_files_path' | 13 --outputdir='$logfile.extra_files_path' |
8 --datasetid='$logfile.id' --new_file_path='$__new_file_path__' | 14 #if isinstance($otu.datatype, $__app__.datatypes_registry.get_datatype_by_extension('shared').__class__): |
9 --new_datasets='^\S+\.((\S+?)\.summary)$:tabular' | 15 --shared=$otu |
10 --READ_cmd='read.otu' | 16 $groupmode |
11 --READ_list=$otu | 17 #elif isinstance($otu.datatype, $__app__.datatypes_registry.get_datatype_by_extension('rabund').__class__): |
12 #if $otu_group.__str__ != "None" and len($otu_group.__str__) > 0: | 18 --rabund=$otu |
13 --READ_group='$otu_group' | 19 #elif isinstance($otu.datatype, $__app__.datatypes_registry.get_datatype_by_extension('sabund').__class__): |
20 --sabund=$otu | |
21 #elif isinstance($otu.datatype, $__app__.datatypes_registry.get_datatype_by_extension('list').__class__): | |
22 --list=$otu | |
14 #end if | 23 #end if |
15 #if $label.__str__ != "None" and len($label.__str__) > 0: | 24 #if $label.__str__ != "None" and len($label.__str__) > 0: |
16 --label='$label' | 25 --label='$label' |
17 #end if | 26 #end if |
18 #if $calc.__str__ != "None" and len($calc.__str__) > 0: | 27 #if $calc.__str__ != "None" and len($calc.__str__) > 0: |
22 --abund=$abund | 31 --abund=$abund |
23 #end if | 32 #end if |
24 #if int($size.__str__) > 0: | 33 #if int($size.__str__) > 0: |
25 --size=$size | 34 --size=$size |
26 #end if | 35 #end if |
27 $groupmode | |
28 --processors=2 | |
29 </command> | 36 </command> |
30 <inputs> | 37 <inputs> |
31 <param name="otu" type="data" format="list" label="read.otu(list=) - OTU List"/> | 38 <param name="otu" type="data" format="list,rabund,sabund,shared" label="list,rabund,sabund,shared - OTU List"/> |
32 <param name="otu_group" type="data" format="groups" optional="true" label="read.otu(group=) - Group file for the OTU List"/> | |
33 <param name="label" type="select" label="label - OTU Labels" multiple="true"> | 39 <param name="label" type="select" label="label - OTU Labels" multiple="true"> |
34 <options from_dataset="otu"> | 40 <options from_dataset="otu"> |
35 <column name="name" index="0"/> | 41 <column name="name" index="0"/> |
36 <column name="value" index="0"/> | 42 <column name="value" index="0"/> |
43 <filter type="unique_value" name="unq_lbl" column="0" /> | |
37 </options> | 44 </options> |
38 </param> | 45 </param> |
39 <param name="calc" type="select" label="calc - Calculators (Uses defaults if none selected)" multiple="true"> | 46 <param name="calc" type="select" label="calc - Calculators (Uses defaults if none selected)" multiple="true"> |
40 <options from_file="mothur_calculators.loc"> | 47 <options from_file="mothur_calculators.loc"> |
41 <column name="mult" index="1"/> | 48 <column name="mult" index="1"/> |
44 <filter type="static_value" name="mult" column="1" value="single" /> | 51 <filter type="static_value" name="mult" column="1" value="single" /> |
45 </options> | 52 </options> |
46 </param> | 53 </param> |
47 <param name="abund" type="integer" value="10" label="abund - ACE Estimator threshold for abundant versus rare OTUs"/> | 54 <param name="abund" type="integer" value="10" label="abund - ACE Estimator threshold for abundant versus rare OTUs"/> |
48 <param name="size" type="integer" value="0" label="size - "/> | 55 <param name="size" type="integer" value="0" label="size - "/> |
49 <param name="groupmode" type="boolean" truevalue="--groupmode=true" falsevalue="--groupmode=false" checked="true" label="groupmode - Collate shared summary results in one file"/> | 56 <param name="groupmode" type="boolean" truevalue="--groupmode=true" falsevalue="--groupmode=false" checked="true" |
57 label="groupmode - Collate shared summary results in one file" | |
58 help="If false, create a summary file per group."/> | |
50 </inputs> | 59 </inputs> |
51 <outputs> | 60 <outputs> |
52 <data format="html" name="logfile" label="${tool.name} on ${on_string}: logfile" /> | 61 <data format="html" name="logfile" label="${tool.name} on ${on_string}: logfile" /> |
62 <data format="tabular" name="summary" label="${tool.name} on ${on_string}: summary" > | |
63 <filter>(otu.file_ext == 'shared' and groupmode == True)</filter> | |
64 </data> | |
53 </outputs> | 65 </outputs> |
54 <requirements> | 66 <requirements> |
55 <requirement type="binary">mothur</requirement> | 67 <requirement type="binary">mothur</requirement> |
56 </requirements> | 68 </requirements> |
57 <tests> | 69 <tests> |
65 | 77 |
66 .. _Mothur: http://www.mothur.org/wiki/Main_Page | 78 .. _Mothur: http://www.mothur.org/wiki/Main_Page |
67 | 79 |
68 **Command Documenation** | 80 **Command Documenation** |
69 | 81 |
70 The summary.single_ command produce a summary file that has the calculator value for each line in the OTU data and for all possible comparisons between the different groups in the group file. | 82 The summary.single_ command produce a summary file that has the calculator value for each line in the OTU data and for all possible comparisons between the different groups in the group_ file. This can be useful if you aren't interested in generating collector's or rarefaction curves for your multi-sample data analysis. It would be worth your while, however, to look at the collector's curves for the calculators you are interested in to determine how sensitive the values are to sampling. If the values are not sensitive to sampling, then you can trust the values. Otherwise, you need to keep sampling. For calc parameter choices see: http://www.mothur.org/wiki/Calculators |
71 | 83 |
72 .. _summary.single: http://www.mothur.org/wiki/Summary.single | 84 .. _summary.single: http://www.mothur.org/wiki/Summary.single |
73 | 85 |
74 </help> | 86 </help> |
75 </tool> | 87 </tool> |