Function rust_htslib::htslib::bcf_sr_set_samples [] [src]

pub unsafe extern "C" fn bcf_sr_set_samples(
    readers: *mut bcf_srs_t,
    samples: *const c_char,
    is_file: c_int
) -> c_int

bcf_sr_set_samples() - sets active samples @readers: holder of the open readers @samples: this can be one of: file name with one sample per line; or column-separated list of samples; or '-' for a list of samples shared by all files. If first character is the exclamation mark, all but the listed samples are included. @is_file: 0: list of samples; 1: file with sample names

Returns 1 if the call succeeded, or 0 on error.