pub fn build<P: AsRef<Path>>( bam_path: P, idx_path: Option<P>, idx_type: Type, n_threads: u32, ) -> Result<()>
Build a BAM index.