java.lang.RuntimeException: Cannot find taxon 1-78 in data

29 views
Skip to first unread message

Yanina Briñoccoli

unread,
Jun 19, 2024, 4:23:34 PM (12 days ago) Jun 19
to beast-users
Hi everyone,
I'm trying to run BEAST for the first time but I couldn't solve this error:


java.lang.RuntimeException: Cannot find taxon 1-78 in data
at beast.base.evolution.tree.MRCAPrior.initialise(Unknown Source)
at beast.base.evolution.tree.MRCAPrior.calculateLogP(Unknown Source)
at beast.base.inference.CompoundDistribution.calculateLogP(Unknown Source)
at beast.base.inference.CompoundDistribution.calculateLogP(Unknown Source)
at beast.base.inference.State.robustlyCalcPosterior(Unknown Source)
at beast.base.inference.MCMC.run(Unknown Source)
at beastfx.app.beast.BeastMCMC.run(Unknown Source)
at beastfx.app.beast.Controller$2.run(Unknown Source)


Thanks,
Yanina

Gaspary Eugene

unread,
Jun 19, 2024, 5:32:13 PM (12 days ago) Jun 19
to beast...@googlegroups.com
Hi,

can you check if the correct  sequence name "1-78"  in your fasta/nexus may contain  special characters? scan quickly for this taxon name and rectify in Aliview?

Gaspary

--
You received this message because you are subscribed to the Google Groups "beast-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beast-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beast-users/ec76dfc3-7d90-4bbb-ada7-c74ebcf946a5n%40googlegroups.com.

Gaspary Eugene

unread,
Jun 19, 2024, 5:32:14 PM (12 days ago) Jun 19
to beast...@googlegroups.com
Looks like your sequence data contains a taxon name 

<distribution id="Pop_1.prior" spec="beast.base.evolution.tree.MRCAPrior" monophyletic="true" tree="@Tree.nex-jun24">
                                    
                    <taxonset id="Pop_1" spec="TaxonSet">
                                            
                        <taxon id="1-78" spec="Taxon"/>

From your XML file,  it seems the taxon name is "Pop_1" but your alignment sequence contains "1-78" that do not match ......

Open the sequence data and correct the name choose "Pop_1" or "1-78" and recreate the xml file again and when you re-run make sure you modify the name of the xml or if you run on terminal you can include -overwrite options to continue the previous run and overwrite the existing log and tree files

Gaspary  

                                        

On Wed, Jun 19, 2024 at 10:23 PM Yanina Briñoccoli <ybrin...@gmail.com> wrote:
--

Yanina Briñoccoli

unread,
Jun 21, 2024, 2:45:38 PM (10 days ago) Jun 21
to beast-users
Thank you very much!
The mistake was that there is no sequence "1-78" as such, but that the alignment contained 78 individuals, in two populations "b" and "m".

In case it helps anyone else, the correction was:

<distribution id="Pop_1.prior" spec="beast.base.evolution.tree.MRCAPrior" monophyletic="true" tree="@Tree.nex-jun24">

  <taxonset id="Pop_1" spec="TaxonSet">

      <taxon idref="m"/>

      <taxon idref="b"/>

Reply all
Reply to author
Forward
0 new messages