Struct fastq::OwnedRecord
[−]
[src]
pub struct OwnedRecord { pub head: Vec<u8>, pub seq: Vec<u8>, pub sep: Option<Vec<u8>>, pub qual: Vec<u8>, }
A fastq record that ownes its data arrays.
Fields
head: Vec<u8>
seq: Vec<u8>
sep: Option<Vec<u8>>
qual: Vec<u8>
Trait Implementations
impl Debug for OwnedRecord
[src]
impl Record for OwnedRecord
[src]
fn head(&self) -> &[u8]
Return the id-line of the record as byte slice
fn seq(&self) -> &[u8]
Return the fastq sequence as byte slice
fn qual(&self) -> &[u8]
Return the quality of the bases as byte slice
fn write<W: Write>(&self, writer: &mut W) -> Result<usize>
Write the record to a writer
fn validate_dna(&self) -> bool
Return true if the sequence contains only A, C, T and G. Read more
fn validate_dnan(&self) -> bool
Return true if the sequence contains only A, C, T, G and N. Read more