Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There are more groups than coalescent nodes in the tree #23

Closed
richelbilderbeek opened this issue Mar 8, 2018 · 3 comments
Closed

There are more groups than coalescent nodes in the tree #23

richelbilderbeek opened this issue Mar 8, 2018 · 3 comments
Milestone

Comments

@richelbilderbeek
Copy link
Member

validate and intialize error: There are more groups than coalescent nodes in the tree.

Error detected about here:
  <beast>
      <run id='mcmc' spec='MCMC'>
          <distribution id='posterior' spec='util.CompoundDistribution'>
              <distribution id='prior' spec='util.CompoundDistribution'>
                  <distribution id='BayesianSkyline.t:anthus_aco_sub' spec='BayesianSkyline'>

bad.txt

@richelbilderbeek
Copy link
Member Author

This is an older error, it can be solved somehow in the Initialization tab in BEAUti

@richelbilderbeek
Copy link
Member Author

Here, dimensions should be more than 5, as there are 5 taxa:

2018-03-08-115819_1920x1080_scrot

@richelbilderbeek richelbilderbeek changed the title There are more groups than coalescent nodes in the tree. There are more groups than coalescent nodes in the tree Mar 8, 2018
@richelbilderbeek
Copy link
Member Author

Fails:

bad.txt

Fixed:

bad_fixed.txt

Diff:

richel@winloos:~$ diff bad_again.xml bad_fixed.xml 
42c42
<         <stateNode id="bGroupSizes.t:anthus_aco_sub" spec="parameter.IntegerParameter" dimension="5">1</stateNode>
---
>         <stateNode id="bGroupSizes.t:anthus_aco_sub" spec="parameter.IntegerParameter" dimension="4">1</stateNode>

So, bGroupSizes's dimension must be n_taxa - 1?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant