Struct bio::io::fasta::Reader [] [src]

pub struct Reader<R: Read> {
    // some fields omitted
}

A FASTA reader.

Methods

impl Reader<File>
[src]

fn from_file<P: AsRef<Path>>(path: P) -> Result<Self>

Read FASTA from given file path.

impl<R: Read> Reader<R>
[src]

fn new(reader: R) -> Self

Create a new Fasta reader given an instance of io::Read.

fn read(&mut self, record: &mut Record) -> Result<()>

Read next FASTA record into the given Record.

fn records(self) -> Records<R>

Return an iterator over the records of this FastQ file.