[−][src]Struct rust_htslib::bcf::synced::SyncedReader   
A wrapper for bcf_srs_t; allows joint traversal of multiple VCF and/or BCF files.
Implementations
impl SyncedReader[src]
pub fn new() -> Result<Self>[src]
pub fn set_require_index(&mut self, do_require: bool)[src]
Enable or disable requiring of index
pub fn set_pairing(&mut self, bitmask: u32)[src]
Set the given bitmask of values from sr_pairing module.
pub fn add_reader<P: AsRef<Path>>(&mut self, path: P) -> Result<()>[src]
Add new reader with the path to the file.
pub fn remove_reader(&mut self, idx: u32)[src]
Remove reader with the given index.
pub fn reader_count(&self) -> u32[src]
Return number of open files/readers.
pub fn read_next(&mut self) -> Result<u32>[src]
Read next line and return number of readers that have the given line (0 if end of all files is reached).
pub fn has_line(&self, idx: u32) -> bool[src]
Return whether the given reader has the line.
pub fn record(&self, idx: u32) -> Option<Record>[src]
Return record from the given reader, if any.
pub fn header(&self, idx: u32) -> &HeaderView[src]
Return header from the given reader.
pub fn fetch(&mut self, rid: u32, start: u64, end: u64) -> Result<()>[src]
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 start coordinate of region on reference.end-0-based end coordinate of region on reference.
Trait Implementations
impl Debug for SyncedReader[src]
impl Drop for SyncedReader[src]
Auto Trait Implementations
impl !RefUnwindSafe for SyncedReader[src]
impl !Send for SyncedReader[src]
impl !Sync for SyncedReader[src]
impl Unpin for SyncedReader[src]
impl UnwindSafe for SyncedReader[src]
Blanket Implementations
impl<T> Any for T where
    T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
    T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
    T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
    U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
    U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, [src]
U: TryFrom<T>,