Struct rust_htslib::bcf::synced::SyncedReader[][src]

pub struct SyncedReader { /* fields omitted */ }
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 (0 if end of all files is reached).

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

Performs the conversion.

Performs the conversion.

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.