Trait fasten::io::seq::Cleanable[][src]

pub trait Cleanable {
    fn new(id: &String, seq: &String, qual: &String) -> Seq;
fn blank() -> Seq;
fn is_blank(&self) -> bool;
fn from_string(seq_str: &String) -> Seq;
fn sanitize_id(id: &String) -> String;
fn lower_ambiguity_q(&mut self);
fn trim(&mut self);
fn is_high_quality(&mut self) -> bool;
fn to_string(&self) -> String;
fn print(&self); }
Expand description

A sequence that can be cleaned

Required methods

new sequence object

Make a blank sequence object.

Determine if it is a blank sequence.

Make a seq object from a String.

sanitize an identifier string

lower any low quality base to a zero and “N”

Trim sequences based on quality

Reports bool whether the read passes thresholds.

Make a String object

Print the result of to_string()

Implementors