-
Notifications
You must be signed in to change notification settings - Fork 29
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
taxonkit lca gives error `[ERRO] bufio.Scanner: token too long' sometimes #75
Comments
It's due to some long rows, similar to shenwei356/seqkit#214. |
Hi Taylor, thanks for reporting this. I've just increased the default size of the line buffer from 4096 to 1M. It works now. If the error still occurs, you can use a bigger buffer size:
|
thank you so much @shenwei356! I've tried this on both Mac and Linux and it solved the problem. Thank you!!!!! |
Please don't hesitate to let me know if you encounter any additional problems. |
Prerequisites
taxonkit version
: I'm usingtaxonkit v0.14.1
(installed via conda)Describe your issue
taxonkit lca
gives error[ERRO] bufio.Scanner: token too long
on some files. I ran this command on 64k of these files, and it gave this error for 71 of them. I've attached one file below.test.txt: A TSV-formatted input file
The text was updated successfully, but these errors were encountered: