jenniferlu717/KrakenTools

error with "combine_mpa.py" script when combining mpa report with header

weiweiziyan opened this issue · 2 comments

Hi,
combine_mpa.py was very useful when I combine the mpa reports without header.

But when I chose to add the header to the mpa report(--display-header), an error was reported (as below). How should I solve it?

Traceback (most recent call last):
File "combine_mpa.py", line 142, in
main()
File "combine_mpa.py", line 83, in main
[classification, val] = line.strip().split('\t')
ValueError: not enough values to unpack (expected 2, got 1)

Can you post the header for the mpa report file?

Can you post the header for the mpa report file?

Thank you!The header is as following
1