Function rust_htslib::htslib::sam_index_build2 [] [src]

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

Generate and save an index to a specific file ** @param fn Input BAM/CRAM/etc filename @param fnidx Output filename, or NULL to add .bai/.csi/etc to @a fn @param min_shift Positive to generate CSI, or 0 to generate BAI @return 0 if successful, or negative if an error occurred (see sam_index_build for error codes) */