BEAST Classic, discrete mugration: java.lang.Error: randomChoiceUnnormalized falls through -- negative components in input distribution?

209 views
Skip to first unread message

Pavel Rinkman

unread,
Aug 25, 2023, 5:26:18 AM8/25/23
to beast-users

Hello, everyone

Please, I am asking for help from all those who have successfully used discrete phylogeography with BEAST Classic! 🙏

I am trying to run the discrete mugration model with BEAST Classic package following the tutorial. I did the model construction in BEAUTi word-by-word but got strange results. Actually, the results, trees & logs turned out normal, according to the tutorial. However, I caught the following in stderr:

Warning: removing transform class beast.base.inference.operator.kernel.Transform$LogConstrainedSumTransform because it should have at least 2 dimensions, but it has 0 Turning on scaling to prevent numeric instability 1.0201 … 0 NaN 1 NaN 2 NaN 3 NaN 4 NaN java.lang.Error: randomChoiceUnnormalized falls through -- negative components in input distribution? Please report error to Marc

You may find all files here

I see such the first time and do not understand the reason. Moreover, I have compared my XML with the example from the package GitHub repository and did not detect the difference, of course, besides new BEAST 2.7 default operators. I tried to run the example, but it falls with:

Error 1017 parsing the xml input file Class could not be found. Did you mean beast.base.inference.MCMC? Perhaps a package required for this class is not installed? Error detected about here: <beast> <run id='mcmc' spec='MCMC'>

May this error influence the results of real analyses? How to correct my XMLs to eradicate it? I feel that I am silly due to the fact that I could not successfully run a simple guide and do not understand the nature of these errors.

Best regards,
Pavel

Neo One

unread,
May 13, 2026, 2:14:45 PM (4 days ago) May 13
to beast-users
I'm facing similar issue, any solution?
Reply all
Reply to author
Forward
0 new messages