slow5lib
slow5lib copied to clipboard
pyslow5: assign s5.header.num_read_groups to readable value
Currently there isn't a way to know the number of read_groups in a file without either monitoring read_group as you loop or doing a try/except on the get_all_headers(read_group=i) call.
I should create a static value within the API that stores the s5.header.num_read_groups value for the user to know this right after opening the file.
This was added in https://github.com/hasindu2008/slow5lib/commit/b729ad4b22541d4d87ee551e9ce84a2f0ab014c5