Dear Andrew et al.
I have finally tested my .xml file on beast 1.7.1 under BEAGLE and
unfortunately the problem remains. So apparently it is not an issue
with beast not demanding BEAGLE but rather something else. I ran some
test xml files and ancestral state reconstruction works ok but
whenever I select the 'State Change Count Reconstruction' option (i.e
using Markov Jumps) I get error messages and beast will not run (with
or without BEAGLE). Particularly, there seems to be a problem with an
'unexpected element in treeLikelihood:mtDNA.treeLikelihood:
dr.inference.model.Parameter$Default'. I have copied the output below
this message.
Any help or suggestions would be very much appreciated, because I am
particularly interested in estimating the number of state changes in
my discrete (binary) trait over the phylogenetic tree.
Many thanks!
Robin
-------beast output------------------------
Parsing XML file: traits.xml
File encoding: UTF8
Looking for plugins in /home/biosys/BEASTv1.7.1/bin/plugins
Read alignment: alignment1
Sequences = 84
Sites = 1475
Datatype = nucleotide
Read alignment: alignment2
Sequences = 84
Sites = 2366
Datatype = nucleotide
Site patterns 'mtDNA.patterns' created from positions 1-1475 of
alignment 'alignment1'
pattern count = 598
Site patterns 'nDNA.patterns' created from positions 1-2366 of
alignment 'alignment2'
pattern count = 677
Read attribute patterns, 'empirical.pattern' for attribute, e
Using Yule prior on tree
Creating the tree model, 'treeModel'
initial tree topology =
[random starting tree here]
tree height = 193.5373539368146
Using discretized relaxed clock model.
over sampling = 1
parametric model = logNormalDistributionModel
rate categories = 1
Using strict molecular clock model.
Creating state frequencies model 'frequencies': Initial frequencies =
{0.25, 0.25, 0.25, 0.25}
Creating site model:
4 category discrete gamma with initial shape = 0.5
initial proportion of invariant sites = 0.5
Unexpected element in treeLikelihood:mtDNA.treeLikelihood:
dr.inference.model.Parameter$Default
Using BEAGLE TreeLikelihood
Branch rate model used: discretizedBranchRates
Using BEAGLE resource 1: GeForce GTX 480
Global memory (MB): 1535
Clock speed (Ghz): 1.40
Number of cores: 480
with instance flags: PRECISION_DOUBLE COMPUTATION_SYNCH
EIGEN_REAL SCALING_MANUAL SCALERS_RAW VECTOR_NONE THREADING_NONE
PROCESSOR_GPU
Ignoring ambiguities in tree likelihood.
With 598 unique site patterns.
Using rescaling scheme : dynamic (rescaling every 10000 evaluations)
Unexpected element in treeLikelihood:nDNA.treeLikelihood:
dr.inference.model.Parameter$Default
Using BEAGLE TreeLikelihood
Branch rate model used: discretizedBranchRates
Using BEAGLE resource 1: GeForce GTX 480
Global memory (MB): 1535
Clock speed (Ghz): 1.40
Number of cores: 480
with instance flags: PRECISION_DOUBLE COMPUTATION_SYNCH
EIGEN_REAL SCALING_MANUAL SCALERS_RAW VECTOR_NONE THREADING_NONE
PROCESSOR_GPU
Ignoring ambiguities in tree likelihood.
With 677 unique site patterns.
Using rescaling scheme : dynamic (rescaling every 10000 evaluations)
Creating state frequencies model 'empirical.frequencies': Initial
frequencies = {0.5, 0.5}
General Substitution Model (stateCount=2)
Using BSSVS General Substitution Model
Creating site model.
Using BEAGLE TreeLikelihood
Branch rate model used: strictClockBranchRates
Using BEAGLE resource 1: GeForce GTX 480
Global memory (MB): 1535
Clock speed (Ghz): 1.40
Number of cores: 480
with instance flags: PRECISION_DOUBLE COMPUTATION_SYNCH
EIGEN_REAL SCALING_MANUAL SCALERS_RAW VECTOR_NONE THREADING_NONE
PROCESSOR_GPU
Ignoring ambiguities in tree likelihood.
With 1 unique site patterns.
Using rescaling scheme : dynamic (rescaling every 10000 evaluations)
Creating swap operator for parameter mtDNA.branchRates.categories
(weight=10.0)
Constructing a cache around likelihood 'null', signal =
empirical.rates
Creating the MCMC chain:
chainLength=10000
autoOptimize=true
autoOptimize delayed for 100 steps
# BEAST v1.7.1, r4860
# Generated Tue Apr 17 10:57:44 CEST 2012 [seed=1334653059044]
state Posterior Prior Likelihood rootHeight
mtDNA.ucld.mean empirical.clock.rate
0 -4355516.2224 -4311162.0787 -44354.1437
193.537 1.00000
1.00000 -
Exception in thread "Thread-2" java.lang.NullPointerException
at dr.evomodelxml.tree.TreeLoggerParser$2.getIntent(Unknown
Source)
at dr.evolution.tree.Tree$Utils.writeTreeTraits(Unknown Source)
at dr.evolution.tree.Tree$Utils.newick(Unknown Source)
at dr.evolution.tree.Tree$Utils.newick(Unknown Source)
at dr.evomodel.tree.TreeLogger.log(Unknown Source)
at dr.inference.mcmc.MCMC$1.currentState(Unknown Source)
at
dr.inference.markovchain.MarkovChain.fireCurrentModel(Unknown Source)
at dr.inference.markovchain.MarkovChain.runChain(Unknown
Source)
at dr.inference.mcmc.MCMC.chain(Unknown Source)
at dr.inference.mcmc.MCMC.run(Unknown Source)
at java.lang.Thread.run(Thread.java:636)
0.166 seconds