pub struct Reader { /* fields omitted */ }
Expand description
A Tabix file reader.
This struct and its associated functions are meant for reading plain-text tabix indexed
by tabix
.
Note that the tabix
command from htslib
can actually several more things, including
building indices and converting BCF to VCF text output. Both is out of scope here.
Create a new Reader from path.
Get sequence/target ID from sequence name.
Fetch region given by numeric sequence number and 0-based begin and end position.
Return the sequence contig names.
Activate multi-threaded BGZF read support in htslib. This should permit faster
reading of large BGZF files.
n_threads
- number of extra background reader threads to use
Formats the value using the given formatter. Read more
Executes the destructor for this type. Read more
Read next line into the given Vec<u8>
(i.e., ASCII string). Read more
Iterator over the lines/records of the seeked region. Read more
Return the text headers, split by line.
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.