@param fn Input BAM/BCF/etc filename
@param fnidx The input index filename
@param flags Flags to alter behaviour (see description)
@return The index, or NULL if an error occurred.
@note This only works for BCF files. Consider synced_bcf_reader instead
which works for both BCF and VCF.
The @p flags parameter can be set to a combination of the following
values:
HTS_IDX_SAVE_REMOTE Save a local copy of any remote indexes
HTS_IDX_SILENT_FAIL Fail silently if the index is not present
Equivalent to hts_idx_load3(fn, fnidx, HTS_FMT_CSI, flags);
@param fn Input BAM/BCF/etc filename @param fnidx The input index filename @param flags Flags to alter behaviour (see description) @return The index, or NULL if an error occurred. @note This only works for BCF files. Consider synced_bcf_reader instead which works for both BCF and VCF.
The @p flags parameter can be set to a combination of the following values:
HTS_IDX_SAVE_REMOTE Save a local copy of any remote indexes HTS_IDX_SILENT_FAIL Fail silently if the index is not present
Equivalent to hts_idx_load3(fn, fnidx, HTS_FMT_CSI, flags);