Mercurial > repos > iuc > mothur_summary_shared
comparison summary.shared.xml @ 2:88aa9d575274 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
author | iuc |
---|---|
date | Tue, 20 Mar 2018 22:12:56 -0400 |
parents | eb727b7b76b4 |
children | 50751118a506 |
comparison
equal
deleted
inserted
replaced
1:8e74259d96c3 | 2:88aa9d575274 |
---|---|
5 </macros> | 5 </macros> |
6 <expand macro="requirements"/> | 6 <expand macro="requirements"/> |
7 <expand macro="stdio"/> | 7 <expand macro="stdio"/> |
8 <expand macro="version_command"/> | 8 <expand macro="version_command"/> |
9 <command><![CDATA[ | 9 <command><![CDATA[ |
10 @SHELL_OPTIONS@ | 10 @SHELL_OPTIONS@ |
11 | 11 |
12 ## create symlinks to input datasets | 12 ## create symlinks to input datasets |
13 ln -s "$otu" otu.dat && | 13 ln -s '$otu' otu.dat && |
14 | 14 |
15 echo 'summary.shared( | 15 echo 'summary.shared( |
16 shared=otu.dat, | 16 shared=otu.dat, |
17 #if $groups: | 17 #if $groups: |
18 label=${ str($label).replace(",","-") }, | 18 label=${ str($label).replace(",","-") }, |
19 #end if | 19 #end if |
20 #if $label: | 20 #if $label: |
21 groups=${ str($groups).replace(",","-") }, | 21 groups=${ str($groups).replace(",","-") }, |
22 #end if | 22 #end if |
23 #if $calc: | 23 #if $calc: |
24 calc=${ str($calc).replace(",","-") }, | 24 calc=${ str($calc).replace(",","-") }, |
25 #end if | 25 #end if |
26 all=$all, | 26 all=$all, |
27 distance=$distance, | 27 distance=$distance, |
28 #if $subsample.use == "yes": | 28 #if $subsample.use == "yes": |
29 #if $subsample.subsample: | 29 #if $subsample.subsample: |
30 subsample=$subsample.subsample, | 30 subsample=$subsample.subsample, |
31 #else | 31 #else |
32 subsample=T, | 32 subsample=T, |
33 #end if | 33 #end if |
34 #if $subsample.iters: | 34 #if $subsample.iters: |
35 iters=$subsample.iters, | 35 iters=$subsample.iters, |
36 #end if | 36 #end if |
37 #end if | 37 #end if |
38 output=$output, | 38 output=$output, |
39 processors='\${GALAXY_SLOTS:-8}' | 39 processors='\${GALAXY_SLOTS:-8}' |
40 )' | 40 )' |
41 | sed 's/ //g' ## mothur trips over whitespace | 41 | sed 's/ //g' ## mothur trips over whitespace |
42 | mothur | 42 | mothur |
43 | tee mothur.out.log | 43 | tee mothur.out.log |
44 ]]></command> | 44 ]]></command> |
45 <inputs> | 45 <inputs> |
46 <param name="otu" type="data" format="mothur.shared" label="shared - OTU Shared"/> | 46 <param name="otu" type="data" format="mothur.shared" label="shared - OTU Shared"/> |
47 <param name="label" type="select" label="label - OTU Labels" multiple="true"> | 47 <param name="label" type="select" label="label - OTU Labels" multiple="true"> |
48 <expand macro="labeloptions"/> | 48 <expand macro="labeloptions"/> |
82 </conditional> | 82 </conditional> |
83 <param name="output" type="select" label="output - Distance Matrix Output Format" help=""> | 83 <param name="output" type="select" label="output - Distance Matrix Output Format" help=""> |
84 <option value="lt" selected="true">Phylip formatted Lower Triangle Matrix</option> | 84 <option value="lt" selected="true">Phylip formatted Lower Triangle Matrix</option> |
85 <option value="square">Phylip formatted Square Matrix</option> | 85 <option value="square">Phylip formatted Square Matrix</option> |
86 </param> | 86 </param> |
87 <expand macro="param-savelog"/> | |
87 </inputs> | 88 </inputs> |
88 <outputs> | 89 <outputs> |
89 <expand macro="logfile-output"/> | 90 <expand macro="logfile-output"/> |
90 <data name="summary" format="tabular" from_work_dir="otu*.summary" label="${tool.name} on ${on_string}: shared.summary"/> | 91 <data name="summary" format="tabular" from_work_dir="otu*.summary" label="${tool.name} on ${on_string}: shared.summary"/> |
91 <collection name="distfiles" type="list" label="${tool.name} on ${on_string}: dist"> | 92 <collection name="distfiles" type="list" label="${tool.name} on ${on_string}: dist"> |
101 </outputs> | 102 </outputs> |
102 <tests> | 103 <tests> |
103 <test><!-- test with defaults --> | 104 <test><!-- test with defaults --> |
104 <param name="otu" value="amazon.an.shared"/> | 105 <param name="otu" value="amazon.an.shared"/> |
105 <output name="summary" md5="29384359e341721b3519fba35b9301e4" ftype="tabular"/> | 106 <output name="summary" md5="29384359e341721b3519fba35b9301e4" ftype="tabular"/> |
107 <param name="savelog" value="true"/> | |
106 <expand macro="logfile-test"/> | 108 <expand macro="logfile-test"/> |
107 </test> | 109 </test> |
108 <test><!-- test with subsample --> | 110 <test><!-- test with subsample --> |
109 <param name="otu" value="amazon.an.shared"/> | 111 <param name="otu" value="amazon.mothur.shared"/> |
110 <param name="use" value="yes"/> | 112 <param name="use" value="yes"/> |
111 <param name="subsample" value="10"/> | 113 <param name="subsample" value="10"/> |
112 <param name="iters" value="42"/> | 114 <param name="iters" value="42"/> |
113 <output name="summary" ftype="tabular"> | 115 <output name="summary" ftype="tabular"> |
114 <assert_contents> | 116 <assert_contents> |
115 <has_text text="forest"/> | 117 <has_text text="forest"/> |
116 <has_text text="pasture"/> | 118 <has_text text="pasture"/> |
117 </assert_contents> | 119 </assert_contents> |
118 </output> | 120 </output> |
121 <param name="savelog" value="true"/> | |
119 <expand macro="logfile-test"/> | 122 <expand macro="logfile-test"/> |
120 </test> | 123 </test> |
121 <test><!-- test with label and groups select and all calculators --> | 124 <test><!-- test with label and groups select and all calculators --> |
122 <param name="otu" value="amazon.an.shared"/> | 125 <param name="otu" value="amazon.an.shared"/> |
123 <param name="label" value="0.05,0.22,0.32"/> | 126 <param name="label" value="0.05,0.22,0.32"/> |
124 <param name="groups" value="forest,pasture"/> | 127 <param name="groups" value="forest,pasture"/> |
125 <param name="calc" value="sharedsobs,sharedchao,sharedace,anderberg,jclass,jest,kulczynski,kulczynskicody,kstest,lennon,ochiai,sorclass,sorest,whittaker,hamming,memchi2,memchord,memeuclidean,mempearson,braycurtis,jabund,morisitahorn,sorabund,thetan,thetayc,canberra,gower,hellinger,manhattan,odum,soergel,spearman,speciesprofile,structchi2,structchord,structeuclidean,structkulczynski,structpearson,sharednseqs,sharedobserved"/> | 128 <param name="calc" value="sharedsobs,sharedchao,sharedace,anderberg,jclass,jest,kulczynski,kulczynskicody,kstest,lennon,ochiai,sorclass,sorest,whittaker,hamming,memchi2,memchord,memeuclidean,mempearson,braycurtis,jabund,morisitahorn,sorabund,thetan,thetayc,canberra,gower,hellinger,manhattan,odum,soergel,spearman,speciesprofile,structchi2,structchord,structeuclidean,structkulczynski,structpearson,sharednseqs,sharedobserved"/> |
126 <output name="summary" md5="acd56d4ab09ec1c2117f5e4840a875a1" ftype="tabular"/> | 129 <output name="summary" md5="acd56d4ab09ec1c2117f5e4840a875a1" ftype="tabular"/> |
130 <param name="savelog" value="true"/> | |
127 <expand macro="logfile-test"/> | 131 <expand macro="logfile-test"/> |
128 </test> | 132 </test> |
129 <test><!-- test with distance output collection --> | 133 <test><!-- test with distance output collection --> |
130 <param name="otu" value="amazon.an.shared"/> | 134 <param name="otu" value="amazon.an.shared"/> |
131 <param name="distance" value="true"/> | 135 <param name="distance" value="true"/> |
142 <has_text text="forest"/> | 146 <has_text text="forest"/> |
143 <has_text text="pasture"/> | 147 <has_text text="pasture"/> |
144 </assert_contents> | 148 </assert_contents> |
145 </element> | 149 </element> |
146 </output_collection> | 150 </output_collection> |
151 <param name="savelog" value="true"/> | |
147 <expand macro="logfile-test"/> | 152 <expand macro="logfile-test"/> |
148 </test> | 153 </test> |
149 </tests> | 154 </tests> |
150 <help> | 155 <help><![CDATA[ |
151 <![CDATA[ | |
152 | 156 |
153 @MOTHUR_OVERVIEW@ | 157 @MOTHUR_OVERVIEW@ |
154 | 158 |
155 **Command Documentation** | 159 **Command Documentation** |
156 | 160 |
157 The summary.shared_ command produce a summary file that has the calculator value for each line in the OTU data of the shared_ file 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: https://www.mothur.org/wiki/Calculators | 161 The summary.shared_ command produce a summary file that has the calculator value for each line in the OTU data of the shared_ file 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: https://www.mothur.org/wiki/Calculators |
158 | 162 |
159 .. _shared: https://www.mothur.org/wiki/Shared_file | 163 .. _shared: https://www.mothur.org/wiki/Shared_file |
160 .. _group: https://www.mothur.org/wiki/Group_file | 164 .. _group: https://www.mothur.org/wiki/Group_file |
161 .. _summary.shared: https://www.mothur.org/wiki/Summary.shared | 165 .. _summary.shared: https://www.mothur.org/wiki/Summary.shared |
162 ]]> | 166 |
163 </help> | 167 ]]></help> |
164 <expand macro="citations"/> | 168 <expand macro="citations"/> |
165 </tool> | 169 </tool> |