| rduckhts_fasta | R Documentation |
Creates a DuckDB table from FASTA files using the DuckHTS extension.
rduckhts_fasta(
con,
table_name,
path,
region = NULL,
index_path = NULL,
gzi_path = NULL,
sequence_encoding = NULL,
scan_mode = NULL,
overwrite = FALSE
)
con |
A DuckDB connection with DuckHTS loaded |
table_name |
Name for the created table |
path |
Path to the FASTA file |
region |
Optional genomic region (e.g., "chr1:1000-2000" or "chr1:1-10,chr2:5-20") |
index_path |
Optional explicit path to FASTA index file (.fai) |
gzi_path |
Optional explicit BGZF FASTA block index path (.gzi) for bgzipped FASTA inputs when the sidecar is not colocated with the FASTA. |
sequence_encoding |
Character. Sequence encoding for the SEQUENCE column:
|
scan_mode |
Optional scan mode. Use |
overwrite |
Logical. If TRUE, overwrites existing table |
Invisible TRUE on success
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.