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

A wrapper for bcf_srs_t; allows joint traversal of multiple VCF and/or BCF files.

Implementations§

Enable or disable requiring of index

Set the given bitmask of values from sr_pairing module.

Add new reader with the path to the file.

Remove reader with the given index.

Return number of open files/readers.

Read next line and return number of readers that have the given line.

Return whether the given reader has the line.

Return record from the given reader, if any.

Return header from the given reader.

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

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.