% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/duckhts.R
\name{rduckhts_fasta_multi}
\alias{rduckhts_fasta_multi}
\title{Read multiple FASTA files into a DuckDB table}
\usage{
rduckhts_fasta_multi(
  con,
  table_name,
  files,
  region = NULL,
  index_path = NULL,
  gzi_path = NULL,
  sequence_encoding = NULL,
  scan_mode = NULL,
  .params = NULL,
  overwrite = FALSE
)
}
\arguments{
\item{con}{A DBI connection to DuckDB with the duckhts extension loaded.}

\item{table_name}{Name of the DuckDB table to create.}

\item{files}{Character vector of file paths or glob patterns.}

\item{region}{Optional region string.}

\item{index_path}{Optional index file path.}

\item{gzi_path}{Optional explicit BGZF FASTA block index path (.gzi).}

\item{sequence_encoding}{Optional sequence encoding.}

\item{scan_mode}{Optional scan mode (\code{"auto"} or \code{"sequential"}).}

\item{.params}{Optional data.frame with per-file parameter overrides.}

\item{overwrite}{Logical; if \code{TRUE}, replace an existing table.}
}
\value{
Invisible \code{TRUE} on success.
}
\description{
Read and combine multiple FASTA files via UNION ALL BY NAME,
materialising the result as a DuckDB table.
Each row includes a \code{filename} column identifying its source file.
}
