Closed jagos01 closed 3 years ago
Hi @jagos01,
Thanks for the comprehensive bug report. I think that the problem arises from using --verbose
in your call to centrifuge
. It's adding debug lines in the output before the expected content of the file. So you can run again centrifuge
without that flag or, quicker, just remove all the lines in the output file before the table header:
readID seqID taxID score 2ndBestScore hitLength queryLength numMatches
...and try rextract
again.
Please let me know if any of these solutions solve your problem and feel free to reopen the issue if not. I will update the instructions on the wiki to recommend avoiding --verbose
when launching centrifuge
.
Thanks!
Hello @khyox, rextract works fine when the debug lines are removed. Thank you for your help. Scott
Bug report
Hello @khyox, This is the same error as post #22. I believe I am using the correct centrifuge file.
Bug summary
ZeroDivisionError: division by zero when using rextract with centrifuge output file.
Running Centrifuge/Recentrifuge
Command line - centrifuge
Command line - rextract
Data
Actual outcome
Expected outcome
Versions