Mercurial > repos > iuc > mothur_homova
comparison homova.xml @ 0:d891666964ad draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
author | iuc |
---|---|
date | Fri, 19 May 2017 04:55:33 -0400 |
parents | |
children | 2ccbfa78b831 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:d891666964ad |
---|---|
1 <tool profile="16.07" id="mothur_homova" name="Homova" version="@WRAPPER_VERSION@.0"> | |
2 <description>Homogeneity of molecular variance</description> | |
3 <macros> | |
4 <import>macros.xml</import> | |
5 </macros> | |
6 <expand macro="requirements"/> | |
7 <expand macro="stdio"/> | |
8 <expand macro="version_command"/> | |
9 <command><![CDATA[ | |
10 @SHELL_OPTIONS@ | |
11 | |
12 ## create symlinks to input datasets | |
13 ln -s "$dist" dist.dat && | |
14 ln -s "$design" design.dat && | |
15 | |
16 echo 'homova( | |
17 phylip=dist.dat, | |
18 design=design.dat, | |
19 #if $sets: | |
20 sets=${ str($sets).replace(",","-") }, | |
21 #end if | |
22 iters=$iters, | |
23 alpha=$alpha | |
24 )' | |
25 | sed 's/ //g' ## mothur trips over whitespace | |
26 | mothur | |
27 | tee mothur.out.log | |
28 ]]></command> | |
29 <inputs> | |
30 <param name="dist" type="data" format="mothur.dist,mothur.lower.dist,mothur.square.dist" label="phylip - Distance Matrix"/> | |
31 <param name="design" type="data" format="mothur.design" label="design - assign groups to new grouping" help="design has 2 columns: group(col 1) and grouping(col 2) (separated by a TAB character)"/> | |
32 <param name="alpha" type="float" optional="true" value="0.05" min="0.0" label="alpha - acceptable stopping precision (default 0.05)"/> | |
33 <param name="iters" type="integer" value="1000" min="0" label="iters - Number of random configuration to try (default 1000)"/> | |
34 <param name="sets" type="select" multiple="true" label="sets - Which of the sets in your design file you would like to analyze. The set names are separated by dashes. The default is all sets in designfile"> | |
35 <options> | |
36 <filter type="data_meta" ref="design" key="groups"/> | |
37 </options> | |
38 </param> | |
39 </inputs> | |
40 <outputs> | |
41 <expand macro="logfile-output"/> | |
42 <data name="homova" format="tabular" from_work_dir="dist*.homova" label="${tool.name} on ${on_string}: homova"/> | |
43 </outputs> | |
44 <tests> | |
45 <test><!-- test default settings --> | |
46 <param name="dist" value="amazon.dist" ftype="mothur.dist"/> | |
47 <param name="design" value="amazon.design" ftype="tabular"/> | |
48 <output name="homova" ftype="tabular"> | |
49 <assert_contents> | |
50 <has_line_matching expression="^HOMOVA\tBValue\tP-value\tSSwithin/\(Ni-1\)_values$"/> | |
51 <has_text text="A-B"/> | |
52 </assert_contents> | |
53 </output> | |
54 <expand macro="logfile-test"/> | |
55 </test> | |
56 <test><!-- test with subsets --> | |
57 <param name="dist" value="amazon.dist" ftype="mothur.dist"/> | |
58 <param name="design" value="amazon.design" ftype="mothur.design"/> | |
59 <param name="sets" value="A"/> | |
60 <output name="homova" ftype="tabular"> | |
61 <assert_contents> | |
62 <has_line_matching expression="^HOMOVA\tBValue\tP-value\tSSwithin/\(Ni-1\)_values$"/> | |
63 <has_line_matching expression="A\t.*$"/> | |
64 </assert_contents> | |
65 </output> | |
66 <expand macro="logfile-test"/> | |
67 </test> | |
68 </tests> | |
69 <help> | |
70 <![CDATA[ | |
71 | |
72 @MOTHUR_OVERVIEW@ | |
73 | |
74 **Command Documentation** | |
75 | |
76 The homova_ command calculates the homogeneity of molecular variance (HOMOVA) from a phylip_distance_matrix_, a nonparametric analog of Bartlett's test for homo- geneity of variance, which has been used in population genetics to test the hypothesis that the genetic diversity within two or more populations is homogeneous. | |
77 | |
78 A design file partitions a list of names into groups. It is a tab-delimited file with 2 columns: name and group, e.g. : | |
79 ======= ======= | |
80 duck bird | |
81 cow mammal | |
82 pig mammal | |
83 goose bird | |
84 cobra reptile | |
85 ======= ======= | |
86 | |
87 The Make_Design tool can construct a design file from a Mothur dataset that contains group names. | |
88 | |
89 .. _phylip_distance_matrix: https://www.mothur.org/wiki/Phylip-formatted_distance_matrix | |
90 .. _homova: https://www.mothur.org/wiki/Homova | |
91 | |
92 v.1.20.0: Updated to Mothur 1.33, added sets parameter | |
93 ]]> | |
94 </help> | |
95 <expand macro="citations"/> | |
96 </tool> |