Hi all,
I've noticed a weird branching pattern in some of my trees. The trees are ultrametric, and it is as if some combinations of branch lengths are incompatible with this and so they are drawn "backwards". It's a little hard to describe so please see the "weird_branching" pic I've included.
I've seen this pattern both when making global clock and relaxed clock ultrametric trees, although it seems to happen more frequently in the relaxed clock (UCLN) trees. I've attached a sample script for each of those types of runs here.
To give a quick summary of my workflow: My characters consist of continuous data. For the global clock script, I draw ultrametric trees from dnBirthDeath, with priors on speciation and extinction. I then plug this tree into dnPhyloBrownianREML to calculate the likelihood. For the uncorrelated lognormal relaxed clock model, I also draw ultrametric trees from dnBirthDeath, but then also make a prior on branch rates for each branch. The tree and these branch rates are then funnelled into dnPhyloBrownianREML. Please let me know if there's anything I can clarify.
Initially, I had thought that there is perhaps something wrong with my prior in the relaxed clock script - maybe it is drawing internode distances that are in some way incompatible with dnBirthDeath or maybe dnPhyloBrownianREML. But now that it has happened in a script for a global clock tree I am no longer sure.
Has anyone seen this before? Does anyone know why this happens and how to fix it?
Thanks for your help!
Cheers,
Jasmine