comparison parsimony.xml @ 2:4e3816a6462a 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:04:18 -0400
parents 5b184e7eebaa
children da7f70ebfb4c
comparison
equal deleted inserted replaced
1:c7a4a69fcc4a 2:4e3816a6462a
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 "$count" count.dat && 15 ln -s '$count' count.dat &&
16 ln -s "$name" name.dat && 16 ln -s '$name' name.dat &&
17 17
18 echo 'parsimony( 18 echo 'parsimony(
19 tree=tree.dat, 19 tree=tree.dat,
20 iters=$iters, 20 iters=$iters,
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 #if $name: 25 #if $name:
26 name=name.dat, 26 name=name.dat,
27 #end if 27 #end if
28 #if $count: 28 #if $count:
29 count=count.dat, 29 count=count.dat,
30 #end if 30 #end if
31 processors='\${GALAXY_SLOTS:-8}' 31 processors='\${GALAXY_SLOTS:-8}'
32 )' 32 )'
33 | sed 's/ //g' ## mothur trips over whitespace 33 | sed 's/ //g' ## mothur trips over whitespace
34 | mothur 34 | mothur
35 | tee mothur.out.log 35 | tee mothur.out.log
36 ]]></command> 36 ]]></command>
37 <inputs> 37 <inputs>
38 <param name="tree" type="data" format="mothur.tre" label="tree - Phylogenetic Tree"/> 38 <param argument="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"/> 39 <param argument="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."> 40 <param argument="groups" type="select" multiple="true" label="groups - Groups to display" help="By default all are included if no selection is made.">
41 <options> 41 <options>
42 <filter type="data_meta" ref="group" key="groups"/> 42 <filter type="data_meta" ref="group" key="groups"/>
43 </options> 43 </options>
44 </param> 44 </param>
45 <param name="name" type="data" format="mothur.names" optional="true" label="name - Sequences Name reference file for the tree"/> 45 <param argument="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)"/> 46 <param argument="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"/> 47 <param argument="count" type="data" format="mothur.count_table" optional="true" label="count - a count_table" help="generated by count.seqs"/>
48 <expand macro="param-savelog"/>
48 </inputs> 49 </inputs>
49 <outputs> 50 <outputs>
50 <expand macro="logfile-output"/> 51 <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="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 <data name="parsimony" format="tabular" from_work_dir="tree*.parsimony" label="${tool.name} on ${on_string}: parsimony"/>
56 <param name="tree" value="treetest.tre" ftype="mothur.tre"/> 57 <param name="tree" value="treetest.tre" ftype="mothur.tre"/>
57 <param name="group" value="treetest.groups"/> 58 <param name="group" value="treetest.groups"/>
58 <param name="groups" value="green,orange"/> 59 <param name="groups" value="green,orange"/>
59 <param name="name" value="treetest.names"/> 60 <param name="name" value="treetest.names"/>
60 <param name="iters" value="1000"/> 61 <param name="iters" value="1000"/>
61 <output name="psummary" md5="011c202c5e5e33cb1af7c742aeb06457"/> 62 <output name="psummary" ftype="tabular">
62 <output name="parsimony" md5="f49e0d64fd0c5df01abc913f398d428a"/> 63 <assert_contents>
64 <has_line_matching expression="^Tree#\tGroups\tParsScore\tParsSig$"/>
65 </assert_contents>
66 </output>
67 <output name="parsimony" ftype="tabular">
68 <assert_contents>
69 <has_text text="green-orangeScore"/>
70 </assert_contents>
71 </output>
72 <param name="savelog" value="true"/>
63 <expand macro="logfile-test"/> 73 <expand macro="logfile-test"/>
64 </test> 74 </test>
65 </tests> 75 </tests>
66 <help> 76 <help><![CDATA[
67 <![CDATA[
68 77
69 @MOTHUR_OVERVIEW@ 78 @MOTHUR_OVERVIEW@
70 79
71 **Command Documentation** 80 **Command Documentation**
72 81
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. 82 The parsimony_ command implements the parsimony method (aka P-test), which was previously implemented in TreeClimber
83 and is also available in MacClade and on the UniFrac website. The parsimony method is a generic test that describes
84 whether two or more communities have the same structure. The significance of the test statistic can only indicate the
85 probability that the communities have the same structure by chance. The value does not indicate a level of similarity.
74 86
75 .. _parsimony: https://www.mothur.org/wiki/Parsimony 87 .. _parsimony: https://www.mothur.org/wiki/Parsimony
76 88
77 v.1.20.0: Added count parameter 89 v.1.20.0: Added count parameter
78 90
79 ]]> 91 ]]></help>
80 </help>
81 <expand macro="citations"/> 92 <expand macro="citations"/>
82 </tool> 93 </tool>