% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/duckhts.R
\name{rduckhts_bcf_index}
\alias{rduckhts_bcf_index}
\title{Build VCF or BCF Index}
\usage{
rduckhts_bcf_index(con, path, index_path = NULL, min_shift = NULL, threads = 4)
}
\arguments{
\item{con}{A DuckDB connection with DuckHTS loaded}

\item{path}{Path to the input VCF/BCF file}

\item{index_path}{Optional explicit output path for the created index}

\item{min_shift}{Optional explicit min_shift passed to htslib}

\item{threads}{htslib indexing thread count}
}
\value{
A data frame with `success`, `index_path`, and `index_format`
}
\description{
Builds a TBI or CSI index for a VCF/BCF file using the DuckHTS extension.
}
