Hello!
I have been trying to experiment with running BEAST starting with a tree to accommodate thousands of samples, as explained in this tutorial: Approaches for analyzing large phylogenetic datasets.
I first tried using the provided SG-thorney.template and beastgen to generate an XML file with my nwk tree. This give me the following error:
Exception in thread "main" java.lang. NullPointerException
I was able to use beastgen and the exact code provided in the tutorial linked above to recreate the example XML file with a SARS-CoV-2 tree, but beastgen would not work with my XML or my tree. To see if the issue was with my file, I then attempted to run the example XML file on BEAST (I tried with both BEAST X v10.5.0-beta5 and the beast-mcmc release referenced in a previous post that seemed to have the same problem). Unfortunately, neither worked, and I received errors like the following:
Error in input BEAST XML file, 1K_SARS-CoV-2_SG-thorney.xml:
The '«thorneyTreeLikelihoods' element, with id, 'treeLikelihood', is incorrectly constructed.
The following was expected:
Exactly one ELEMENT of type MutationBranchMap REQUIRED
I did try to run an XML file (with my tree) I generated manually, and I got the same error when running BEAST. I was hoping someone would either know which BEAST release is most likely to work or whether I am using an incorrect version of the example SARS-CoV-2 XML file. I am happy to post more information or to try running the example XML file again to double check. Any suggestions would be wonderful! Thank you so much!
Clara M.
Feb 24, 2025 3:43:42 PM dr.app.beast.BeastMain <init>
SEVERE:
******
Error in input BEAST XML file, 1K_SARS-CoV-2_SG-thorney.xml:
The '<thorneyTreeLikelihood>' element, with id, 'treeLikelihood', is incorrectly constructed.
The following was expected:
Exactly one ELEMENT of type MutationBranchMap REQUIRED
******