Struct bio::io::fastq::Record
[−]
[src]
pub struct Record { /* fields omitted */ }
A FastQ record.
Methods
impl Record
[src]
pub fn new() -> Self
[src]
Create a new, empty FastQ record.
pub fn with_attrs(
id: &str,
desc: Option<&str>,
seq: TextSlice,
qual: &[u8]
) -> Self
[src]
id: &str,
desc: Option<&str>,
seq: TextSlice,
qual: &[u8]
) -> Self
Create a new FastQ record from given attributes.
pub fn is_empty(&self) -> bool
[src]
Check if record is empty.
pub fn check(&self) -> Result<(), &str>
[src]
Check validity of FastQ record.
pub fn id(&self) -> &str
[src]
Return the id of the record.
pub fn desc(&self) -> Option<&str>
[src]
Return descriptions if present.
pub fn seq(&self) -> TextSlice
[src]
Return the sequence of the record.
pub fn qual(&self) -> &[u8]
[src]
Return the base qualities of the record.
Trait Implementations
impl Debug for Record
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for Record
[src]
fn clone(&self) -> Record
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more