pub struct Alignment {
pub bwt_row: u64,
pub seed_offset: usize,
pub ref_start: usize,
pub ref_end: usize,
pub score: Score,
pub strand: Strand,
pub edits: usize,
pub cigar: String,
pub md: String,
pub edit_ops: Vec<EditOp>,
pub seed_hit_count: usize,
}Expand description
A single alignment result
Fields§
§bwt_row: u64BWT row position (unresolved genome coordinate)
seed_offset: usizeOffset of the seed within the read
ref_start: usizeStarting position in reference
ref_end: usizeEnding position in reference
score: ScoreAlignment score
strand: StrandStrand (forward or reverse)
edits: usizeNumber of edits (mismatches + indels)
cigar: StringCIGAR string
md: StringMD:Z tag (mismatch string)
edit_ops: Vec<EditOp>Edit operations
seed_hit_count: usizeNumber of genome positions the seed matched (lower = more unique)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Alignment
impl RefUnwindSafe for Alignment
impl Send for Alignment
impl Sync for Alignment
impl Unpin for Alignment
impl UnsafeUnpin for Alignment
impl UnwindSafe for Alignment
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