-
Notifications
You must be signed in to change notification settings - Fork 6
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
Mismatch between tree and fasta internal node labels #16
Comments
I can confirm this behavior. |
I think this may be a problem with PRANK's fallback inference when the As a really, really hacky workaround, first enable debug logging so you know whether
You'll probably start to see something like:
Then this patch should get the
This works for me with BPPSuite v. 2.4.0. If all goes well you should see:
I'll try to put a PR together if I can track down what's wrong with the "approximate" reconstruction code. |
Dear PRANK developers,
As the title indicates I am experiencing that there is a mismatch of the labels between the tree and fasta file containing the ancestral sequences. The following picture shows this nicely:

These are the raw output files from prank the only thing I did was to replace “#” flanking the internal node labels with “A” so the tree could be viewed in FigTree. Notice “seq8” which is in 1e-04 distance to A21A (originally #21#) and clearly a sampled ancestor, but searching for seq8‘s sequence reveals that it is not identical to A21A as expected. What triggers me to think that the labels are shuffled is that another ancestor, A18A, is in identical to seq8 - and that this is reoccurring for similar examples.
I have tried both version v.170427 and v.150803 with the same result. Here is the command I used to run PRANK:
prank -d=sequences.fasta -o=test -quiet -showtree -showanc -showevents -DNA -f=fasta
cat sequences.best.anc.dnd | tr '#' 'A' > sequences.best.anc.dnd.tree
<-- To enable view in FigTreeHere are the input sequences:
sequences.fasta.zip
The text was updated successfully, but these errors were encountered: