[][src]Module bio::io::fastq

FastQ reading and writing.

Example

use std::io;
use bio::io::fastq;
let reader = fastq::Reader::new(io::stdin());
let records = reader.records().map(|r| r.unwrap());
for record in records {
    let check = record.check();
    if check.is_err() {
        panic!("I got a rubbish record!")
    }
    // your record is ok - do something with it...
}

Structs

Reader

A FastQ reader.

Record

A FastQ record.

Records

An iterator over the records of a FastQ file.

Writer

A FastQ writer.

Traits

FastqRead

Trait for FastQ readers.