Function rust_htslib::htslib::bcf_index_build2 [] [src]

pub unsafe extern "C" fn bcf_index_build2(
    fn_: *const c_char,
    fnidx: *const c_char,
    min_shift: c_int
) -> c_int

bcf_index_build2() - Generate and save an index to a specific file @fn: Input VCF/BCF filename @fnidx: Output filename, or NULL to add .csi/.tbi to @fn @min_shift: Positive to generate CSI, or 0 to generate TBI

Returns 0 if successful, or negative if an error occurred.

List of error codes: -1 .. indexing failed -2 .. opening @fn failed -3 .. format not indexable -4 .. failed to create and/or save the index