pub struct FastaReader { /* private fields */ }
Expand description
Read a Fasta file and make the extracted information available
Implementations
Trait Implementations
sourceimpl<'a> SequenceRead<'a> for FastaReader
impl<'a> SequenceRead<'a> for FastaReader
sourcefn sequence_lengths(&'a self) -> Result<&'a [SequenceLength], Box<dyn Error>>
fn sequence_lengths(&'a self) -> Result<&'a [SequenceLength], Box<dyn Error>>
Return the names and lengths of the sequences (ideally in a stable order for reproducibility)
sourcefn nucleotides(&self, chr: &str) -> Result<Box<dyn Nucleotides>, Box<dyn Error>>
fn nucleotides(&self, chr: &str) -> Result<Box<dyn Nucleotides>, Box<dyn Error>>
Return pieces of the actual nucleotide sequence
Auto Trait Implementations
impl RefUnwindSafe for FastaReader
impl Send for FastaReader
impl Sync for FastaReader
impl Unpin for FastaReader
impl UnwindSafe for FastaReader
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more