| rduckhts_bam_multi | R Documentation |
Read and combine multiple BAM/SAM files via UNION ALL BY NAME,
materialising the result as a DuckDB table.
Each row includes a filename column identifying its source file.
rduckhts_bam_multi(
con,
table_name,
files,
region = NULL,
index_path = NULL,
reference = NULL,
standard_tags = FALSE,
auxiliary_tags = FALSE,
sequence_encoding = NULL,
quality_representation = NULL,
cigar_representation = NULL,
scan_mode = NULL,
decompression_threads = 2,
.params = NULL,
overwrite = FALSE
)
con |
A DBI connection to DuckDB with the duckhts extension loaded. |
table_name |
Name of the DuckDB table to create. |
files |
Character vector of file paths or glob patterns. |
region |
Optional region string (e.g. |
index_path |
Optional index file path. |
reference |
Optional reference FASTA path (for CRAM). |
standard_tags |
Logical; include standard SAM tag columns. |
auxiliary_tags |
Logical; include auxiliary tag map column. |
sequence_encoding |
Optional sequence encoding (e.g. |
quality_representation |
Optional quality representation. |
cigar_representation |
Optional CIGAR representation; use
|
scan_mode |
Optional scan mode ( |
decompression_threads |
Integer. Number of htslib decompression worker
threads per file handle. Default |
.params |
Optional data.frame with per-file parameter overrides.
Must contain a |
overwrite |
Logical; if |
Invisible TRUE on success.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.