comparison unifrac.unweighted.xml @ 2:c26d24a77e85 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:05:47 -0400
parents ca0099aa9a0c
children 3597ca9089a5
comparison
equal deleted inserted replaced
1:6c69462bfd5a 2:c26d24a77e85
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 "$tree" tree.dat && 13 ln -s '$tree' tree.dat &&
14 ln -s "$group" group.dat && 14 ln -s '$group' group.dat &&
15 ln -s "$name" name.dat && 15 ln -s '$name' name.dat &&
16 ln -s "$count" count.dat && 16 ln -s '$count' count.dat &&
17 17
18 echo 'unifrac.unweighted( 18 echo 'unifrac.unweighted(
19 tree=tree.dat, 19 tree=tree.dat,
20 #if $group: 20 #if $group:
21 group=group.dat, 21 group=group.dat,
22 #if $groups: 22 #if $groups:
23 groups=${ str($groups).replace(",","-") }, 23 groups=${ str($groups).replace(",","-") },
24 #end if 24 #end if
25 #end if 25 #end if
26 #if $name: 26 #if $name:
27 name=name.dat, 27 name=name.dat,
28 #end if 28 #end if
29 iters=$iters, 29 iters=$iters,
30 #if $subsampling.use == "yes": 30 #if $subsampling.use == "yes":
31 #if $subsampling.subsample: 31 #if $subsampling.subsample:
32 subsample=$subsampling.subsample, 32 subsample=$subsampling.subsample,
33 #else 33 #else
34 subsample=T, 34 subsample=T,
35 #end if 35 #end if
36 consensus=$subsampling.consensus, 36 consensus=$subsampling.consensus,
37 #else 37 #else
38 random=$random, 38 random=$random,
39 #end if 39 #end if
40 #if $distance: 40 #if $distance:
41 distance=$distance, 41 distance=$distance,
42 #end if 42 #end if
43 #if $count: 43 #if $count:
44 count=count.dat, 44 count=count.dat,
45 #end if 45 #end if
46 root=$root, 46 root=$root,
47 processors='\${GALAXY_SLOTS:-1}' 47 processors='\${GALAXY_SLOTS:-1}'
48 )' 48 )'
49 | sed 's/ //g' ## mothur trips over whitespace 49 | sed 's/ //g' ## mothur trips over whitespace
50 | mothur 50 | mothur
51 | tee mothur.out.log 51 | tee mothur.out.log
52 ]]></command> 52 ]]></command>
53 <inputs> 53 <inputs>
54 <param name="tree" type="data" format="mothur.tre" label="tree - Tree"/> 54 <param name="tree" type="data" format="mothur.tre" label="tree - Tree"/>
55 <param name="group" type="data" format="mothur.groups" optional="true" label="group - Group file for the tree"/> 55 <param name="group" type="data" format="mothur.groups" optional="true" label="group - Group file for the tree"/>
56 <param name="groups" type="select" optional="true" multiple="true" label="groups - Select groups for pairwise comparisons"> 56 <param name="groups" type="select" optional="true" multiple="true" label="groups - Select groups for pairwise comparisons">
77 <option value="square">Phylip Square Matrix</option> 77 <option value="square">Phylip Square Matrix</option>
78 <option value="column">Pairwise Distance Matrix</option> 78 <option value="column">Pairwise Distance Matrix</option>
79 </param> 79 </param>
80 <param name="root" type="boolean" truevalue="true" falsevalue="false" checked="false" label="root - the entire root in your calculations"/> 80 <param name="root" type="boolean" truevalue="true" falsevalue="false" checked="false" label="root - the entire root in your calculations"/>
81 <param name="count" type="data" format="mothur.count_table" optional="true" label="count - a count_table" help="generated by count.seqs"/> 81 <param name="count" type="data" format="mothur.count_table" optional="true" label="count - a count_table" help="generated by count.seqs"/>
82 <expand macro="param-savelog"/>
82 </inputs> 83 </inputs>
83 <outputs> 84 <outputs>
84 <expand macro="logfile-output"/> 85 <expand macro="logfile-output"/>
85 <data name="summary" format="tabular" from_work_dir="tree*.uwsummary" label="${tool.name} on ${on_string}: summary"/> 86 <data name="summary" format="tabular" from_work_dir="tree*.uwsummary" label="${tool.name} on ${on_string}: summary"/>
86 <data name="dist" format="mothur.lower.dist" from_work_dir="tree.dat*.dist " label="${tool.name} on ${on_string}: dist"> 87 <data name="dist" format="mothur.lower.dist" from_work_dir="tree.dat*.dist " label="${tool.name} on ${on_string}: dist">
116 <tests> 117 <tests>
117 <test><!-- test with defaults --> 118 <test><!-- test with defaults -->
118 <param name="tree" value="abrecovery.tre" ftype="mothur.tre"/> 119 <param name="tree" value="abrecovery.tre" ftype="mothur.tre"/>
119 <output name="summary" md5="33917fcb36e815ed8924f2ea2729bdc1" ftype="tabular"/> 120 <output name="summary" md5="33917fcb36e815ed8924f2ea2729bdc1" ftype="tabular"/>
120 <output name="dist" md5="ce65f7d1d2aeb492d8a5373ca18ed5b0" ftype="mothur.lower.dist"/> 121 <output name="dist" md5="ce65f7d1d2aeb492d8a5373ca18ed5b0" ftype="mothur.lower.dist"/>
122 <param name="savelog" value="true"/>
121 <expand macro="logfile-test"/> 123 <expand macro="logfile-test"/>
122 </test> 124 </test>
123 <test><!-- test with random and no subsampling --> 125 <test><!-- test with random and no subsampling -->
124 <param name="tree" value="abrecovery.tre" ftype="mothur.tre"/> 126 <param name="tree" value="abrecovery.tre" ftype="mothur.tre"/>
125 <param name="random" value="true"/> 127 <param name="random" value="true"/>
126 <output name="summary" md5="6aff35274802c4727cbbbc084b7d2dca" ftype="tabular"/> 128 <output name="summary" md5="6aff35274802c4727cbbbc084b7d2dca" ftype="tabular"/>
127 <output name="unweighted" md5="9f52d2bd4c5de4c459ae314b6ed83b7a" ftype="tabular"/> 129 <output name="unweighted" md5="9f52d2bd4c5de4c459ae314b6ed83b7a" ftype="tabular"/>
130 <param name="savelog" value="true"/>
128 <expand macro="logfile-test"/> 131 <expand macro="logfile-test"/>
129 </test> 132 </test>
130 <test><!-- test with group file and group select --> 133 <test><!-- test with group file and group select -->
131 <param name="tree" value="abrecovery.tre" ftype="mothur.tre"/> 134 <param name="tree" value="abrecovery.tre" ftype="mothur.tre"/>
132 <param name="group" value="abrecovery.groups" ftype="mothur.groups"/> 135 <param name="group" value="abrecovery.groups" ftype="mothur.groups"/>
133 <param name="groups" value="A,B"/> 136 <param name="groups" value="A,B"/>
134 <param name="distance" value="square"/> 137 <param name="distance" value="square"/>
135 <output name="summary" md5="a4a0a2faf75cb15bdb049c368dcbe73a" ftype="tabular"/> 138 <output name="summary" md5="a4a0a2faf75cb15bdb049c368dcbe73a" ftype="tabular"/>
136 <output name="dist" md5="d215db402049db87cac629470301d5c6" ftype="mothur.square.dist"/> 139 <output name="dist" md5="d215db402049db87cac629470301d5c6" ftype="mothur.square.dist"/>
140 <param name="savelog" value="true"/>
137 <expand macro="logfile-test"/> 141 <expand macro="logfile-test"/>
138 </test> 142 </test>
139 <test><!-- test with subsample and consensus --> 143 <test><!-- test with subsample and consensus -->
140 <param name="tree" value="abrecovery.tre" ftype="mothur.tre"/> 144 <param name="tree" value="abrecovery.tre" ftype="mothur.tre"/>
141 <param name="group" value="abrecovery.groups" ftype="mothur.groups"/> 145 <param name="group" value="abrecovery.groups" ftype="mothur.groups"/>
172 <has_text text="A"/> 176 <has_text text="A"/>
173 <has_text text="B"/> 177 <has_text text="B"/>
174 <has_text text="C"/> 178 <has_text text="C"/>
175 </assert_contents> 179 </assert_contents>
176 </output> 180 </output>
181 <param name="savelog" value="true"/>
177 <expand macro="logfile-test"/> 182 <expand macro="logfile-test"/>
178 </test> 183 </test>
179 </tests> 184 </tests>
180 <help> 185 <help><![CDATA[
181 <![CDATA[
182 186
183 @MOTHUR_OVERVIEW@ 187 @MOTHUR_OVERVIEW@
184 188
185 **Command Documentation** 189 **Command Documentation**
186 190
187 The unifrac.unweighted_ command the unweighted UniFrac algorithm. The unifrac.weighted command implements the weighted version of the command. Both of these methods are available through the UniFrac website. The UniFrac methods are generic tests that describes whether two or more communities have the same structure. The significance of the test statistic can only indicate the probability that the communities have the same structure by chance. The value does not indicate a level of similarity. 191 The unifrac.unweighted_ command the unweighted UniFrac algorithm. The unifrac.weighted command implements the weighted version of the command. Both of these methods are available through the UniFrac website. The UniFrac methods are generic tests that describes whether two or more communities have the same structure. The significance of the test statistic can only indicate the probability that the communities have the same structure by chance. The value does not indicate a level of similarity.
188 192
189 .. _unifrac.unweighted: https://www.mothur.org/wiki/Unifrac.unweighted 193 .. _unifrac.unweighted: https://www.mothur.org/wiki/Unifrac.unweighted
190 194
191 ]]> 195 ]]></help>
192 </help>
193 <expand macro="citations"/> 196 <expand macro="citations"/>
194 </tool> 197 </tool>