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

pub struct Reader { /* fields omitted */ }

A BAM reader.

Methods

impl Reader
[src]

[src]

Create a new Reader from path.

Arguments

  • path - the path to open.

[src]

Create a new Reader from STDIN.

[src]

Create a new Reader from URL.

Trait Implementations

impl Send for Reader
[src]

impl Read for Reader
[src]

[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

[src]

Iterator over the records of the fetched 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.

[src]

Iterator over pileups.

[src]

Return the BGZF struct

[src]

Return the header.

[src]

Seek to the given virtual offset in the file

[src]

Report the current virtual offset

impl Drop for Reader
[src]

[src]

Executes the destructor for this type. Read more