% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/duckhts.R
\name{rduckhts_fasta_nuc}
\alias{rduckhts_fasta_nuc}
\title{Compute FASTA Interval Nucleotide Composition}
\usage{
rduckhts_fasta_nuc(
  con,
  path,
  bed_path = NULL,
  bin_width = NULL,
  region = NULL,
  index_path = NULL,
  bed_index_path = NULL,
  include_seq = FALSE
)
}
\arguments{
\item{con}{A DuckDB connection with DuckHTS loaded}

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

\item{bed_path}{Optional BED path. Supply exactly one of `bed_path` or `bin_width`.}

\item{bin_width}{Optional fixed bin width in base pairs}

\item{region}{Optional FASTA region filter}

\item{index_path}{Optional explicit FASTA index path}

\item{bed_index_path}{Optional explicit BED tabix index path}

\item{include_seq}{Include the fetched interval sequence}
}
\value{
A data frame with interval composition statistics
}
\description{
Computes bedtools nuc-style nucleotide composition over either a BED file or
generated fixed-width bins.
}
