| rduckhts_bam_index | R Documentation |
Builds a BAM or CRAM index using the DuckHTS extension.
rduckhts_bam_index(con, path, index_path = NULL, min_shift = 0, threads = 4)
con |
A DuckDB connection with DuckHTS loaded |
path |
Path to the input BAM or CRAM file |
index_path |
Optional explicit output path for the created index |
min_shift |
Index format selector used by htslib |
threads |
htslib indexing thread count |
A data frame with 'success', 'index_path', and 'index_format'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.