I'm trying to run a model using the multi-type Birth-Death model combined with the a Sainudiin substitution model based on VNTR data. I wouldn't think there would be any serious problems, however I encountered a fatal error when running this on Beast 2.4.1.
java.lang.ArrayIndexOutOfBoundsException: 0
at org.ejml.data.DenseMatrix64F.<init>(DenseMatrix64F.java:97)
at beast.evolution.substitutionmodel.EJMLEigenSystem.decomposeMatrix(Unknown Source)
at beast.evolution.substitutionmodel.Sainudiin.getEigenDecomposition(Unknown Source)
at beast.evolution.likelihood.BeagleTreeLikelihood.setUpSubstModel(Unknown Source)
at beast.evolution.likelihood.BeagleTreeLikelihood.initialize(Unknown Source)
at beast.evolution.likelihood.BeagleTreeLikelihood.initAndValidate(Unknown Source)
at beast.core.BEASTInterface.initByName(Unknown Source)
at beast.evolution.likelihood.TreeLikelihood.initAndValidate(Unknown Source)
at beast.util.XMLParser.initBEASTObjects(Unknown Source)
at beast.util.XMLParser.parse(Unknown Source)
at beast.util.XMLParser.parseFile(Unknown Source)
at beast.app.BeastMCMC.parseArgs(Unknown Source)
at beast.app.beastapp.BeastMain.main(Unknown Source)
at beast.app.beastapp.BeastLauncher.main(Unknown Source)
TreeLikelihood(treeLikelihood.KZ-Brucella-VNTR-15-final_w_spatial_081417) uses BeerLikelihoodCore
Alignment(KZ-Brucella-VNTR-15-final_w_spatial_081417): [taxa, patterns, sites] = [264, 15, 15]
Type trait with the following types detected:
Animal (0)
Human (1)
===============================================================================
Citations for this model:
Bouckaert RR, Heled J, Kuehnert D, Vaughan TG, Wu C-H, Xie D, Suchard MA,
Rambaut A, Drummond AJ (2014) BEAST 2: A software platform for Bayesian
evolutionary analysis. PLoS Computational Biology 10(4): e1003537
Kuehnert D, Stadler T, Vaughan TG, Drummond AJ. 2016. Phylodynamics with migration:
A computational framework to quantify population structure from genomic data.
Mol Biol Evol. 33(8):2102–2116.
Timothy G. Vaughan, Denise Kuhnert, Alex Popinga, David Welch and
Alexei J. Drummond, 'Efficient Bayesian inference under the
structured coalescent', Bioinformatics 30:2272, 2014.
Raazesh Sainudiin et al. (2004) Microsatellite Mutation Models.
Genetics 168:383-395
Chieh-Hsi Wu and Alexei J. Drummond. (2011) Joint Inference of
Microsatellite Mutation Models, Population History and Genealogies
Using Transdimensional Markov Chain Monte Carlo.
Genetics 188:151-164
===============================================================================
Start likelihood: -Infinity after 10 initialisation attempts
P(posterior) = -Infinity (was -Infinity)
P(prior) = -Infinity (was -Infinity)
P(birthDeathMigration.t:KZ-Brucella-VNTR-15-final_w_spatial_081417) = -Infinity (was -Infinity)
P(RPrior.t:KZ-Brucella-VNTR-15-final_w_spatial_081417) = -3.7046244414474376 (was -3.7046244414474376)
P(a1Prior.s:KZ-Brucella-VNTR-15-final_w_spatial_081417) = 0.0 (was 0.0)
P(b0Prior.s:KZ-Brucella-VNTR-15-final_w_spatial_081417) = 0.0 (was 0.0)
P(b1Prior.s:KZ-Brucella-VNTR-15-final_w_spatial_081417) = 0.0 (was 0.0)
P(becomeUninfectiousRatePrior.t:KZ-Brucella-VNTR-15-final_w_spatial_081417) = -1.8378770664093453 (was -1.8378770664093453)
P(ClockPrior.c:KZ-Brucella-VNTR-15-final_w_spatial_081417) = 0.0 (was 0.0)
P(gPrior.s:KZ-Brucella-VNTR-15-final_w_spatial_081417) = 0.0 (was 0.0)
P(rateMatrixPrior.t:KZ-Brucella-VNTR-15-final_w_spatial_081417) = -0.20000000000000012 (was -0.20000000000000012)
P(samplingProportionPrior.t:KZ-Brucella-VNTR-15-final_w_spatial_081417) = 1.7763568394002497E-15 (was 1.7763568394002497E-15)
P(likelihood) = NaN (was NaN) **
P(treeLikelihood.KZ-Brucella-VNTR-15-final_w_spatial_081417) = NaN (was NaN) **
Fatal exception: Could not find a proper state to initialise. Perhaps try another seed.
java.lang.RuntimeException: Could not find a proper state to initialise. Perhaps try another seed.
at beast.core.MCMC.run(Unknown Source)
at beast.app.BeastMCMC.run(Unknown Source)
at beast.app.beastapp.BeastMain.<init>(Unknown Source)
at beast.app.beastapp.BeastMain.main(Unknown Source)
at beast.app.beastapp.BeastLauncher.main(Unknown Source)
Fatal exception: Could not find a proper state to initialise. Perhaps try another seed.
java.lang.RuntimeException: An error was encounted. Terminating BEAST
at beast.app.util.ErrorLogHandler.publish(Unknown Source)
at java.util.logging.Logger.log(Logger.java:738)
at java.util.logging.Logger.doLog(Logger.java:765)
at java.util.logging.Logger.log(Logger.java:788)
at java.util.logging.Logger.severe(Logger.java:1463)
at beast.app.beastapp.BeastMain.<init>(Unknown Source)
at beast.app.beastapp.BeastMain.main(Unknown Source)
at beast.app.beastapp.BeastLauncher.main(Unknown Source)
I am attaching the XML file to this post.