Hi, all,
I think, I've posted this already, but I can't see it in the conversations... Sorry if it's a duplicate.
I try to run a xml file generated from the template from this tutorial:
http://beast.community/thorney_beastHere they use some coronavirus data. And so do I. When I use their data it goes well, but when I use mine - it throws an error "The initial model is invalid because state has a zero probability." (see below). I've read that it might be caused by too large tree. To rule that out I've tested the xml on a small tree (500 leaves). The error persists. Next up, I've read that the reason might be that my initial tree doesn't satisfy some constraints from the prior distributions of parameters. And I fail to find the parameters responsible for this error. However, I actually not convinced that these priors are necessarily wrong - after all, I use the coronavirus data tree, same as the authors of the tutorial, and I think that my tree should have roughly the same parameters as theirs (like branch lengths, dates, etc.), or I am wrong?
I'd much appreciate if someone explained me what's going on. I use BEASTv1.10.5pre_thorney (again, from the tutorial). I didn't manage to attach my xml file, so I'll put it on the google drive:
https://drive.google.com/drive/folders/16KAgwSpGgLOS5wanGprv-Mr3_iVsVSgq?usp=sharingThanks in advance!
Here is the full error:
Creating the MCMC chain:
chain length = 100000000
operator adaption = true
adaptation delayed for 1000000 steps
Jan 21, 2021 11:24:51 PM dr.app.beast.BeastMain <init>
SEVERE: Error running file: run_1.3.xml
Jan 21, 2021 11:24:51 PM dr.app.beast.BeastMain <init>
SEVERE: The initial model is invalid because state has a zero probability.
If the log likelihood of the tree is -Inf, this may be because the
initial, random tree is so large that it has an extremely bad
likelihood which is being rounded to zero.
Alternatively, it may be that the product of starting mutation rate
and tree height is extremely small or extremely large.
Finally, it may be that the initial state is incompatible with
one or more 'hard' constraints (on monophyly or bounds on parameter
values. This will result in Priors with zero probability.
The individual components of the posterior are as follows:
The initial posterior is zero:
CompoundLikelihood(compoundModel)=(
Gamma(clock.rate)=-4.3265,
Gamma(skygrid.precision)=-4.6139,
GMRFSkygridLikelihood(gmrfSkyrideLikelihood[skygrid])=-517658.2807
Total = -517667.221054205
),
CompoundLikelihood(compoundModel)=(
ThorneyTreeLikelihood(thorneyTreeLikelihood[treeLikelihood])=-Inf
Total = -Infinity
)
Total = -Infinity
For more information go to <
http://beast.community>.