hts_idx_save

@param idx Index to be written @param fn Input BAM/BCF/etc filename, to which .bai/.csi/etc will be added @param fmt One of the HTS_FMT_* index formats @return 0 if successful, or negative if an error occurred.

extern (C)
int
hts_idx_save
(
const(hts_idx_t)* idx
,
const(char)* fn
,
int fmt
)

Meta