Struct rust_htslib::bcf::IndexedReader
[−]
[src]
pub struct IndexedReader { /* fields omitted */ }
An indexed VCF/BCF reader.
Methods
impl IndexedReader
[src]
pub fn from_path<P: AsRef<Path>>(
path: P
) -> Result<Self, IndexedReaderPathError>
[src]
path: P
) -> Result<Self, IndexedReaderPathError>
pub fn from_url(url: &Url) -> Result<Self, IndexedReaderError>
[src]
pub fn fetch(&mut self, rid: u32, beg: u32, end: u32) -> Result<(), FetchError>
[src]
Trait Implementations
impl Debug for IndexedReader
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Send for IndexedReader
[src]
impl Read for IndexedReader
[src]
fn read(&mut self, record: &mut Record) -> Result<(), ReadError>
[src]
Read the next record. Read more
ⓘImportant traits for Records<'a, R>fn records(&mut self) -> Records<Self>
[src]
ⓘImportant traits for Records<'a, R>
Return an iterator over all records of the VCF/BCF file.
fn set_threads(&mut self, n_threads: usize) -> Result<(), ThreadingError>
[src]
Activate multi-threaded BCF/VCF read support in htslib. This should permit faster reading of large VCF files. Read more
fn header(&self) -> &HeaderView
[src]
Return the header.
fn empty_record(&self) -> Record
[src]
Return empty record. Can be reused multiple times.