pub struct AlignmentRecord<'a> {
pub flag: i32,
pub chrom: Cow<'a, str>,
pub pos: i32,
pub mapq: i32,
pub cigar: Cow<'a, str>,
pub seq: Cow<'a, str>,
pub xa: Cow<'a, str>,
}Expand description
Unified representation of one alignment record used by Scan1 and Scan2.
Cow keeps the type flexible: BAM/SAM parsers can borrow transient slices or
promote data to owned strings when groups must outlive the parser buffer.
Fields§
§flag: i32§chrom: Cow<'a, str>§pos: i32§mapq: i32§cigar: Cow<'a, str>§seq: Cow<'a, str>§xa: Cow<'a, str>Raw BWA XA:Z payload retained for post-Summary segment selection.
Core CIRI3 parity logic ignores optional tags, but the segments sidecar needs mapper alternatives to avoid choosing a paralogous primary alignment when a confirmed circRNA-compatible placement is available.
Trait Implementations§
Source§impl<'a> Clone for AlignmentRecord<'a>
impl<'a> Clone for AlignmentRecord<'a>
Auto Trait Implementations§
impl<'a> Freeze for AlignmentRecord<'a>
impl<'a> RefUnwindSafe for AlignmentRecord<'a>
impl<'a> Send for AlignmentRecord<'a>
impl<'a> Sync for AlignmentRecord<'a>
impl<'a> Unpin for AlignmentRecord<'a>
impl<'a> UnsafeUnpin for AlignmentRecord<'a>
impl<'a> UnwindSafe for AlignmentRecord<'a>
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