Closed joshuak94 closed 2 years ago
@Irallia The goal is to have a function which returns a "seqan-like" vector of sam_record objects, so that I could do something like this:
auto records_vector = bamit::get_overlap_records(input, index, start, end) uint32_t avg_read_depth = records_vector.size() / (end - start);
At the moment I was only returning the file position, so the user would have to parse the records themself. This just makes it a bit easier.
@Irallia The goal is to have a function which returns a "seqan-like" vector of sam_record objects, so that I could do something like this:
At the moment I was only returning the file position, so the user would have to parse the records themself. This just makes it a bit easier.