Function rust_htslib::htslib::sam_index_build [] [src]

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

Generate and save an index file ** @param fn Input BAM/etc filename, to which .csi/etc will be added @param min_shift Positive to generate CSI, or 0 to generate BAI @return 0 if successful, or negative if an error occurred (usually -1; or -2: opening fn failed; -3: format not indexable; -4: failed to create and/or save the index) */