pub struct ReadPair {
pub read1: SimulatedRead,
pub read2: Option<SimulatedRead>,
pub r1_truth: TruthAlignment,
pub r2_truth: Option<TruthAlignment>,
pub r1_cigar: Cigar,
pub r2_cigar: Option<Cigar>,
}Expand description
A simulated read pair (or single read for SE mode).
Fields§
§read1: SimulatedReadFirst read (always present).
read2: Option<SimulatedRead>Second read (present only for paired-end mode).
r1_truth: TruthAlignmentTruth alignment for R1.
r2_truth: Option<TruthAlignment>Truth alignment for R2 (present only for paired-end mode).
r1_cigar: CigarTruth CIGAR for R1, reflecting haplotype variants and adapter soft-clipping.
r2_cigar: Option<Cigar>Truth CIGAR for R2. None for single-end reads.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ReadPair
impl RefUnwindSafe for ReadPair
impl Send for ReadPair
impl Sync for ReadPair
impl Unpin for ReadPair
impl UnsafeUnpin for ReadPair
impl UnwindSafe for ReadPair
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