comparison parsimony.xml @ 0:5b184e7eebaa draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
author iuc
date Fri, 19 May 2017 05:23:46 -0400
parents
children 4e3816a6462a
comparison
equal deleted inserted replaced
-1:000000000000 0:5b184e7eebaa
1 <tool profile="16.07" id="mothur_parsimony" name="Parsimony" version="@WRAPPER_VERSION@.0">
2 <description>Describes whether two or more communities have the same structure</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 "$tree" tree.dat &&
14 ln -s "$group" group.dat &&
15 ln -s "$count" count.dat &&
16 ln -s "$name" name.dat &&
17
18 echo 'parsimony(
19 tree=tree.dat,
20 iters=$iters,
21 group=group.dat,
22 #if $groups:
23 groups=${ str($groups).replace(",","-") },
24 #end if
25 #if $name:
26 name=name.dat,
27 #end if
28 #if $count:
29 count=count.dat,
30 #end if
31 processors='\${GALAXY_SLOTS:-8}'
32 )'
33 | sed 's/ //g' ## mothur trips over whitespace
34 | mothur
35 | tee mothur.out.log
36 ]]></command>
37 <inputs>
38 <param name="tree" type="data" format="mothur.tre" label="tree - Phylogenetic Tree"/>
39 <param name="group" type="data" format="mothur.groups" label="group - Group file for the tree"/>
40 <param name="groups" type="select" label="groups - Groups to display" multiple="true" help="By default all are included if no selection is made.">
41 <options>
42 <filter type="data_meta" ref="group" key="groups"/>
43 </options>
44 </param>
45 <param name="name" type="data" format="mothur.names" optional="true" label="name - Sequences Name reference file for the tree"/>
46 <param name="iters" type="integer" min="1" value="1000" label="iters - Number of bootstrap iterations to try (default 1000)"/>
47 <param name="count" type="data" format="mothur.count_table" optional="true" label="count - a count_table" help="generated by count.seqs"/>
48 </inputs>
49 <outputs>
50 <expand macro="logfile-output"/>
51 <data name="psummary" format="tabular" from_work_dir="tree*.psummary" label="${tool.name} on ${on_string}: psummary"/>
52 <data name="parsimony" format="tabular" from_work_dir="tree*.parsimony" label="${tool.name} on ${on_string}: parsimony"/>
53 </outputs>
54 <tests>
55 <test>
56 <param name="tree" value="treetest.tre" ftype="mothur.tre"/>
57 <param name="group" value="treetest.groups"/>
58 <param name="groups" value="green,orange"/>
59 <param name="name" value="treetest.names"/>
60 <param name="iters" value="1000"/>
61 <output name="psummary" md5="011c202c5e5e33cb1af7c742aeb06457"/>
62 <output name="parsimony" md5="f49e0d64fd0c5df01abc913f398d428a"/>
63 <expand macro="logfile-test"/>
64 </test>
65 </tests>
66 <help>
67 <![CDATA[
68
69 @MOTHUR_OVERVIEW@
70
71 **Command Documentation**
72
73 The parsimony_ command implements the parsimony method (aka P-test), which was previously implemented in TreeClimber and is also available in MacClade and on the UniFrac website. The parsimony method is a generic test 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.
74
75 .. _parsimony: https://www.mothur.org/wiki/Parsimony
76
77 v.1.20.0: Added count parameter
78
79 ]]>
80 </help>
81 <expand macro="citations"/>
82 </tool>