pub struct SimulatedRead {
pub name: String,
pub sequence: Vec<u8>,
pub quality: Vec<u8>,
pub true_position: u64,
pub true_chrom: String,
pub is_read1: bool,
}Expand description
A single simulated read with its true genomic origin.
Fields§
§name: StringRead name (e.g. “sim_read_0/1”).
sequence: Vec<u8>Nucleotide sequence (A, C, G, T) with introduced errors.
quality: Vec<u8>Phred+33 encoded quality scores.
true_position: u64True 0-based start position on the reference.
true_chrom: StringChromosome / contig name.
is_read1: boolWhether this is read 1 of a pair (false for read 2 or single-end).
Trait Implementations§
Source§impl Clone for SimulatedRead
impl Clone for SimulatedRead
Source§fn clone(&self) -> SimulatedRead
fn clone(&self) -> SimulatedRead
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 moreAuto Trait Implementations§
impl Freeze for SimulatedRead
impl RefUnwindSafe for SimulatedRead
impl Send for SimulatedRead
impl Sync for SimulatedRead
impl Unpin for SimulatedRead
impl UnsafeUnpin for SimulatedRead
impl UnwindSafe for SimulatedRead
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