slow5tools icon indicating copy to clipboard operation
slow5tools copied to clipboard

Implicit requirement in `split` that the column specified with `--demux-rid` must occur before `--demux-code`

Open patbohn opened this issue 1 year ago • 1 comments

Hi Hasindu, thanks for this super useful tool! I'm currently demultiplexing a large dataset and am supplying custom demultiplexing data.

I noticed that when I have a tsv file where the --demux-code column is occurring before the --demux-id column, I get this error:

[bsum_parsehdr::ERROR] Invalid demux TSV header: missing '[my_column]'

I believe this is due to how the columns are searched. When I swap the columns in my tsv file the splitting works.

I think a more informative error message could help debugging this faster.

patbohn avatar Dec 20 '24 10:12 patbohn

Hello

Thanks for reporting this. It is a very good catch. We will fix this after the holidays, ideally to find the column irrespective of the order provide!

@sashajenner please take a note of this.

hasindu2008 avatar Dec 20 '24 10:12 hasindu2008