pub struct IndexedReader { /* private fields */ }
Expand description

An indexed VCF/BCF reader.

Implementations§

Create a new IndexedReader from path.

Arguments
  • path - the path to open.

Create a new IndexedReader from an URL.

Jump to the given region.

Arguments
  • rid - numeric ID of the reference to jump to; use HeaderView::name2rid for resolving contig name to ID.
  • start - 0-based start coordinate of region on reference.
  • end - 0-based end coordinate of region on reference.

Trait Implementations§

Formats the value using the given formatter. Read more
Executes the destructor for this type. Read more
Read the next record. Read more
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§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.