pub struct TruthAlignment {
pub contig: String,
pub position: u32,
pub is_forward: bool,
pub haplotype: usize,
pub fragment_length: u32,
pub n_errors: usize,
}Expand description
Truth alignment data for a single read, used to encode position information into the read name.
In paired-end mode both reads of a pair carry the same fragment_length
and haplotype.
Fields§
§contig: StringReference contig name.
position: u321-based reference start position.
is_forward: boolWhether the read is on the forward strand.
haplotype: usize0-based haplotype index.
fragment_length: u32Length in bases of the source fragment. When shorter than the read length, the remainder of the read is adapter (optionally N-padded).
n_errors: usizeNumber of sequencing errors introduced.
Trait Implementations§
Source§impl Clone for TruthAlignment
impl Clone for TruthAlignment
Source§fn clone(&self) -> TruthAlignment
fn clone(&self) -> TruthAlignment
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TruthAlignment
impl Debug for TruthAlignment
Source§impl PartialEq for TruthAlignment
impl PartialEq for TruthAlignment
impl Eq for TruthAlignment
impl StructuralPartialEq for TruthAlignment
Auto Trait Implementations§
impl Freeze for TruthAlignment
impl RefUnwindSafe for TruthAlignment
impl Send for TruthAlignment
impl Sync for TruthAlignment
impl Unpin for TruthAlignment
impl UnsafeUnpin for TruthAlignment
impl UnwindSafe for TruthAlignment
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.