bio::io::fasta
pub struct Reader<R: Read> { /* fields omitted */ }
A FASTA reader.
impl Reader<File>
fn from_file<P: AsRef<Path>>(path: P) -> Result<Self>
Read FASTA from given file path.
impl<R: Read> Reader<R>
fn new(reader: R) -> Self
Create a new Fasta reader given an instance of io::Read.
io::Read
fn read(&mut self, record: &mut Record) -> Result<()>
Read next FASTA record into the given Record.
Record
fn records(self) -> Records<R>
Return an iterator over the records of this FastQ file.