Hi,
I'm running into a problem generating site-likelihoods for 2 trees for input into CONSEL, where the likelihoods generated by -f G are very different even though the initial likelihoods when I generated the trees were very similar. To explain more carefully, first I generated an unconstrained tree:
raxmlHPC-PTHREADS-SSE3 -p 12345 -s fastas/CNAG_03465.fa -n CNAG_03465 -m GTRGAMMA
In the resulting RAxML info file it says:
Final GAMMA-based Score of best tree -3469.405072
Then a build a constrained tree like so:
raxmlHPC-PTHREADS-SSE3 -p 12345 -s fastas/CNAG_03465.fa -n CNAG_03465_contraint -m GTRGAMMA -g crypto_387_wref_constraints.nwk
The info file says:
Final GAMMA-based Score of best tree -3480.234513
However, when I cat the two trees together and run raxml like so:
cat RAxML_bestTree.CNAG_03465 RAxML_bestTree.CNAG_03465_contraint > CNAG_03465.tree_plus_constrained_tree.nwk
raxmlHPC-PTHREADS-SSE3 -p 12345 -f G -s fastas/CNAG_03465.fa -n CNAG_03465.tree_plus_contrained_tree_G -m GTRGAMMA -z CNAG_03465.tree_plus_constrained_tree.nwk
The info file says:
Found 2 trees in File CNAG_03465.tree_plus_constrained_tree.nwk
Tree 0: -3469.406815
Tree 1: -4020.782508
Can anyone tell me why tree1 -4020 and not -3480?
This was all done with version 8.2.4. I tried to replicate it with another version I had installed, 7.7.8, but -f G crashed with the following error while calculating the tree1 likelihood:
raxmlHPC-PTHREADS-SSE3: optimizeModel.c:2884: modOpt: Assertion `inputLikelihood == tr->likelihood' failed.
Aborted (core dumped)
One last note is that the dataset is for a single gene and does contain identical sequences, I don't know if that could affect things. However, I really need to leave them in because I know some of the conflict that I'm looking for is caused by these sequences being forced apart in the constrained tree.
Thanks for reading and any advice,
Chris