Debian Codegraph @

release/common/README.txt

raw
1 BEAST v1.10.4 2002-2018
2 Bayesian Evolutionary Analysis Sampling Trees
3 by
4 Alexei J. Drummond, Andrew Rambaut & Marc Suchard
5
6 Department of Computer Science
7 University of Auckland
8 [email protected]
9
10 Institute of Evolutionary Biology
11 University of Edinburgh
12 [email protected]
13
14 David Geffen School of Medicine
15 University of California, Los Angeles
16 [email protected]
17
18
19 Last updated: [email protected] - 9th November 2018
20
21 Contents:
22 1) INTRODUCTION
23 2) INSTALLING BEAST
24 3) CONVERTING SEQUENCES
25 4) RUNNING BEAST
26 5) ANALYZING RESULTS
27 6) NATIVE LIBRARIES
28 7) SUPPORT & LINKS
29 8) ACKNOWLEDGMENTS
30
31 ___________________________________________________________________________
32 1) INTRODUCTION
33
34 BEAST (Bayesian evolutionary analysis sampling trees) is package for
35 evolutionary inference from molecular sequences.
36
37 BEAST uses a complex and powerful input format (specified in XML) to
38 describe the evolutionary model. This has advantages in terms of
39 flexibility in that the developers of BEAST do not have to try and predict
40 every analysis that researchers may wish to perform and explicitly provide
41 an option for doing it. However, this flexibility means it is possible to
42 construct models that don't perform well under the Markov chain Monte Carlo
43 (MCMC) inference framework used. We cannot test every possible model that
44 can be used in BEAST. There are two solutions to this: Firstly, we supply
45 a range of recipes for commonly performed analyses that we know should work
46 in BEAST and provide example input files for these (although, the actual
47 data can also produce unexpected behavour). Secondly, we provide advice and
48 tools for the diagnosis of problems and suggestions on how to fix them:
49
50 <http://beast.community/>
51
52 BEAST is not a black-box into which you can put your data and expect an
53 easily interpretable answer. It requires careful inspection of the output
54 to check that it has performed correctly and usually will need tweaking,
55 adjustment and a number of runs to get a valid answer.
56
57 ___________________________________________________________________________
58 2) INSTALLING BEAST
59
60 BEAST requires a Java Virtual Machine to run. Many systems will already
61 have this installed. It requires at least version 1.6 of Java to run. The
62 latest versions of Java can be downloaded from:
63
64 <http://java.sun.com/>
65
66 If in doubt type "java -version" to see what version of java is installed
67 (or if it is installed at all).
68
69 Mac OS X will already have a suitable version of Java installed.
70
71 Within the BEAST.v1.10.x package will be the following directories:
72 Directory Contents
73 doc/ documentation of BEAST
74 examples/ some example NEXUS and XML files
75 lib/ Java & native libraries used by BEAST
76 native/ some C code to compile into native libraries
77 bin/ Scripts for the corresponding OS
78
79 ___________________________________________________________________________
80 3) CONVERTING SEQUENCES
81
82 A program called "BEAUti" will import data in NEXUS format, allow you to
83 select various models and options and generate an XML file ready for use in
84 BEAST.
85
86 To run BEAUti simply double-click the "BEAUti v1.10.x" application in the BEAST
87 folder. If this doesn't work then you may not have Java installed correctly.
88 Try opening an MS-DOS window and typing:
89
90 java -jar lib/beauti.jar
91
92 See also the separate BEAUti README.txt document.
93
94 __________________________________________________________________________
95 4) RUNNING BEAST
96
97 To run BEAST simply double-click the "BEAST v1.10.x" application in the BEAST
98 folder. You will be asked to select a BEAST XML input file.
99
100 Alternatively open a Command window and type:
101
102 java -jar lib/beast.jar input.xml
103
104 Where "input.xml" is the name of a BEAST XML format file. This file can
105 either be created from scratch using a text editor or be created by the
106 BEAUti program from a NEXUS format file.
107
108 For documentation on creating and tuning the input files look at the
109 documentation and tutorials on-line at:
110
111 Help - <http://beast.bio.ed.ac.uk/>
112 FAQ - <http://beast.bio.ed.ac.uk/FAQ/>
113 Tutorials - <http://beast.bio.ed.ac.uk/tutorials/>
114
115 The latest manual can be downloaded from here:
116
117 <http://code.google.com/p/beast-mcmc/>
118
119 BEAST arguments:
120 -verbose "Give verbose XML parsing messages"
121 -warnings "Show warning messages about BEAST XML file"
122 -strict "Fail on non-conforming BEAST XML file"
123 -window "Provide a console window"
124 -options "Display an options dialog"
125 -working "Change working directory to input file's directory"
126 -seed "Specify a random number generator seed"
127 -prefix "PREFIX", "Specify a prefix for all output log filenames"
128 -overwrite "Allow overwriting of log files"
129 -errors "Specify maximum number of numerical errors before stopping"
130 -threads "The number of computational threads to use (default auto)"
131 -java "Use Java only, no native implementations"
132 -threshold "Full evaluation test threshold (default 0.1)"
133 -beagle "Use BEAGLE library if available (default on)"
134 -beagle_off "Don't use BEAGLE library"
135 -beagle_info "BEAGLE: show information on available resources"
136 -beagle_auto "BEAGLE: automatically select fastest resource for analysis"
137 -beagle_order "BEAGLE: set order of resource use"
138 -beagle_instances "BEAGLE: divide site patterns amongst instances"
139 -beagle_CPU "BEAGLE: use CPU instance"
140 -beagle_GPU "BEAGLE: use GPU instance if available"
141 -beagle_SSE "BEAGLE: use SSE extensions if available"
142 -beagle_SSE_off "BEAGLE: turn off use of SSE extensions"
143 -beagle_cuda "BEAGLE: use CUDA parallization if available"
144 -beagle_opencl "BEAGLE: use OpenCL parallization if available"
145 -beagle_single "BEAGLE: use single precision if available"
146 -beagle_double "BEAGLE: use double precision if available"
147 -beagle_async "BEAGLE: use asynchronous kernels if available"
148 -beagle_scaling "BEAGLE: specify scaling scheme to use"
149 -beagle_rescale "BEAGLE: frequency of rescaling (dynamic scaling only)"
150 -mc3_chains "number of chains"
151 -mc3_delta "temperature increment parameter"
152 -mc3_temperatures "a comma-separated list of the hot chain temperatures"
153 -mc3_swap "frequency at which chains temperatures will be swapped"
154 -load_dump "Specify a filename to load a dumped state from"
155 -dump_state "Specify a state at which to write a dump file"
156 -dump_every "Specify a frequency to write a dump file"
157 -version "Print the version and credits and stop"
158 -help" "Print this information and stop"
159
160 For example:
161
162 java -jar lib/beast.jar -seed 12345 -overwrite input.xml
163
164
165 Note: MCMC is not a black-box, and poor prior choices and starting values
166 can affect inference, publication probability and career outcomes.
167
168 ___________________________________________________________________________
169 5) ANALYZING RESULTS
170
171 We have produced a powerful graphical program for analysing MCMC log files
172 (it can also analyse output from MrBayes and other MCMCs). This is called
173 'Tracer' and is available from the Tracer web site:
174
175 <http://tree.bio.ed.ac.uk/software/tracer>
176
177 We have now included the "loganalyser" program again in order to analyse
178 log and tree files without the need for tracer.
179
180 Additionally, two new programs are distributed as part of the BEAST
181 package: LogCombiner & TreeAnnotator. LogCombiner can combine log or tree
182 files from multiple runs of BEAST into a single combined results file
183 (after removing appropriate burn-ins). TreeAnnotator can summarize a sample
184 of trees from BEAST using a single target tree, annotating it with
185 posterior probabilities, HPD node heights and rates. This tree can then be
186 viewed in a new program called 'FigTree' which is available from:
187
188 <http://tree.bio.ed.ac.uk/software/figtree>
189
190 ___________________________________________________________________________
191 6) NATIVE LIBRARIES
192
193 BEAST uses the BEAGLE library to provide fast, native, likelihood
194 calculations. This library is distributed independently and should
195 be installed prior to using BEAST.
196
197 BEAGLE can be downloaded from here:
198 <https://github.com/beagle-dev/beagle-lib>
199
200 Further information about using BEAGLE with BEAST can be found here:
201 <http://beast.community/beagle>
202
203 ___________________________________________________________________________
204 7) SUPPORT & LINKS
205
206 BEAST is an extremely complex program and as such will inevitably have
207 bugs. Please email us to discuss any problems:
208
209 <[email protected]>
210 <[email protected]>
211 <[email protected]>
212
213 We would encourage you to join the BEAST users' mailing-list to get
214 notifications of updates and bugs. At a later date this may be expanded to
215 be a discussion-list so that users can exchange ideas and help. You can
216 join the mailing list here:
217
218 <http://groups.google.com/group/beast-users>
219
220 The website for beast is here:
221
222 <http://beast.community/>
223
224 Source code distributed under the GNU Lesser General Public License:
225
226 <https://github.com/beast-dev/beast-mcmc/>
227
228 ___________________________________________________________________________
229 8) ACKNOWLEDGMENTS
230
231 Thanks to the following for supplying code or assisting with the creation
232 or testing of BEAST (this is a woefully incomplete list - apologies to the
233 inadvertently absent names):
234
235 Alex Alekseyenko, Daniel Ayres, Guy Baele, Trevor Bedford, Peter Beerli,
236 Filip Bielejec, Erik Bloomquist, Aaron Darling, Gytis Dudas, Roald Forsberg,
237 Matthew Hall, Jess Hedge, Joseph Heled, Simon Ho, Sebastian Hoehna, Mark Holder,
238 Denise Kuehnert, Philippe Lemey, Paul Lewis, Wai Lok Sibon Li, Gerton Lunter,
239 Sam Lycett, Sidney Markowitz, Vladimir Minin, Michael Defoin Platel,
240 Oliver Pybus, Tulio de Oliveira, Jayna Ragwani, Beth Shapiro,
241 Korbinian Strimmer, David Swofford, Chieh-Hsi Wu, Walter Xie, Ziheng Yang