pub struct PafRecord {
pub query_name: String,
pub query_len: usize,
pub query_start: usize,
pub query_end: usize,
pub strand: char,
pub target_name: String,
pub target_len: usize,
pub target_start: usize,
pub target_end: usize,
pub matches: usize,
pub block_len: usize,
}Fields§
§query_name: String§query_len: usize§query_start: usize§query_end: usize§strand: char§target_name: String§target_len: usize§target_start: usize§target_end: usize§matches: usize§block_len: usizeImplementations§
Source§impl PafRecord
impl PafRecord
pub fn parse_line(line: &str) -> Result<Self>
pub fn calculate_identity(&self) -> f64
pub fn calculate_coverage(&self) -> f64
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PafRecord
impl RefUnwindSafe for PafRecord
impl Send for PafRecord
impl Sync for PafRecord
impl Unpin for PafRecord
impl UnwindSafe for PafRecord
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more