@param idx Index
@param hdr Header
@param reglist Array of regions to iterate over
@param regcount Number of items in reglist
Each @p reglist entry should have the reference name in the reg field, an
array of regions for that reference in intervals and the number of items
in intervals should be stored in count. No other fields need to be filled
in.
The iterator will return all reads overlapping the given regions. If a read
overlaps more than one region, it will only be returned once.
@param idx Index @param hdr Header @param reglist Array of regions to iterate over @param regcount Number of items in reglist
Each @p reglist entry should have the reference name in the reg field, an array of regions for that reference in intervals and the number of items in intervals should be stored in count. No other fields need to be filled in.
The iterator will return all reads overlapping the given regions. If a read overlaps more than one region, it will only be returned once.