Struct rust_htslib::bcf::IndexedReader [−][src]
pub struct IndexedReader { /* fields omitted */ }
Expand description
An indexed VCF/BCF reader.
Implementations
Jump to the given region.
Arguments
rid
- numeric ID of the reference to jump to; useHeaderView::name2rid
for resolving contig name to ID.start
-0
-based inclusive start coordinate of region on reference.end
- Optional0
-based inclusive end coordinate of region on reference. IfNone
is given, records are fetched fromstart
until the end of the contig.
Note
The entire contig can be fetched by setting start
to 0
and end
to None
.
Trait Implementations
Return an iterator over all records of the VCF/BCF file.
Activate multi-threaded BCF/VCF read support in htslib. This should permit faster reading of large VCF files. Read more
Return the header.
Return empty record. Can be reused multiple times.
Auto Trait Implementations
impl !RefUnwindSafe for IndexedReader
impl !Sync for IndexedReader
impl Unpin for IndexedReader
impl UnwindSafe for IndexedReader