pub struct Seq {
pub id: String,
pub seq: String,
pub qual: String,
pub pairid: String,
pub thresholds: HashMap<String, f32>,
}
Expand description
A sequence struct that contains the ID, sequence, and quality cigar line
Fields§
§id: String
§seq: String
§qual: String
§pairid: String
§thresholds: HashMap<String, f32>
Trait Implementations§
source§impl Cleanable for Seq
impl Cleanable for Seq
source§fn from_string(seq_str: &String) -> Seq
fn from_string(seq_str: &String) -> Seq
Create a sequence object from a string. TODO make it more like the careful method than quick.
source§fn sanitize_id(id: &String) -> String
fn sanitize_id(id: &String) -> String
Read an identifier and return a cleaned version, e.g., removing @ in a fastq identifier.
source§fn lower_ambiguity_q(&mut self)
fn lower_ambiguity_q(&mut self)
Alter any ambiguity site with a quality=0
source§fn is_high_quality(&mut self) -> bool
fn is_high_quality(&mut self) -> bool
Reports bool whether the read passes thresholds.
Auto Trait Implementations§
impl RefUnwindSafe for Seq
impl Send for Seq
impl Sync for Seq
impl Unpin for Seq
impl UnwindSafe for Seq
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more