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::name2ridfor 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. IfNoneis given, records are fetched fromstartuntil 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 IndexedReaderimpl !Sync for IndexedReaderimpl Unpin for IndexedReaderimpl UnwindSafe for IndexedReader