Skip to main content

Crate rsomics_tabix

Crate rsomics_tabix 

Source

Structs§

Config
htslib tbx_conf_t: the column layout and parsing rules used to derive each line’s index interval. The four named presets are the upstream constants (tbx_conf_gff/bed/sam/vcf in tbx.c); a custom layout via -s/-b/-e is the TBX_GENERIC path.

Enums§

IndexKind
Which on-disk index format to write.
Preset
htslib’s named presets (-p). Each fixes the column layout, comment character, and coordinate base; Generic carries explicit columns set with -s/-b/-e.

Functions§

index_file
Build and write an index for a bgzipped tab-delimited file.
list_chromosomes
Print the reference-sequence names recorded in the index, in stored order (htslib tabix -l).
query_regions
Print every record overlapping any of regions to out, in the order htslib tabix emits them (region order; sorted within a region by file offset). The column layout comes from the index header, so this works regardless of which tool built the index.