sam_itr_regarray

@param idx Index @param hdr Header @param regarray Array of ref:interval region specifiers @param regcount Number of items in regarray

Each @p regarray entry is parsed by hts_parse_reg(), and takes one of the following forms:

region | Outputs

REF: | All reads with RNAME REF REF:START | Reads with RNAME REF overlapping START to end of REF REF:-END | Reads with RNAME REF overlapping start of REF to END REF:START-END | Reads with RNAME REF overlapping START to END . | All reads from the start of the file | Unmapped reads at the end of the file (RNAME '*' in SAM)

The form REF: should be used when the reference name itself contains a colon.

The iterator will return all reads overlapping the given regions. If a read overlaps more than one region, it will only be returned once.

extern (C)
sam_itr_regarray
(
const(hts_idx_t)* idx
,,
char** regarray
,)

Meta