Struct rust_htslib::faidx::Reader [−][src]
pub struct Reader { /* fields omitted */ }
Expand description
A Fasta reader.
Implementations
Fetch the sequence as a byte array.
Arguments
name
- the name of the template sequence (e.g., “chr1”)begin
- the offset within the template sequence (starting with 0)end
- the end position to return (if smaller thanbegin
, the behavior is undefined).
Fetches the sequence and returns it as string.
Arguments
name
- the name of the template sequence (e.g., “chr1”)begin
- the offset within the template sequence (starting with 0)end
- the end position to return (if smaller thanbegin
, the behavior is undefined).
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Reader
impl UnwindSafe for Reader