-
Notifications
You must be signed in to change notification settings - Fork 28
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
ValueError: max() iterable argument is empty #264
Comments
Hi,
It should not happen; we should pass the step if no spots are found. Thanks |
Hello, |
Hi, I was able to replicate the error and fixed it in #266. Thanks for pointing that out! The issue popped up because the pangenome doesn't have any spots. It turns out that your pangenome doesn’t have any persistent families, which is why no spots were detected. This happened because some of the GCA genomes used in the pangenome don’t have any CDS annotations (29 out of 75). You can see this clearly in the tile plot for example. Working with GenBank annotations in ppanggolin can be a bit tricky since the annotations can be pretty inconsistent across different genomes, which affects ppanggolin's predictions. One way to avoid this is to use the fasta sequence of genomes and let ppanggolin handle the annotations, or you could stick to using RefSeq genomes when building the pangenome. |
Hi, |
Hi, |
Hi,
I am experiencing an error: ValueError: max() iterable argument is empty.
Here is the complete log file.
consol.err.txt
Best,
The text was updated successfully, but these errors were encountered: