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

Newick parser error - "Couldnt find tip for seq1" ? #9

Open
tseemann opened this issue Oct 10, 2019 · 2 comments
Open

Newick parser error - "Couldnt find tip for seq1" ? #9

tseemann opened this issue Oct 10, 2019 · 2 comments

Comments

@tseemann
Copy link

$ cat test.fa
>seq1
ATCT
>seq2
ATCG
>seq3
ATAT

 $ cat test.nw
(seq1:0.1,(seq2:0.7,seq3:0.8));

Reading sequences from test.fa ... Read 3 sequences
First sequence is:seq1
Last  sequence is:seq3
Reading tree from test.nw ... Read tree with 2 tips
2       tip names have matching sequence names
0       tip names do not have matching sequence names
2       sequence names have matching tip names
1       sequence names do not have matching tip names
Couldnt find tip for seq1

@schultzm
Copy link

@tseemann If you add a branch length for the clade containing seq2 and seq3, the problem goes away. That is, it will work if you change your tree to something like (seq1:0.1,(seq2:0.7,seq3:0.8):3.0);

@tseemann
Copy link
Author

@schultzm thanks! so the error is misleading. parser issues. i will patch my tests.

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

2 participants