Struct rust_htslib::bam::Reader [] [src]

pub struct Reader {
    pub header: HeaderView,
    // some fields omitted
}

A BAM reader.

Fields

Methods

impl Reader
[src]

Create a new Reader.

Arguments

  • path - the path. Use "-" for stdin.

Trait Implementations

impl Send for Reader
[src]

impl Read for Reader
[src]

Read next BAM record into given record. Use this method in combination with a single allocated record to avoid the reallocations occurring with the iterator. Read more

Iterator over the records of the seeked region. Note that, while being convenient, this is less efficient than pre-allocating a Record and reading into it with the read method, since every iteration involves the allocation of a new Record.

Iterator over pileups.

Return the BGZF struct

impl Drop for Reader
[src]

A method called when the value goes out of scope. Read more