% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/duckhts.R
\name{rduckhts_gtf}
\alias{rduckhts_gtf}
\title{Create GTF Table}
\usage{
rduckhts_gtf(
  con,
  table_name,
  path,
  region = NULL,
  index_path = NULL,
  header = NULL,
  header_names = NULL,
  auto_detect = NULL,
  column_types = NULL,
  scan_mode = NULL,
  attributes_map = FALSE,
  attributes_list = FALSE,
  attributes_pairs = FALSE,
  overwrite = FALSE
)
}
\arguments{
\item{con}{A DuckDB connection with DuckHTS loaded}

\item{table_name}{Name for the created table}

\item{path}{Path to the GTF file}

\item{region}{Optional genomic region (e.g., "chr1:1000-2000")}

\item{index_path}{Optional explicit path to index file (.tbi/.csi)}

\item{header}{Logical. If TRUE, use first non-meta line as column names}

\item{header_names}{Character vector to override column names}

\item{auto_detect}{Logical. If TRUE, infer basic numeric column types}

\item{column_types}{Character vector of column types (e.g. "BIGINT", "VARCHAR")}

\item{scan_mode}{Optional scan mode. Use \code{"auto"} (default extension
behavior) or \code{"sequential"} to force full-file streaming/counting
instead of index-backed count paths. Sequential mode is incompatible with
\code{region}.}

\item{attributes_map}{Logical. If TRUE, returns raw attributes as a scalar MAP column}

\item{attributes_list}{Logical. If TRUE, returns attributes as MAP(VARCHAR, VARCHAR[])}

\item{attributes_pairs}{Logical. If TRUE, returns attributes as a LIST of key/value/index structs}

\item{overwrite}{Logical. If TRUE, overwrites existing table}
}
\value{
Invisible TRUE on success
}
\description{
Creates a DuckDB table from GTF files using the DuckHTS extension.
}
