Mercurial > repos > nml > mrbayes
annotate mrbayes.xml @ 3:bd2c8053e155 draft
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
author | nml |
---|---|
date | Wed, 20 Sep 2017 12:11:19 -0400 |
parents | 2fe97192eb4b |
children | 905d00fb5243 |
rev | line source |
---|---|
0
25da76152cf2
planemo upload commit 9d6eccd6006feba67862137cb9a1d743798f71d3-dirty
nml
parents:
diff
changeset
|
1 <?xml version="1.0"?> |
3
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
2 <tool id="mrbayes" name="MrBayes" version="1.0.2"> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
3 <description>with options and commands</description> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
4 <requirements> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
5 <requirement type="package" version="3.2.6">mrbayes</requirement> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
6 </requirements> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
7 <stdio> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
8 <exit_code range="1:" level="fatal" description="Unknown error has occurred"/> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
9 </stdio> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
10 <command>mb $command_file > $outfile |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
11 ## print list of avaialble variables |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
12 #silent sys.stderr.write("\n \n \n ======== Cheetah template variables ========\n") |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
13 #for k,v in $searchList[2].items() |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
14 #silent sys.stderr.write(" %s = %s\n" % (str(k), str(v) )) |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
15 #end for |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
16 #silent sys.stderr.write("======== End of Cheetah template variables ========\n \n \n") |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
17 </command> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
18 <configfiles> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
19 <configfile name="command_file"> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
20 begin mrbayes; |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
21 set Seed=$seed; |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
22 set Swapseed=$swapseed; |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
23 set quitonerror=yes; |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
24 execute $data; |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
25 outgroup $outgroup; |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
26 $model; |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
27 lset rates=$rates; |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
28 #if str($filename) != "" |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
29 mcmcp filename=$filename; |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
30 #end if |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
31 mcmcp ngen=$ngen |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
32 nrun=$nrun |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
33 nchain=$nchain |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
34 checkfreq=$checkfreq |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
35 samplefreq=$samplefreq |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
36 printfreq=$printfreq |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
37 stoprule=$stoprule |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
38 burninfrac=$burninfrac; |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
39 #if int($ngen) >= int($checkfreq) |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
40 $append; |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
41 #end if |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
42 mcmc; |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
43 $sump |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
44 $sumt |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
45 #if str($plot) == "plot" |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
46 plot; |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
47 #end if |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
48 end; |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
49 </configfile> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
50 </configfiles> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
51 <inputs> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
52 <param name="data" type="data" format="nex" label="Nexus input file"/> |
0
25da76152cf2
planemo upload commit 9d6eccd6006feba67862137cb9a1d743798f71d3-dirty
nml
parents:
diff
changeset
|
53 |
3
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
54 <param name="filename" type="text" label="Output filename" size="10" value="" |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
55 help="Output files will be named this with .p, .t, .mcmc extensions. Use to avoid overwriting files when running repeated analyses on the same dataset."/> |
0
25da76152cf2
planemo upload commit 9d6eccd6006feba67862137cb9a1d743798f71d3-dirty
nml
parents:
diff
changeset
|
56 |
3
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
57 <param name="ngen" type="integer" label="Number of generations" value="10000"> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
58 <validator type="in_range" min="1" max="2147483647" message="Must be greater than or equal to 1"/> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
59 </param> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
60 <param name="nchain" type="integer" label="Number of chains" value="2"> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
61 <validator type="in_range" min="1" max="2147483647" message="Must be greater than or equal to 1"/> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
62 </param> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
63 <param name="nrun" type="integer" label="Number of runs" value="2"> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
64 <validator type="in_range" min="1" max="2147483647" message="Must be greater than or equal to 1"/> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
65 </param> |
0
25da76152cf2
planemo upload commit 9d6eccd6006feba67862137cb9a1d743798f71d3-dirty
nml
parents:
diff
changeset
|
66 |
3
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
67 <param name="outgroup" type="text" label="Outgroup" size="10" value="1" |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
68 help="The name or number identifying one taxon from the data."/> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
69 <param name="model" type="select" label="Choose model" |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
70 help="Models are defined below and are only valid for nucleotide data."> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
71 <sanitizer sanitize="False"/> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
72 <option value="lset nst=6">GTR</option> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
73 <option value="lset nst=6; prset statefreqpr=fixed(equal)">SYM</option> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
74 <option value="lset nst=2">HKY85</option> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
75 <option value="lset nst=2; prset statefreqpr=fixed(equal)">K2P</option> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
76 <option value="lset nst=1">F81</option> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
77 <option value="lset nst=1; prset statefreqpr=fixed(equal)">JC69</option> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
78 <option value="lset nst=mixed">Mixed</option> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
79 </param> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
80 <param name="rates" type="select" label="Choose rates"> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
81 <option value="equal">(equal) No rate variation across sites</option> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
82 <option value="gamma">(gamma) Gamma-distributed rates across sites</option> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
83 <option value="propinv">(propinv) A proportion of the sites are invariable</option> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
84 <option value="invgamma">(invgamma) A proportion of the sites are invariable and the remaining sites are Gamma-distributed</option> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
85 <option value="adgamma">(adgamma) Autocorrelated rates across sites</option> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
86 </param> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
87 <param name="samplefreq" type="integer" label="Sample frequency" value="500" |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
88 help="Frequency with which output it written to files."> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
89 <validator type="in_range" min="1" max="2147483647" message="Must be greater than or equal to 1"/> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
90 </param> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
91 <param name="printfreq" type="integer" label="Print frequency" value="500" |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
92 help="Frequency with which output is printed to the screen."> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
93 <validator type="in_range" min="1" max="2147483647" message="Must be greater than or equal to 1"/> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
94 </param> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
95 <param name="burninfrac" type="float" label="Burn-in fraction" value="0.25" |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
96 help="Fraction of samples to discard when summarizing."> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
97 <validator type="in_range" min="0.01" max=".50" message="Must be between 0.01 and .50"/> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
98 </param> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
99 <param name="stoprule" type="select" label="Stop rule?"> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
100 <option value="no">No</option> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
101 <option value="yes">Yes</option> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
102 </param> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
103 <param name="sump" type="boolean" truevalue="sump;" falsevalue="" label="Include sump?" |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
104 help="Summarizes sampled parameter value."/> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
105 <param name="sumt" type="boolean" truevalue="sumt;" falsevalue="" label="Include sumt?" |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
106 help="Summarizes the trees."/> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
107 <param name="plot" type="boolean" truevalue="plot" falsevalue="" label="Include plot?" |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
108 help="Creates an x-y graph of the parameter over the course of the chain."/> |
0
25da76152cf2
planemo upload commit 9d6eccd6006feba67862137cb9a1d743798f71d3-dirty
nml
parents:
diff
changeset
|
109 |
3
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
110 <param name="checkfreq" type="integer" label="Checkpoint frequency" value="100000" |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
111 help="Frequency with which checkpoints are written. Used for continuing analysis with append."> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
112 <validator type="in_range" min="100" max="2147483647" message="Must be greater than or equal to 100"/> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
113 </param> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
114 <param name="append" type="boolean" truevalue="mcmcp append=yes" falsevalue="mcmcp append=no" |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
115 label="Append to last checkpoint?" |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
116 help="Requires .ckp file (i.e. that number of generations > checkpoint frequency for previous analysis)."/> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
117 <param name="seed" type="integer" label="Seed" optional="false" value="5" |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
118 help="Specify a seed with which to run the job."> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
119 <validator type="in_range" min="1" max="2147483647" message="Must be greater than or equal to 1"/> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
120 </param> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
121 <param name="swapseed" type="integer" label="Swap Seed" optional="false" value="5" |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
122 help="Specify a swap seed with which to run the job."> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
123 <validator type="in_range" min="1" max="2147483647" message="Must be greater than or equal to 1"/> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
124 </param> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
125 </inputs> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
126 <outputs> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
127 <data name="outfile" format="txt"/> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
128 </outputs> |
0
25da76152cf2
planemo upload commit 9d6eccd6006feba67862137cb9a1d743798f71d3-dirty
nml
parents:
diff
changeset
|
129 |
3
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
130 <tests> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
131 <test> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
132 <param name="data" value="avian_ovomucoids.nex"/> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
133 <output name="outfile"> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
134 <assert_contents> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
135 <has_text text=" 500 -- [-6144.805] (-6235.323) * [-5853.458] (-5936.317)"/> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
136 <has_text text=" 3000 -- (-4258.327) [-3872.656] * [-3961.044] (-3988.174)"/> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
137 <has_text text=" 5000 -- (-3805.933) [-3708.438] * [-3704.553] (-3727.547)"/> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
138 <has_text text=" 8000 -- [-3676.746] (-3665.247) * [-3621.851] (-3665.758)"/> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
139 <has_text text=" 10000 -- [-3639.639] (-3639.407) * [-3613.090] (-3667.495)"/> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
140 <has_text text=" 13.4 % ( 11 %) TLMultiplier(V)"/> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
141 <has_text text=" 12.4 % ( 10 %) TLMultiplier(V)"/> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
142 <has_text text=" 1 | 0.14 "/> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
143 <has_text text=" 1 | 0.19 "/> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
144 </assert_contents> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
145 </output> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
146 </test> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
147 </tests> |
0
25da76152cf2
planemo upload commit 9d6eccd6006feba67862137cb9a1d743798f71d3-dirty
nml
parents:
diff
changeset
|
148 |
3
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
149 <help> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
150 <![CDATA[ |
0
25da76152cf2
planemo upload commit 9d6eccd6006feba67862137cb9a1d743798f71d3-dirty
nml
parents:
diff
changeset
|
151 .. class:: warningmark |
25da76152cf2
planemo upload commit 9d6eccd6006feba67862137cb9a1d743798f71d3-dirty
nml
parents:
diff
changeset
|
152 |
3
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
153 This tool takes as input a Nexus file (.nex), described here_, that should only contain a data block, without |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
154 commands. If a command block exists in the file, it will be executed first, followed by the ones specified |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
155 above. |
0
25da76152cf2
planemo upload commit 9d6eccd6006feba67862137cb9a1d743798f71d3-dirty
nml
parents:
diff
changeset
|
156 |
25da76152cf2
planemo upload commit 9d6eccd6006feba67862137cb9a1d743798f71d3-dirty
nml
parents:
diff
changeset
|
157 .. _here: http://en.wikipedia.org/wiki/Nexus_file. |
25da76152cf2
planemo upload commit 9d6eccd6006feba67862137cb9a1d743798f71d3-dirty
nml
parents:
diff
changeset
|
158 |
25da76152cf2
planemo upload commit 9d6eccd6006feba67862137cb9a1d743798f71d3-dirty
nml
parents:
diff
changeset
|
159 ----- |
25da76152cf2
planemo upload commit 9d6eccd6006feba67862137cb9a1d743798f71d3-dirty
nml
parents:
diff
changeset
|
160 |
25da76152cf2
planemo upload commit 9d6eccd6006feba67862137cb9a1d743798f71d3-dirty
nml
parents:
diff
changeset
|
161 **What it does** |
25da76152cf2
planemo upload commit 9d6eccd6006feba67862137cb9a1d743798f71d3-dirty
nml
parents:
diff
changeset
|
162 |
3
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
163 MrBayes is a program for Bayesian inference and model choice across a wide range of phylogenetic and |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
164 evolutionary models. MrBayes uses Markov chain Monte Carlo (MCMC) methods to estimate the posterior distribution |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
165 of model parameters. |
0
25da76152cf2
planemo upload commit 9d6eccd6006feba67862137cb9a1d743798f71d3-dirty
nml
parents:
diff
changeset
|
166 |
25da76152cf2
planemo upload commit 9d6eccd6006feba67862137cb9a1d743798f71d3-dirty
nml
parents:
diff
changeset
|
167 See the manual_ or the `command reference`_ for more information. |
25da76152cf2
planemo upload commit 9d6eccd6006feba67862137cb9a1d743798f71d3-dirty
nml
parents:
diff
changeset
|
168 |
25da76152cf2
planemo upload commit 9d6eccd6006feba67862137cb9a1d743798f71d3-dirty
nml
parents:
diff
changeset
|
169 .. _manual: http://mrbayes.sourceforge.net/manual.php |
25da76152cf2
planemo upload commit 9d6eccd6006feba67862137cb9a1d743798f71d3-dirty
nml
parents:
diff
changeset
|
170 .. _command reference: http://mrbayes.sourceforge.net/commref_mb3.2.pdf |
25da76152cf2
planemo upload commit 9d6eccd6006feba67862137cb9a1d743798f71d3-dirty
nml
parents:
diff
changeset
|
171 |
25da76152cf2
planemo upload commit 9d6eccd6006feba67862137cb9a1d743798f71d3-dirty
nml
parents:
diff
changeset
|
172 ----- |
25da76152cf2
planemo upload commit 9d6eccd6006feba67862137cb9a1d743798f71d3-dirty
nml
parents:
diff
changeset
|
173 |
25da76152cf2
planemo upload commit 9d6eccd6006feba67862137cb9a1d743798f71d3-dirty
nml
parents:
diff
changeset
|
174 **Model Definitions** |
25da76152cf2
planemo upload commit 9d6eccd6006feba67862137cb9a1d743798f71d3-dirty
nml
parents:
diff
changeset
|
175 |
25da76152cf2
planemo upload commit 9d6eccd6006feba67862137cb9a1d743798f71d3-dirty
nml
parents:
diff
changeset
|
176 Models are defined by the following MrBayes options:: |
25da76152cf2
planemo upload commit 9d6eccd6006feba67862137cb9a1d743798f71d3-dirty
nml
parents:
diff
changeset
|
177 |
3
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
178 GTR: lset nst=6; |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
179 SYM: lset nst=6; prset statefreqpr=fixed(equal); |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
180 HKY85: lset nst=2; |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
181 K2P: lset nst=2; prset statefreqpr=fixed(equal); |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
182 F81: lset nst=1; |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
183 JC69: lset nst=1; prset statefreqpr=fixed(equal); |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
184 Mixed: lset nst=mixed; |
0
25da76152cf2
planemo upload commit 9d6eccd6006feba67862137cb9a1d743798f71d3-dirty
nml
parents:
diff
changeset
|
185 |
25da76152cf2
planemo upload commit 9d6eccd6006feba67862137cb9a1d743798f71d3-dirty
nml
parents:
diff
changeset
|
186 Each model makes different assumptions about nucelotide substitution rates and state frequencies. |
25da76152cf2
planemo upload commit 9d6eccd6006feba67862137cb9a1d743798f71d3-dirty
nml
parents:
diff
changeset
|
187 |
3
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
188 The mixed model performs Markov chain sampling over the space of all possible reversible substitution models, by |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
189 grouping the six rates in various combinations. |
0
25da76152cf2
planemo upload commit 9d6eccd6006feba67862137cb9a1d743798f71d3-dirty
nml
parents:
diff
changeset
|
190 |
25da76152cf2
planemo upload commit 9d6eccd6006feba67862137cb9a1d743798f71d3-dirty
nml
parents:
diff
changeset
|
191 ----- |
25da76152cf2
planemo upload commit 9d6eccd6006feba67862137cb9a1d743798f71d3-dirty
nml
parents:
diff
changeset
|
192 |
25da76152cf2
planemo upload commit 9d6eccd6006feba67862137cb9a1d743798f71d3-dirty
nml
parents:
diff
changeset
|
193 .. class:: infomark |
25da76152cf2
planemo upload commit 9d6eccd6006feba67862137cb9a1d743798f71d3-dirty
nml
parents:
diff
changeset
|
194 |
25da76152cf2
planemo upload commit 9d6eccd6006feba67862137cb9a1d743798f71d3-dirty
nml
parents:
diff
changeset
|
195 **Tip for repetitive analyses** |
25da76152cf2
planemo upload commit 9d6eccd6006feba67862137cb9a1d743798f71d3-dirty
nml
parents:
diff
changeset
|
196 |
3
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
197 Note that running the same analysis on the same dataset in Galaxy will overwrite .p, .t, and .mcmc files for |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
198 that dataset. This can be avoided by copying the dataset or re-uploading it, or by specifying a new filename. |
0
25da76152cf2
planemo upload commit 9d6eccd6006feba67862137cb9a1d743798f71d3-dirty
nml
parents:
diff
changeset
|
199 |
25da76152cf2
planemo upload commit 9d6eccd6006feba67862137cb9a1d743798f71d3-dirty
nml
parents:
diff
changeset
|
200 .. class:: infomark |
25da76152cf2
planemo upload commit 9d6eccd6006feba67862137cb9a1d743798f71d3-dirty
nml
parents:
diff
changeset
|
201 |
25da76152cf2
planemo upload commit 9d6eccd6006feba67862137cb9a1d743798f71d3-dirty
nml
parents:
diff
changeset
|
202 **Tip for using append** |
25da76152cf2
planemo upload commit 9d6eccd6006feba67862137cb9a1d743798f71d3-dirty
nml
parents:
diff
changeset
|
203 |
3
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
204 If you want to use the append functionality, all parameters will have to be identical to your initial analysis. |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
205 The easiest way to ensure this is by using the blue "Run this job again" arrow on the dataset, and checking the |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
206 additional append box. Note also that ngen will be the total number of generations, not the number of |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
207 generations to add, so you should increase this value except if a run was interrupted. Selecting append while |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
208 checkfreq > ngen will have no effect. |
0
25da76152cf2
planemo upload commit 9d6eccd6006feba67862137cb9a1d743798f71d3-dirty
nml
parents:
diff
changeset
|
209 |
25da76152cf2
planemo upload commit 9d6eccd6006feba67862137cb9a1d743798f71d3-dirty
nml
parents:
diff
changeset
|
210 ----- |
25da76152cf2
planemo upload commit 9d6eccd6006feba67862137cb9a1d743798f71d3-dirty
nml
parents:
diff
changeset
|
211 |
25da76152cf2
planemo upload commit 9d6eccd6006feba67862137cb9a1d743798f71d3-dirty
nml
parents:
diff
changeset
|
212 Wrapper originally created by AAFC-MBB -> https://github.com/AAFC-MBB/ |
3
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
213 ]]> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
214 </help> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
215 <citations> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
216 <citation type="bibtex">@ARTICLE {huelsenbeckjpronquistf.2001, |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
217 author = {Huelsenbeck JP, Ronquist F.}, |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
218 title = {MRBAYES: Bayesian inference of phylogenetic trees.}, |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
219 journal = {Bioinformatics}, |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
220 year = {2001}, |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
221 volume = {17}, |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
222 pages = {754-755}, |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
223 url = {http://www.ncbi.nlm.nih.gov/pubmed/11524383} |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
224 } |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
225 </citation> |
bd2c8053e155
planemo upload commit b361f9ed82802229277cad4433f3de57f54a06f9
nml
parents:
2
diff
changeset
|
226 </citations> |
0
25da76152cf2
planemo upload commit 9d6eccd6006feba67862137cb9a1d743798f71d3-dirty
nml
parents:
diff
changeset
|
227 </tool> |