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

AssertionError: Please specify #42

Open
hyyuu opened this issue Jul 10, 2023 · 1 comment
Open

AssertionError: Please specify #42

hyyuu opened this issue Jul 10, 2023 · 1 comment

Comments

@hyyuu
Copy link

hyyuu commented Jul 10, 2023

Hello,

Thank you for your program!
I encountered an error when I ran TWISST in a 10-taxon data set.

assert 4 <= len(branches) <= 8, "Please specify between 4 and 8 unique taxon names."
AssertionError: Please specify between 4 and 8 unique taxon names.

However, I have assigned all taxon into groups.
-g R Lasent -g Cep Liginc -g Hex Pedetontus_sp_ -g Cope Calsin -g B Trilon -g Out Rsan -g Oli Parsp_ -g The Ppol -g Per Porpru -g De Lvan
Could you please recommend how to solve this problem ? I have attached the tree file for your reference.
Thank you very much for your kind help !
405-set2-10t-all-root.txt

Best,
Alex

@simonhmartin
Copy link
Owner

Hi, in Twisst the term taxon is equivalent to group. Running with 10 groups would result in an almost infinite number of topologies. I recommend starting your first analysis with 4 or 5 groups, to keep the interpretation manageable.

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