You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Title basically is the question. I need a way to know where in the file the reader is. Ideally id want the file offset (in bytes) of the current record, as well as where that record "ends". I have not found a way of doing this with the high level record reader but I think I have found a way to do this with the lower level htslib module via the htslib::bgzf_utell function. With this function I do manage to get a buffer of the record's data out but I dont know how to decompress that buffer (if it is compressed that is, if it isn't I am getting garbage out).
The text was updated successfully, but these errors were encountered:
Title basically is the question. I need a way to know where in the file the reader is. Ideally id want the file offset (in bytes) of the current record, as well as where that record "ends". I have not found a way of doing this with the high level record reader but I think I have found a way to do this with the lower level htslib module via the
htslib::bgzf_utell
function. With this function I do manage to get a buffer of the record's data out but I dont know how to decompress that buffer (if it is compressed that is, if it isn't I am getting garbage out).The text was updated successfully, but these errors were encountered: