% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/duckhts.R
\name{rduckhts_hts_header}
\alias{rduckhts_hts_header}
\title{Read HTS Header Metadata}
\usage{
rduckhts_hts_header(con, path, format = NULL, mode = NULL)
}
\arguments{
\item{con}{A DuckDB connection with DuckHTS loaded}

\item{path}{Path to input HTS file}

\item{format}{Optional format hint (e.g., "auto", "vcf", "bcf", "bam", "cram", "tabix")}

\item{mode}{Header output mode: "parsed" (default), "raw", or "both"}
}
\value{
A data frame with parsed header metadata.
}
\description{
Reads file header records from HTS-supported formats using the DuckHTS extension.
}
