@param argv Char array of target:interval elements, e.g. chr1:2500-3600, chr1:5100, chr2
@param argc Number of items in the array
@param r_count Pointer to the number of items in the resulting region list
@param hdr Header for the sam/bam/cram file
@param getid Callback to convert target names to target ids.
@return A region list on success, NULL on failure
The hts_reglist_t struct returned by a successful call should be freed
via hts_reglist_free() when it is no longer needed.
@param argv Char array of target:interval elements, e.g. chr1:2500-3600, chr1:5100, chr2 @param argc Number of items in the array @param r_count Pointer to the number of items in the resulting region list @param hdr Header for the sam/bam/cram file @param getid Callback to convert target names to target ids. @return A region list on success, NULL on failure
The hts_reglist_t struct returned by a successful call should be freed via hts_reglist_free() when it is no longer needed.