% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/duckhts.R
\name{rduckhts_tabix_index}
\alias{rduckhts_tabix_index}
\title{Build Tabix Index}
\usage{
rduckhts_tabix_index(
  con,
  path,
  preset = "vcf",
  index_path = NULL,
  min_shift = 0,
  threads = 4,
  seq_col = NULL,
  start_col = NULL,
  end_col = NULL,
  comment_char = NULL,
  skip_lines = NULL
)
}
\arguments{
\item{con}{A DuckDB connection with DuckHTS loaded}

\item{path}{Path to the BGZF-compressed input file}

\item{preset}{Optional preset such as `"vcf"`, `"bed"`, `"gff"`, or `"sam"`}

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

\item{min_shift}{Index format selector used by htslib}

\item{threads}{htslib indexing thread count}

\item{seq_col, start_col, end_col}{Optional explicit tabix coordinate columns}

\item{comment_char}{Optional tabix comment/header prefix}

\item{skip_lines}{Optional fixed number of header lines to skip}
}
\value{
A data frame with `success`, `index_path`, and `index_format`
}
\description{
Builds a tabix index for a BGZF-compressed text file using the DuckHTS extension.
}
